mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 14:33:33 -07:00
fix pg tests
This commit is contained in:
parent
2969440fe1
commit
06ab13ec8c
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ from sqlalchemy.sql.sqltypes import Integer
|
|||
|
||||
class SiteThemeModel(SqlAlchemyBase, BaseMixins):
|
||||
__tablename__ = "site_theme"
|
||||
id = sa.Column(Integer, primary_key=True)
|
||||
id = sa.Column(Integer, primary_key=True, unique=True)
|
||||
name = sa.Column(sa.String, nullable=False)
|
||||
colors = orm.relationship("ThemeColorsModel", uselist=False, cascade="all, delete")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue