Skip to content

feat(03): add note table for private notepad - #133

Open
sek27 wants to merge 1 commit into
eesast:03-Databasefrom
sek27:03-Database
Open

feat(03): add note table for private notepad#133
sek27 wants to merge 1 commit into
eesast:03-Databasefrom
sek27:03-Database

Conversation

@sek27

@sek27 sek27 commented Aug 31, 2026

Copy link
Copy Markdown

第3讲 Database 作业:便签纸功能的数据库设计

  • 新增 note 表(user_uuid+room_uuid 联合主键,外键级联删除)
  • created_at/updated_at 时间戳 + 触发器自动维护
  • Hasura track + user 角色权限(select/insert/update 均限定 user_uuid=X-Hasura-User-Id),便签仅自己可见

关联 issue:#6

- 新增 note 表:user_uuid+room_uuid 联合主键,外键级联删除
- created_at/updated_at 时间戳,触发器自动维护 updated_at
- Hasura track + user 角色权限:便签仅自己可见
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant