Update column type without losing data
I have a column of type
int
and I need to migrate that to bigint
. If i change the column type in the prisma schema and run npx prisma migrate dev --name change-type
it wants to reset the public schema. I don't want to lose all the data so what's the proper way of doing this?0 Replies