I have setup prima, and its been great from using the generate and being able to use my database effectively in JS. My issue has come from trying to add a couple of columns to a table.
npx prisma db pull
npx prisma generate
mkdir -p prisma/migrations/0_init
npx prisma migrate diff --from-empty --to-schema-datamodel prisma/schema.prisma --script > prisma/migrations/0_init/migration.sql
npx prisma migrate dev --name some name
This results in the following
The migration `0_init` was modified after it was applied.
? We need to reset the "public" schema at "lallah.db.elephantsql.com"
Yet nothing was updated or changed, I ran all the commands one after another