Compare commits
No commits in common. "f7ec7d052a2a8b88409745289aa73b92a1a43347" and "01a7b7282afc86c0327a908fe2d6a28c8cb70551" have entirely different histories.
f7ec7d052a
...
01a7b7282a
@ -90,11 +90,11 @@ class PlaylistRowsTable(Model):
|
|||||||
__tablename__ = "playlist_rows"
|
__tablename__ = "playlist_rows"
|
||||||
|
|
||||||
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
|
id: Mapped[int] = mapped_column(primary_key=True, autoincrement=True)
|
||||||
row_number: Mapped[int] = mapped_column(index=True)
|
row_number: Mapped[int]
|
||||||
note: Mapped[str] = mapped_column(
|
note: Mapped[str] = mapped_column(
|
||||||
String(2048), index=False, default="", nullable=False
|
String(2048), index=False, default="", nullable=False
|
||||||
)
|
)
|
||||||
playlist_id: Mapped[int] = mapped_column(ForeignKey("playlists.id"), index=True)
|
playlist_id: Mapped[int] = mapped_column(ForeignKey("playlists.id"))
|
||||||
playlist: Mapped[PlaylistsTable] = relationship(back_populates="rows")
|
playlist: Mapped[PlaylistsTable] = relationship(back_populates="rows")
|
||||||
track_id: Mapped[Optional[int]] = mapped_column(ForeignKey("tracks.id"))
|
track_id: Mapped[Optional[int]] = mapped_column(ForeignKey("tracks.id"))
|
||||||
track: Mapped["TracksTable"] = relationship(
|
track: Mapped["TracksTable"] = relationship(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user