merge migrations
This commit is contained in:
@@ -51,6 +51,7 @@ CREATE TABLE trips_items (
|
|||||||
trip_id VARCHAR(36) NOT NULL,
|
trip_id VARCHAR(36) NOT NULL,
|
||||||
pick BOOLEAN NOT NULL,
|
pick BOOLEAN NOT NULL,
|
||||||
pack BOOLEAN NOT NULL,
|
pack BOOLEAN NOT NULL,
|
||||||
|
new BOOLEAN NOT NULL,
|
||||||
PRIMARY KEY (item_id, trip_id),
|
PRIMARY KEY (item_id, trip_id),
|
||||||
FOREIGN KEY(item_id) REFERENCES "inventory_items" (id),
|
FOREIGN KEY(item_id) REFERENCES "inventory_items" (id),
|
||||||
FOREIGN KEY(trip_id) REFERENCES "trips" (id)
|
FOREIGN KEY(trip_id) REFERENCES "trips" (id)
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
-- Add migration script here
|
|
||||||
ALTER TABLE "trips_items" ADD COLUMN new BOOLEAN NOT NULL;
|
|
||||||
Reference in New Issue
Block a user