Alternative database installer.

This commit is contained in:
mobius
2015-01-01 23:19:30 +00:00
parent 4bfdcf4dee
commit a6983133c3
456 changed files with 173 additions and 6832 deletions

16
trunk/dist/tools/sql/server/auction.sql vendored Normal file
View File

@@ -0,0 +1,16 @@
CREATE TABLE IF NOT EXISTS `auction` (
`id` int(11) NOT NULL DEFAULT '0',
`sellerId` int(11) NOT NULL DEFAULT '0',
`sellerName` varchar(50) NOT NULL DEFAULT 'NPC',
`sellerClanName` varchar(50) NOT NULL DEFAULT '',
`itemType` varchar(25) NOT NULL DEFAULT '',
`itemId` int(11) NOT NULL DEFAULT '0',
`itemObjectId` int(11) NOT NULL DEFAULT '0',
`itemName` varchar(40) NOT NULL DEFAULT '',
`itemQuantity` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`startingBid` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`currentBid` BIGINT UNSIGNED NOT NULL DEFAULT 0,
`endDate` bigint(13) unsigned NOT NULL DEFAULT '0',
PRIMARY KEY (`itemType`,`itemId`,`itemObjectId`),
KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;