summaryrefslogtreecommitdiffhomepage
path: root/apioforum/db.py
diff options
context:
space:
mode:
authorubq323 <ubq323>2021-06-19 09:05:05 +0000
committerubq323 <ubq323>2021-06-19 09:05:05 +0000
commitb887340ebc120923178ff20cc79f43d7bc19f62a (patch)
tree416a5f714035725e81828d8f10f1468274c09bfb /apioforum/db.py
parentc6491d055447cba9efc6a45df172e932ca6e9e80 (diff)
parente7f520b6865482cab89b55f70f8c41bec6ca30b3 (diff)
mergy merge
Diffstat (limited to 'apioforum/db.py')
-rw-r--r--apioforum/db.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/apioforum/db.py b/apioforum/db.py
index e1e8fa3..910118d 100644
--- a/apioforum/db.py
+++ b/apioforum/db.py
@@ -80,6 +80,10 @@ CREATE TABLE thread_tags (
""",
"""CREATE INDEX thread_tags_thread ON thread_tags (thread);""",
"""ALTER TABLE users ADD COLUMN admin INT NOT NULL DEFAULT 0""",
+"""
+ALTER TABLE users ADD COLUMN bio TEXT;
+ALTER TABLE users ADD COLUMN joined TIMESTAMP;
+""",
]
def init_db():