default is_mine to true during migration

This commit is contained in:
Lex Berezhny 2021-09-20 09:23:42 -04:00 committed by Victor Shyba
parent 568a7ae16a
commit 5fea68a9b9

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()