87fc9f2fb9
* feat: oauth reform for potential improvements * fix: update avatars with new pfp * fix: remove redundant include * feat: v3.6.0-rc4 Co-authored-by: dicedtomato <diced@users.noreply.github.com> * fix: remove console log Co-authored-by: dicedtomato <diced@users.noreply.github.com>
8 lines
305 B
SQL
8 lines
305 B
SQL
-- DropForeignKey
|
|
ALTER TABLE "Image" DROP CONSTRAINT "Image_userId_fkey";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "Image" ALTER COLUMN "userId" DROP NOT NULL;
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "Image" ADD CONSTRAINT "Image_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|