introduce-partner-business-role #16

Merged
hsh-michaelhoennig merged 33 commits from introduce-partner-business-role into master 2024-02-01 14:48:16 +01:00
11 changed files with 12 additions and 10 deletions
Showing only changes of commit 1eaef1e18c - Show all commits

View File

@ -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),
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
); );
--// --//

View File

@ -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,
--// --//

View File

@ -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: