rathena/sql-files/upgrade_svn12294.sql
2008-04-11 07:45:26 +00:00

26 lines
1.0 KiB
SQL

--
-- Table structure for table `auction`
--
DROP TABLE IF EXISTS `auction`;
CREATE TABLE `auction` (
`auction_id` bigint(20) unsigned NOT NULL auto_increment,
`seller_id` int(11) unsigned NOT NULL default '0',
`seller_name` varchar(30) NOT NULL default '',
`buyer_id` int(11) unsigned NOT NULL default '0',
`buyer_name` varchar(30) NOT NULL default '',
`price` int(11) unsigned NOT NULL default '0',
`buynow` int(11) unsigned NOT NULL default '0',
`hours` smallint(6) NOT NULL default '0',
`timestamp` int(11) unsigned NOT NULL default '0',
`nameid` int(11) unsigned NOT NULL default '0',
`item_name` varchar(50) NOT NULL default '',
`type` smallint(6) NOT NULL default '0',
`refine` tinyint(3) unsigned NOT NULL default '0',
`attribute` tinyint(4) unsigned NOT NULL default '0',
`card0` smallint(11) NOT NULL default '0',
`card1` smallint(11) NOT NULL default '0',
`card2` smallint(11) NOT NULL default '0',
`card3` smallint(11) NOT NULL default '0',
PRIMARY KEY (`auction_id`)
) ENGINE=MyISAM;