2022-09-06 19:43:15 +02:00
|
|
|
--liquibase formatted sql
|
|
|
|
|
|
|
|
-- ============================================================================
|
2022-09-13 13:27:52 +02:00
|
|
|
--changeset hs-office-contact-MAIN-TABLE:1 endDelimiter:--//
|
2022-09-06 19:43:15 +02:00
|
|
|
-- ----------------------------------------------------------------------------
|
|
|
|
|
2022-09-13 13:27:52 +02:00
|
|
|
create table if not exists hs_office_contact
|
2022-09-06 19:43:15 +02:00
|
|
|
(
|
2022-09-13 10:58:54 +02:00
|
|
|
uuid uuid unique references RbacObject (uuid) initially deferred,
|
2022-09-06 19:43:15 +02:00
|
|
|
label varchar(96) not null,
|
|
|
|
postalAddress text,
|
2022-09-07 12:25:12 +02:00
|
|
|
emailAddresses text, -- TODO.feat: change to json
|
|
|
|
phoneNumbers text -- TODO.feat: change to json
|
2022-09-06 19:43:15 +02:00
|
|
|
);
|
|
|
|
--//
|
2022-10-13 07:57:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
-- ============================================================================
|
|
|
|
--changeset hs-office-contact-MAIN-TABLE-JOURNAL:1 endDelimiter:--//
|
|
|
|
-- ----------------------------------------------------------------------------
|
|
|
|
|
|
|
|
call create_journal('hs_office_contact');
|
|
|
|
--//
|