Database Installer.

This commit is contained in:
MobiusDev
2015-08-30 17:39:57 +00:00
parent ad4ce8677d
commit 51cb9651e3
147 changed files with 1837 additions and 375 deletions

View File

@@ -0,0 +1,17 @@
DROP TABLE IF EXISTS `auction`;
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;