25 lines
964 B
MySQL
Raw Normal View History

2022-10-13 13:35:50 +02:00
--liquibase formatted sql
-- ============================================================================
--changeset hs-office-sepamandate-MAIN-TABLE:1 endDelimiter:--//
-- ----------------------------------------------------------------------------
create table if not exists hs_office_sepamandate
(
uuid uuid unique references RbacObject (uuid) initially deferred,
debitorUuid uuid not null references hs_office_debitor(uuid),
bankAccountUuid uuid not null references hs_office_bankaccount(uuid),
2022-10-13 18:53:38 +02:00
reference varchar(96) not null,
2022-10-28 13:44:48 +02:00
agreement date not null,
2022-10-13 13:35:50 +02:00
validity daterange not null
);
--//
-- ============================================================================
--changeset hs-office-sepamandate-MAIN-TABLE-JOURNAL:1 endDelimiter:--//
-- ----------------------------------------------------------------------------
call create_journal('hs_office_sepamandate');
--//