-- phpMyAdmin SQL Dump
-- version 5.2.1
-- https://www.phpmyadmin.net/
--
-- Хост: mariadb
-- Время создания: Июн 04 2024 г., 21:30
-- Версия сервера: 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.first`
--

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

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

CREATE TABLE `user_connections` (
  `id` int(11) NOT NULL,
  `player_name` varchar(64) NOT NULL,
  `steam_id` varchar(32) NOT NULL,
  `connect_ip` varchar(15) NOT NULL,
  `account_id` bigint(20) NOT NULL,
  `timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `map` varchar(128) NOT NULL,
  `connection_type` varchar(10) NOT NULL,
  `connect_duration` int(11) NOT NULL,
  `reason` varchar(256) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `user_connections` (`id`, `player_name`, `steam_id`, `connect_ip`, `account_id`, `timestamp`, `map`, `connection_type`, `connect_duration`, `reason`) VALUES
(1, 'xxxxxx', 'STEAM_0:0:XXXXXX', 'x.x.x.x', 1488, '2020-04-28 12:30:03', 'workshop/brewery_ultimate_open.ugc2550711393', 'connect', 0, '');

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

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

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

--
-- AUTO_INCREMENT для таблицы `user_connections`
--
ALTER TABLE `user_connections`
  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 */;
