f3-data-models 0.6.1__tar.gz → 0.6.3__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: f3-data-models
3
- Version: 0.6.1
3
+ Version: 0.6.3
4
4
  Summary: The data schema and models for F3 Nation applications.
5
5
  License: MIT
6
6
  Author: Evan Petzoldt
@@ -359,7 +359,7 @@ class Role(Base):
359
359
 
360
360
  Attributes:
361
361
  id (int): Primary Key of the model.
362
- name (Region_Role): The name of the role.
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[Region_Role]
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]
@@ -780,7 +780,7 @@ class Event(Base):
780
780
  )
781
781
 
782
782
  org: Mapped[Org] = relationship(innerjoin=True, cascade="expunge", viewonly=True)
783
- location: Mapped[Location] = relationship(innerjoin=True, cascade="expunge", viewonly=True)
783
+ location: Mapped[Location] = relationship(innerjoin=False, cascade="expunge", viewonly=True)
784
784
  event_types: Mapped[List[EventType]] = relationship(
785
785
  secondary="events_x_event_types",
786
786
  innerjoin=True,
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "f3-data-models"
3
- version = "0.6.1"
3
+ version = "0.6.3"
4
4
  description = "The data schema and models for F3 Nation applications."
5
5
  authors = ["Evan Petzoldt <evan.petzoldt@protonmail.com>"]
6
6
  readme = "README.md"
File without changes