revert: rollback schema changes to restore stability
Some checks failed
Deploy Fediversion / deploy (push) Failing after 0s
Some checks failed
Deploy Fediversion / deploy (push) Failing after 0s
This commit is contained in:
parent
696d317c6c
commit
59099b2b66
1 changed files with 1 additions and 4 deletions
|
|
@ -59,7 +59,6 @@ class VenueCreate(VenueBase):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class VenueRead(VenueBase):
|
class VenueRead(VenueBase):
|
||||||
model_config = ConfigDict(from_attributes=True)
|
|
||||||
id: int
|
id: int
|
||||||
slug: Optional[str] = None
|
slug: Optional[str] = None
|
||||||
|
|
||||||
|
|
@ -98,7 +97,6 @@ class SongUpdate(SQLModel):
|
||||||
|
|
||||||
# --- Vertical Schema (simple for embedding) ---
|
# --- Vertical Schema (simple for embedding) ---
|
||||||
class VerticalSimple(SQLModel):
|
class VerticalSimple(SQLModel):
|
||||||
model_config = ConfigDict(from_attributes=True)
|
|
||||||
id: int
|
id: int
|
||||||
name: str
|
name: str
|
||||||
slug: str
|
slug: str
|
||||||
|
|
@ -203,7 +201,7 @@ class ShowRead(ShowBase):
|
||||||
slug: Optional[str] = None
|
slug: Optional[str] = None
|
||||||
vertical: Optional[VerticalSimple] = None
|
vertical: Optional[VerticalSimple] = None
|
||||||
venue: Optional[VenueRead] = None
|
venue: Optional[VenueRead] = None
|
||||||
tour: Optional["TourRead"] = None
|
tour: Optional[TourRead] = None
|
||||||
tags: List["TagRead"] = []
|
tags: List["TagRead"] = []
|
||||||
performances: List["PerformanceRead"] = []
|
performances: List["PerformanceRead"] = []
|
||||||
notes: Optional[str] = None
|
notes: Optional[str] = None
|
||||||
|
|
@ -228,7 +226,6 @@ class TourCreate(TourBase):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
class TourRead(TourBase):
|
class TourRead(TourBase):
|
||||||
model_config = ConfigDict(from_attributes=True)
|
|
||||||
id: int
|
id: int
|
||||||
slug: Optional[str] = None
|
slug: Optional[str] = None
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue