summaryrefslogtreecommitdiff
path: root/db.c
diff options
context:
space:
mode:
Diffstat (limited to 'db.c')
-rw-r--r--db.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/db.c b/db.c
index 4390d76..44cf0d8 100644
--- a/db.c
+++ b/db.c
@@ -40,6 +40,7 @@ static const struct upgrade sql_upgrades[] = {
{"ALTER TABLE says ADD msg_index INTEGER;", NULL, upgrade_migrate_msg_index},
/* TDSQLite is 3.31, while ALTER TABLE DROP support begins from 3.35. */
/* {"ALTER TABLE says DROP COLUMN url;", NULL, NULL} */
+ {"ALTER TABLE says ADD public INTEGER DEFAULT 0;", NULL, NULL},
};
sqlite3 *db = NULL;