diff --git a/app.py b/app.py index 477554a..e03369c 100644 --- a/app.py +++ b/app.py @@ -1309,6 +1309,7 @@ def init_db() -> None: CREATE TABLE IF NOT EXISTS user_profiles ( user_id INTEGER PRIMARY KEY, display_name TEXT, + badge_text TEXT, bio TEXT NOT NULL DEFAULT '', bio_mode TEXT NOT NULL DEFAULT 'txt', website TEXT, @@ -1690,6 +1691,7 @@ def init_db() -> None: INSERT OR IGNORE INTO user_profiles ( user_id, display_name, + badge_text, bio, bio_mode, website, @@ -1700,6 +1702,7 @@ def init_db() -> None: id, username, '', + '', 'txt', '', '', @@ -1812,12 +1815,13 @@ def bootstrap_admin() -> None: INSERT OR IGNORE INTO user_profiles ( user_id, display_name, + badge_text, bio, bio_mode, website, location, updated_at - ) VALUES (?, ?, '', 'txt', '', '', ?) + ) VALUES (?, ?, '', '', 'txt', '', '', ?) """, (user_id, username, now_iso()), )