From 4c29974d8982e37f2270a306e8119531f810f25f Mon Sep 17 00:00:00 2001 From: Brian Haley Date: Fri, 6 Sep 2019 18:03:42 -0400 Subject: [PATCH] Leftover commas and one remaining typo --- schema/actions.sql | 2 +- schema/ammunition.sql | 2 +- schema/ancestries.sql | 2 +- schema/armor.sql | 2 +- schema/backgrounds.sql | 2 +- schema/bulks.sql | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schema/actions.sql b/schema/actions.sql index 889cab7..d2239eb 100644 --- a/schema/actions.sql +++ b/schema/actions.sql @@ -48,7 +48,7 @@ CREATE TABLE actions_sourceentries ( id INTEGER PRIMARY KEY ,actions_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, actions_id, soruceentry_id), + ,UNIQUE (id, actions_id, sourceentry_id) ,FOREIGN KEY (actions_id) REFERENCES actions(actions_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file diff --git a/schema/ammunition.sql b/schema/ammunition.sql index 498a431..3921f6d 100644 --- a/schema/ammunition.sql +++ b/schema/ammunition.sql @@ -17,7 +17,7 @@ CREATE TABLE ammunition_sourceentries ( id INTEGER PRIMARY KEY ,ammunition_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, ammunition_id, sourceentry_id), + ,UNIQUE (id, ammunition_id, sourceentry_id) ,FOREIGN KEY (ammunition_id) REFERENCES ammunition(ammunition_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file diff --git a/schema/ancestries.sql b/schema/ancestries.sql index f05f549..76c22f1 100644 --- a/schema/ancestries.sql +++ b/schema/ancestries.sql @@ -89,7 +89,7 @@ CREATE TABLE ancestries_sourceentries ( id INTEGER PRIMARY KEY ,ancestry_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, actions_id, sourceentry_id), + ,UNIQUE (id, actions_id, sourceentry_id) ,FOREIGN KEY (ancestry_id) REFERENCES ancestries(ancestry_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file diff --git a/schema/armor.sql b/schema/armor.sql index 463c6cd..a9fa955 100644 --- a/schema/armor.sql +++ b/schema/armor.sql @@ -54,7 +54,7 @@ CREATE TABLE armor_sourceentries ( id INTEGER PRIMARY KEY ,armor_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, armor_id, sourceentry_id), + ,UNIQUE (id, armor_id, sourceentry_id) ,FOREIGN KEY (armor_id) REFERENCES armor(armor_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file diff --git a/schema/backgrounds.sql b/schema/backgrounds.sql index 3f95bfe..efcd606 100644 --- a/schema/backgrounds.sql +++ b/schema/backgrounds.sql @@ -14,7 +14,7 @@ CREATE TABLE backgrounds_sourceentries ( id INTEGER PRIMARY KEY ,bg_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, bg_id, sourceentry_id), + ,UNIQUE (id, bg_id, sourceentry_id) ,FOREIGN KEY (bg_id) REFERENCES backgrounds(bg_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file diff --git a/schema/bulks.sql b/schema/bulks.sql index 2eb8481..c258794 100644 --- a/schema/bulks.sql +++ b/schema/bulks.sql @@ -11,7 +11,7 @@ CREATE TABLE bulks_sourceentries ( id INTEGER PRIMARY KEY ,bulk_id INTEGER NOT NULL ,sourceentry_id INTEGER NOT NULL - ,UNIQUE (id, bulk_id, sourceentry_id), + ,UNIQUE (id, bulk_id, sourceentry_id) ,FOREIGN KEY (bulk_id) REFERENCES bulks(bulk_id) ,FOREIGN KEY (sourceentry_id) REFERENCES sourceentries(sourceentry_id) ); \ No newline at end of file