Work on badge importing

This commit is contained in:
Scott Idem
2022-03-21 17:59:05 -04:00
parent 88e5daebfa
commit e1eeb8990c
3 changed files with 60 additions and 6 deletions

View File

@@ -74,11 +74,17 @@ class Event_Badge_Base(BaseModel):
city: Optional[str]
county: Optional[str] # NOTE: This is for a county within a state or province
country_subdivision_code: Optional[str]
state_province: Optional[str]
country: Optional[str]
location_name: Optional[str] # Actual location name shown on badge and other "public" areas
state_province_abb: Optional[str]
full_address: Optional[str]
country_alpha_2_code: Optional[str]
country: Optional[str]
# full_address: Optional[str]
location: Optional[str] # Actual location name shown on badge and other "public" areas
location_short: Optional[str] # Auto generated short version
location_long: Optional[str] # Auto generated long version
# This is updated using SQL triggers and a SQL function
# Combines informal, given, middle, family, email