how do we handle data migrations in prisma? If we ...
# orm-help
j
how do we handle data migrations in prisma? If we are updating a Type's attributes and need to migrate values from old to new? I guess one option is to always add new attributes instead of changing existing ones and then manually migrate after schema is updated?
h
Migrations are handled automatically in the datamodel if you change it. You can also use your own migration tool and sync up the datamodel manually. Then you can deploy using the
--no-migration
flag