Remove sources_id FK

source_entries
Brian Haley 2019-09-09 17:08:11 -04:00
parent 64c045704e
commit 4501f6a0f3
5 changed files with 0 additions and 6 deletions

View File

@ -24,7 +24,6 @@ CREATE TABLE actions (
descr TEXT NOT NULL, descr TEXT NOT NULL,
FOREIGN KEY (actioncategories_id) REFERENCES actioncategories(actioncategories_id), FOREIGN KEY (actioncategories_id) REFERENCES actioncategories(actioncategories_id),
FOREIGN KEY (actioncosts_id) REFERENCES actioncosts(actioncosts_id), FOREIGN KEY (actioncosts_id) REFERENCES actioncosts(actioncosts_id),
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
CREATE TABLE actions_traits ( CREATE TABLE actions_traits (

View File

@ -3,7 +3,6 @@ CREATE TABLE armorgroup (
grp_id INTEGER PRIMARY KEY, grp_id INTEGER PRIMARY KEY,
short_name TEXT NOT NULL UNIQUE, short_name TEXT NOT NULL UNIQUE,
descr TEXT NOT NULL, descr TEXT NOT NULL,
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
CREATE TABLE armorcategory ( CREATE TABLE armorcategory (
@ -28,7 +27,6 @@ CREATE TABLE armor (
descr TEXT NOT NULL, descr TEXT NOT NULL,
FOREIGN KEY (bulk_id) REFERENCES bulks(bulk_id), FOREIGN KEY (bulk_id) REFERENCES bulks(bulk_id),
FOREIGN KEY (grp_id) REFERENCES armorgroup(grp_id), FOREIGN KEY (grp_id) REFERENCES armorgroup(grp_id),
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
CREATE TABLE armor_traits ( CREATE TABLE armor_traits (

View File

@ -6,7 +6,6 @@ CREATE TABLE backgrounds (
descr TEXT NOT NULL, descr TEXT NOT NULL,
is_comty_use BOOLEAN NOT NULL, -- false = no community use policy required is_comty_use BOOLEAN NOT NULL, -- false = no community use policy required
is_specific_to_adv BOOLEAN NOT NULL, -- means the background is specific to its adventure is_specific_to_adv BOOLEAN NOT NULL, -- means the background is specific to its adventure
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
-- Joining table -- -- Joining table --

View File

@ -3,7 +3,6 @@ CREATE TABLE bulks (
short_name TEXT NOT NULL, short_name TEXT NOT NULL,
long_name TEXT NOT NULL, long_name TEXT NOT NULL,
numerical FLOAT NOT NULL, numerical FLOAT NOT NULL,
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
-- Joining table -- -- Joining table --

View File

@ -5,7 +5,6 @@ CREATE TABLE conditions (
name TEXT UNIQUE NOT NULL, name TEXT UNIQUE NOT NULL,
short_descr TEXT NOT NULL, short_descr TEXT NOT NULL,
descr TEXT NOT NULL, descr TEXT NOT NULL,
FOREIGN KEY (sources_id) REFERENCES sources(sources_id)
); );
-- Joining table -- -- Joining table --