KyselyK
Kysely3y ago
2 replies
capaj

getting Error: relation "myschema.kysely_migration_lock" does not exist

Hey,
I am trying to use the migrator.migrateToLatest() to migrate a DB for me and it is failing with
Error: relation "myschema.kysely_migration_lock" does not exist
.

Do I have to create the kysely tables manually to be able to run the migrator?
I would have expected that the migrator creates these tables when they do not exist.
Was this page helpful?