mirror of
https://github.com/correl/mtgsqlive.git
synced 2024-11-22 03:00:10 +00:00
Added New Fields. (#27)
* Added new fields. - Added `hasLeadershipSkills` and `hasNoDeckLimit` * Update json2sql.py * Changed for new build
This commit is contained in:
parent
6b74f2baad
commit
9f575175bd
1 changed files with 2 additions and 0 deletions
|
@ -122,6 +122,7 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
|
|||
"frameVersion TEXT,"
|
||||
"hand TEXT,"
|
||||
"hasFoil INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"hasNoDeckLimit INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"hasNonFoil INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"isAlternative INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"isArena INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
|
@ -138,6 +139,7 @@ def build_sql_schema(sql_connection: sqlite3.Connection) -> None:
|
|||
"isTextless INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"isTimeshifted INTEGER NOT NULL DEFAULT 0," # boolean
|
||||
"layout TEXT,"
|
||||
"leadershipSkills TEXT,"
|
||||
"life TEXT,"
|
||||
"loyalty TEXT,"
|
||||
"manaCost TEXT,"
|
||||
|
|
Loading…
Reference in a new issue