Tag: make notes nullable

master
Felix Stupp 2 years ago
parent 4a7381ea8e
commit 4775ee582b
Signed by: zocker
GPG Key ID: 93E1BD26F6B02FB7

@ -546,7 +546,10 @@ class Tag(db.Entity, Tagable):
id: int = orm.PrimaryKey(int, auto=True)
title: str = orm.Required(str)
notes: str = orm.Optional(str)
notes: Optional[str] = orm.Optional(
str,
nullable=True,
)
use_for_preferences: bool = orm.Required(bool, default=True)

Loading…
Cancel
Save