db-migration #10

Merged
hsh-michaelhoennig merged 74 commits from db-migration into master 2024-01-23 15:11:24 +01:00
Showing only changes of commit b2fd593098 - Show all commits

View File

@ -16,7 +16,7 @@ create table hs_office_debitor
vatBusiness boolean not null,
vatReverseCharge boolean not null,
refundBankAccountUuid uuid references hs_office_bankaccount(uuid),
defaultPrefix char(3) not null
defaultPrefix char(3) not null unique
hsh-michaelhoennig marked this conversation as resolved Outdated

unique

unique

fixed

fixed
constraint check_default_prefix check (
defaultPrefix::text ~ '^([a-z]{3}|al0|bh1|c4s|f3k|k8i|l3d|mh1|o13|p2m|s80|t4w)$'
)