added migrations folder to git-project to sync resolved migrations

This commit is contained in:
PxlLoewe
2025-06-27 18:44:18 -07:00
parent e3988c24e3
commit 8071f4b764
57 changed files with 1012 additions and 1 deletions

View File

@@ -0,0 +1,8 @@
-- DropForeignKey
ALTER TABLE "discord_accounts" DROP CONSTRAINT "discord_accounts_user_id_fkey";
-- AlterTable
ALTER TABLE "discord_accounts" ALTER COLUMN "access_token" DROP NOT NULL;
-- AddForeignKey
ALTER TABLE "discord_accounts" ADD CONSTRAINT "discord_accounts_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "users"("id") ON DELETE CASCADE ON UPDATE CASCADE;