KATT
10/11/2021, 9:49 AMmigrate dev
works where it prompts you but I just want to make sure no schema changes are checked in without the migration filesKATT
10/11/2021, 9:59 AMyarn migrate dev
in CI it just seem to automatically create the missing migration rather than failingKATT
10/11/2021, 10:01 AMRyan
10/11/2021, 10:40 AMmigrate diff
that performs this.
It would be great if you could create a feature request here so that we can look into this 🙂KATT
10/11/2021, 11:07 AMgit diff
and fails the job if there’s a diff after running migrate dev
Ryan
10/11/2021, 11:08 AMKATT
10/11/2021, 11:48 AMJoël
KATT
10/12/2021, 1:35 PMKATT
10/12/2021, 1:37 PMyarn migrate status
will say “Database schema is up to date!” even if i’ve updated my schema and generated prisma typesKATT
10/12/2021, 1:40 PM--create-only Create a new migration but do not apply it
The migration will be empty if there are no changes in Prisma schema