feat: bootstrap dodo phase one

This commit is contained in:
2026-09-05 10:47:44 +08:00
commit f182c704a4
48 changed files with 4221 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
# dodo 数据模型(第一阶段)
## app_state
- key
- created_at
## users
- id UUIDv7
- username
- password_hash
- timezone
- created_at
## sessions
- id UUIDv7
- token_hash
- user_id
- expires_at
- created_at
## folders
- id UUIDv7
- user_id
- name
- position
- created_at
## task_lists
- id UUIDv7
- user_id
- folder_id nullable
- name
- is_inbox
- position
- created_at
## tasks
- id UUIDv7
- user_id
- list_id
- parent_id nullable
- title
- description
- priority (0-3)
- completed
- due_at nullable
- version
- position
- created_at
- updated_at
- deleted_at nullable
## 后续阶段预留
- task_reminders
- task_recurrence_templates
- task_recurrence_exceptions
- tags / task_tags
- habits / habit_logs / habit_reminders
- attachments
- audit_logs