forked from LBRYCommunity/lbry-sdk
default has_source to 1
This commit is contained in:
parent
575d6dcd2d
commit
2280fe8e8e
1 changed files with 1 additions and 1 deletions
|
@ -447,7 +447,7 @@ class SQLiteMixin:
|
|||
if version == (self.SCHEMA_VERSION,):
|
||||
return
|
||||
if version == ("1.5",) and self.SCHEMA_VERSION == "1.6":
|
||||
await self.db.execute("ALTER TABLE txo ADD COLUMN has_source bool;")
|
||||
await self.db.execute("ALTER TABLE txo ADD COLUMN has_source bool DEFAULT 1;")
|
||||
await self.db.execute("UPDATE version SET version = ?", (self.SCHEMA_VERSION,))
|
||||
return
|
||||
await self.db.executescript('\n'.join(
|
||||
|
|
Loading…
Reference in a new issue