Ben Liger
01/14/2021, 1:14 PMnpx prisma-upgrade prisma1/prisma.yml prisma/schema.prisma
and have been given some SQL queries to run
ALTER TABLE "my-app-dev$dev"."Answer" ALTER COLUMN "id" SET DATA TYPE character varying(30);
ALTER TABLE "my-app-dev$dev"."Answer" ALTER COLUMN "createdForQuestion" SET DATA TYPE character varying(30);
...
I have executed these queries in several different DB clients and every time I re-run npx prisma-upgrade prisma1/prisma.yml prisma/schema.prisma
it still prints me the same SQL queries that I have to run. I have checked the varchar length in my tables after running the scripts and they seem to show the correct value (30). Shall I assume this is a bug and continue on from here? Or does this mean something is still not correct with the schema?enikolasburk
Ben Liger
01/14/2021, 1:24 PMnikolasburk
Ben Liger
01/14/2021, 1:28 PMnikolasburk