Update grublox.sql

This commit is contained in:
Mario 2023-03-02 10:44:04 +02:00 committed by GitHub
parent 139625f6ee
commit d918979a33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 43 additions and 6 deletions

View File

@ -3,7 +3,7 @@
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 26, 2023 at 11:20 PM
-- Generation Time: Mar 02, 2023 at 09:43 AM
-- Server version: 10.4.25-MariaDB
-- PHP Version: 8.1.10
@ -29,9 +29,25 @@ SET time_zone = "+00:00";
CREATE TABLE `accesstokens` (
`id` int(11) NOT NULL,
`ip` int(50) NOT NULL,
`ip` varchar(50) NOT NULL,
`accesstoken` varchar(500) NOT NULL,
`placeid` int(11) NOT NULL
`placeid` int(11) NOT NULL,
`hasgrabbedplace` int(11) NOT NULL DEFAULT 0,
`hasbeeninvalidated` int(11) NOT NULL DEFAULT 0,
`jobid` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
--
-- Table structure for table `assets`
--
CREATE TABLE `assets` (
`id` int(11) NOT NULL,
`name` varchar(50) NOT NULL,
`isplace` int(11) NOT NULL DEFAULT 0,
`placeid` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
@ -115,9 +131,17 @@ CREATE TABLE `games` (
`state` varchar(50) NOT NULL,
`date` datetime NOT NULL DEFAULT current_timestamp(),
`updateddate` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`thumbnail` mediumtext NOT NULL DEFAULT '/assets/placeholder2.png'
`thumbnail` mediumtext NOT NULL DEFAULT '/assets/placeholder2.png',
`playercount` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
--
-- Dumping data for table `games`
--
INSERT INTO `games` (`id`, `name`, `description`, `creator`, `players`, `state`, `date`, `updateddate`, `thumbnail`, `playercount`) VALUES
(1818, 'Crossroads', 'The classic ROBLOX level is back!', 1, 8, '', '2023-02-27 21:44:29', '2023-03-02 10:38:11', '/assets/placeholder2.png', 250);
-- --------------------------------------------------------
--
@ -129,7 +153,8 @@ CREATE TABLE `jobs` (
`jobid` varchar(50) NOT NULL,
`placeid` int(11) NOT NULL,
`port` int(11) NOT NULL,
`name` varchar(50) NOT NULL
`ip` varchar(50) NOT NULL,
`hasended` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
-- --------------------------------------------------------
@ -188,6 +213,12 @@ CREATE TABLE `users` (
ALTER TABLE `accesstokens`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `assets`
--
ALTER TABLE `assets`
ADD PRIMARY KEY (`id`);
--
-- Indexes for table `bans`
--
@ -252,6 +283,12 @@ ALTER TABLE `users`
ALTER TABLE `accesstokens`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `assets`
--
ALTER TABLE `assets`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
--
-- AUTO_INCREMENT for table `bans`
--
@ -280,7 +317,7 @@ ALTER TABLE `friendships`
-- AUTO_INCREMENT for table `games`
--
ALTER TABLE `games`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1819;
--
-- AUTO_INCREMENT for table `jobs`