Commit 7c750f99 authored by 顾俭's avatar 顾俭

默认角色 sql

parent fd5d41c1
......@@ -4,6 +4,10 @@ CREATE TABLE IF NOT EXISTS `srm_acl_role` (
`status` TINYINT(1) NOT NULL DEFAULT 1
)ENGINE=InnoDB DEFAULT CHARACTER SET utf8, COLLATE utf8_general_ci ROW_FORMAT=COMPRESSED;
INSERT INTO srm_acl_role(id, name, status) VALUES (1, '供应商用户', 1);
INSERT INTO srm_acl_role(id, name, status) VALUES (2, '采购用户', 1);
INSERT INTO srm_acl_role(id, name, status) VALUES (3, '供应商调查填报', 1);
CREATE TABLE IF NOT EXISTS `srm_acl_role_acl_sid_map` (
`id` BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,
`role_id` BIGINT(20) NOT NULL,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment