Michael Auderer
11/18/2021, 1:37 AMprisma migrate dev
I see this:
`The trust
column on the Lead
table would be dropped and recreated. This will lead to data loss.`
Is it possible to convert this column without data loss? If I just do it in a plain SQL migration, will that mess anything up with Prisma?Ryan
11/18/2021, 7:34 AMschema.prisma
and run prisma migrate dev --create-only
.
2. Edit the generated .sql
file and convert the SQL to an alter table
command and cast all the values to boolean.
3. Apply the migration using prisma migrate dev
.