i2bill_mkt_part_time_user.sql 1.4 KB

123456789101112131415161718192021222324
  1. DROP TABLE IF EXISTS `i2bill_mkt_part_time_user`;
  2. CREATE TABLE `i2bill_mkt_part_time_user` (
  3. `id` int(0) NOT NULL AUTO_INCREMENT,
  4. `name` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  5. `ipone_number` varchar(11) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '',
  6. `sex` int(0) NOT NULL DEFAULT 0,
  7. `target` int(0) NOT NULL DEFAULT 0 COMMENT '目标人数',
  8. `user_id` int(0) NOT NULL DEFAULT 0 COMMENT 'user_id',
  9. `mk_id` varchar(36) NOT NULL DEFAULT '' COMMENT '所属erp mk id',
  10. `city_id` int(0) NOT NULL DEFAULT 0 COMMENT '城市',
  11. `check_state` int(0) NOT NULL DEFAULT 54 COMMENT '审核状态',
  12. `check_desc` varchar(300) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '审核失败描述',
  13. `create_by` varchar(36) NULL DEFAULT null,
  14. `create_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  15. `last_update_by` varchar(36) NULL DEFAULT NULL,
  16. `last_update_time` datetime(0) NOT NULL DEFAULT CURRENT_TIMESTAMP,
  17. `del_flag` int(0) NOT NULL DEFAULT 0,
  18. PRIMARY KEY (`id`) USING BTREE,
  19. INDEX `IDX_mkt_part_time_user_ipone_number`(`ipone_number`) USING BTREE,
  20. INDEX `IDX_mkt_part_time_user_name`(`name`) USING BTREE,
  21. INDEX `IDX_mkt_part_time_user_sex`(`sex`) USING BTREE,
  22. INDEX `IDX_mkt_part_time_user_id`(`user_id`) USING BTREE,
  23. INDEX `IDX_mkt_part_time_mk_id`(`mk_id`) USING BTREE
  24. ) ENGINE = InnoDB CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;