mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
refactor out langs and sizes and new data to sizes
This commit is contained in:
1 parent
44c5454ab1
commit
a044b5ef93
6 files changed
+28
-15
No files matched your search
@@ -80,15 +80,7 @@ CREATE TABLE ancestries_traits (
|
||||
FOREIGN KEY (trait_id) REFERENCES traits(trait_id)
|
||||
);
|
||||
|
||||
CREATE TABLE sizes (
|
||||
size_id INTEGER PRIMARY KEY,
|
||||
short_name TEXT NOT NULL UNIQUE
|
||||
);
|
||||
|
||||
CREATE TABLE langs (
|
||||
lang_id INTEGER PRIMARY KEY,
|
||||
short_name TEXT NOT NULL UNIQUE
|
||||
);
|
||||
|
||||
CREATE TABLE ancestries_langs (
|
||||
id INTEGER PRIMARY KEY,
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
-- -*- mode:sql sql-product:sqlite -*-
|
||||
|
||||
CREATE TABLE langs (
|
||||
lang_id INTEGER PRIMARY KEY,
|
||||
short_name TEXT NOT NULL UNIQUE
|
||||
);
|
||||
@@ -0,0 +1,10 @@
|
||||
-- -*- mode:sql sql-product:sqlite -*-
|
||||
|
||||
|
||||
CREATE TABLE sizes (
|
||||
size_id INTEGER PRIMARY KEY,
|
||||
short_name TEXT NOT NULL UNIQUE,
|
||||
space_in_ft INTEGER NOT NULL,
|
||||
reach_tall_ft INTEGER NOT NULL,
|
||||
reach_long_ft INTEGER NOT NULL
|
||||
);
|
||||
Reference in new issue
Block a user