f3-data-models 0.6.2__tar.gz → 0.7.0__tar.gz
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-0.6.2 → f3_data_models-0.7.0}/PKG-INFO +1 -1
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/f3_data_models/models.py +3 -2
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/pyproject.toml +1 -1
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/README.md +0 -0
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/f3_data_models/__init__.py +0 -0
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/f3_data_models/testing.py +0 -0
- {f3_data_models-0.6.2 → f3_data_models-0.7.0}/f3_data_models/utils.py +0 -0
@@ -359,7 +359,7 @@ class Role(Base):
|
|
359
359
|
|
360
360
|
Attributes:
|
361
361
|
id (int): Primary Key of the model.
|
362
|
-
name (
|
362
|
+
name (str): The unique name of the role.
|
363
363
|
description (Optional[text]): A description of the role.
|
364
364
|
created (datetime): The timestamp when the record was created.
|
365
365
|
updated (datetime): The timestamp when the record was last updated.
|
@@ -368,7 +368,7 @@ class Role(Base):
|
|
368
368
|
__tablename__ = "roles"
|
369
369
|
|
370
370
|
id: Mapped[intpk]
|
371
|
-
name: Mapped[
|
371
|
+
name: Mapped[str] = mapped_column(VARCHAR, unique=True)
|
372
372
|
description: Mapped[Optional[text]]
|
373
373
|
created: Mapped[dt_create]
|
374
374
|
updated: Mapped[dt_update]
|
@@ -604,6 +604,7 @@ class EventTag(Base):
|
|
604
604
|
description: Mapped[Optional[text]]
|
605
605
|
color: Mapped[Optional[str]]
|
606
606
|
specific_org_id: Mapped[Optional[int]] = mapped_column(ForeignKey("orgs.id"))
|
607
|
+
is_active: Mapped[bool] = mapped_column(Boolean, default=True, nullable=False)
|
607
608
|
created: Mapped[dt_create]
|
608
609
|
updated: Mapped[dt_update]
|
609
610
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|