Update grublox.sql
This commit is contained in:
parent
139625f6ee
commit
d918979a33
49
grublox.sql
49
grublox.sql
|
|
@ -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:20 PM
|
-- Generation Time: Mar 02, 2023 at 09:43 AM
|
||||||
-- Server version: 10.4.25-MariaDB
|
-- Server version: 10.4.25-MariaDB
|
||||||
-- PHP Version: 8.1.10
|
-- PHP Version: 8.1.10
|
||||||
|
|
||||||
|
|
@ -29,9 +29,25 @@ SET time_zone = "+00:00";
|
||||||
|
|
||||||
CREATE TABLE `accesstokens` (
|
CREATE TABLE `accesstokens` (
|
||||||
`id` int(11) NOT NULL,
|
`id` int(11) NOT NULL,
|
||||||
`ip` int(50) NOT NULL,
|
`ip` varchar(50) NOT NULL,
|
||||||
`accesstoken` varchar(500) 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;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
@ -115,9 +131,17 @@ CREATE TABLE `games` (
|
||||||
`state` varchar(50) NOT NULL,
|
`state` varchar(50) NOT NULL,
|
||||||
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
||||||
`updateddate` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE 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;
|
) 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,
|
`jobid` varchar(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
|
`ip` varchar(50) NOT NULL,
|
||||||
|
`hasended` int(11) NOT NULL DEFAULT 0
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
@ -188,6 +213,12 @@ CREATE TABLE `users` (
|
||||||
ALTER TABLE `accesstokens`
|
ALTER TABLE `accesstokens`
|
||||||
ADD PRIMARY KEY (`id`);
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
|
--
|
||||||
|
-- Indexes for table `assets`
|
||||||
|
--
|
||||||
|
ALTER TABLE `assets`
|
||||||
|
ADD PRIMARY KEY (`id`);
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Indexes for table `bans`
|
-- Indexes for table `bans`
|
||||||
--
|
--
|
||||||
|
|
@ -252,6 +283,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 `assets`
|
||||||
|
--
|
||||||
|
ALTER TABLE `assets`
|
||||||
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- AUTO_INCREMENT for table `bans`
|
-- AUTO_INCREMENT for table `bans`
|
||||||
--
|
--
|
||||||
|
|
@ -280,7 +317,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;
|
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1819;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- AUTO_INCREMENT for table `jobs`
|
-- AUTO_INCREMENT for table `jobs`
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue