mirror of
https://github.com/xfarrow/blink
synced 2025-02-16 08:00:35 +01:00
.sql fix
This commit is contained in:
parent
212a03a42f
commit
91eb4d4b56
@ -12,7 +12,7 @@ CREATE TABLE IF NOT EXISTS public."OrganizationPost"
|
||||
CONSTRAINT "AuthorIdFK" FOREIGN KEY (original_author)
|
||||
REFERENCES public."Person" (id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION
|
||||
ON DELETE NO ACTION
|
||||
ON DELETE CASCADE
|
||||
NOT VALID,
|
||||
CONSTRAINT "OrganizationIdFk" FOREIGN KEY (organization_id)
|
||||
REFERENCES public."Organization" (id) MATCH SIMPLE
|
||||
|
@ -10,12 +10,12 @@ CREATE TABLE IF NOT EXISTS public."OrganizationAdministrator"
|
||||
CONSTRAINT "OrganizationAdministratorOrganizationId" FOREIGN KEY (id_organization)
|
||||
REFERENCES public."Organization" (id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION
|
||||
ON DELETE NO ACTION
|
||||
ON DELETE CASCADE
|
||||
NOT VALID,
|
||||
CONSTRAINT "OrganizationAdministratorUserId" FOREIGN KEY (id_person)
|
||||
REFERENCES public."Person" (id) MATCH SIMPLE
|
||||
ON UPDATE NO ACTION
|
||||
ON DELETE NO ACTION
|
||||
ON DELETE CASCADE
|
||||
)
|
||||
|
||||
TABLESPACE pg_default;
|
||||
|
Loading…
x
Reference in New Issue
Block a user