schema for db
This commit is contained in:
parent
cc3fa10da7
commit
0472c3766f
12
phrasedb.sql
Normal file
12
phrasedb.sql
Normal file
@ -0,0 +1,12 @@
|
||||
CREATE TABLE IF NOT EXISTS phrases (
|
||||
id INTEGER PRIMARY KEY,
|
||||
sourceid INTEGER,
|
||||
phrase TEXT,
|
||||
|
||||
FOREIGN KEY (sourceid) REFERENCES sources(sourceid)
|
||||
);
|
||||
|
||||
CREATE TABLE IF NOT EXISTS sources (
|
||||
id INTEGER PRIMARY KEY,
|
||||
name TEXT
|
||||
);
|
Loading…
x
Reference in New Issue
Block a user