Skip to content

Commit

Permalink
fix: add missing migration
Browse files Browse the repository at this point in the history
  • Loading branch information
zaida04 authored May 31, 2022
1 parent 134bc37 commit b4f655f
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions prisma/migrations/20220531134731_init/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
-- DropForeignKey
ALTER TABLE "Bio" DROP CONSTRAINT "Bio_authorId_fkey";

-- AddForeignKey
ALTER TABLE "Bio" ADD CONSTRAINT "Bio_authorId_fkey" FOREIGN KEY ("authorId") REFERENCES "User"("id") ON DELETE CASCADE ON UPDATE CASCADE;

1 comment on commit b4f655f

@vercel
Copy link

@vercel vercel bot commented on b4f655f May 31, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.