mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 11:12:06 +10:00
15 lines
642 B
SQL
15 lines
642 B
SQL
/*
|
|
Warnings:
|
|
|
|
- Made the column `organisationMemberId` on table `OrganisationGroupMember` required. This step will fail if there are existing NULL values in that column.
|
|
|
|
*/
|
|
-- DropForeignKey
|
|
ALTER TABLE "OrganisationGroupMember" DROP CONSTRAINT "OrganisationGroupMember_organisationMemberId_fkey";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "OrganisationGroupMember" ALTER COLUMN "organisationMemberId" SET NOT NULL;
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "OrganisationGroupMember" ADD CONSTRAINT "OrganisationGroupMember_organisationMemberId_fkey" FOREIGN KEY ("organisationMemberId") REFERENCES "OrganisationMember"("id") ON DELETE RESTRICT ON UPDATE CASCADE;
|