Update grublox.sql
This commit is contained in:
parent
8171f0db66
commit
d34c8197d5
46
grublox.sql
46
grublox.sql
|
|
@ -3,7 +3,7 @@
|
|||
-- https://www.phpmyadmin.net/
|
||||
--
|
||||
-- Host: 127.0.0.1
|
||||
-- Generation Time: Feb 12, 2023 at 11:26 PM
|
||||
-- Generation Time: Feb 13, 2023 at 10:13 AM
|
||||
-- Server version: 10.4.25-MariaDB
|
||||
-- PHP Version: 8.1.10
|
||||
|
||||
|
|
@ -102,6 +102,13 @@ CREATE TABLE `games` (
|
|||
`thumbnail` mediumtext NOT NULL
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
--
|
||||
-- Dumping data for table `games`
|
||||
--
|
||||
|
||||
INSERT INTO `games` (`id`, `name`, `description`, `creator`, `accessKey`, `state`, `date`, `updateddate`, `thumbnail`) VALUES
|
||||
(1818, 'Crossroads', 'The classic ROBLOX level is back!', 1, '69', '', '2023-02-13 10:38:28', '2023-02-13 10:38:28', '');
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
|
|
@ -117,6 +124,21 @@ CREATE TABLE `jobs` (
|
|||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `tokens`
|
||||
--
|
||||
|
||||
CREATE TABLE `tokens` (
|
||||
`id` int(11) NOT NULL,
|
||||
`token` varchar(500) NOT NULL,
|
||||
`placeid` int(11) NOT NULL,
|
||||
`userid` int(11) NOT NULL,
|
||||
`passedplacelauncher` int(11) NOT NULL DEFAULT 0,
|
||||
`passedjoinscript` int(11) NOT NULL DEFAULT 0
|
||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
|
||||
|
||||
-- --------------------------------------------------------
|
||||
|
||||
--
|
||||
-- Table structure for table `users`
|
||||
--
|
||||
|
|
@ -126,7 +148,6 @@ CREATE TABLE `users` (
|
|||
`username` varchar(20) NOT NULL,
|
||||
`password` varchar(450) NOT NULL,
|
||||
`date` datetime NOT NULL DEFAULT current_timestamp(),
|
||||
`token` varchar(25) DEFAULT NULL COMMENT 'Token for joining. Useful to secure joining to prevent unauthorized users to use other names.',
|
||||
`description` varchar(250) DEFAULT NULL,
|
||||
`money` int(11) NOT NULL DEFAULT 10,
|
||||
`lastPaid` varchar(30) DEFAULT current_timestamp(),
|
||||
|
|
@ -137,8 +158,9 @@ CREATE TABLE `users` (
|
|||
-- Dumping data for table `users`
|
||||
--
|
||||
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `date`, `token`, `description`, `money`, `lastPaid`, `admin`) VALUES
|
||||
(1, 'qzip', '$2y$10$AS751CiLVhlbLKo.T9CSVuc81sk8OxC2aWCJzhXac/m8m.J3.pezi', '2023-02-05 18:52:48', '1', NULL, 2460, '1676646382', 1);
|
||||
INSERT INTO `users` (`id`, `username`, `password`, `date`, `description`, `money`, `lastPaid`, `admin`) VALUES
|
||||
(1, 'qzip', '$2y$10$AS751CiLVhlbLKo.T9CSVuc81sk8OxC2aWCJzhXac/m8m.J3.pezi', '2023-02-05 18:52:48', NULL, 2460, '1676646382', 1),
|
||||
(2, 'Mario', '$2y$10$JP1R1NHQtObxxpUH86/LuO8uSi6T.4SoTlk2TGFIpuyAFYkZMgQpu', '2023-02-13 10:15:34', NULL, 35, '1676276134', 0);
|
||||
|
||||
--
|
||||
-- Indexes for dumped tables
|
||||
|
|
@ -174,6 +196,12 @@ ALTER TABLE `games`
|
|||
ALTER TABLE `jobs`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `tokens`
|
||||
--
|
||||
ALTER TABLE `tokens`
|
||||
ADD PRIMARY KEY (`id`);
|
||||
|
||||
--
|
||||
-- Indexes for table `users`
|
||||
--
|
||||
|
|
@ -206,7 +234,7 @@ ALTER TABLE `friends`
|
|||
-- 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`
|
||||
|
|
@ -214,11 +242,17 @@ ALTER TABLE `games`
|
|||
ALTER TABLE `jobs`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `tokens`
|
||||
--
|
||||
ALTER TABLE `tokens`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
|
||||
|
||||
--
|
||||
-- AUTO_INCREMENT for table `users`
|
||||
--
|
||||
ALTER TABLE `users`
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
|
||||
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=3;
|
||||
COMMIT;
|
||||
|
||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||
|
|
|
|||
Loading…
Reference in New Issue