Add EU as possible contry code for vendor
Signed-off-by: Bryan Frimin <bryan@getprobo.com>
This commit is contained in:
@@ -94,6 +94,7 @@ const (
|
||||
CountryCodeER CountryCode = "ER"
|
||||
CountryCodeES CountryCode = "ES"
|
||||
CountryCodeET CountryCode = "ET"
|
||||
CountryCodeEU CountryCode = "EU"
|
||||
CountryCodeFI CountryCode = "FI"
|
||||
CountryCodeFJ CountryCode = "FJ"
|
||||
CountryCodeFK CountryCode = "FK"
|
||||
@@ -429,6 +430,8 @@ func (ct *CountryCode) Scan(value any) error {
|
||||
*ct = CountryCodeES
|
||||
case CountryCodeET.String():
|
||||
*ct = CountryCodeET
|
||||
case CountryCodeEU.String():
|
||||
*ct = CountryCodeEU
|
||||
case CountryCodeFI.String():
|
||||
*ct = CountryCodeFI
|
||||
case CountryCodeFJ.String():
|
||||
|
||||
2
pkg/coredata/migrations/20251014T000000Z.sql
Normal file
2
pkg/coredata/migrations/20251014T000000Z.sql
Normal file
@@ -0,0 +1,2 @@
|
||||
-- Add European Union (EU) to country_code enum
|
||||
ALTER TYPE country_code ADD VALUE 'EU' AFTER 'ET';
|
||||
Reference in New Issue
Block a user