Any update on all migrations in single-transaction?
Is there anything new with the single-transaction for all migrations?
Need something like this:
Unmanaged approach for multiple databases
I am also considering to use unmanaged transactions which could (hopefully) solve multiple database migrations in one self-managed transaction like this. Did anybody here try this approach?
Reference: https://github.com/kysely-org/kysely/issues/1154
GitHub
Multiple migrations are run in a single transaction · Issue #1154 ·...
If you have a migration 0001 with this: export async function up(db: Kysely<unknown>): Promise<void> { await db.schema.createType("some_enum").asEnum(["value_1", &qu...
0 Replies