turt2live

Untitled

Dec 4th, 2011
167
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.63 KB | None | 0 0
  1. CREATE TABLE IF NOT EXISTS `items` (
  2.   `item_id` int(11) NOT NULL COMMENT 'item ID',
  3.   `item_name` text NOT NULL COMMENT 'Item Name (Appears in chat and used by commands)',
  4.   `sell_price` double NOT NULL COMMENT 'Sell price',
  5.   `buy_price` double NOT NULL COMMENT 'Buy price',
  6.   `buyable` tinyint(1) NOT NULL COMMENT '0 = false, 1 = true',
  7.   `sellable` tinyint(1) NOT NULL COMMENT '0 = false, 1 = true',
  8.   `subdata` text NOT NULL COMMENT 'item:subdata',
  9.   `damage_value` int(11) NOT NULL COMMENT 'Used to decifer subdata better, example: wool:red could be damage_value 6',
  10.   PRIMARY KEY (`item_id`)
  11. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  12.  
Advertisement
Add Comment
Please, Sign In to add comment