iKingNinja
Explore posts from serversPPrisma
•Created by iKingNinja on 6/10/2024 in #help-and-questions
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?1 replies