new


ORM - Prisma Making Updates

ORM - Prisma Making Updates - to make updates to schema without erasing data

To make updates to prisma for example if we wanted to create; alter || update the structure of the database this is one way we could accomplish this.


  • 1. Create migrate script
    1prisma migrate dev --name name_of_migration --create-only
  • 2. Run the Migration
    1prisma migrate dev
  • 3. Push the alters to remote database
    1prisma db push