支持家庭成员显示名编辑

This commit is contained in:
stu2not
2026-06-08 11:46:14 +08:00
parent dcff337f43
commit ac9d669107
10 changed files with 255 additions and 6 deletions

View File

@@ -277,6 +277,7 @@ CREATE TABLE IF NOT EXISTS `device_family_members` (
`device_id` VARCHAR(64) NOT NULL,
`user_id` BIGINT NOT NULL,
`role` TINYINT NOT NULL DEFAULT 2 COMMENT '1=owner,2=member',
`display_name` VARCHAR(64) NULL,
`status` TINYINT NOT NULL DEFAULT 1,
`invited_by_user_id` BIGINT NULL,
`joined_at` DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,