-- https://www.phpmyadmin.net/
--

START TRANSACTION;



--
-- Database: `caidenlovell_devlgdps1p9`
--

-- --------------------------------------------------------

--
-- Table structure for table `accounts`
--

CREATE TABLE `accounts` (
  `userName` varchar(255) NOT NULL,
  `password` varchar(255) NOT NULL,
  `email` varchar(255) NOT NULL,
  `secret` varchar(255) NOT NULL DEFAULT 'unused',
  `accountID` int(11) NOT NULL,
  `saveData` longtext NOT NULL,
  `isAdmin` int(11) NOT NULL DEFAULT 0,
  `userID` int(11) NOT NULL DEFAULT 0,
  `salt` varchar(255) NOT NULL DEFAULT '',
  `registerDate` int(11) NOT NULL DEFAULT 0,
  `saveKey` blob NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `accounts`
--

INSERT INTO `accounts` (`userName`, `password`, `email`, `secret`, `accountID`, `saveData`, `isAdmin`, `userID`, `salt`, `registerDate`, `saveKey`) VALUES
('testacc1', '$2y$10$UzzCFvfgXWjCiZlm107RA.lAgq/nd2KrNDXB972/rRsO6e7hB1sHu', 'fakeemail555@gmail.com', '', 72, '', 0, 0, '', 1738105758, ''),
('Nediac0wl', '$2y$10$fxUuH02BgcIiKDGRCFnRoOR.rum6KQgoQRCBjmvRo/r8521pL4Xra', 'fakeemail@gmail.com', '', 73, '', 1, 0, '', 1738108354, ''),
('AbysmalBen', '$2y$10$tO1kxJApbFcqJjCMQ.k3MeS45hGFC7bxwqXmZNo1vB3/MjjTpxEMG', 'bennnun1211@gmail.com', '', 74, '', 0, 0, '', 1738109769, ''),
('Lonk', '$2y$10$e/d.E2tiyqPeRvMHyLrU0ugU.dCjFZw.kmEe.7fpkZdHSe0PvVRC.', 'hi@gmail.com', '', 75, '', 0, 0, '', 1738172831, ''),
('testaccount2', '$2y$10$e/d.E2tiyqPeRvMHyLrU0ugU.dCjFZw.kmEe.7fpkZdHSe0PvVRC.', 'testemail@Gmail.com', '', 76, '', 0, 0, '', 1738174138, ''),
('rose', '$2y$10$VDRd3feLRugcW36WvJdDSOQb3b8HbPCooImv1ZY7G4FB4NO86mt9.', 'edaan.roserose@gmail.com', '', 77, '', 0, 0, '', 1738176139, '');

-- --------------------------------------------------------

--
-- Table structure for table `actions`
--

CREATE TABLE `actions` (
  `ID` int(11) NOT NULL,
  `type` int(11) NOT NULL DEFAULT 0,
  `value` varchar(255) NOT NULL DEFAULT '0',
  `timestamp` int(11) NOT NULL DEFAULT 0,
  `value2` varchar(255) NOT NULL DEFAULT '0',
  `value3` int(11) NOT NULL DEFAULT 0,
  `value4` int(11) NOT NULL DEFAULT 0,
  `value5` int(11) NOT NULL DEFAULT 0,
  `value6` int(11) NOT NULL DEFAULT 0,
  `account` int(11) NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `actions`
--

INSERT INTO `actions` (`ID`, `type`, `value`, `timestamp`, `value2`, `value3`, `value4`, `value5`, `value6`, `account`) VALUES
(36, 2, 'testacc1', 1738105771, '86.24.221.123', 0, 0, 0, 0, 0),
(37, 7, '128', 1738105816, '86.24.221.123', 0, 0, 0, 0, 0),
(38, 7, '128', 1738105817, '86.24.221.123', 0, 0, 0, 0, 0),
(39, 9, '0', 1738105895, '0', 0, 0, 0, 0, 18),
(40, 9, '0', 1738106258, '0', 0, 0, 0, 0, 19),
(41, 2, 'Nediac0wl', 1738108366, '86.24.221.123', 0, 0, 0, 0, 0),
(42, 9, '0', 1738109346, '0', 0, 0, 0, 0, 20),
(43, 9, '10', 1738109711, '3', 0, 0, 0, 0, 20),
(44, 3, '128', 1738109731, '86.24.221.123', 0, 0, 0, 0, 0),
(45, 2, 'AbysmalBen', 1738109799, '24.125.78.149', 0, 0, 0, 0, 0),
(46, 7, '129', 1738111389, '86.24.221.123', 0, 0, 0, 0, 0),
(47, 7, '129', 1738111391, '86.24.221.123', 0, 0, 0, 0, 0),
(48, 9, '0', 1738111400, '0', 0, 0, 0, 0, 20),
(49, 9, '0', 1738169457, '0', 0, 0, 0, 0, 20),
(50, 9, '3', 1738169644, '1', 0, 0, 0, 0, 20),
(51, 7, '129', 1738172743, '92.15.2.220', 0, 0, 0, 0, 0),
(52, 9, '0', 1738172747, '0', 0, 0, 0, 0, 22),
(53, 7, '129', 1738172758, '92.15.2.220', 0, 0, 0, 0, 0),
(54, 2, 'lonk', 1738172839, '92.15.2.220', 0, 0, 0, 0, 0),
(55, 9, '0', 1738173649, '0', 0, 0, 0, 0, 20),
(56, 2, 'Nediac0wl', 1738174230, '86.24.221.123', 0, 0, 0, 0, 0),
(57, 2, 'Lonk', 1738174285, '86.24.221.123', 0, 0, 0, 0, 0),
(58, 2, 'Nediac0wl', 1738174304, '86.24.221.123', 0, 0, 0, 0, 0),
(59, 9, '1', 1738174538, '3', 0, 0, 0, 0, 23),
(60, 3, '129', 1738174550, '92.15.2.220', 0, 0, 0, 0, 0),
(61, 2, 'rose', 1738176154, '176.10.147.49', 0, 0, 0, 0, 0),
(62, 7, '129', 1738176165, '176.10.147.49', 0, 0, 0, 0, 0),
(63, 7, '129', 1738176166, '176.10.147.49', 0, 0, 0, 0, 0),
(64, 3, '129', 1738176173, '176.10.147.49', 0, 0, 0, 0, 0),
(65, 9, '12', 1738176259, '2', 0, 0, 0, 0, 23),
(66, 9, '10', 1738176368, '3', 0, 0, 0, 0, 23),
(67, 9, '0', 1738176370, '0', 0, 0, 0, 0, 25),
(68, 2, 'rose', 1738176394, '176.10.147.49', 0, 0, 0, 0, 0),
(69, 9, '-13', 1738176463, '-4', 0, 0, 0, 0, 20);

-- --------------------------------------------------------

--
-- Table structure for table `bannedips`
--

CREATE TABLE `bannedips` (
  `IP` varchar(255) NOT NULL DEFAULT '127.0.0.1',
  `ID` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `comments`
--

CREATE TABLE `comments` (
  `userID` int(11) NOT NULL,
  `userName` varchar(50) NOT NULL,
  `comment` longtext NOT NULL,
  `secret` varchar(10) NOT NULL DEFAULT 'none',
  `levelID` int(11) NOT NULL,
  `commentID` int(11) NOT NULL,
  `likes` int(11) NOT NULL DEFAULT 0,
  `isSpam` tinyint(1) NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `comments`
--

INSERT INTO `comments` (`userID`, `userName`, `comment`, `secret`, `levelID`, `commentID`, `likes`, `isSpam`) VALUES
(20, 'Nediac0wl', 'Q29tbWVudCB0ZXN0', 'none', 128, 7, 0, 0),
(20, 'Nediac0wl', 'Q29tbWVudA==', 'none', 129, 8, 0, 0),
(22, 'Player', 'aGk=', 'none', 129, 9, 0, 0),
(23, 'lonk', 'aGkgMg==', 'none', 129, 10, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `cpshares`
--

CREATE TABLE `cpshares` (
  `shareID` int(11) NOT NULL,
  `levelID` int(11) NOT NULL,
  `userID` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `levels`
--

CREATE TABLE `levels` (
  `gameVersion` int(11) NOT NULL,
  `userName` mediumtext NOT NULL,
  `levelID` int(1) NOT NULL,
  `levelName` varchar(255) NOT NULL,
  `levelDesc` mediumtext NOT NULL,
  `levelVersion` int(1) NOT NULL,
  `levelLength` int(11) NOT NULL DEFAULT 0,
  `audioTrack` int(11) NOT NULL,
  `auto` int(11) NOT NULL,
  `password` int(11) NOT NULL,
  `original` int(11) NOT NULL,
  `twoPlayer` int(11) NOT NULL DEFAULT 0,
  `songID` int(11) NOT NULL DEFAULT 0,
  `objects` int(11) NOT NULL DEFAULT 0,
  `extraString` mediumtext NOT NULL,
  `levelString` longtext DEFAULT NULL,
  `secret` mediumtext NOT NULL,
  `starDifficulty` int(11) NOT NULL DEFAULT 0 COMMENT '0=N/A 10=EASY 20=NORMAL 30=HARD 40=HARDER 50=INSANE 50=AUTO 50=DEMON',
  `downloads` int(11) NOT NULL DEFAULT 0,
  `likes` int(11) NOT NULL DEFAULT 0,
  `starDemon` int(1) NOT NULL DEFAULT 0,
  `starAuto` varchar(11) NOT NULL DEFAULT '0',
  `starStars` int(11) NOT NULL DEFAULT 0,
  `uploadDate` varchar(1337) NOT NULL,
  `updateDate` bigint(11) NOT NULL,
  `rateDate` bigint(20) NOT NULL DEFAULT 0,
  `starFeatured` int(11) NOT NULL DEFAULT 0,
  `starHall` int(11) NOT NULL DEFAULT 0,
  `userID` int(11) NOT NULL,
  `extID` varchar(255) NOT NULL,
  `hostname` varchar(255) NOT NULL,
  `isCPShared` int(11) NOT NULL DEFAULT 0,
  `isDeleted` int(11) NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `levels`
--

INSERT INTO `levels` (`gameVersion`, `userName`, `levelID`, `levelName`, `levelDesc`, `levelVersion`, `levelLength`, `audioTrack`, `auto`, `password`, `original`, `twoPlayer`, `songID`, `objects`, `extraString`, `levelString`, `secret`, `starDifficulty`, `downloads`, `likes`, `starDemon`, `starAuto`, `starStars`, `uploadDate`, `updateDate`, `rateDate`, `starFeatured`, `starHall`, `userID`, `extID`, `hostname`, `isCPShared`, `isDeleted`) VALUES
(19, 'Nediac0wl', 129, 'Server test 3', 'VGVzdCBzb21lIG1vcmUgd29udCB5YQ==', 1, 0, 0, 0, 1, 0, 0, 0, 6, '100_100_100_29', '', 'Wmfd2893gb7', 0, 6, 2, 0, '0', 0, '1738111384', 1738111384, 0, 0, 0, 20, '73', '86.24.221.123', 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `mappacks`
--

CREATE TABLE `mappacks` (
  `ID` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `levels` varchar(512) NOT NULL COMMENT 'entered as "ID of level 1, ID of level 2, ID of level 3" for example "13,14,15" (without the "s)',
  `stars` int(11) NOT NULL,
  `coins` int(11) NOT NULL,
  `difficulty` int(11) NOT NULL,
  `rgbcolors` varchar(11) NOT NULL DEFAULT '255,255,255' COMMENT 'entered as R,G,B',
  `colors2` varchar(11) NOT NULL DEFAULT 'none'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `modactions`
--

CREATE TABLE `modactions` (
  `ID` int(11) NOT NULL,
  `type` int(11) NOT NULL DEFAULT 0,
  `value` varchar(255) NOT NULL DEFAULT '0',
  `timestamp` int(11) NOT NULL DEFAULT 0,
  `value2` varchar(255) NOT NULL DEFAULT '0',
  `value3` int(11) NOT NULL DEFAULT 0,
  `value4` varchar(255) NOT NULL DEFAULT '0',
  `value5` int(11) NOT NULL DEFAULT 0,
  `value6` int(11) NOT NULL DEFAULT 0,
  `account` int(11) NOT NULL DEFAULT 0,
  `value7` varchar(255) NOT NULL DEFAULT '0'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `modactions`
--

INSERT INTO `modactions` (`ID`, `type`, `value`, `timestamp`, `value2`, `value3`, `value4`, `value5`, `value6`, `account`, `value7`) VALUES
(2, 1, 'easy', 1738109753, '2', 128, '0', 0, 0, 73, '0'),
(3, 6, '1', 1738109763, '0', 128, '0', 0, 0, 73, '0');

-- --------------------------------------------------------

--
-- Table structure for table `modips`
--

CREATE TABLE `modips` (
  `ID` int(11) NOT NULL,
  `IP` varchar(69) NOT NULL,
  `isMod` int(11) NOT NULL,
  `accountID` int(11) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `modips`
--

INSERT INTO `modips` (`ID`, `IP`, `isMod`, `accountID`) VALUES
(2, '86.24.221.123', 1, 73);

-- --------------------------------------------------------

--
-- Table structure for table `reports`
--

CREATE TABLE `reports` (
  `ID` int(11) NOT NULL,
  `levelID` int(11) NOT NULL,
  `hostname` varchar(255) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

-- --------------------------------------------------------

--
-- Table structure for table `roleassign`
--

CREATE TABLE `roleassign` (
  `assignID` bigint(20) NOT NULL,
  `roleID` bigint(20) NOT NULL,
  `accountID` bigint(20) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `roles`
--

CREATE TABLE `roles` (
  `roleID` bigint(11) NOT NULL,
  `priority` int(11) NOT NULL DEFAULT 0,
  `roleName` varchar(255) NOT NULL,
  `commandRate` int(11) NOT NULL DEFAULT 0,
  `commandUnrate` int(11) NOT NULL DEFAULT 0,
  `commandFeature` int(11) NOT NULL DEFAULT 0,
  `commandUnfeature` int(11) NOT NULL DEFAULT 0,
  `commandDelete` int(11) NOT NULL DEFAULT 0,
  `commandSetacc` int(11) NOT NULL DEFAULT 0,
  `commandRenameOwn` int(11) NOT NULL DEFAULT 1,
  `commandRenameAll` int(11) NOT NULL DEFAULT 0,
  `commandPassOwn` int(11) NOT NULL DEFAULT 1,
  `commandPassAll` int(11) NOT NULL DEFAULT 0,
  `commandDescriptionOwn` int(11) NOT NULL DEFAULT 1,
  `commandDescriptionAll` int(11) NOT NULL DEFAULT 0,
  `commandSharecpOwn` int(11) NOT NULL DEFAULT 1,
  `commandSharecpAll` int(11) NOT NULL DEFAULT 0,
  `actionRateDemon` int(11) NOT NULL DEFAULT 0,
  `actionRateStars` int(11) NOT NULL DEFAULT 0,
  `actionRateDifficulty` int(11) NOT NULL DEFAULT 0,
  `actionRequestMod` int(11) NOT NULL DEFAULT 0,
  `toolLeaderboardsban` int(11) NOT NULL DEFAULT 0,
  `toolPackcreate` int(11) NOT NULL DEFAULT 0,
  `toolModactions` int(11) NOT NULL DEFAULT 0,
  `isDefault` int(11) NOT NULL DEFAULT 0,
  `commentColor` varchar(11) NOT NULL DEFAULT '000,000,000'
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_general_ci;

-- --------------------------------------------------------

--
-- Table structure for table `songs`
--

CREATE TABLE `songs` (
  `ID` int(11) NOT NULL,
  `name` varchar(100) NOT NULL,
  `authorID` int(11) NOT NULL,
  `authorName` varchar(100) NOT NULL,
  `size` varchar(100) NOT NULL,
  `download` varchar(1337) NOT NULL,
  `hash` varchar(256) NOT NULL,
  `isDisabled` int(11) NOT NULL DEFAULT 0,
  `levelsCount` int(11) NOT NULL DEFAULT 0,
  `reuploadTime` int(11) NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `songs`
--

INSERT INTO `songs` (`ID`, `name`, `authorID`, `authorName`, `size`, `download`, `hash`, `isDisabled`, `levelsCount`, `reuploadTime`) VALUES
(5000000, '90s_kinda_beat-1?rlkey=uuoddcuo4wneyccqqo8h5xm33&amp;st=ba3nws23&amp;dl=0', 9, 'Reupload', '6.41', 'https://dl.dropboxusercontent.com/scl/fi/vqe8t4joi9sylhetr7qvk/90s_kinda_beat-1.mp3?rlkey=uuoddcuo4wneyccqqo8h5xm33&st=ba3nws23&dl=0', '', 0, 0, 0);

-- --------------------------------------------------------

--
-- Table structure for table `users`
--

CREATE TABLE `users` (
  `isRegistered` int(11) NOT NULL,
  `userID` int(11) NOT NULL,
  `extID` varchar(100) NOT NULL,
  `userName` varchar(69) NOT NULL DEFAULT 'undefined',
  `stars` int(11) NOT NULL DEFAULT 0,
  `demons` int(11) NOT NULL DEFAULT 0,
  `icon` int(11) NOT NULL DEFAULT 0,
  `color1` int(11) NOT NULL DEFAULT 0,
  `color2` int(11) NOT NULL DEFAULT 3,
  `iconType` int(11) NOT NULL DEFAULT 0,
  `coins` int(11) NOT NULL DEFAULT 0,
  `special` int(11) NOT NULL DEFAULT 0,
  `gameVersion` int(11) NOT NULL DEFAULT 0,
  `secret` varchar(69) NOT NULL DEFAULT 'none',
  `accGlow` int(11) NOT NULL DEFAULT 0,
  `creatorPoints` double NOT NULL DEFAULT 0,
  `IP` varchar(69) NOT NULL DEFAULT '127.0.0.1',
  `lastPlayed` int(11) NOT NULL DEFAULT 0,
  `completedLvls` int(11) NOT NULL DEFAULT 0,
  `isBanned` int(11) NOT NULL DEFAULT 0,
  `isCreatorBanned` int(11) NOT NULL DEFAULT 0
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb3 COLLATE=utf8mb3_unicode_ci;

--
-- Dumping data for table `users`
--

INSERT INTO `users` (`isRegistered`, `userID`, `extID`, `userName`, `stars`, `demons`, `icon`, `color1`, `color2`, `iconType`, `coins`, `special`, `gameVersion`, `secret`, `accGlow`, `creatorPoints`, `IP`, `lastPlayed`, `completedLvls`, `isBanned`, `isCreatorBanned`) VALUES
(1, 18, '72', 'testacc1', 0, 0, 1, 0, 3, 0, 0, 1, 19, 'Wmfd2893gb7', 0, 0, '86.24.221.123', 1738105895, 0, 0, 0),
(0, 19, 'S1521380705899836959626314839359871001', 'Player', 0, 0, 1, 0, 3, 0, 0, 1, 19, 'Wmfd2893gb7', 0, 0, '86.24.221.123', 1738106258, 0, 0, 0),
(1, 20, '73', 'Nediac0wl', 0, 0, 1, 0, 3, 0, 0, 1, 19, 'Wmfd2893gb7', 0, 0, '86.24.221.123', 1738176463, 0, 0, 0),
(1, 21, '74', 'AbysmalBen', 0, 0, 0, 0, 3, 0, 0, 0, 0, 'none', 0, 0, '127.0.0.1', 0, 0, 0, 0),
(0, 22, 'S152134552242321786645818857404451001', 'Player', 0, 0, 1, 0, 3, 0, 0, 1, 19, 'Wmfd2893gb7', 0, 0, '92.15.2.220', 1738172747, 0, 0, 0),
(1, 23, '75', 'lonk', 23, 0, 35, 3, 2, 0, 8, 1, 19, 'Wmfd2893gb7', 0, 0, '92.15.2.220', 1738176368, 0, 0, 0),
(1, 24, '77', 'rose', 0, 0, 0, 0, 3, 0, 0, 0, 0, 'none', 0, 0, '127.0.0.1', 0, 0, 0, 0),
(0, 25, 'S152112449491217122577224545150081001', 'Player', 0, 0, 1, 0, 3, 0, 0, 1, 19, 'Wmfd2893gb7', 0, 0, '176.10.147.49', 1738176370, 0, 0, 0);

--
-- Indexes for dumped tables
--

--
-- Indexes for table `accounts`
--
ALTER TABLE `accounts`
  ADD PRIMARY KEY (`accountID`),
  ADD UNIQUE KEY `userName` (`userName`),
  ADD KEY `isAdmin` (`isAdmin`);

--
-- Indexes for table `actions`
--
ALTER TABLE `actions`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `bannedips`
--
ALTER TABLE `bannedips`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `comments`
--
ALTER TABLE `comments`
  ADD PRIMARY KEY (`commentID`),
  ADD KEY `levelID` (`levelID`);

--
-- Indexes for table `cpshares`
--
ALTER TABLE `cpshares`
  ADD PRIMARY KEY (`shareID`);

--
-- Indexes for table `levels`
--
ALTER TABLE `levels`
  ADD PRIMARY KEY (`levelID`),
  ADD KEY `levelID` (`levelID`),
  ADD KEY `levelName` (`levelName`),
  ADD KEY `starDifficulty` (`starDifficulty`),
  ADD KEY `starFeatured` (`starFeatured`),
  ADD KEY `userID` (`userID`),
  ADD KEY `likes` (`likes`),
  ADD KEY `downloads` (`downloads`),
  ADD KEY `starStars` (`starStars`),
  ADD KEY `songID` (`songID`),
  ADD KEY `audioTrack` (`audioTrack`),
  ADD KEY `levelLength` (`levelLength`),
  ADD KEY `twoPlayer` (`twoPlayer`);

--
-- Indexes for table `mappacks`
--
ALTER TABLE `mappacks`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `modactions`
--
ALTER TABLE `modactions`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `modips`
--
ALTER TABLE `modips`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `reports`
--
ALTER TABLE `reports`
  ADD PRIMARY KEY (`ID`);

--
-- Indexes for table `roleassign`
--
ALTER TABLE `roleassign`
  ADD PRIMARY KEY (`assignID`);

--
-- Indexes for table `roles`
--
ALTER TABLE `roles`
  ADD PRIMARY KEY (`roleID`);

--
-- Indexes for table `songs`
--
ALTER TABLE `songs`
  ADD PRIMARY KEY (`ID`),
  ADD KEY `name` (`name`);

--
-- Indexes for table `users`
--
ALTER TABLE `users`
  ADD PRIMARY KEY (`userID`),
  ADD KEY `userID` (`userID`),
  ADD KEY `userName` (`userName`),
  ADD KEY `stars` (`stars`),
  ADD KEY `demons` (`demons`),
  ADD KEY `coins` (`coins`),
  ADD KEY `gameVersion` (`gameVersion`),
  ADD KEY `creatorPoints` (`creatorPoints`),
  ADD KEY `completedLvls` (`completedLvls`),
  ADD KEY `isBanned` (`isBanned`),
  ADD KEY `isCreatorBanned` (`isCreatorBanned`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `accounts`
--
ALTER TABLE `accounts`
  MODIFY `accountID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=78;

--
-- AUTO_INCREMENT for table `actions`
--
ALTER TABLE `actions`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=70;

--
-- AUTO_INCREMENT for table `bannedips`
--
ALTER TABLE `bannedips`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `comments`
--
ALTER TABLE `comments`
  MODIFY `commentID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=11;

--
-- AUTO_INCREMENT for table `cpshares`
--
ALTER TABLE `cpshares`
  MODIFY `shareID` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `levels`
--
ALTER TABLE `levels`
  MODIFY `levelID` int(1) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=130;

--
-- AUTO_INCREMENT for table `mappacks`
--
ALTER TABLE `mappacks`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `modactions`
--
ALTER TABLE `modactions`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;

--
-- AUTO_INCREMENT for table `modips`
--
ALTER TABLE `modips`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;

--
-- AUTO_INCREMENT for table `reports`
--
ALTER TABLE `reports`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `roleassign`
--
ALTER TABLE `roleassign`
  MODIFY `assignID` bigint(20) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `roles`
--
ALTER TABLE `roles`
  MODIFY `roleID` bigint(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;

--
-- AUTO_INCREMENT for table `songs`
--
ALTER TABLE `songs`
  MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5000001;

--
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
  MODIFY `userID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=26;
COMMIT;

