prototype working state

This commit is contained in:
echo committed 2025-04-09 23:25:31 +02:00
1 parent fdae53f82f
commit eada8b3eb1
86 files changed
+22240

No files matched your search

@@ -0,0 +1,14 @@
/*
Warnings:
- Made the column `userId` on table `Note` required. This step will fail if there are existing NULL values in that column.
*/
-- DropForeignKey
ALTER TABLE "Note" DROP CONSTRAINT "Note_userId_fkey";
-- AlterTable
ALTER TABLE "Note" ALTER COLUMN "userId" SET NOT NULL;
-- AddForeignKey
ALTER TABLE "Note" ADD CONSTRAINT "Note_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE RESTRICT ON UPDATE CASCADE;