/*
Dreamer CMS 数据库备份工具 时间：2025-04-09
*/

DROP TABLE IF EXISTS `system_user`;

/*
Table structure for table `system_user`
*/
CREATE TABLE `system_user` (
  `id` varchar(32) NOT NULL,
  `username` varchar(32) DEFAULT NULL COMMENT '用户名',
  `password` varchar(32) DEFAULT NULL COMMENT '密码',
  `mobile` varchar(32) DEFAULT NULL COMMENT '手机',
  `realname` varchar(32) DEFAULT NULL COMMENT '真实姓名',
  `status` int DEFAULT '0' COMMENT '状态（1：启用0：禁用）',
  `page_style` varchar(32) DEFAULT NULL COMMENT '页面风格',
  `salt` varchar(64) DEFAULT NULL COMMENT '密码盐',
  `last_login_ip` varchar(32) DEFAULT NULL COMMENT '上次登录IP',
  `last_login_time` varchar(32) DEFAULT NULL COMMENT '上次登录时间',
  `portrait` varchar(32) DEFAULT NULL COMMENT '头像',
  `create_by` varchar(255) DEFAULT NULL,
  `create_time` timestamp NOT NULL DEFAULT '2018-01-01 00:00:00',
  `update_by` varchar(255) DEFAULT NULL,
  `update_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

/*
Data for table `system_user`
*/
INSERT INTO `system_user`(`create_by`, `create_time`, `id`, `last_login_ip`, `last_login_time`, `mobile`, `page_style`, `password`, `portrait`, `realname`, `salt`, `status`, `update_by`, `update_time`, `username`) VALUES ('9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2021-03-11 07:26:56','%Y-%m-%d %H:%i:%s'), '1443c458e49c44539b63212cba8b9b1e', '本地主机', '2023-04-11 11:17:21.691', '', '', '1f352f09d1a9bfb3f840a78804d9610c', '', '演示账号1', 'ZGVtbzExMjM0NTY=', 1, '', STR_TO_DATE('2021-03-11 15:26:55','%Y-%m-%d %H:%i:%s'), 'demo1');
INSERT INTO `system_user`(`create_by`, `create_time`, `id`, `last_login_ip`, `last_login_time`, `mobile`, `page_style`, `password`, `portrait`, `realname`, `salt`, `status`, `update_by`, `update_time`, `username`) VALUES ('', STR_TO_DATE('2018-01-01 00:00:00','%Y-%m-%d %H:%i:%s'), '9f4b807db2e94670bb02cdc212ea7389', '本地主机', '2025-04-09 10:19:01.516', '111', '', '51c04b026c6cf5f785622796aba7e56f', '', '超级管理员', 'd2FuZ2puMTIzNDU2', 1, '9f4b807db2e94670bb02cdc212ea7389', STR_TO_DATE('2021-03-09 03:50:34','%Y-%m-%d %H:%i:%s'), 'wangjn');
