From a5ded4a20ab2ad38bf4badf915bf6dbe6b3ff053 Mon Sep 17 00:00:00 2001 From: jothi Date: Tue, 26 Aug 2025 10:25:05 +0000 Subject: [PATCH] Added plant column with BIGINT type and its default value as 0 --- .../2025_07_02_150723_create_alert_mail_rules_table.php | 1 + 1 file changed, 1 insertion(+) diff --git a/database/migrations/2025_07_02_150723_create_alert_mail_rules_table.php b/database/migrations/2025_07_02_150723_create_alert_mail_rules_table.php index 32827fd..e8b84ff 100644 --- a/database/migrations/2025_07_02_150723_create_alert_mail_rules_table.php +++ b/database/migrations/2025_07_02_150723_create_alert_mail_rules_table.php @@ -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,