Compare commits
5 Commits
main
...
fix-migrat
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
31a4e10158 | ||
| f12856f1a3 | |||
|
|
de2c05c817 | ||
|
|
7b0fa092f4 | ||
|
|
536c7d176a |
@@ -28,7 +28,6 @@ return new class extends Migration
|
|||||||
|
|
||||||
UNIQUE (name, plant_id),
|
UNIQUE (name, plant_id),
|
||||||
FOREIGN KEY (plant_id) REFERENCES plants (id)
|
FOREIGN KEY (plant_id) REFERENCES plants (id)
|
||||||
|
|
||||||
);
|
);
|
||||||
SQL;
|
SQL;
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ return new class extends Migration
|
|||||||
identification1 TEXT DEFAULT NULL,
|
identification1 TEXT DEFAULT NULL,
|
||||||
identification2 TEXT DEFAULT NULL,
|
identification2 TEXT DEFAULT NULL,
|
||||||
identification3 TEXT DEFAULT NULL,
|
identification3 TEXT DEFAULT NULL,
|
||||||
|
contact_number TEXT DEFAULT NULL,
|
||||||
|
alternate_number TEXT DEFAULT NULL,
|
||||||
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
created_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
||||||
updated_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
updated_at TIMESTAMP NOT NULL DEFAULT NOW(),
|
||||||
created_by TEXT DEFAULT NULL,
|
created_by TEXT DEFAULT NULL,
|
||||||
|
|||||||
Reference in New Issue
Block a user