refactor(model): set default for company table

This commit is contained in:
Steffen Jost 2023-01-20 11:54:54 +01:00
parent b3a87c440c
commit 4509a70f99

View File

@ -7,8 +7,8 @@
Company
name CompanyName -- == (CI Text)
shorthand CompanyShorthand -- == (CI Text) and CompanyKey :: CompanyShorthand -> CompanyId FUTURE TODO: a shorthand will become available through the AVS interface in the future
avsId Int -- primary key from avs
prefersPostal Bool default=false -- new company users prefers letters by post instead of email
avsId Int default=0 -- primary key from avs
prefersPostal Bool default=false -- new company users prefers letters by post instead of email
postAddress StoredMarkup Maybe -- default company postal address
UniqueCompanyName name
UniqueCompanyShorthand shorthand