Added plant column with BIGINT type and its default value as 0
This commit is contained in:
@@ -14,6 +14,7 @@ return new class extends Migration
|
|||||||
$sql = <<<'SQL'
|
$sql = <<<'SQL'
|
||||||
CREATE TABLE alert_mail_rules (
|
CREATE TABLE alert_mail_rules (
|
||||||
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
|
id BIGINT GENERATED always AS IDENTITY PRIMARY KEY,
|
||||||
|
plant BIGINT NOT NULL DEFAULT (0),
|
||||||
|
|
||||||
module TEXT NOT NULL,
|
module TEXT NOT NULL,
|
||||||
rule_name TEXT NOT NULL,
|
rule_name TEXT NOT NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user