Advertisement
Guest User

Untitled

a guest
Jan 18th, 2018
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.12 KB | None | 0 0
  1. Table structure for table `dinos`
  2. --
  3.  
  4. CREATE TABLE `dinos` (
  5. `dinoId` int(11) NOT NULL,
  6. `dinoName` varchar(50) NOT NULL,
  7. `dinoUniqueId` varchar(50) NOT NULL,
  8. `dinoType` smallint(6) NOT NULL,
  9. `health` decimal(10,0) NOT NULL,
  10. `stamina` decimal(10,0) NOT NULL,
  11. `oxygen` decimal(10,0) NOT NULL,
  12. `food` decimal(10,0) NOT NULL,
  13. `weight` decimal(10,0) NOT NULL,
  14. `melee` decimal(10,0) NOT NULL,
  15. `level` smallint(6) NOT NULL DEFAULT '0',
  16. `father` smallint(6) NOT NULL DEFAULT '0',
  17. `mother` smallint(6) NOT NULL DEFAULT '0',
  18. `fatherMutations` smallint(6) NOT NULL DEFAULT '0',
  19. `motherMutations` smallint(6) NOT NULL DEFAULT '0',
  20. `status` tinyint(4) NOT NULL DEFAULT '1',
  21. `gender` tinyint(4) NOT NULL DEFAULT '0'
  22. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  23.  
  24. --
  25. -- Dumping data for table `dinos`
  26. --
  27.  
  28. INSERT INTO `dinos` (`dinoId`, `dinoName`, `dinoUniqueId`, `dinoType`, `health`, `stamina`, `oxygen`, `food`, `weight`, `melee`, `level`, `father`, `mother`, `fatherMutations`, `motherMutations`, `status`, `gender`) VALUES
  29. (1, 'M15', '', 93, '7281', '1080', '480', '7292', '486', '322', 0, 0, 0, 0, 0, 0, 0),
  30. (2, 'M500', '2242424', 93, '600', '70', '82', '8', '8', '9', 2, 1, 2, 0, 0, 0, 1),
  31. (3, 'fred', '1', 3, '2', '3', '4', '5', '6', '7', 8, 1, 2, 0, 0, 1, 1),
  32. (4, 'fred', '1', 5, '2', '3', '4', '5', '6', '7', 8, 1, 2, 0, 0, 1, 1);
  33.  
  34. --
  35. -- Indexes for dumped tables
  36. --
  37.  
  38. --
  39. -- Indexes for table `dinos`
  40. --
  41. ALTER TABLE `dinos`
  42. ADD PRIMARY KEY (`dinoId`),
  43. ADD KEY `dinoType` (`dinoType`);
  44.  
  45. --
  46. -- AUTO_INCREMENT for dumped tables
  47. --
  48.  
  49. --
  50. -- AUTO_INCREMENT for table `dinos`
  51. --
  52. ALTER TABLE `dinos`
  53. MODIFY `dinoId` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  54. --
  55. -- Constraints for dumped tables
  56. --
  57.  
  58. --
  59. -- Constraints for table `dinos`
  60. --
  61. ALTER TABLE `dinos`
  62. ADD CONSTRAINT `dinos_ibfk_1` FOREIGN KEY (`dinoType`) REFERENCES `dinotype` (`dinoTypeId`) ON DELETE CASCADE ON UPDATE CASCADE;
  63.  
  64. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  65. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  66. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement