Nils-Johan Gynther
64bc9997ad
fix(prisma): explicitly drop Product_ownerId_fkey before NOT NULL
2026-05-02 19:43:00 +02:00
Nils-Johan Gynther
e0c5fb67b9
fix(prisma): drop owner FK before making ownerId NOT NULL
2026-05-02 19:40:50 +02:00
Nils-Johan Gynther
aab0a19d1c
fix(prisma): make owner FK migration resilient on MariaDB
2026-05-02 19:22:53 +02:00
Nils-Johan Gynther
b272ab9faf
fix(prisma): delete RecipeIngredient rows before ownerless Product cleanup
2026-05-02 19:22:30 +02:00
Nils-Johan Gynther
4e568b4d2e
feat(migration): enforce ownerId requirement in Product table
...
- Removed all products without an owner to maintain data integrity.
- Updated ownerId column to be non-nullable.
- Modified foreign key constraint for ownerId to use ON DELETE CASCADE.
2026-05-02 19:05:33 +02:00