Add favourite to queries table

This commit is contained in:
Keith Edmunds 2025-02-22 20:18:45 +00:00
parent 994d510ed9
commit 306ab103b6

View File

@ -128,8 +128,8 @@ class QueriesTable(Model):
sql: Mapped[str] = mapped_column( sql: Mapped[str] = mapped_column(
String(2048), index=False, default="", nullable=False String(2048), index=False, default="", nullable=False
) )
description: Mapped[str] = mapped_column( favourite: Mapped[bool] = mapped_column(
String(512), index=False, default="", nullable=False Boolean, nullable=False, index=False, default=False
) )
def __repr__(self) -> str: def __repr__(self) -> str: