diff options
author | raven <raven> | 2021-06-18 21:10:57 +0000 |
---|---|---|
committer | raven <raven> | 2021-06-18 21:10:57 +0000 |
commit | 4bd4bcbccb9e7772da337f30d9b62147877bc3d9 (patch) | |
tree | ac3d7e7e6c4986afb627ec98c458a25e33f374bb /apioforum/db.py | |
parent | c6491d055447cba9efc6a45df172e932ca6e9e80 (diff) |
view user profile at /user/<username>
Diffstat (limited to 'apioforum/db.py')
-rw-r--r-- | apioforum/db.py | 4 |
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(): |