Advertisement
Guest User

Untitled

a guest
Apr 20th, 2014
50
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.59 KB | None | 0 0
  1. CREATE TABLE `items` (
  2.   `id` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
  3.   `user_id` INT(10) NOT NULL,
  4.   `room_id` INT(10) UNSIGNED NOT NULL DEFAULT '0',
  5.   `base_item` INT(10) UNSIGNED NOT NULL,
  6.   `extra_data` text NOT NULL,
  7.   `x` INT(11) NOT NULL DEFAULT '0',
  8.   `y` INT(11) NOT NULL DEFAULT '0',
  9.   `z` DOUBLE NOT NULL DEFAULT '0',
  10.   `rot` INT(11) NOT NULL DEFAULT '0',
  11.   `wall_pos` VARCHAR(100) NOT NULL,
  12.   PRIMARY KEY (`id`),
  13.   UNIQUE KEY `id` (`id`) USING BTREE,
  14.   KEY `userid` (`user_id`) USING BTREE,
  15.   KEY `roomid` (`room_id`)
  16. ) ENGINE=InnoDB AUTO_INCREMENT=1259 DEFAULT CHARSET=latin1;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement