-- CreateTable
CREATE TABLE "Activity" (
    "id" TEXT NOT NULL,
    "name" VARCHAR(250) NOT NULL,
    "activityFamilyId" TEXT NOT NULL,

    CONSTRAINT "Activity_pkey" PRIMARY KEY ("id")
);

-- AddForeignKey
ALTER TABLE "Activity" ADD CONSTRAINT "Activity_activityFamilyId_fkey" FOREIGN KEY ("activityFamilyId") REFERENCES "ActivityFamily"("id") ON DELETE CASCADE ON UPDATE CASCADE;
