From 64912c746356252f59684a38c5a198c6290cfd82 Mon Sep 17 00:00:00 2001 From: Hui Lan Date: Thu, 4 Feb 2021 11:36:11 +0800 Subject: app/static/wordfreqapp_schema.sql: database schema for wordfreqapp.db. --- app/static/wordfreqapp_schema.sql | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 app/static/wordfreqapp_schema.sql 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 +); -- cgit v1.2.1