mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
117 lines
3.2 KiB
SQL
117 lines
3.2 KiB
SQL
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
|
SET AUTOCOMMIT = 0;
|
|
START TRANSACTION;
|
|
SET time_zone = "+00:00";
|
|
|
|
|
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
|
/*!40101 SET NAMES utf8mb4 */;
|
|
|
|
--
|
|
-- Database: `srb2ms`
|
|
--
|
|
|
|
CREATE DATABASE IF NOT EXISTS `srb2ms` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;
|
|
USE `srb2ms`;
|
|
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `ms_bans`
|
|
--
|
|
|
|
CREATE TABLE `ms_bans` (
|
|
`bid` int(11) DEFAULT NULL,
|
|
`ipstart` int(11) DEFAULT NULL,
|
|
`ipend` int(11) DEFAULT NULL,
|
|
`full_endtime` int(11) DEFAULT NULL,
|
|
`permanent` tinyint(1) DEFAULT NULL,
|
|
`hostonly` tinyint(1) DEFAULT NULL,
|
|
`reason` text COLLATE utf8mb4_unicode_ci
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `ms_rooms`
|
|
--
|
|
|
|
CREATE TABLE `ms_rooms` (
|
|
`room_id` int(11) NOT NULL,
|
|
`title` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`motd` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`visible` tinyint(1) NOT NULL,
|
|
`order` int(11) NOT NULL,
|
|
`private` tinyint(1) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
--
|
|
-- Dumping data for table `ms_rooms`
|
|
--
|
|
|
|
INSERT INTO `ms_rooms` (`room_id`, `title`, `motd`, `visible`, `order`, `private`) VALUES
|
|
(10, 'Example', 'Example Room', 1, 0, 0),
|
|
(0, 'All', 'View all of the servers currently being hosted.', 1, 1, 1);
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `ms_servers`
|
|
--
|
|
|
|
CREATE TABLE `ms_servers` (
|
|
`sid` int(11) NOT NULL,
|
|
`name` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`ip` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`port` int(11) NOT NULL,
|
|
`version` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`timestamp` int(11) NOT NULL,
|
|
`room` int(11) NOT NULL,
|
|
`key` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`room_override` int(11) NOT NULL,
|
|
`upnow` tinyint(1) NOT NULL,
|
|
`permanent` tinyint(1) NOT NULL,
|
|
`delisted` tinyint(1) NOT NULL,
|
|
`sticky` int(11) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `ms_versions`
|
|
--
|
|
|
|
CREATE TABLE `ms_versions` (
|
|
`mod_id` int(11) NOT NULL,
|
|
`mod_version` int(11) NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
|
|
--
|
|
-- Dumping data for table `ms_versions`
|
|
--
|
|
|
|
INSERT INTO `ms_versions` (`mod_id`, `mod_version`) VALUES
|
|
(12, 25);
|
|
|
|
-- --------------------------------------------------------
|
|
|
|
--
|
|
-- Table structure for table `user`
|
|
--
|
|
|
|
CREATE TABLE `user` (
|
|
`userid` int(11) NOT NULL,
|
|
`username` text COLLATE utf8mb4_unicode_ci NOT NULL,
|
|
`live_authkey` blob NOT NULL,
|
|
`live_publickey` blob NOT NULL,
|
|
`salt` blob NOT NULL,
|
|
`password` blob NOT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
|
COMMIT;
|
|
|
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
|
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
|