mirror of
https://github.com/correl/mtgsqlive.git
synced 2024-11-24 11:09:52 +00:00
Update json2sql.py (#21)
* Update json2sql.py Add mtgArenaId, mtgoFoilId, mtgoId to cards table * Add defaults for new columns
This commit is contained in:
parent
a5a65d3fe9
commit
91c6ea6ff7
1 changed files with 3 additions and 0 deletions
|
@ -187,6 +187,9 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
|
|||
"mcmName TEXT DEFAULT NULL,"
|
||||
"mcmId INTEGER DEFAULT 0,"
|
||||
"mcmMetaId INTEGER DEFAULT 0,"
|
||||
"mtgArenaId INTEGER NOT NULL DEFAULT 0,"
|
||||
"mtgoFoilId INTEGER NOT NULL DEFAULT 0,"
|
||||
"mtgoId INTEGER NOT NULL DEFAULT 0,"
|
||||
"mtgstocksId INTEGER DEFAULT 0,"
|
||||
"multiverseId INTEGER,"
|
||||
"name TEXT,"
|
||||
|
|
Loading…
Reference in a new issue