kysely-org / kysely

A type-safe typescript SQL query builder
https://kysely.dev
MIT License
10.82k stars 275 forks source link

When withSchema is used, kysely doesn't look for a namespaced migration table #1214

Closed jroitgrund closed 1 week ago

jroitgrund commented 1 week ago

I'm encountering a similar issue to the one reported and fixed in https://github.com/kysely-org/kysely/issues/93.

When using a namespaced DB instance (db.withSchema()), the kysely migrator:

Context: I'm trying to use schemas to run tests in their own namespace in parallel.

koskimas commented 1 week ago

https://kysely-org.github.io/kysely-apidoc/interfaces/MigratorProps.html#migrationTableSchema