introduce-partner-business-role #16
@ -33,8 +33,9 @@ create table hs_office_partner
|
|||||||
(
|
(
|
||||||
uuid uuid unique references RbacObject (uuid) initially deferred,
|
uuid uuid unique references RbacObject (uuid) initially deferred,
|
||||||
partnerNumber numeric(5),
|
partnerNumber numeric(5),
|
||||||
personUuid uuid not null references hs_office_person(uuid),
|
-- partnerRoleUuid uuid not null references hs_office_relationship(uuid),
|
||||||
hsh-michaelhoennig marked this conversation as resolved
Outdated
|
|||||||
contactUuid uuid not null references hs_office_contact(uuid),
|
personUuid uuid not null references hs_office_person(uuid), -- TODO: remove, replaced by partnerRoleUuid
|
||||||
|
contactUuid uuid not null references hs_office_contact(uuid), -- TODO: remove, replaced by partnerRoleUuid
|
||||||
detailsUuid uuid not null references hs_office_partner_details(uuid) on delete cascade
|
detailsUuid uuid not null references hs_office_partner_details(uuid) on delete cascade
|
||||||
hsh-michaelhoennig marked this conversation as resolved
Outdated
|
|||||||
);
|
);
|
||||||
--//
|
--//
|
@ -182,6 +182,7 @@ call generateRbacRestrictedView('hs_office_partner',
|
|||||||
personUuid = new.personUuid,
|
personUuid = new.personUuid,
|
||||||
contactUuid = new.contactUuid
|
contactUuid = new.contactUuid
|
||||||
$updates$);
|
$updates$);
|
||||||
|
-- partnerRoleUuid = new.partnerRoleUuid,
|
||||||
--//
|
--//
|
||||||
|
|
||||||
|
|
@ -66,21 +66,21 @@ databaseChangeLog:
|
|||||||
- include:
|
- include:
|
||||||
file: db/changelog/218-hs-office-person-test-data.sql
|
file: db/changelog/218-hs-office-person-test-data.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/220-hs-office-partner.sql
|
file: db/changelog/220-hs-office-relationship.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/223-hs-office-partner-rbac.sql
|
file: db/changelog/223-hs-office-relationship-rbac.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/224-hs-office-partner-details-rbac.sql
|
file: db/changelog/228-hs-office-relationship-test-data.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/226-hs-office-partner-migration.sql
|
file: db/changelog/230-hs-office-partner.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/228-hs-office-partner-test-data.sql
|
file: db/changelog/233-hs-office-partner-rbac.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/230-hs-office-relationship.sql
|
file: db/changelog/234-hs-office-partner-details-rbac.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/233-hs-office-relationship-rbac.sql
|
file: db/changelog/236-hs-office-partner-migration.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/238-hs-office-relationship-test-data.sql
|
file: db/changelog/238-hs-office-partner-test-data.sql
|
||||||
- include:
|
- include:
|
||||||
file: db/changelog/240-hs-office-bankaccount.sql
|
file: db/changelog/240-hs-office-bankaccount.sql
|
||||||
- include:
|
- include:
|
||||||
|
Loading…
Reference in New Issue
Block a user
on delete cascade: ist das gut?