tables

CREATE TABLE `cowboy_result` (
`id` bigint(11) unsigned NOT NULL AUTO_INCREMENT,
`app_id` char(10) NOT NULL,
`record_time` datetime NOT NULL,
`account_id` bigint(20) NOT NULL,
`nickname` varchar(256) DEFAULT NULL,
`remain_coin` int(11) NOT NULL,
`ante_coin` int(11) NOT NULL,
`win_amount` int(11) NOT NULL,
`hit_times` int(11) NOT NULL,
`onlyid` varchar(40) NOT NULL,
`table_id` int(11) NOT NULL,
`updated_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
PRIMARY KEY (`id`),
UNIQUE KEY `onlyid` (`onlyid`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

猜你喜欢

转载自www.cnblogs.com/niuniuc/p/9936821.html