support toggle.

This commit is contained in:
Bryce
2025-08-05 07:32:56 -07:00
parent 9769b03c0b
commit 1eca7f3ff9
15 changed files with 177 additions and 41 deletions

View File

@@ -39,5 +39,6 @@ class Folder(Base):
name = db.Column(db.String(255), nullable=False)
rule_text = db.Column(db.Text)
priority = db.Column(db.Integer)
organize_enabled = db.Column(db.Boolean, default=True)
user = db.relationship('User', backref=db.backref('folders', lazy=True))