-- auto Generated on 2023-10-21
-- DROP TABLE IF EXISTS ba_power;
CREATE TABLE ba_power(
	id BIGINT (15) UNIQUE NOT NULL AUTO_INCREMENT COMMENT 'id',
	num INT (11) NOT NULL DEFAULT -1 COMMENT '权限编号',
	`name` VARCHAR (50) NOT NULL DEFAULT '' COMMENT '权限名称',
	`type` VARCHAR (50) NOT NULL DEFAULT '' COMMENT '权限类别',
	PRIMARY KEY (id)
)ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT 'ba_power';

ALTER TABLE ba_privilege COMMENT '权限表';