fix(db): add deleted column to mci_platform_role

This commit is contained in:
2026-07-06 18:23:00 +08:00
parent 91d96e0819
commit ed2390e4ad

View File

@@ -17,7 +17,8 @@ CREATE TABLE IF NOT EXISTS mci_platform_role (
permissions JSON COMMENT '权限列表',
status TINYINT NOT NULL DEFAULT 1,
create_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
update_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP
update_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
deleted TINYINT NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='平台角色表';
CREATE TABLE IF NOT EXISTS mci_user (