SpamixTheProducer
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
Tbh I couldn’t get querys to work with MariaDB so I switched over to MySQL (even though I prefer MariaDB). Everything works smoothly now, but when the MariaDB driver comes out I’ll switch back
13 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
Yeah
13 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
Yes I did. Found a workaround. I can’t run push, instead I must first generate then migrate, push seems to be the command that simply fucks up
13 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
okay this seems like a mariadb-specific issue
13 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
I did not have an existing db, or I had an empty database to let drizzle populate it. First run always works, but if I try to update any tables with new fields it fails with the error above. Here's a github issue describing the same problem: https://github.com/drizzle-team/drizzle-orm/issues/3473
13 replies
DTDrizzle Team
•Created by desert.elf on 10/31/2024 in #help
drizzle-kit push keeps trying to drop and recreate the same constraints
@TOSL here's the schema: https://pastebin.com/WxPcMCX0
7 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
@TOSL seems I identified a separate issue, will rename this thread and update it to actually describe the issue
13 replies
DTDrizzle Team
•Created by desert.elf on 10/31/2024 in #help
drizzle-kit push keeps trying to drop and recreate the same constraints
Yes I will drop that, and no, I didn’t have a populated database before
7 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
No populated tables
13 replies
DTDrizzle Team
•Created by SpamixTheProducer on 12/31/2024 in #help
drizzle-kit push tries to re-define all primary keys when updating schema (mysql/mariadb)
Other way around
13 replies
DTDrizzle Team
•Created by desert.elf on 10/31/2024 in #help
drizzle-kit push keeps trying to drop and recreate the same constraints
having the same issue, but with mysql + mariadb. I know mariadb isnt officially supported but this shouldn't happen.
7 replies