4.4.0 compatibility

Signed-off-by: Zach Halpern <ZaHalpern+github@gmail.com>
This commit is contained in:
Zach Halpern 2019-04-28 10:11:28 -04:00
parent 2374181fd9
commit 3b0bac4ed7

View file

@ -150,6 +150,7 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
"mcmName TEXT DEFAULT NULL," "mcmName TEXT DEFAULT NULL,"
"mcmId INTEGER DEFAULT 0," "mcmId INTEGER DEFAULT 0,"
"mcmMetaId INTEGER DEFAULT 0," "mcmMetaId INTEGER DEFAULT 0,"
"mtgstocksId INTEGER DEFAULT 0,"
"multiverseId INTEGER," "multiverseId INTEGER,"
"name TEXT," "name TEXT,"
"names TEXT," "names TEXT,"
@ -157,6 +158,7 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
"originalText TEXT," "originalText TEXT,"
"originalType TEXT," "originalType TEXT,"
"printings TEXT," "printings TEXT,"
"prices TEXT,"
"power TEXT," "power TEXT,"
"purchaseUrls TEXT," "purchaseUrls TEXT,"
"rarity TEXT," "rarity TEXT,"
@ -188,10 +190,12 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
"colorIdentity TEXT," "colorIdentity TEXT,"
"colorIndicator TEXT," "colorIndicator TEXT,"
"colors TEXT," "colors TEXT,"
"duelDeck TEXT,"
"isOnlineOnly INTEGER NOT NULL DEFAULT 0," "isOnlineOnly INTEGER NOT NULL DEFAULT 0,"
"layout TEXT," "layout TEXT,"
"loyalty TEXT," "loyalty TEXT,"
"name TEXT," "name TEXT,"
"names TEXT,"
"number TEXT," "number TEXT,"
"power TEXT," "power TEXT,"
"reverseRelated TEXT," "reverseRelated TEXT,"