Deleted entries in __drizzle_migrations table.
Hey. I am atm migrating away from supabase js to drizzle. I am playing locally. I had to reset the database and it kept the migrations table somehow but deleted the entries (probably some seed file).
Now the migration push tries to reapply the initial migration, which includes all the table creations etc.
Is there a way to insert this single migration?
Or just calculate the hash since I have the timestamp so it skips this one.
1 Reply
When I comment it out (so the initial schema is not reapplied), I get:
DrizzleQueryError: Failed query: -- Current sql file was generated after introspecting the database
-- If you want to run this migration please uncomment this code before executing migrations
cause: error: unterminated /* comment at or near "/*
Debugging further.
Best thing I could come up with is to delete the file generated by git pull.
Something is off in the string parsing.