Advertisement
Guest User

sad

a guest
Sep 2nd, 2014
170
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.2.8
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: 127.0.0.1:3306
  6. -- Generation Time: Sep 02, 2014 at 09:03 PM
  7. -- Server version: 5.6.20
  8. -- PHP Version: 5.5.9-1ubuntu4.3
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `rarlon`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `Block`
  21. --
  22.  
  23. CREATE TABLE `Block` (
  24. `Number` int(11) NOT NULL,
  25. `Location` text NOT NULL
  26. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  27.  
  28. -- --------------------------------------------------------
  29.  
  30. --
  31. -- Table structure for table `czlonkowie`
  32. --
  33.  
  34. CREATE TABLE `czlonkowie` (
  35. `nick` char(50) DEFAULT NULL,
  36. `gildia` text
  37. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  38.  
  39. -- --------------------------------------------------------
  40.  
  41. --
  42. -- Table structure for table `enderchest`
  43. --
  44.  
  45. CREATE TABLE `enderchest` (
  46. `id` int(11) NOT NULL,
  47. `playerID` int(11) NOT NULL,
  48. `content` blob,
  49. `server` char(32) DEFAULT NULL
  50. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  51.  
  52. -- --------------------------------------------------------
  53.  
  54. --
  55. -- Table structure for table `Gracze`
  56. --
  57.  
  58. CREATE TABLE `Gracze` (
  59. `Nick` text NOT NULL,
  60. `Haslo` text NOT NULL,
  61. `ip` text NOT NULL,
  62. `premium` text NOT NULL
  63. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  64.  
  65. -- --------------------------------------------------------
  66.  
  67. --
  68. -- Table structure for table `inventory`
  69. --
  70.  
  71. CREATE TABLE `inventory` (
  72. `id` int(11) NOT NULL,
  73. `playerID` int(11) NOT NULL,
  74. `content` blob,
  75. `armor` blob,
  76. `server` char(32) DEFAULT NULL,
  77. `min_health` double NOT NULL,
  78. `max_health` double NOT NULL,
  79. `food` int(11) NOT NULL
  80. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  81.  
  82. -- --------------------------------------------------------
  83.  
  84. --
  85. -- Table structure for table `player`
  86. --
  87.  
  88. CREATE TABLE `player` (
  89. `id` int(11) NOT NULL,
  90. `playername` varchar(16) DEFAULT NULL
  91. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  92.  
  93. --
  94. -- Dumping data for table `player`
  95. --
  96.  
  97. INSERT INTO `player` (`id`, `playername`) VALUES
  98. (1, 'Omegs');
  99.  
  100. -- --------------------------------------------------------
  101.  
  102. --
  103. -- Table structure for table `sojusze`
  104. --
  105.  
  106. CREATE TABLE `sojusze` (
  107. `g0` char(50) DEFAULT NULL,
  108. `g1` char(50) DEFAULT NULL
  109. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  110.  
  111. -- --------------------------------------------------------
  112.  
  113. --
  114. -- Table structure for table `statystyki`
  115. --
  116.  
  117. CREATE TABLE `statystyki` (
  118. `nick` text,
  119. `punkty` int(10) DEFAULT NULL,
  120. `zabojstwa` int(10) DEFAULT NULL,
  121. `smierci` int(10) DEFAULT NULL
  122. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  123.  
  124. --
  125. -- Indexes for dumped tables
  126. --
  127.  
  128. --
  129. -- Indexes for table `enderchest`
  130. --
  131. ALTER TABLE `enderchest`
  132. ADD PRIMARY KEY (`id`,`playerID`), ADD UNIQUE KEY `adf` (`playerID`,`server`) USING BTREE, ADD KEY `fk_enderchest_player_idx` (`playerID`);
  133.  
  134. --
  135. -- Indexes for table `inventory`
  136. --
  137. ALTER TABLE `inventory`
  138. ADD PRIMARY KEY (`id`,`playerID`), ADD UNIQUE KEY `adf` (`playerID`,`server`) USING BTREE, ADD KEY `fk_inventories_player_idx` (`playerID`);
  139.  
  140. --
  141. -- Indexes for table `player`
  142. --
  143. ALTER TABLE `player`
  144. ADD PRIMARY KEY (`id`);
  145.  
  146. --
  147. -- AUTO_INCREMENT for dumped tables
  148. --
  149.  
  150. --
  151. -- AUTO_INCREMENT for table `enderchest`
  152. --
  153. ALTER TABLE `enderchest`
  154. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  155. --
  156. -- AUTO_INCREMENT for table `inventory`
  157. --
  158. ALTER TABLE `inventory`
  159. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
  160. --
  161. -- AUTO_INCREMENT for table `player`
  162. --
  163. ALTER TABLE `player`
  164. MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=2;
  165. --
  166. -- Constraints for dumped tables
  167. --
  168.  
  169. --
  170. -- Constraints for table `inventory`
  171. --
  172. ALTER TABLE `inventory`
  173. ADD CONSTRAINT `fk_inventories_player` FOREIGN KEY (`playerID`) REFERENCES `player` (`id`) ON DELETE NO ACTION ON UPDATE NO ACTION;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement