powerhousejnr248
DTDrizzle Team
ā¢Created by powerhousejnr248 on 9/23/2024 in #help
Minified React error #310
Got this error with attached context, please let me know if I'm missing or broke something š¬
2 replies
DTDrizzle Team
ā¢Created by powerhousejnr248 on 9/11/2024 in #help
Marking Migrations
Hello all,
I want to ask if it is possible to mark migrations as applied like in django ?
https://docs.djangoproject.com/en/5.1/ref/django-admin/#cmdoption-migrate-fake
Reason being, I'm building with (https://encore.dev) where the system needs to apply the migrations on startup, I managed to generate migrations with drizzle but each time I generate it does not track the state of the database schema, which makes sense. But if there was a way to mark a migration as applied, drizzle can still keep track of changes in the schema.
Please let me know if this makes sense or if I should approach this differently.
My workflow:
- Create drizzle schema
- Generate migrations with drizzle-kit
- Start up encore that applies the migration based on the index of the migration file name
- Change column name in schema
ā Generate migration again but just drizzle-kit does not recognise previous migration as a new migration just contains
CREATE TABLE
statements with changed column name10 replies