WIP: local changes before pull

This commit is contained in:
root
2025-08-26 16:21:53 +05:30
parent e6ba543589
commit 7f0d138383
4 changed files with 11 additions and 43 deletions

View File

@@ -14,6 +14,7 @@ return new class extends Migration
$sql = <<<'SQL'
CREATE TABLE alert_mail_rules (
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
plant BIGINT NOT NULL DEFAULT(0),
module TEXT NOT NULL,
rule_name TEXT NOT NULL,

View File

@@ -1,33 +0,0 @@
<?php
use Illuminate\Database\Migrations\Migration;
use Illuminate\Database\Schema\Blueprint;
use Illuminate\Support\Facades\Schema;
return new class extends Migration
{
/**
* Run the migrations.
*/
public function up(): void
{
$sql1 = <<<'SQL'
ALTER TABLE alert_mail_rules
ADD plant BIGINT NOT NULL DEFAULT (0);
SQL;
DB::statement($sql1);
}
/**
* Reverse the migrations.
*/
public function down(): void
{
// Schema::table('alert_mail_rules', function (Blueprint $table) {
// //
// });
}
};