   `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '充值备注',
   `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '充值时间',
   PRIMARY KEY (`id`),
-  INDEX `idx_uid`(`uid`)
+  KEY `idx_uid`(`uid`)
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '用户充值记录表';
 
 CREATE TABLE IF NOT EXISTS `feed` (

  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  UNIQUE KEY (`sid`,`uid`),
  INDEX (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT '专栏关注者';

CREATE TABLE IF NOT EXISTS `download` (

  `state` tinyint unsigned NOT NULL DEFAULT 0 COMMENT '0-opened；1-closed',
  `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`id`),
  KEY (`label`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT 'GCTT github 选题 issue 列表';


