38 lines
1.6 KiB
SQL
38 lines
1.6 KiB
SQL
-- ----------------------------
|
|
-- Table structure for sys_user
|
|
-- ----------------------------
|
|
DROP TABLE IF EXISTS "sys_user";
|
|
CREATE TABLE "sys_user" (
|
|
"user_id" integer NOT NULL,
|
|
"dept_id" integer,
|
|
"user_name" text(36) NOT NULL,
|
|
"nick_name" text(36) NOT NULL,
|
|
"email" text(64),
|
|
"phone" text(32),
|
|
"sex" text(1),
|
|
"avatar" text(255),
|
|
"password" text(128),
|
|
"user_type" text(20),
|
|
"user_source" text(32),
|
|
"status_flag" text(1),
|
|
"del_flag" text(1),
|
|
"password_update_time" integer,
|
|
"login_count" integer,
|
|
"login_ip" text(128),
|
|
"login_time" integer,
|
|
"create_by" text(64),
|
|
"create_time" integer,
|
|
"update_by" text(64),
|
|
"update_time" integer,
|
|
"remark" text(200),
|
|
PRIMARY KEY ("user_id")
|
|
);
|
|
|
|
-- ----------------------------
|
|
-- Records of sys_user
|
|
-- ----------------------------
|
|
INSERT INTO `sys_user` VALUES (1, 100, 'supervisor', 'supervisor', '', '', '0', '', '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', 'System', '#', '1', '0', 0, 0, '127.0.0.1', 0, 'system', 0, '', 0, '');
|
|
INSERT INTO `sys_user` VALUES (2, 100, 'admin', 'admin', '', '', '0', '', '$2a$10$QgIcp6yuOEGrEU0TNU12K.uQRLbcufesEU7hiRYlRSSdUO7OAkoTq', 'System', '#', '1', '0', 0, 0, '127.0.0.1', 0, 'system', 0, '', 0, '');
|
|
INSERT INTO `sys_user` VALUES (3, 100, 'manager', 'manager', '', '', '0', '', '$2a$10$RND3fUw9Ai.WcggYSI57tu.u3OIlktdPxFzlWkmiHC1paV038t0I2', 'System', '#', '1', '0', 0, 0, '127.0.0.1', 0, 'system', 0, '', 0, '');
|
|
INSERT INTO `sys_user` VALUES (4, 100, 'monitor', 'monitor', '', '', '0', '', '$2a$10$t3zpKQ0olECotFyI1yO43.tCoS0EXoSRBDcqwl09xvrsmn14qFHHy', 'System', '#', '1', '0', 0, 0, '127.0.0.1', 0, 'system', 0, '', 0, '');
|