diff --git a/db/migrations/20241205124645_upgrade_to_v6/migration.sql b/db/migrations/20241205124645_upgrade_to_v6/migration.sql new file mode 100644 index 00000000..1c904936 --- /dev/null +++ b/db/migrations/20241205124645_upgrade_to_v6/migration.sql @@ -0,0 +1,5 @@ +-- AlterTable +ALTER TABLE "_ActivityRecordToClubMembership" ADD CONSTRAINT "_ActivityRecordToClubMembership_AB_pkey" PRIMARY KEY ("A", "B"); + +-- DropIndex +DROP INDEX "_ActivityRecordToClubMembership_AB_unique"; diff --git a/db/migrations/migration_lock.toml b/db/migrations/migration_lock.toml index 99e4f200..fbffa92c 100644 --- a/db/migrations/migration_lock.toml +++ b/db/migrations/migration_lock.toml @@ -1,3 +1,3 @@ # Please do not edit this file manually # It should be added in your version-control system (i.e. Git) -provider = "postgresql" +provider = "postgresql" \ No newline at end of file