Files
dodo/docs/data-model.md
T

61 lines
767 B
Markdown

# 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