icbc_queue_no_prefix.sql 870 B

1234567891011121314151617181920212223242526
  1. -- 工行积分推送队列表(无前缀版本)
  2. -- 如果报错找不到表,使用此文件
  3. SET SESSION sql_mode = '';
  4. -- 删除可能存在的旧表
  5. DROP TABLE IF EXISTS `icbc_queue`;
  6. -- 创建表(不带前缀)
  7. CREATE TABLE `icbc_queue` (
  8. `id` int(11) NOT NULL AUTO_INCREMENT,
  9. `mobile_phone` varchar(20) NOT NULL DEFAULT '',
  10. `integral_value` int(11) NOT NULL DEFAULT '0',
  11. `integral_type` varchar(50) NOT NULL DEFAULT '',
  12. `nickname` varchar(100) NOT NULL DEFAULT '',
  13. `status` tinyint(1) NOT NULL DEFAULT '0',
  14. `retry_count` int(11) NOT NULL DEFAULT '0',
  15. `result` text,
  16. `error_msg` varchar(500) DEFAULT '',
  17. `createtime` int(11) DEFAULT NULL,
  18. `updatetime` int(11) DEFAULT NULL,
  19. PRIMARY KEY (`id`),
  20. KEY `status` (`status`),
  21. KEY `createtime` (`createtime`)
  22. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COMMENT='工行积分推送队列';