removed heritages_traits table

This commit is contained in:
jrmiller82 committed 2019-08-14 23:46:14 -05:00
1 parent ea0f374d08
commit 0c94a210d7
2 files changed
+2 -21

No files matched your search

-10
View File
@@ -60,16 +60,6 @@ CREATE TABLE ancestries_heritages (
FOREIGN KEY (heritage_id) REFERENCES heritages(heritage_id)
);
/* TODO THIS TABLE IS LIKELY NOT NEEDED. THANKS WES! */
CREATE TABLE heritages_traits (
id INTEGER PRIMARY KEY,
heritage_id INTEGER NOT NULL,
trait_id INTEGER NOT NULL,
-- UNIQUE(heritage_id, trait_id),
FOREIGN KEY (heritage_id) REFERENCES heritages(heritage_id),
FOREIGN KEY (trait_id) REFERENCES traits(trait_id)
);
/* has partial data */
CREATE TABLE ancestries_traits (