You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
994 B
39 lines
994 B
/*
|
|
Navicat Premium Data Transfer
|
|
|
|
Source Server : localhost
|
|
Source Server Type : MySQL
|
|
Source Server Version : 50712
|
|
Source Host : localhost
|
|
Source Database : rbac
|
|
|
|
Target Server Type : MySQL
|
|
Target Server Version : 50712
|
|
File Encoding : utf-8
|
|
|
|
Date: 11/12/2016 23:25:19 PM
|
|
*/
|
|
|
|
SET NAMES utf8;
|
|
SET FOREIGN_KEY_CHECKS = 0;
|
|
|
|
-- ----------------------------
|
|
-- Table structure for `tp_auth_role_user`
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS `tp_auth_role_user`;
|
|
CREATE TABLE `tp_auth_role_user` (
|
|
`role_id` int(11) unsigned DEFAULT '0' COMMENT '角色 id',
|
|
`user_id` int(11) DEFAULT '0' COMMENT '用户id',
|
|
KEY `group_id` (`role_id`),
|
|
KEY `user_id` (`user_id`)
|
|
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户角色对应表';
|
|
|
|
-- ----------------------------
|
|
-- Records of `tp_auth_role_user`
|
|
-- ----------------------------
|
|
BEGIN;
|
|
INSERT INTO `tp_auth_role_user` VALUES ('2', '16');
|
|
COMMIT;
|
|
|
|
SET FOREIGN_KEY_CHECKS = 1;
|