mysql角色表

CREATE TABLE `sys_user`
(
    `id`          BIGINT(20) NOT NULL AUTO_INCREMENT COMMENT '用户ID',
    `username`    VARCHAR(100) DEFAULT NULL COMMENT '用户名',
    `password`    VARCHAR(100) DEFAULT NULL COMMENT '密码',
    `avatar`      VARCHAR(255) DEFAULT 'default.jpg' COMMENT '用户头像',
    `email`       VARCHAR(100) DEFAULT '' COMMENT '用户邮箱',
    `phonenumber` VARCHAR(11)  DEFAULT '' COMMENT '手机号码',
    `login_date`  DATETIME     DEFAULT NULL COMMENT '最后登录时间',
    `status`      CHAR(1)      DEFAULT '0' COMMENT '帐号状态(0正常 1停用)',
    `create_time` DATETIME     DEFAULT NULL COMMENT '创建时间',
    `update_time` DATETIME     DEFAULT NULL COMMENT '更新时间',
    `remark`      VARCHAR(500) DEFAULT NULL COMMENT '备注',
    PRIMARY KEY (`id`)
) ENGINE=INNODB AUTO_INCREMENT=31 DEFAULT CHARSET=utf8; /*Data for the table `sys_user` */
`sys_user`

插入数据

/*[20:16:24][0 ms]*/ INSERT INTO `sys_user`(`id`, `username`, `password`, `avatar`, `email`, `phonenumber`, `login_date `, `status`, `create_time`, `update_time`, `remark`) VALUES (1, 'java1234', '$2a$10$Kib4zuVhTzg3I1CoqJfd0unuY9G9ysI7cfbhyT3fi7k7Z/4pr3bGW', '20 220727112556000000325.jpg', '[email protected]', '18862857417', '2022-08-29 22:10:52', '0', '2022-06-09 08:47:52', '2022-06-22 08:47:54', '备注'), (2, 'common', '$2a$10$tiArwm0GxChyEP5k0JGzsOuzyY15IKA.ZTl8S2aj3haYlKAfpwfl.', '222. jpg', '', '', '2022-08-22 21:34:39', '0', NULL, NULL, NULL), (3, 'test', '$2a$10$tiArwm0GxChyEP5k0JGzsOuzyY15IKA.ZTl8S2aj3haYlKAfpwfl.', '333.jp g', '', '', '2022-07-24 17:36:07', '0', NULL, NULL, NULL), (4, '1', '$2a$10$lD0Fx7oMsFFmX9hVkmYy7eJteH8pBaXXro1X9DEMP5sbM.Z6Co55m', 'default.j pg', '', '', NULL, '1', NULL, NULL, NULL), (5, '2', NULL, 'default.jpg', '', '', NULL, '1', NULL, NULL, NULL), (15, 'fdsfs', '$2a$10$AQVcp4hQ7REc5o7ztVnI7eX.sJdcYy3d1x2jm5CfrcCoMZMPacfpi', 'defa ult.jpg', '[email protected]', '18862851414', '2022-08-02 02:22:45', '1', '2022-08-02 02:21:24', '2022-08-01 18:23:16', 'fdfds4'), (28, 'sdfss2', '$2a$10$7aNJxwVmefI0XAk64vrzYuOqeeImYJUQnoBrtKP9pLTGTWO2CXQ/y', 'def ault.jpg', '[email protected]', '18862857413', NULL, '1', '2022-08-07 00:42:46', '2022-08- 06 16:43:04', 'ddd33'), (29, 'ccc', '$2a$10$7cbWeVwDWO9Hh3qbJrvTHOn0E/DLYXxnIZpxZei0jY4ChfQbJuhi.', '202208 29080150000000341.jpg', '[email protected]', '18862584120', '2022-08-29 19:52:27', '0', '2022-08-29 17:04:58', NULL, 'xxx'), (30, 'ccc666', '$2a$10$Tmw5VCM/K2vb837AZDYHQOqE3gPiRZKevxLsh/ozndpTSjdwABqaK', '202 20829100454000000771.jpg', '[email protected]', '18865259845', '2022-08-29 22:05:18', '0', '2022-08-29 22:00:39', NULL, 'ccc'); 

你可能感兴趣的:(mysql,python,android)