mirror of
https://github.com/temetro/temetro.git
synced 2026-08-07 01:13:12 +00:00
6fdb7bdb46
- add a `status` field to tasks (backend schema/validation/service/types + frontend types), kept in sync with the legacy `done` flag - migration 0017 adds the column and backfills done tasks to "done" - rewrite the tasks page as a three-column board: per-column add buttons, draggable cards, and a status mover in the detail sheet Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
3 lines
152 B
SQL
3 lines
152 B
SQL
ALTER TABLE "tasks" ADD COLUMN "status" text DEFAULT 'todo' NOT NULL;
|
|
--> statement-breakpoint
|
|
UPDATE "tasks" SET "status" = 'done' WHERE "done" = true; |