diff options
author | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-04 11:36:11 +0800 |
---|---|---|
committer | Hui Lan <lanhui@zjnu.edu.cn> | 2021-02-04 11:36:11 +0800 |
commit | 64912c746356252f59684a38c5a198c6290cfd82 (patch) | |
tree | 97d72d5531f8c9e78562a4d72437a91b2e656833 /app | |
parent | db29de812904e95f779080e0d0564c7d5834ee1a (diff) |
app/static/wordfreqapp_schema.sql: database schema for wordfreqapp.db.
Diffstat (limited to 'app')
-rw-r--r-- | app/static/wordfreqapp_schema.sql | 8 |
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 +); |