Remove references to 'deleted' column
This commit is contained in:
parent
6c05ed8c6f
commit
a8931e8b2b
@ -247,7 +247,7 @@ class Playlists(dbtables.PlaylistsTable):
|
|||||||
|
|
||||||
return session.scalars(
|
return session.scalars(
|
||||||
select(cls)
|
select(cls)
|
||||||
.where(cls.is_template.is_(True), cls.deleted.is_not(True))
|
.where(cls.is_template.is_(True))
|
||||||
.order_by(cls.name)
|
.order_by(cls.name)
|
||||||
).all()
|
).all()
|
||||||
|
|
||||||
@ -260,7 +260,6 @@ class Playlists(dbtables.PlaylistsTable):
|
|||||||
.filter(
|
.filter(
|
||||||
cls.open.is_(False),
|
cls.open.is_(False),
|
||||||
cls.is_template.is_(False),
|
cls.is_template.is_(False),
|
||||||
cls.deleted.is_(False),
|
|
||||||
)
|
)
|
||||||
.order_by(cls.last_used.desc())
|
.order_by(cls.last_used.desc())
|
||||||
).all()
|
).all()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user