feat: add task and habit reordering
ci / docker (push) Successful in 3m33s

This commit is contained in:
2026-09-08 06:51:31 +08:00
parent a02b6f660c
commit 988d131d9b
13 changed files with 329 additions and 22 deletions
+1
View File
@@ -162,6 +162,7 @@ class Habit(Base):
interval_days: Mapped[int | None] = mapped_column(Integer, nullable=True)
start_date: Mapped[date] = mapped_column(Date)
archived_at: Mapped[datetime | None] = mapped_column(DateTime(timezone=True), nullable=True)
position: Mapped[int] = mapped_column(Integer, default=0)
created_at: Mapped[datetime] = mapped_column(DateTime(timezone=True), default=utcnow)