Add missing comma
parent
ffba67c155
commit
d8f013e30f
|
@ -29,13 +29,12 @@ CREATE TABLE staffactivations (
|
||||||
|
|
||||||
-- Joining table --
|
-- Joining table --
|
||||||
CREATE TABLE staff_staffactivations (
|
CREATE TABLE staff_staffactivations (
|
||||||
id INTEGER PRIMARY KEY
|
id INTEGER PRIMARY KEY,
|
||||||
staff_id INTEGER NOT NULL,
|
staff_id INTEGER NOT NULL,
|
||||||
staffactivations_id INTEGER NOT NULL,
|
staffactivations_id INTEGER NOT NULL,
|
||||||
UNIQUE (id, staff_id, staffactivations_id),
|
UNIQUE (id, staff_id, staffactivations_id),
|
||||||
FOREIGN KEY (staff_id) REFERENCES staff(staff_id),
|
FOREIGN KEY (staff_id) REFERENCES staff(staff_id),
|
||||||
FOREIGN KEY (staffactivations_id) REFERENCES staffactivations(staffactivations_id)
|
FOREIGN KEY (staffactivations_id) REFERENCES staffactivations(staffactivations_id)
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
-- Joining table --
|
-- Joining table --
|
||||||
|
|
Loading…
Reference in New Issue