Advertisement
peterisgb

maps SQL

May 27th, 2023
1,603
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 2.44 KB | Gaming | 0 0
  1. CREATE TABLE IF NOT EXISTS `maphouses` (
  2.  `id` INT(11) NOT NULL AUTO_INCREMENT,
  3.  `houseID` INT(11) NOT NULL,
  4.  `houseOWNER` INT(11) NOT NULL,
  5.  `houseDESC` VARCHAR(255) NOT NULL,
  6.  `housesize` INT(11) NOT NULL,
  7.  `allowguests` INT(11) NOT NULL,
  8.  `itemslot1` INT(11) NOT NULL,
  9.  `itemslot2` INT(11) NOT NULL,
  10.  `itemslot3` INT(11) NOT NULL,
  11.  `itemslot4` INT(11) NOT NULL,
  12.  `itemslot5` INT(11) NOT NULL,
  13.  `itemslot6` INT(11) NOT NULL,
  14.  `itemslot7` INT(11) NOT NULL,
  15.  `itemslot8` INT(11) NOT NULL,
  16.  `itemslot9` INT(11) NOT NULL,
  17.  `itemslot10` INT(11) NOT NULL,
  18.  `itemslot11` INT(11) NOT NULL,
  19.  `itemslot12` INT(11) NOT NULL,
  20.  `itemslot13` INT(11) NOT NULL,
  21.  `itemslot14` INT(11) NOT NULL,
  22.  `itemslot15` INT(11) NOT NULL,
  23.  `itemslot16` INT(11) NOT NULL,
  24.  `itemslot17` INT(11) NOT NULL,
  25.  `itemslot18` INT(11) NOT NULL,
  26.  `itemslot19` INT(11) NOT NULL,
  27.  `itemslot20` INT(11) NOT NULL,
  28.  PRIMARY KEY (`id`)
  29. ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
  30.  
  31.  
  32. --
  33. -- Table structure for table `mapmission`
  34. --
  35.  
  36. CREATE TABLE IF NOT EXISTS `mapmission` (
  37.  `id` INT(11) NOT NULL AUTO_INCREMENT,
  38.  `locationy` INT(11) NOT NULL DEFAULT '0',
  39.  `locationx` INT(11) NOT NULL DEFAULT '0',
  40.  `missionname` text,
  41.  `missionlength` INT(11) NOT NULL DEFAULT '1',
  42.  `missionlink` text,
  43.  `missiontext` text,
  44.  `missionnext` text,
  45.  `locationynext` INT(11) NOT NULL DEFAULT '0',
  46.  `locationxnext` INT(11) NOT NULL DEFAULT '0',
  47.  `cash` INT(11) NOT NULL DEFAULT '0',
  48.  `crystals` INT(11) NOT NULL DEFAULT '0',
  49.  `rewardnumber` INT(11) NOT NULL DEFAULT '0',
  50.  PRIMARY KEY (`id`)
  51. ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;
  52.  
  53.  
  54.  
  55. -- --------------------------------------------------------
  56.  
  57. --
  58. -- Table structure for table `maptowns`
  59. --
  60.  
  61. CREATE TABLE IF NOT EXISTS `maptowns` (
  62.  `id` INT(11) NOT NULL AUTO_INCREMENT,
  63.  `townID` VARCHAR(20) NOT NULL,
  64.  `locationx` INT(11) NOT NULL,
  65.  `locationy` INT(11) NOT NULL,
  66.  PRIMARY KEY (`id`)
  67. ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  68.  
  69. --
  70. -- Dumping data for table `maptowns`
  71. --
  72.  
  73. INSERT INTO `maptowns` (`id`, `townID`, `locationx`, `locationy`) VALUES
  74. (2, 'Launceston', 5, 5);
  75.  
  76. -- --------------------------------------------------------
  77.  
  78. --
  79. -- Table structure for table `mapusers`
  80. --
  81.  
  82. CREATE TABLE IF NOT EXISTS `mapusers` (
  83.  `missionID` INT(11) NOT NULL DEFAULT '0',
  84.  `userID` INT(11) NOT NULL DEFAULT '0',
  85.  `completed` INT(11) NOT NULL DEFAULT '0'
  86. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Tags: mapssql
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement