Updates to event model and minor clean up
This commit is contained in:
@@ -84,6 +84,7 @@ class Event_Base(BaseModel):
|
||||
|
||||
address_location_id_random: Optional[str]
|
||||
address_location_id: Optional[int]
|
||||
location_address_json: Optional[Union[Json, None]]
|
||||
location_text: Optional[str]
|
||||
|
||||
online_start: Optional[datetime.datetime] = None
|
||||
@@ -106,6 +107,7 @@ class Event_Base(BaseModel):
|
||||
contact_2_id: Optional[int]
|
||||
contact_3_id_random: Optional[str]
|
||||
contact_3_id: Optional[int]
|
||||
contact_li_json: Optional[Union[Json, None]] # list of dicts (custom for client); this is SQL FULLTEXT() indexed
|
||||
|
||||
attend_url: Optional[str]
|
||||
attend_url_passcode: Optional[str]
|
||||
@@ -334,6 +336,7 @@ class Event_Meeting_Flat_Base(BaseModel):
|
||||
|
||||
address_location_id_random: Optional[str]
|
||||
address_location_id: Optional[int]
|
||||
location_address_json: Optional[Union[Json, None]]
|
||||
location_text: Optional[str]
|
||||
|
||||
online_start: Optional[datetime.datetime] = None
|
||||
@@ -356,6 +359,7 @@ class Event_Meeting_Flat_Base(BaseModel):
|
||||
contact_2_id: Optional[int]
|
||||
contact_3_id_random: Optional[str]
|
||||
contact_3_id: Optional[int]
|
||||
contact_li_json: Optional[Union[Json, None]] # list of dicts (custom for client); this is SQL FULLTEXT() indexed
|
||||
|
||||
attend_url: Optional[str]
|
||||
attend_url_passcode: Optional[str]
|
||||
@@ -401,7 +405,8 @@ class Event_Meeting_Flat_Base(BaseModel):
|
||||
|
||||
contact_1_id_random: Optional[str]
|
||||
contact_1_id: Optional[int]
|
||||
contact_1_name: Optional[str]
|
||||
contact_1_name: Optional[str] # Avoid using or use as something different?
|
||||
contact_1_full_name: Optional[str] # Yes... it is the same as "name"
|
||||
contact_1_email: Optional[str]
|
||||
contact_1_phone_mobile: Optional[str]
|
||||
contact_1_phone_home: Optional[str]
|
||||
@@ -413,7 +418,8 @@ class Event_Meeting_Flat_Base(BaseModel):
|
||||
|
||||
contact_2_id_random: Optional[str]
|
||||
contact_2_id: Optional[int]
|
||||
contact_2_name: Optional[str]
|
||||
contact_2_name: Optional[str] # Avoid using or use as something different?
|
||||
contact_2_full_name: Optional[str] # Yes... it is the same as "name"
|
||||
contact_2_email: Optional[str]
|
||||
contact_2_phone_mobile: Optional[str]
|
||||
contact_2_phone_home: Optional[str]
|
||||
|
||||
Reference in New Issue
Block a user