new tables: sources with data on CRB and BST1, and finished langs data

This commit is contained in:
jrmiller82 committed 2019-08-06 17:40:07 -05:00
1 parent 4f21c576ba
commit 372af8df9f
6 files changed
+50 -1

No files matched your search

+2
View File
@@ -10,6 +10,8 @@ CREATE TABLE langs (
lang TEXT NOT NULL UNIQUE,
speakers TEXT NOT NULL UNIQUE,
rarity_id INTEGER NOT NULL,
src_book INTEGER NOT NULL,
src_pages TEXT NOT NULL,
FOREIGN KEY (rarity_id) REFERENCES langsrarity(rarity_id)
);
+12
View File
@@ -0,0 +1,12 @@
-- -*- mode:sql sql-product:sqlite -*-
CREATE TABLE sources (
sources_id INTEGER PRIMARY KEY,
sources_full_name TEXT NOT NULL UNIQUE,
sources_short_name TEXT NOT NULL UNIQUE,
sources_abbrev TEXT NOT NULL UNIQUE,
sources_descr TEXT NOT NULL UNIQUE,
release_date TEXT NOT NULL,
first_party BOOLEAN NOT NULL,
ogl_copyright_block TEXT NOT NULL
);