Update grublox.sql

This commit is contained in:
nolanwhy 2023-05-06 09:42:26 +02:00
parent 0b60e99960
commit 94635fea74
1 changed files with 23 additions and 16 deletions

View File

@ -1,11 +1,11 @@
-- phpMyAdmin SQL Dump
-- version 5.2.0
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Mar 02, 2023 at 08:43 PM
-- Server version: 10.4.25-MariaDB
-- PHP Version: 8.1.10
-- Generation Time: May 06, 2023 at 09:42 AM
-- Server version: 10.4.28-MariaDB
-- PHP Version: 8.2.4
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
@ -35,7 +35,7 @@ CREATE TABLE `accesstokens` (
`hasgrabbedplace` int(11) NOT NULL DEFAULT 0,
`hasbeeninvalidated` int(11) NOT NULL DEFAULT 0,
`jobid` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -48,7 +48,7 @@ CREATE TABLE `assets` (
`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 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -65,7 +65,7 @@ CREATE TABLE `bans` (
`note` varchar(500) NOT NULL,
`viewed` int(11) NOT NULL,
`time` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
-- --------------------------------------------------------
@ -87,7 +87,7 @@ CREATE TABLE `catalog` (
`limited` int(1) DEFAULT 0,
`stock` int(11) NOT NULL DEFAULT 0,
`state` varchar(50) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -100,7 +100,7 @@ CREATE TABLE `comments` (
`user` int(11) NOT NULL,
`type` varchar(250) NOT NULL,
`text` varchar(500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
-- --------------------------------------------------------
@ -114,7 +114,7 @@ CREATE TABLE `friendships` (
`user2` int(11) NOT NULL,
`isAccepted` int(11) NOT NULL DEFAULT 0,
`date` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -133,7 +133,7 @@ CREATE TABLE `games` (
`updateddate` datetime NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(),
`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 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `games`
@ -155,7 +155,7 @@ CREATE TABLE `jobs` (
`port` int(11) NOT NULL,
`ip` varchar(50) NOT NULL,
`hasended` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -168,7 +168,7 @@ CREATE TABLE `owned` (
`user` int(11) NOT NULL,
`item` int(11) NOT NULL,
`date` datetime NOT NULL DEFAULT current_timestamp()
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
-- --------------------------------------------------------
@ -183,7 +183,7 @@ CREATE TABLE `tokens` (
`userid` int(11) NOT NULL,
`passedplacelauncher` int(11) NOT NULL DEFAULT 0,
`passedjoinscript` int(11) NOT NULL DEFAULT 0
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
-- --------------------------------------------------------
@ -204,7 +204,14 @@ CREATE TABLE `users` (
`ip` varchar(512) NOT NULL COMMENT 'ip, but hashed..',
`thumbnail` mediumtext NOT NULL,
`headshot` mediumtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
--
-- Dumping data for table `users`
--
INSERT INTO `users` (`id`, `username`, `password`, `date`, `description`, `status`, `money`, `lastPaid`, `admin`, `ip`, `thumbnail`, `headshot`) VALUES
(1, 'Administrator', '$2y$10$fcG4VepUNZgspPjRrlI6y.Gg09.nwEZ5JF.SuFsax3KHBo90JywmO', '2023-05-06 09:41:58', 'Hello, I\'m new to Grublox!', 'Status!', 35, '1683358919', 0, '', '', '');
--
-- Indexes for dumped tables
@ -344,7 +351,7 @@ ALTER TABLE `tokens`
-- AUTO_INCREMENT for table `users`
--
ALTER TABLE `users`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
COMMIT;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;