Repository navigation
v1.9.1
v1.9.1 - SQLite and In-Deck indicator
Quick Start
$ git clone https://github.com/DredBaron/OpenMTG
$ cd OpenMTG
$ mv .env.example .env
$ docker compose up -dSee the README or Installation Wiki for full setup instructions.
Changes
- Migration portability test suite -
backend/tests/test_migration_dialect_safety.pystatically scans every migration forop.alter_column/op.drop_columncalls outsidebatch_alter_table, which break on SQLite.backend/tests/test_migration_schema_parity.pyreplays the real Alembic chain against a fresh SQLite database and a fresh PostgreSQL database and diffs the resulting schemas. - Deck Usage Tracking - Shows how many copies of a card printing are currently allocated to decks.
- SQLite Database Support - PostgreSQL remains the default;
docker-compose.sqlite.ymlruns the app against a local SQLite file instead. Permanent, per-instance choice, there is no tool to convert an existing instance between backends. appanddbindocker-compose.yml, andappindocker-compose.sqlite.yml, now setcontainer_name(openmtg,openmtg-db) instead of Compose's default<project>-app-1naming.POST /auth/setupwrites$CONFIG_PATH/db_backend.lockafter the first admin account is created.entrypoint.shcompares this against the currentDATABASE_URLon every boot and refuses to start on a mismatch.
Images
- ghcr.io/dredbaron/openmtg:latest
- ghcr.io/dredbaron/openmtg-arm64:latest
- ghcr.io/dredbaron/openmtg:v1.9.1
- ghcr.io/dredbaron/openmtg-arm64:v1.9.1