mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-11-20 11:06:06 +00:00
ec733fc927
addons.enabled was the one flag MikroORM's boolean type declared as a Postgres boolean, while SQLite and every other flag hold 0/1, so an addon migration's usual SET enabled = 1 would fail there and a Kysely read would answer true instead of 1. The column now uses IntegerFlagType: the entity still reads a boolean, both engines store 0/1, and the regenerated Postgres baseline declares it bigint default 0. The entity generator renders the type for the columns in BOOLEAN_COLUMNS.