mirror of
https://github.com/wasp-lang/wasp.git
synced 2024-12-02 04:42:17 +03:00
6 lines
231 B
MySQL
6 lines
231 B
MySQL
|
-- AlterTable
|
||
|
ALTER TABLE "Project" ADD COLUMN "userId" INTEGER;
|
||
|
|
||
|
-- AddForeignKey
|
||
|
ALTER TABLE "Project" ADD CONSTRAINT "Project_userId_fkey" FOREIGN KEY ("userId") REFERENCES "User"("id") ON DELETE SET NULL ON UPDATE CASCADE;
|