drizzle-kit push inconsistent with database with migrations already applied
Hi team
Just wanting to sanity check something here to make sure that I am not barking up the wrong tree...From my understanding, the
So, I've got a
These were generated over time using
If I run the
But then, when I run
I've also removed some logs from the above around dropping/adding FK's - but appears unrelated to this inconsistency
Just wanting to sanity check something here to make sure that I am not barking up the wrong tree...From my understanding, the
drizzle-kit push command should look at changes that I have made and push these up to the database before I make a migration to commit that change for good? Anyway, here's my issue...So, I've got a
pg_enum defined:These were generated over time using
migration's and I've recently upgraded to the new Drizzle Kit version (v0.21.4) (ORM: v0.30.10)If I run the
drizzle-kit generate command I get: No schema changes, nothing to migrate But then, when I run
drizzle-kit push:I've also removed some logs from the above around dropping/adding FK's - but appears unrelated to this inconsistency