* Modify card price reader to handle null price dictionaries (e.g. 10E Anaba Bodyguard)
* Add support for undocumented `subtypes`, `supertypes`, and `types` fields on `tokens`.
* Quality of life change.
* Updated json2sql.py
- Added "prices" table.
- Tidy'd up: fixed some minor formatting, and made some small improvements to log output.
- Added option of using "AllSetFiles" for input, simply provide a path to the directory as the input.
- Added auto-increment "id" column as primary key to relational tables for easy referencing.
To-Do:
- allow .zip and other compressed input
- Standardize formatting (Escaping characters, quote types/positioning, line breaks, etc.)
* Update mtgsqlive/json2sql.py
Co-Authored-By: Zach H <zahalpern+github@gmail.com>
* Put json2sql.py back where it belongs!
* Delete json2sql.py
* Applied suggestions and cleaned up a little more.
* Fix sqlite3.connect() parameter type
Function sqlite3.connect() expects a string, but output_file is a
PosixPath variable.
* Update 'cards' table structure to match version 4.4.2
* Replace colons with hyphens in log filenames to be compatible with Windows.
* Always open the json file as UTF8 encoding as the default on Windows is different.
* Add set_translation data import.