How can I "tell" Drizzle if a migration is considered "done" or not when migrating from Prisma?
I'm migrating my project from Prisma to Drizzle following the migration guide and I've bumped into a problem. Drizzle correctly generates a migration file that says:
my problem is that this will fail when I start my application:
with:
so right after the unterminated
I think this migration shouldn't run at all, since it was generated from my existing schema (so no migration is necessary). Is there a way to mark a migration as "done"? I checked and Drizzle created a
my problem is that this will fail when I start my application:
with:
so right after the unterminated
/* that comes with the script. If I uncomment this script then it fails with:I think this migration shouldn't run at all, since it was generated from my existing schema (so no migration is necessary). Is there a way to mark a migration as "done"? I checked and Drizzle created a
drizzle schema in my database and it has an empty __drizzle_migrations table.