stacker.news/prisma/migrations/20210921232401_user_bio/migration.sql

6 lines
192 B
MySQL
Raw Normal View History

2021-09-23 17:42:00 +00:00
-- AlterTable
ALTER TABLE "users" ADD COLUMN "bioId" INTEGER;
-- AddForeignKey
ALTER TABLE "users" ADD FOREIGN KEY ("bioId") REFERENCES "Item"("id") ON DELETE SET NULL ON UPDATE CASCADE;