From 2a3623a98322d969fda4569dc5c5479cd493540f Mon Sep 17 00:00:00 2001 From: Marius Date: Thu, 7 Dec 2023 17:09:05 +0100 Subject: [PATCH] Split up migrations even more! --- .../migrations/20231207155807_add_austria/migration.sql | 8 -------- .../20231207155927_add_switzerland/migration.sql | 8 -------- .../20231207160511_add_austria_pupil/migration.sql | 2 ++ .../20231207160550_add_switzerland_pupil/migration.sql | 2 ++ .../20231207160632_add_austria_school/migration.sql | 2 ++ .../20231207160715_add_switzerland_school/migration.sql | 2 ++ .../20231207160738_add_austria_student/migration.sql | 2 ++ .../20231207160757_add_switzerland_student/migration.sql | 2 ++ 8 files changed, 12 insertions(+), 16 deletions(-) delete mode 100644 prisma/migrations/20231207155807_add_austria/migration.sql delete mode 100644 prisma/migrations/20231207155927_add_switzerland/migration.sql create mode 100644 prisma/migrations/20231207160511_add_austria_pupil/migration.sql create mode 100644 prisma/migrations/20231207160550_add_switzerland_pupil/migration.sql create mode 100644 prisma/migrations/20231207160632_add_austria_school/migration.sql create mode 100644 prisma/migrations/20231207160715_add_switzerland_school/migration.sql create mode 100644 prisma/migrations/20231207160738_add_austria_student/migration.sql create mode 100644 prisma/migrations/20231207160757_add_switzerland_student/migration.sql diff --git a/prisma/migrations/20231207155807_add_austria/migration.sql b/prisma/migrations/20231207155807_add_austria/migration.sql deleted file mode 100644 index 3407d7b0b..000000000 --- a/prisma/migrations/20231207155807_add_austria/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ --- AlterEnum -ALTER TYPE "pupil_state_enum" ADD VALUE 'at'; - --- AlterEnum -ALTER TYPE "school_state_enum" ADD VALUE 'at'; - --- AlterEnum -ALTER TYPE "student_state_enum" ADD VALUE 'at'; diff --git a/prisma/migrations/20231207155927_add_switzerland/migration.sql b/prisma/migrations/20231207155927_add_switzerland/migration.sql deleted file mode 100644 index e64ec06d4..000000000 --- a/prisma/migrations/20231207155927_add_switzerland/migration.sql +++ /dev/null @@ -1,8 +0,0 @@ --- AlterEnum -ALTER TYPE "pupil_state_enum" ADD VALUE 'ch'; - --- AlterEnum -ALTER TYPE "school_state_enum" ADD VALUE 'ch'; - --- AlterEnum -ALTER TYPE "student_state_enum" ADD VALUE 'ch'; diff --git a/prisma/migrations/20231207160511_add_austria_pupil/migration.sql b/prisma/migrations/20231207160511_add_austria_pupil/migration.sql new file mode 100644 index 000000000..f0fd52cf5 --- /dev/null +++ b/prisma/migrations/20231207160511_add_austria_pupil/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "pupil_state_enum" ADD VALUE 'at'; diff --git a/prisma/migrations/20231207160550_add_switzerland_pupil/migration.sql b/prisma/migrations/20231207160550_add_switzerland_pupil/migration.sql new file mode 100644 index 000000000..8239e2528 --- /dev/null +++ b/prisma/migrations/20231207160550_add_switzerland_pupil/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "pupil_state_enum" ADD VALUE 'ch'; diff --git a/prisma/migrations/20231207160632_add_austria_school/migration.sql b/prisma/migrations/20231207160632_add_austria_school/migration.sql new file mode 100644 index 000000000..78fb3619e --- /dev/null +++ b/prisma/migrations/20231207160632_add_austria_school/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "school_state_enum" ADD VALUE 'at'; diff --git a/prisma/migrations/20231207160715_add_switzerland_school/migration.sql b/prisma/migrations/20231207160715_add_switzerland_school/migration.sql new file mode 100644 index 000000000..587b4b487 --- /dev/null +++ b/prisma/migrations/20231207160715_add_switzerland_school/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "school_state_enum" ADD VALUE 'ch'; diff --git a/prisma/migrations/20231207160738_add_austria_student/migration.sql b/prisma/migrations/20231207160738_add_austria_student/migration.sql new file mode 100644 index 000000000..da455277e --- /dev/null +++ b/prisma/migrations/20231207160738_add_austria_student/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "student_state_enum" ADD VALUE 'at'; diff --git a/prisma/migrations/20231207160757_add_switzerland_student/migration.sql b/prisma/migrations/20231207160757_add_switzerland_student/migration.sql new file mode 100644 index 000000000..677d879e1 --- /dev/null +++ b/prisma/migrations/20231207160757_add_switzerland_student/migration.sql @@ -0,0 +1,2 @@ +-- AlterEnum +ALTER TYPE "student_state_enum" ADD VALUE 'ch';