Pascal Sthamer
01/28/2021, 9:20 AMprisma migrate dev --preview-feature
with prisma 2.14.0, I get the following error:
Error: A migration failed when applied to the shadow database:
P3006
Migration `20210128090300_init` failed to apply cleanly to a temporary database.
ERROR 42000 (1142): ALTER command denied to user
I think the problem is that the database user does not have the required access to the shadow database.
Only granting CREATE, DROP ON *.*
like stated in the docs, seems to be not sufficient.Joël
Joël
CREATE, ALTER, DROP ON *.*
permissions should do itPascal Sthamer
01/28/2021, 10:55 AM