From d8f013e30fac4175ca1d3da0365f5ca01524b1f9 Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Tue, 3 Sep 2019 23:02:45 -0400 Subject: [PATCH] Add missing comma --- schema/staves.sql | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schema/staves.sql b/schema/staves.sql index 0800795..ffb4b9d 100644 --- a/schema/staves.sql +++ b/schema/staves.sql @@ -29,13 +29,12 @@ CREATE TABLE staffactivations ( -- Joining table -- CREATE TABLE staff_staffactivations ( - id INTEGER PRIMARY KEY + id INTEGER PRIMARY KEY, staff_id INTEGER NOT NULL, staffactivations_id INTEGER NOT NULL, UNIQUE (id, staff_id, staffactivations_id), FOREIGN KEY (staff_id) REFERENCES staff(staff_id), FOREIGN KEY (staffactivations_id) REFERENCES staffactivations(staffactivations_id) - ); -- Joining table --