Noob question about DROP TABLE ordering
Hello!
I'm about to drop my first table with Drizzle, and I noticed the SQL file looks like this:
won't dropping the table first cause issues with the FK contraints?
3 Replies
Yeah, got this error:
error: cannot drop table merlin_schools because other objects depend on it
@benjick you figure this out? we can't drop a table either because of this. I'm pretty sure drizzle-kit should've deleted all references to the table first THEN dropped the table...
Yeah I just moved the DROP statement to the end of the file manually