fix(db): add deleted column to mci_platform_role
This commit is contained in:
@@ -17,7 +17,8 @@ CREATE TABLE IF NOT EXISTS mci_platform_role (
|
|||||||
permissions JSON COMMENT '权限列表',
|
permissions JSON COMMENT '权限列表',
|
||||||
status TINYINT NOT NULL DEFAULT 1,
|
status TINYINT NOT NULL DEFAULT 1,
|
||||||
create_time DATETIME NOT NULL DEFAULT CURRENT_TIMESTAMP,
|
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='平台角色表';
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='平台角色表';
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS mci_user (
|
CREATE TABLE IF NOT EXISTS mci_user (
|
||||||
|
|||||||
Reference in New Issue
Block a user