From b7e5b8f111b5115d816d984c6ef2f12edfcef5bb Mon Sep 17 00:00:00 2001 From: Steffen Date: Wed, 28 Aug 2024 09:55:57 +0200 Subject: [PATCH] fix(model): flip erroneous boolean SQL default for CompanyPostalAddress changing this SQL default value now is admittedly too late, as the damage is already done, but documents the right default value nevertheless --- models/company.model | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/company.model b/models/company.model index ae94849e8..0d3d07ce9 100644 --- a/models/company.model +++ b/models/company.model @@ -8,7 +8,7 @@ Company name CompanyName -- == (CI Text) -- NOTE: Fraport department name may carry additional information; use the Shorthand with respect to UserCompanyDepartment shorthand CompanyShorthand -- == (CI Text) and CompanyKey :: CompanyShorthand -> CompanyId A change to AvsId as primary key is too much work and not strictly necessary due to Uniqueness avsId Int default=0 -- primary key from avs, use negative numbers for non-AVS companies - prefersPostal Bool default=false -- new company users prefers letters by post instead of email + prefersPostal Bool default=true -- new company users prefers letters by post instead of email postAddress StoredMarkup Maybe -- default company postal address, including company name email UserEmail Maybe -- Case-insensitive generic company eMail address -- UniqueCompanyName name -- Should be Unique in AVS, but we do not yet need to enforce it