adiSuper94
DTDrizzle Team
•Created by adiSuper94 on 4/25/2025 in #help
SQL within a single migration is generated out of order
Case 1:
I have two tables
When I delete both of them from my schema.js
the migration that is created is
They are out of order.
Case 2
Generated sql migration
This is soo out of order.
new column should be created before adding it as FK.
old fk need to dropped before dropping pk, and should be recreated after the new old pk is dropped.
Can anyone take a look at this??
v:
1 replies
DTDrizzle Team
•Created by adiSuper94 on 1/31/2024 in #help
Float values get casted to int while reading from DB
When reading float value from db ,it gets casted into integer.
These values were inserted into the mysql db using drizzle.
drizzle orm: 0.28.6
13 replies