Skip to content

Commit

Permalink
db: migrate database to prisma 6
Browse files Browse the repository at this point in the history
  • Loading branch information
qwerzl committed Dec 5, 2024
1 parent c1c5645 commit e49ec60
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions db/migrations/20241205124645_upgrade_to_v6/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- AlterTable
ALTER TABLE "_ActivityRecordToClubMembership" ADD CONSTRAINT "_ActivityRecordToClubMembership_AB_pkey" PRIMARY KEY ("A", "B");

-- DropIndex
DROP INDEX "_ActivityRecordToClubMembership_AB_unique";
2 changes: 1 addition & 1 deletion db/migrations/migration_lock.toml
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit e49ec60

Please sign in to comment.