Guest User

Untitled

a guest
Jun 26th, 2015
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.84 KB | None | 0 0
  1.  
  2. --
  3. -- Table structure for table `gang_members`
  4. --
  5.  
  6. CREATE TABLE IF NOT EXISTS `gang_members` (
  7. `id` int(255) NOT NULL AUTO_INCREMENT,
  8. `steamid` bigint(20) NOT NULL,
  9. `rank_id` int(11) NOT NULL,
  10. `gang_id` int(11) NOT NULL,
  11. PRIMARY KEY (`id`)
  12. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  13.  
  14. --
  15. -- Dumping data for table `gang_members`
  16. --
  17.  
  18. INSERT INTO `gang_members` (`id`, `steamid`, `rank_id`, `gang_id`) VALUES
  19. (1, 76561198038010093, 1, 1);
  20.  
  21. -- --------------------------------------------------------
  22.  
  23. --
  24. -- Table structure for table `gang_ranks`
  25. --
  26.  
  27. CREATE TABLE IF NOT EXISTS `gang_ranks` (
  28. `id` int(11) NOT NULL AUTO_INCREMENT,
  29. `priority` int(11) NOT NULL COMMENT 'Only ranks with more priority can act upon this rank',
  30. `priority_kick` int(11) NOT NULL COMMENT 'The amount and below of priority ranks they can kick',
  31. `priority_promote` int(11) NOT NULL COMMENT 'The amount and below of priority ranks they can promote to',
  32. `priority_invite` int(11) NOT NULL COMMENT 'above 0 means they can invite',
  33. `priority_editGang` int(11) NOT NULL COMMENT 'above 0 means they can edit the gang',
  34. `priority_editRanks` int(11) NOT NULL COMMENT 'The amount and below of priority ranks they can edit',
  35. `rank_name` varchar(255) NOT NULL COMMENT 'The name of the rank',
  36. `rank_initials` varchar(255) NOT NULL COMMENT 'The shortened version of the rank. E.G. [COL]',
  37. `gang_id` int(11) NOT NULL COMMENT 'The id of the gang this rank belongs to',
  38. PRIMARY KEY (`id`)
  39. ) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
  40.  
  41. --
  42. -- Dumping data for table `gang_ranks`
  43. --
  44.  
  45. INSERT INTO `gang_ranks` (`id`, `priority`, `priority_kick`, `priority_promote`, `priority_invite`, `priority_editGang`, `priority_editRanks`, `rank_name`, `rank_initials`, `gang_id`) VALUES
  46. (1, 999, 999, 999, 999, 999, 999, 'Owner', '[V]', 1);
Advertisement
Add Comment
Please, Sign In to add comment