Added plant column with BIGINT type and its default value as 0

This commit is contained in:
2025-08-26 10:25:05 +00:00
parent d419973ab5
commit a5ded4a20a

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,