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

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

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

CREATE TABLE `gived_promocode` (
  `id` int(11) NOT NULL,
  `created_timestamp` timestamp NOT NULL DEFAULT current_timestamp(),
  `code` varchar(256) NOT NULL,
  `creator_steam64` varchar(128) NOT NULL,
  `accepted_steam64` varchar(128) DEFAULT NULL,
  `accepted_timestamp` timestamp NULL DEFAULT NULL,
  `status` int(11) NOT NULL DEFAULT 0 COMMENT '0-created 1-accepted 2-disabled',
  `action` varchar(128) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

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

INSERT INTO `gived_promocode` (`id`, `created_timestamp`, `code`, `creator_steam64`, `accepted_steam64`, `accepted_timestamp`, `status`, `action`) VALUES
(13, '2024-03-30 09:22:06', 'XXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXXXX', 'XXXXXXXXXXXXXXXX', '2024-03-30 09:26:01', 1, 'VIP:21600');

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

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

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

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