update ancestries.sql schema

merge-requests/1/head
James Miller 2019-08-02 22:01:38 -05:00
parent 071fe63f5e
commit 249647752d
1 changed files with 3 additions and 0 deletions

View File

@ -1,3 +1,4 @@
-- -*- mode:sql sql-product:sqlite -*-
/* /*
@ -23,6 +24,7 @@ CREATE TABLE ancestries (
FOREIGN KEY (size_id) REFERENCES sizes(size_id) FOREIGN KEY (size_id) REFERENCES sizes(size_id)
); );
/* has partial data */
CREATE TABLE visions ( CREATE TABLE visions (
vision_id INTEGER PRIMARY KEY, vision_id INTEGER PRIMARY KEY,
short_name TEXT NOT NULL UNIQUE, short_name TEXT NOT NULL UNIQUE,
@ -32,6 +34,7 @@ CREATE TABLE visions (
/* Need to figure out how to model heritages that also have reactions / feats /* Need to figure out how to model heritages that also have reactions / feats
etc.. */ etc.. */
/* has partial data */
CREATE TABLE heritages ( CREATE TABLE heritages (
heritage_id INTEGER PRIMARY KEY, heritage_id INTEGER PRIMARY KEY,
short_name TEXT NOT NULL UNIQUE, short_name TEXT NOT NULL UNIQUE,