-- phpMyAdmin SQL Dump
-- version 5.0.2
-- https://www.phpmyadmin.net/
--
-- Хост: 127.0.0.1
-- Время создания: Фев 21 2024 г., 15:54
-- Версия сервера: 10.4.13-MariaDB
-- Версия PHP: 7.2.32

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 */;

--
-- База данных: `aol_mailer_1`
--

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

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

CREATE TABLE `accounts` (
  `id` int(11) NOT NULL,
  `Unixtime` int(16) NOT NULL,
  `Status` text NOT NULL,
  `Comments` text NOT NULL,
  `Email` text NOT NULL,
  `Password` text NOT NULL,
  `Last_password` text NOT NULL,
  `Email_additional` text NOT NULL,
  `IP_reg` text NOT NULL,
  `IP_Login` text NOT NULL,
  `Location_reg` text NOT NULL,
  `DateTime_reg` text NOT NULL,
  `Sent_statistics` text NOT NULL,
  `UA` text NOT NULL,
  `Cookie` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `accounts_bad` (
  `id` int(11) NOT NULL,
  `Unixtime` int(16) NOT NULL,
  `Status` text NOT NULL,
  `Comments` text NOT NULL,
  `Email` text NOT NULL,
  `Password` text NOT NULL,
  `Last_password` text NOT NULL,
  `Email_additional` text NOT NULL,
  `IP_reg` text NOT NULL,
  `IP_Login` text NOT NULL,
  `Location_reg` text NOT NULL,
  `DateTime_reg` text NOT NULL,
  `Sent_statistics` text NOT NULL,
  `UA` text NOT NULL,
  `Cookie` longtext NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `config` (
  `id` int(11) NOT NULL,
  `Title` text NOT NULL,
  `Interval_control_Emails` text NOT NULL,
  `How_much_send` text NOT NULL,
  `bd_accounts` text NOT NULL,
  `bd_proxy` text NOT NULL,
  `bd_recipients` text NOT NULL,
  `Control_letter_directory` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `config` (`id`, `Title`, `Interval_control_Emails`, `How_much_send`, `bd_accounts`, `bd_proxy`, `bd_recipients`, `Control_letter_directory`) VALUES
(1, 'Calls', '1000', '0', 'aol_mailer_1|accounts', 'proxyma', 'aol_mailer_1|recipients_1', 4);

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

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

CREATE TABLE `control_emails` (
  `id` int(11) NOT NULL,
  `Email` text NOT NULL,
  `Data1` text NOT NULL,
  `Data2` text NOT NULL,
  `Data3` text NOT NULL,
  `Data4` text NOT NULL,
  `Data5` text NOT NULL,
  `Data6` text NOT NULL,
  `Data7` text NOT NULL,
  `Data8` text NOT NULL,
  `Data9` text NOT NULL,
  `Data10` text NOT NULL,
  `Data11` text NOT NULL,
  `Data12` text NOT NULL,
  `Data13` text NOT NULL,
  `Data14` text NOT NULL,
  `Data15` text NOT NULL,
  `Data16` text NOT NULL,
  `Data17` text NOT NULL,
  `Data18` text NOT NULL,
  `Data19` text NOT NULL,
  `Data20` text NOT NULL,
  `Status` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `display_names` (
  `id` int(11) NOT NULL,
  `Names` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `proxy` (
  `id` int(11) NOT NULL,
  `service` text NOT NULL,
  `protocol` text NOT NULL,
  `user` text NOT NULL,
  `password` text NOT NULL,
  `ip` text NOT NULL,
  `port` int(11) NOT NULL,
  `link_changeIP` text NOT NULL,
  `country` text NOT NULL,
  `status` text NOT NULL,
  `unixtime` int(11) NOT NULL,
  `comment` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `proxy_sources` (
  `id` int(11) NOT NULL,
  `proxy_source` text NOT NULL,
  `modif_date` int(16) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `proxy_sources` (`id`, `proxy_source`, `modif_date`) VALUES
(1, 'proxy|proxyma', 1708520911);

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

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

CREATE TABLE `proxy_used` (
  `id` int(11) NOT NULL,
  `ip` text NOT NULL,
  `port` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `recipients_1` (
  `id` int(11) NOT NULL,
  `Email` text NOT NULL,
  `Data1` text NOT NULL,
  `Data2` text NOT NULL,
  `Data3` text NOT NULL,
  `Data4` text NOT NULL,
  `Data5` text NOT NULL,
  `Data6` text NOT NULL,
  `Data7` text NOT NULL,
  `Data8` text NOT NULL,
  `Data9` text NOT NULL,
  `Data10` text NOT NULL,
  `Data11` text NOT NULL,
  `Data12` text NOT NULL,
  `Data13` text NOT NULL,
  `Data14` text NOT NULL,
  `Data15` text NOT NULL,
  `Data16` text NOT NULL,
  `Data17` text NOT NULL,
  `Data18` text NOT NULL,
  `Data19` text NOT NULL,
  `Data20` text NOT NULL,
  `Status` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `recipients_2` (
  `id` int(11) NOT NULL,
  `Email` text NOT NULL,
  `Data1` text NOT NULL,
  `Data2` text NOT NULL,
  `Data3` text NOT NULL,
  `Data4` text NOT NULL,
  `Data5` text NOT NULL,
  `Data6` text NOT NULL,
  `Data7` text NOT NULL,
  `Data8` text NOT NULL,
  `Data9` text NOT NULL,
  `Data10` text NOT NULL,
  `Data11` text NOT NULL,
  `Data12` text NOT NULL,
  `Data13` text NOT NULL,
  `Data14` text NOT NULL,
  `Data15` text NOT NULL,
  `Data16` text NOT NULL,
  `Data17` text NOT NULL,
  `Data18` text NOT NULL,
  `Data19` text NOT NULL,
  `Data20` text NOT NULL,
  `Status` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `recipients_3` (
  `id` int(11) NOT NULL,
  `Email` text NOT NULL,
  `Data1` text NOT NULL,
  `Data2` text NOT NULL,
  `Data3` text NOT NULL,
  `Data4` text NOT NULL,
  `Data5` text NOT NULL,
  `Data6` text NOT NULL,
  `Data7` text NOT NULL,
  `Data8` text NOT NULL,
  `Data9` text NOT NULL,
  `Data10` text NOT NULL,
  `Data11` text NOT NULL,
  `Data12` text NOT NULL,
  `Data13` text NOT NULL,
  `Data14` text NOT NULL,
  `Data15` text NOT NULL,
  `Data16` text NOT NULL,
  `Data17` text NOT NULL,
  `Data18` text NOT NULL,
  `Data19` text NOT NULL,
  `Data20` text NOT NULL,
  `Status` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `recipients_550` (
  `id` int(11) NOT NULL,
  `Date_time` text NOT NULL,
  `From_account` text NOT NULL,
  `Email_550` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `redirects` (
  `id` int(11) NOT NULL,
  `Link` text NOT NULL,
  `Status` text NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

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

CREATE TABLE `statistics` (
  `id` int(11) NOT NULL,
  `Recipients_all` text NOT NULL,
  `Total_sent` text NOT NULL,
  `Unsent` text NOT NULL,
  `Recipients_550` text NOT NULL,
  `Start_date` text NOT NULL,
  `Next_sending_control_Email` text DEFAULT NULL,
  `Status` text NOT NULL,
  `Threads` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

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

INSERT INTO `statistics` (`id`, `Recipients_all`, `Total_sent`, `Unsent`, `Recipients_550`, `Start_date`, `Next_sending_control_Email`, `Status`, `Threads`) VALUES
(1, '50000', '0', '50000', '0', '21.02.2024 (15:52)', '1000', 'Mailing', 0);

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

--
-- AUTO_INCREMENT для таблицы `accounts`
--
ALTER TABLE `accounts`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `accounts_bad`
--
ALTER TABLE `accounts_bad`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT для таблицы `control_emails`
--
ALTER TABLE `control_emails`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `display_names`
--
ALTER TABLE `display_names`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `proxy`
--
ALTER TABLE `proxy`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

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

--
-- AUTO_INCREMENT для таблицы `proxy_used`
--
ALTER TABLE `proxy_used`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `recipients_1`
--
ALTER TABLE `recipients_1`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `recipients_2`
--
ALTER TABLE `recipients_2`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `recipients_3`
--
ALTER TABLE `recipients_3`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `recipients_550`
--
ALTER TABLE `recipients_550`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `redirects`
--
ALTER TABLE `redirects`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT для таблицы `statistics`
--
ALTER TABLE `statistics`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
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 */;
