Advertisement
Guest User

SQL_Followers

a guest
Jan 24th, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 3.66 KB | None | 0 0
  1. DROP TABLE IF EXISTS `companion_list`;
  2.  
  3. CREATE TABLE `companion_list` (
  4.   `companion_name` varchar(300) DEFAULT NULL,
  5.   `companion_unique_id` bigint(100) DEFAULT NULL,
  6.   `companion_class` smallint(2) DEFAULT NULL,
  7.   `companion_count_all` int(5) DEFAULT NULL,
  8.   `companion_desc` varchar(765) DEFAULT NULL,
  9.   `companion_cutin` varchar(300) DEFAULT NULL,
  10.   `companion_sound` varchar(300) DEFAULT NULL,
  11.   `getting_by` char(3) DEFAULT NULL
  12. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  13.  
  14. /*Table structure for table `companion_missions` */
  15.  
  16. DROP TABLE IF EXISTS `companion_missions`;
  17.  
  18. CREATE TABLE `companion_missions` (
  19.   `id` int(10) DEFAULT NULL,
  20.   `char_id` int(10) DEFAULT NULL,
  21.   `companion_id` int(10) DEFAULT NULL,
  22.   `mission_id` int(10) DEFAULT NULL,
  23.   `mission_state` int(3) DEFAULT NULL,
  24.   `mission_time` int(50) DEFAULT NULL,
  25.   `mission_jobreq` int(10) DEFAULT NULL
  26. ) ENGINE=InnoDB DEFAULT CHARSET=utf16 COLLATE=utf16_bin;
  27.  
  28. /*Table structure for table `garrison_companions` */
  29.  
  30. DROP TABLE IF EXISTS `garrison_companions`;
  31.  
  32. CREATE TABLE `garrison_companions` (
  33.   `id` int(100) NOT NULL AUTO_INCREMENT,
  34.   `char_id` int(20) DEFAULT NULL,
  35.   `map` varchar(180) DEFAULT NULL,
  36.   `companion_name1` varchar(180) DEFAULT NULL,
  37.   `companion_job1` int(20) DEFAULT NULL,
  38.   `companion_baselevel1` int(3) DEFAULT '1',
  39.   `companion_joblevel1` int(3) DEFAULT '1',
  40.   `companion_baseexp1` int(50) NOT NULL DEFAULT '0',
  41.   `companion_jobexp1` int(50) NOT NULL DEFAULT '0',
  42.   `companion_id1` int(5) DEFAULT '0',
  43.   `companion_missionid1` int(5) DEFAULT '0',
  44.   `companion_missionname1` varchar(450) DEFAULT 'No mission',
  45.   `companion_available` int(1) DEFAULT NULL,
  46.   `companion_equiplv` int(50) DEFAULT '0',
  47.   `companion_weaponid` int(50) DEFAULT '0',
  48.   `companion_weaponlv` int(50) DEFAULT '0',
  49.   `companion_armorid` int(50) DEFAULT '0',
  50.   `companion_armorlv` int(50) DEFAULT '0',
  51.   PRIMARY KEY (`id`)
  52. ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
  53.  
  54. /*Table structure for table `garrison_missions` */
  55.  
  56. DROP TABLE IF EXISTS `garrison_missions`;
  57.  
  58. CREATE TABLE `garrison_missions` (
  59.   `id` int(10) NOT NULL AUTO_INCREMENT,
  60.   `mission_id` int(10) DEFAULT NULL,
  61.   `mission_name` varchar(150) COLLATE utf16_bin DEFAULT NULL,
  62.   `mission_type` char(3) COLLATE utf16_bin DEFAULT NULL,
  63.   `mission_desc` blob,
  64.   `mission_time` int(30) DEFAULT NULL,
  65.   `mission_reward1` smallint(5) DEFAULT NULL,
  66.   `mission_rewardval1` smallint(10) DEFAULT NULL,
  67.   `mission_reward2` smallint(5) DEFAULT NULL,
  68.   `mission_rewardval2` smallint(10) DEFAULT NULL,
  69.   `mission_reward3` smallint(5) DEFAULT NULL,
  70.   `mission_rewardval3` smallint(10) DEFAULT NULL,
  71.   `mission_charbaseexp` int(50) DEFAULT NULL,
  72.   `mission_charjobexp` int(50) DEFAULT NULL,
  73.   `mission_compbaseexp` int(50) DEFAULT NULL,
  74.   `mission_compjobexp` int(50) DEFAULT NULL,
  75.   `zeny_reward` int(50) DEFAULT NULL,
  76.   `mission_reqlevel` int(10) DEFAULT NULL,
  77.   `mission_jobreq` int(10) DEFAULT NULL,
  78.   `mission_equiplv` int(50) DEFAULT NULL,
  79.   `special_mission` smallint(1) NOT NULL DEFAULT '0',
  80.   PRIMARY KEY (`id`)
  81. ) ENGINE=InnoDB AUTO_INCREMENT=102 DEFAULT CHARSET=utf16 COLLATE=utf16_bin;
  82.  
  83. /*Table structure for table `garrisons` */
  84.  
  85. DROP TABLE IF EXISTS `garrisons`;
  86.  
  87. CREATE TABLE `garrisons` (
  88.   `id` int(11) NOT NULL AUTO_INCREMENT,
  89.   `name` varchar(30) NOT NULL,
  90.   `loc` varchar(30) NOT NULL,
  91.   `x` int(11) NOT NULL,
  92.   `y` int(11) NOT NULL,
  93.   `password` varchar(20) DEFAULT NULL,
  94.   `companions_count` int(10) DEFAULT NULL,
  95.   `garrison_exp` int(50) DEFAULT NULL,
  96.   `garrison_resources` int(100) DEFAULT NULL,
  97.   `garrison_level` int(2) DEFAULT NULL,
  98.   PRIMARY KEY (`id`)
  99. ) ENGINE=InnoDB AUTO_INCREMENT=95 DEFAULT CHARSET=utf8;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement