default is_mine to true during migration

This commit is contained in:
Lex Berezhny 2021-09-20 09:23:42 -04:00
parent 0697d60a48
commit 9b9794b5e0

View file

@ -9,7 +9,7 @@ def do_migration(conf):
cursor.executescript("""
alter table blob add column added_on integer not null default 0;
alter table blob add column is_mine integer not null default 0;
alter table blob add column is_mine integer not null default 1;
""")
connection.commit()