mirror of
https://github.com/EngineGPDev/ProFTPD.git
synced 2025-01-18 22:02:21 +03:00
Merge pull request #4 from EngineGPDev/sqldump.sql-has-been-refactored-and-renamed-to-proftpd.sql
Sqldump.sql has been refactored and renamed to proftpd.sql
This commit is contained in:
commit
bfce76c62a
@ -1,24 +1,12 @@
|
|||||||
-- phpMyAdmin SQL Dump
|
|
||||||
-- version 4.2.12deb2+deb8u5
|
|
||||||
-- http://www.phpmyadmin.net
|
|
||||||
--
|
|
||||||
-- Хост: localhost
|
|
||||||
-- Время создания: Мар 23 2019 г., 22:32
|
|
||||||
-- Версия сервера: 5.6.43
|
|
||||||
-- Версия PHP: 5.6.40-0+deb8u1
|
|
||||||
|
|
||||||
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
|
||||||
|
START TRANSACTION;
|
||||||
SET time_zone = "+00:00";
|
SET time_zone = "+00:00";
|
||||||
|
|
||||||
|
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
|
||||||
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
|
||||||
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
|
||||||
/*!40101 SET NAMES utf8 */;
|
/*!40101 SET NAMES utf8mb4 */;
|
||||||
|
|
||||||
--
|
|
||||||
-- База данных: `ftp`
|
|
||||||
--
|
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -26,18 +14,18 @@ SET time_zone = "+00:00";
|
|||||||
-- Структура таблицы `quotalimits`
|
-- Структура таблицы `quotalimits`
|
||||||
--
|
--
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `quotalimits` (
|
CREATE TABLE `quotalimits` (
|
||||||
`name` varchar(30) DEFAULT NULL,
|
`name` varchar(30) DEFAULT NULL,
|
||||||
`quota_type` enum('user','group','class','all') NOT NULL,
|
`quota_type` enum('user','group','class','all') NOT NULL,
|
||||||
`per_session` enum('false','true') NOT NULL,
|
`per_session` enum('false','true') NOT NULL,
|
||||||
`limit_type` enum('soft','hard') NOT NULL,
|
`limit_type` enum('soft','hard') NOT NULL,
|
||||||
`bytes_in_avail` float NOT NULL DEFAULT '0',
|
`bytes_in_avail` float NOT NULL DEFAULT 0,
|
||||||
`bytes_out_avail` float NOT NULL DEFAULT '0',
|
`bytes_out_avail` float NOT NULL DEFAULT 0,
|
||||||
`bytes_xfer_avail` float NOT NULL DEFAULT '0',
|
`bytes_xfer_avail` float NOT NULL DEFAULT 0,
|
||||||
`files_in_avail` int(10) unsigned NOT NULL DEFAULT '0',
|
`files_in_avail` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
`files_out_avail` int(10) unsigned NOT NULL DEFAULT '0',
|
`files_out_avail` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
`files_xfer_avail` int(10) unsigned NOT NULL DEFAULT '0'
|
`files_xfer_avail` int(10) UNSIGNED NOT NULL DEFAULT 0
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -45,16 +33,16 @@ CREATE TABLE IF NOT EXISTS `quotalimits` (
|
|||||||
-- Структура таблицы `quotatallies`
|
-- Структура таблицы `quotatallies`
|
||||||
--
|
--
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `quotatallies` (
|
CREATE TABLE `quotatallies` (
|
||||||
`name` varchar(30) NOT NULL,
|
`name` varchar(30) NOT NULL,
|
||||||
`quota_type` enum('user','group','class','all') NOT NULL,
|
`quota_type` enum('user','group','class','all') NOT NULL,
|
||||||
`bytes_in_used` float NOT NULL DEFAULT '0',
|
`bytes_in_used` float NOT NULL DEFAULT 0,
|
||||||
`bytes_out_used` float NOT NULL DEFAULT '0',
|
`bytes_out_used` float NOT NULL DEFAULT 0,
|
||||||
`bytes_xfer_used` float NOT NULL DEFAULT '0',
|
`bytes_xfer_used` float NOT NULL DEFAULT 0,
|
||||||
`files_in_used` int(10) unsigned NOT NULL DEFAULT '0',
|
`files_in_used` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
`files_out_used` int(10) unsigned NOT NULL DEFAULT '0',
|
`files_out_used` int(10) UNSIGNED NOT NULL DEFAULT 0,
|
||||||
`files_xfer_used` int(10) unsigned NOT NULL DEFAULT '0'
|
`files_xfer_used` int(10) UNSIGNED NOT NULL DEFAULT 0
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
-- --------------------------------------------------------
|
-- --------------------------------------------------------
|
||||||
|
|
||||||
@ -62,14 +50,14 @@ CREATE TABLE IF NOT EXISTS `quotatallies` (
|
|||||||
-- Структура таблицы `users`
|
-- Структура таблицы `users`
|
||||||
--
|
--
|
||||||
|
|
||||||
CREATE TABLE IF NOT EXISTS `users` (
|
CREATE TABLE `users` (
|
||||||
`username` varchar(32) NOT NULL,
|
`username` varchar(32) NOT NULL,
|
||||||
`password` varchar(32) NOT NULL,
|
`password` varchar(32) NOT NULL,
|
||||||
`uid` int(11) NOT NULL,
|
`uid` int(11) NOT NULL,
|
||||||
`gid` int(11) NOT NULL DEFAULT '1000',
|
`gid` int(11) NOT NULL DEFAULT 1000,
|
||||||
`homedir` varchar(255) NOT NULL,
|
`homedir` varchar(255) NOT NULL,
|
||||||
`shell` varchar(255) NOT NULL DEFAULT '/bin/false'
|
`shell` varchar(255) NOT NULL DEFAULT '/bin/false'
|
||||||
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||||
|
|
||||||
--
|
--
|
||||||
-- Индексы сохранённых таблиц
|
-- Индексы сохранённых таблиц
|
||||||
@ -80,6 +68,7 @@ CREATE TABLE IF NOT EXISTS `users` (
|
|||||||
--
|
--
|
||||||
ALTER TABLE `users`
|
ALTER TABLE `users`
|
||||||
ADD UNIQUE KEY `username` (`username`);
|
ADD UNIQUE KEY `username` (`username`);
|
||||||
|
COMMIT;
|
||||||
|
|
||||||
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
|
||||||
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
|
Loading…
Reference in New Issue
Block a user