Leftover commas and one remaining typo
							parent
							
								
									37b9f9a771
								
							
						
					
					
						commit
						4c29974d89
					
				|  | @ -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) | ||||
| ); | ||||
|  | @ -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) | ||||
| ); | ||||
|  | @ -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) | ||||
| ); | ||||
|  | @ -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) | ||||
| ); | ||||
|  | @ -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) | ||||
| ); | ||||
|  | @ -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) | ||||
| ); | ||||
		Loading…
	
		Reference in New Issue