schema for db

This commit is contained in:
nate smith 2024-02-01 23:36:36 -08:00
parent cc3fa10da7
commit 0472c3766f

12
phrasedb.sql Normal file
View 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
);