i2bill_user.sql 865 B

1234567891011121314151617181920
  1. DROP TABLE IF EXISTS `i2bill_user`;
  2. CREATE TABLE `i2bill_user` (
  3. `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  4. `erp_id` varchar(36) NOT NULL DEFAULT '',
  5. `username` varchar(60) NOT NULL DEFAULT '',
  6. `password` varchar(32) NOT NULL DEFAULT '',
  7. `gender` tinyint(1) unsigned NOT NULL DEFAULT '0',
  8. `birthday` int(11) unsigned NOT NULL DEFAULT '0',
  9. `register_time` int(11) unsigned NOT NULL DEFAULT '0',
  10. `last_login_time` int(11) unsigned NOT NULL DEFAULT '0',
  11. `last_login_ip` varchar(255) NOT NULL DEFAULT '',
  12. `user_level_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
  13. `nickname` varchar(60) NOT NULL,
  14. `mobile` varchar(20) NOT NULL,
  15. `register_ip` varchar(255) NOT NULL DEFAULT '',
  16. `avatar` varchar(255) NOT NULL DEFAULT '',
  17. `weixin_openid` varchar(50) NOT NULL DEFAULT '',
  18. PRIMARY KEY (`id`),
  19. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;