Update grublox.sql

This commit is contained in:
Mario 2023-02-27 00:20:47 +02:00 committed by GitHub
parent 912d88adb5
commit a41757f8e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 34 additions and 13 deletions

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/ -- https://www.phpmyadmin.net/
-- --
-- Host: 127.0.0.1 -- Host: 127.0.0.1
-- Generation Time: Feb 26, 2023 at 11:13 PM -- Generation Time: Feb 26, 2023 at 11:20 PM
-- Server version: 10.4.25-MariaDB -- Server version: 10.4.25-MariaDB
-- PHP Version: 8.1.10 -- PHP Version: 8.1.10
@ -36,6 +36,23 @@ CREATE TABLE `accesstokens` (
-- -------------------------------------------------------- -- --------------------------------------------------------
--
-- Table structure for table `bans`
--
CREATE TABLE `bans` (
`id` int(11) NOT NULL,
`user` int(11) NOT NULL,
`moderator` int(11) NOT NULL,
`type` int(11) NOT NULL,
`reason` varchar(250) NOT NULL,
`note` varchar(500) NOT NULL,
`viewed` int(11) NOT NULL,
`time` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- --
-- Table structure for table `catalog` -- Table structure for table `catalog`
-- --
@ -101,13 +118,6 @@ CREATE TABLE `games` (
`thumbnail` mediumtext NOT NULL DEFAULT '/assets/placeholder2.png' `thumbnail` mediumtext NOT NULL DEFAULT '/assets/placeholder2.png'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `games`
--
INSERT INTO `games` (`id`, `name`, `description`, `creator`, `players`, `state`, `date`, `updateddate`, `thumbnail`) VALUES
(1818, 'Crossroads', 'The Classic ROBLOX Level is back!', 1, 100, 'D.C.', '2023-02-26 22:28:59', '2023-02-26 22:28:59', '/assets/placeholder2.png');
-- -------------------------------------------------------- -- --------------------------------------------------------
-- --
@ -117,11 +127,9 @@ INSERT INTO `games` (`id`, `name`, `description`, `creator`, `players`, `state`,
CREATE TABLE `jobs` ( CREATE TABLE `jobs` (
`id` int(11) NOT NULL, `id` int(11) NOT NULL,
`jobid` varchar(50) NOT NULL, `jobid` varchar(50) NOT NULL,
`ip` int(50) NOT NULL,
`placeid` int(11) NOT NULL, `placeid` int(11) NOT NULL,
`port` int(11) NOT NULL, `port` int(11) NOT NULL,
`name` varchar(50) NOT NULL, `name` varchar(50) NOT NULL
`isonline` int(11) NOT NULL DEFAULT 1
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- -------------------------------------------------------- -- --------------------------------------------------------
@ -166,7 +174,8 @@ CREATE TABLE `users` (
`description` varchar(250) DEFAULT NULL, `description` varchar(250) DEFAULT NULL,
`money` int(11) NOT NULL DEFAULT 10, `money` int(11) NOT NULL DEFAULT 10,
`lastPaid` varchar(30) DEFAULT current_timestamp(), `lastPaid` varchar(30) DEFAULT current_timestamp(),
`admin` int(1) NOT NULL DEFAULT 0 `admin` int(1) NOT NULL DEFAULT 0,
`ip` varchar(512) NOT NULL COMMENT 'ip, but hashed..'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --
@ -179,6 +188,12 @@ CREATE TABLE `users` (
ALTER TABLE `accesstokens` ALTER TABLE `accesstokens`
ADD PRIMARY KEY (`id`); ADD PRIMARY KEY (`id`);
--
-- Indexes for table `bans`
--
ALTER TABLE `bans`
ADD PRIMARY KEY (`id`);
-- --
-- Indexes for table `catalog` -- Indexes for table `catalog`
-- --
@ -237,6 +252,12 @@ ALTER TABLE `users`
ALTER TABLE `accesstokens` ALTER TABLE `accesstokens`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT; MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `bans`
--
ALTER TABLE `bans`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
-- --
-- AUTO_INCREMENT for table `catalog` -- AUTO_INCREMENT for table `catalog`
-- --
@ -259,7 +280,7 @@ ALTER TABLE `friendships`
-- AUTO_INCREMENT for table `games` -- AUTO_INCREMENT for table `games`
-- --
ALTER TABLE `games` ALTER TABLE `games`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1819; MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
-- --
-- AUTO_INCREMENT for table `jobs` -- AUTO_INCREMENT for table `jobs`