mirror of
https://gitlab.com/jrmiller82/pathfinder-2-sqlite.git
synced 2026-10-12 22:29:44 -04:00
got lang data started
This commit is contained in:
1 parent
130b6e3e8a
commit
9afd087920
2 files changed
+50
-1
No files matched your search
+10
-1
@@ -1,6 +1,15 @@
|
||||
-- -*- mode:sql sql-product:sqlite -*-
|
||||
|
||||
CREATE TABLE langsrarity (
|
||||
rarity_id INTEGER PRIMARY KEY,
|
||||
rarity_name TEXT NOT NULL UNIQUE
|
||||
);
|
||||
|
||||
CREATE TABLE langs (
|
||||
lang_id INTEGER PRIMARY KEY,
|
||||
short_name TEXT NOT NULL UNIQUE
|
||||
lang TEXT NOT NULL UNIQUE,
|
||||
speakers TEXT NOT NULL UNIQUE,
|
||||
rarity_id INTEGER NOT NULL,
|
||||
FOREIGN KEY (rarity_id) REFERENCES langsrarity(rarity_id)
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user