remove calcualted personUuid from hs_office_person

This commit is contained in:
Michael Hoennig 2024-03-25 17:13:49 +01:00
parent fc51f2a532
commit 8f080f407d

View File

@ -17,13 +17,11 @@ CREATE CAST (character varying as HsOfficePersonType) WITH INOUT AS IMPLICIT;
create table if not exists hs_office_person
(
uuid uuid unique references RbacObject (uuid) initially deferred,
personUuid uuid GENERATED ALWAYS AS (uuid) stored, -- see usage in HsOfficePersonEntity
personType HsOfficePersonType not null,
tradeName varchar(96),
givenName varchar(48),
familyName varchar(48)
);
--//
-- ============================================================================