Файл: auction/tables.sql
Строк: 19
CREATE TABLE `auction` (
`id` int(11) NOT NULL auto_increment,
`name` varchar(184) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY
(`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE
`auction_st` (
`id` int(11) NOT NULL auto_increment,
`id_auction`
int(11) NOT NULL,
`id_user` int(11) NOT NULL default '0',
`type`
varchar(84) NOT NULL,
`balls` int(11) NOT NULL default '10',
`end` int(1) NOT NULL default '0',
`time_st` int(11) NOT NULL,
`time` int(11) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT
CHARSET=utf8;