-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Хост: mariadb
-- Время создания: Июн 04 2024 г., 21:20
-- Версия сервера: 10.11.4-MariaDB-1:10.11.4+maria~ubu2204-log
-- Версия PHP: 8.2.8

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;

--
-- База данных: `tf2.facti13`
--

-- --------------------------------------------------------

--
-- Структура таблицы `light_bans`
--

CREATE TABLE `light_bans` (
  `id` int(11) NOT NULL,
  `steam_id` varchar(32) NOT NULL,
  `account_id` bigint(20) NOT NULL,
  `player_name` varchar(65) NOT NULL,
  `ban_length` int(1) NOT NULL DEFAULT 0,
  `ban_reason` varchar(100) NOT NULL,
  `banned_by` varchar(100) NOT NULL,
  `banned_by_id` varchar(32) NOT NULL,
  `ip` varchar(15) NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `active` tinyint(1) NOT NULL DEFAULT 1,
  `unbanned_by_id` varchar(32) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `unbanned_timestamp` timestamp NULL DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;

--
-- Дамп данных таблицы `light_bans`
--

INSERT INTO `light_bans` (`id`, `steam_id`, `account_id`, `player_name`, `ban_length`, `ban_reason`, `banned_by`, `banned_by_id`, `ip`, `timestamp`, `active`, `unbanned_by_id`, `unbanned_timestamp`) VALUES
(1, 'XXXXXXXX', 1488, 'XXXXXXX', 10, 'XXXXXXX', 'XXXXXXX', 'XXXXXXXXX', 'ПОШЕЛ НАХУЙ', '2021-02-04 18:09:08', 0, 'XXXXXX', '2021-02-04 18:18:30');

--
-- Индексы сохранённых таблиц
--

--
-- Индексы таблицы `light_bans`
--
ALTER TABLE `light_bans`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT для сохранённых таблиц
--

--
-- AUTO_INCREMENT для таблицы `light_bans`
--
ALTER TABLE `light_bans`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1;
COMMIT;

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
