/* Warnings: - Added the required column `ownerId` to the `project` table without a default value. This is not possible if the table is not empty. */ -- AlterTable ALTER TABLE "project" ADD COLUMN "ownerId" TEXT NOT NULL; -- CreateIndex CREATE INDEX "project_ownerId_idx" ON "project"("ownerId"); -- AddForeignKey ALTER TABLE "project" ADD CONSTRAINT "project_ownerId_fkey" FOREIGN KEY ("ownerId") REFERENCES "user"("id") ON DELETE RESTRICT ON UPDATE CASCADE;