f3-data-models 0.1.6__py3-none-any.whl → 0.1.7__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
f3_data_models/models.py
CHANGED
@@ -309,7 +309,7 @@ class EventType(Base):
|
|
309
309
|
id (int): Primary Key of the model.
|
310
310
|
name (str): The name of the event type.
|
311
311
|
description (Optional[text]): A description of the event type.
|
312
|
-
|
312
|
+
acronym (Optional[str]): Acronyms associated with the event type.
|
313
313
|
category_id (int): The ID of the associated event category.
|
314
314
|
created (datetime): The timestamp when the record was created.
|
315
315
|
updated (datetime): The timestamp when the record was last updated.
|
@@ -320,7 +320,7 @@ class EventType(Base):
|
|
320
320
|
id: Mapped[intpk]
|
321
321
|
name: Mapped[str]
|
322
322
|
description: Mapped[Optional[text]]
|
323
|
-
|
323
|
+
acronym: Mapped[Optional[str]]
|
324
324
|
category_id: Mapped[int] = mapped_column(ForeignKey("event_categories.id"))
|
325
325
|
created: Mapped[dt_create]
|
326
326
|
updated: Mapped[dt_update]
|
@@ -421,7 +421,7 @@ class EventTag_x_Org(Base):
|
|
421
421
|
color_override: Mapped[Optional[str]]
|
422
422
|
|
423
423
|
|
424
|
-
class
|
424
|
+
class Org_x_SlackSpace(Base):
|
425
425
|
"""
|
426
426
|
Model representing the association between organizations and Slack workspaces. This is currently meant to be one to one, but theoretically could support multiple workspaces per organization.
|
427
427
|
|
@@ -430,10 +430,10 @@ class Org_x_Slack(Base):
|
|
430
430
|
slack_space_id (str): The ID of the associated Slack workspace.
|
431
431
|
"""
|
432
432
|
|
433
|
-
__tablename__ = "
|
433
|
+
__tablename__ = "orgs_x_slack_spaces"
|
434
434
|
|
435
435
|
org_id: Mapped[int] = mapped_column(ForeignKey("orgs.id"), primary_key=True)
|
436
|
-
slack_space_id: Mapped[
|
436
|
+
slack_space_id: Mapped[int] = mapped_column(
|
437
437
|
ForeignKey("slack_spaces.id"), primary_key=True
|
438
438
|
)
|
439
439
|
|
@@ -635,6 +635,9 @@ class User(Base):
|
|
635
635
|
last_name: Mapped[Optional[str]]
|
636
636
|
email: Mapped[str] = mapped_column(VARCHAR, unique=True)
|
637
637
|
phone: Mapped[Optional[str]]
|
638
|
+
emergency_contact: Mapped[Optional[str]]
|
639
|
+
emergency_phone: Mapped[Optional[str]]
|
640
|
+
emergency_notes: Mapped[Optional[str]]
|
638
641
|
home_region_id: Mapped[Optional[int]] = mapped_column(ForeignKey("orgs.id"))
|
639
642
|
avatar_url: Mapped[Optional[str]]
|
640
643
|
meta: Mapped[Optional[Dict[str, Any]]]
|
@@ -0,0 +1,6 @@
|
|
1
|
+
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
+
f3_data_models/models.py,sha256=Kj6OWq9jMYG4xa3RSHyHw0sQjYGZnNRhk_S0Sd7U8UQ,32082
|
3
|
+
f3_data_models/utils.py,sha256=oCxwNORr0-5l0ZugxMYLmKIbmcec-4HEdTSC1pRMoew,8002
|
4
|
+
f3_data_models-0.1.7.dist-info/METADATA,sha256=WirNuy8jqgqEqseX08_bJ8sTjcRmEEYn0AskYULjUxI,2361
|
5
|
+
f3_data_models-0.1.7.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
6
|
+
f3_data_models-0.1.7.dist-info/RECORD,,
|
@@ -1,6 +0,0 @@
|
|
1
|
-
f3_data_models/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
|
-
f3_data_models/models.py,sha256=rS9xOfv2V5XNRJP8RDQUddSicF6pasf-lT1IHez2wXo,31940
|
3
|
-
f3_data_models/utils.py,sha256=oCxwNORr0-5l0ZugxMYLmKIbmcec-4HEdTSC1pRMoew,8002
|
4
|
-
f3_data_models-0.1.6.dist-info/METADATA,sha256=UN1Qgq5Z14VmK-fuYvETmOx1HG4UOK-SU1LiuXH5xdU,2361
|
5
|
-
f3_data_models-0.1.6.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
6
|
-
f3_data_models-0.1.6.dist-info/RECORD,,
|
File without changes
|