diff --git a/backend/mci-server/src/main/resources/db/migration/V1__init_account.sql b/backend/mci-server/src/main/resources/db/migration/V1__init_account.sql index 72edfb2..36f130c 100644 --- a/backend/mci-server/src/main/resources/db/migration/V1__init_account.sql +++ b/backend/mci-server/src/main/resources/db/migration/V1__init_account.sql @@ -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 (