db-migration #10
@ -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
|
||||
constraint check_default_prefix check (
|
||||
defaultPrefix::text ~ '^([a-z]{3}|al0|bh1|c4s|f3k|k8i|l3d|mh1|o13|p2m|s80|t4w)$'
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user
unique
fixed