码迷,mamicode.com
首页 > 其他好文 > 详细

tables

时间:2018-11-09 21:10:08      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:name   uniq   create   date   innodb   arch   only   nic   sign   

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;

 

tables

标签:name   uniq   create   date   innodb   arch   only   nic   sign   

原文地址:https://www.cnblogs.com/niuniuc/p/9936821.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!