summaryrefslogtreecommitdiff
path: root/app/static
diff options
context:
space:
mode:
authorHui Lan <lanhui@zjnu.edu.cn>2021-02-04 11:36:11 +0800
committerHui Lan <lanhui@zjnu.edu.cn>2021-02-04 11:36:11 +0800
commit64912c746356252f59684a38c5a198c6290cfd82 (patch)
tree97d72d5531f8c9e78562a4d72437a91b2e656833 /app/static
parentdb29de812904e95f779080e0d0564c7d5834ee1a (diff)
app/static/wordfreqapp_schema.sql: database schema for wordfreqapp.db.
Diffstat (limited to 'app/static')
-rw-r--r--app/static/wordfreqapp_schema.sql8
1 files changed, 8 insertions, 0 deletions
diff --git a/app/static/wordfreqapp_schema.sql b/app/static/wordfreqapp_schema.sql
new file mode 100644
index 0000000..62ed51b
--- /dev/null
+++ b/app/static/wordfreqapp_schema.sql
@@ -0,0 +1,8 @@
+CREATE TABLE user(name TEXT PRIMARY KEY, password TEXT, start_date TEXT, expiry_date TEXT);
+CREATE TABLE IF NOT EXISTS "article" (
+ `text` TEXT,
+ `source` TEXT,
+ `date` TEXT,
+ `level` TEXT,
+ `question` TEXT
+);