Skip to content
Snippets Groups Projects
Commit 235247e8 authored by JIV's avatar JIV
Browse files

char offline trade items fix. Thx denser & Punisher.

parent 0e118ff3
No related branches found
No related tags found
No related merge requests found
CREATE TABLE IF NOT EXISTS `character_offline_trade_items` ( CREATE TABLE IF NOT EXISTS `character_offline_trade_items` (
`charId` int(10) NOT NULL DEFAULT '0', `charId` int(10) UNSIGNED NOT NULL DEFAULT '0',
`item` int(10) NOT NULL DEFAULT '0', `item` int(10) UNSIGNED NOT NULL DEFAULT '0',
`count` bigint(20) NOT NULL DEFAULT '0', `count` bigint(20) UNSIGNED NOT NULL DEFAULT '0',
`price` bigint(20) NOT NULL DEFAULT '0', `price` bigint(20) UNSIGNED NOT NULL DEFAULT '0'
PRIMARY KEY (`charId`,`item`)
); );
\ No newline at end of file
ALTER TABLE `character_offline_trade_items`
MODIFY COLUMN `charId` int(10) UNSIGNED NOT NULL DEFAULT 0 FIRST ,
MODIFY COLUMN `item` int(10) UNSIGNED NOT NULL DEFAULT 0 AFTER `charId`,
MODIFY COLUMN `count` bigint(20) UNSIGNED NOT NULL DEFAULT 0 AFTER `item`,
MODIFY COLUMN `price` bigint(20) UNSIGNED NOT NULL DEFAULT 0 AFTER `count`,
DROP PRIMARY KEY;
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment