SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
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 utf8 */;
-- Database: `filerun20220519`
-- --------------------------------------------------------
-- Table structure for table `df_collections`
CREATE TABLE `df_collections` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` enum('regular','album') COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT 'regular',
`uid` mediumint(9) NOT NULL,
`created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_collections_items`
CREATE TABLE `df_collections_items` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`share_id` int(9) DEFAULT NULL,
`added` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`uid` mediumint(9) NOT NULL,
KEY `parent_pid` (`cid`),
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_file_handlers`
CREATE TABLE `df_file_handlers` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`uid` mediumint(9) DEFAULT NULL,
`type` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`ext` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`handler` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`handler_edit` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`weblink_handler` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`weblink_edit_handler` varchar(50) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=25 ;
-- Dumping data for table `df_file_handlers`
INSERT INTO `df_file_handlers` VALUES
(1, NULL, 'txt', NULL, 'plain_text_viewer', 'code_editor', 'plain_text_viewer', 'code_editor'),
(2, NULL, 'code', NULL, 'code_editor', 'code_editor', 'code_editor', 'code_editor'),
(3, NULL, 'img', NULL, 'image_viewer', 'image_editor', 'image_viewer', 'image_editor'),
(4, NULL, 'img2', NULL, 'image_viewer', 'image_editor', 'image_viewer', 'image_editor'),
(5, NULL, 'raw', NULL, 'image_viewer', 'image_editor', 'image_viewer', NULL),
(6, NULL, 'wvideo', NULL, 'video_player', NULL, 'video_player', NULL),
(7, NULL, 'mp3', NULL, 'audio_player', NULL, 'audio_player', NULL),
(8, NULL, 'office', NULL, 'office_web_viewer', NULL, 'libreoffice_viewer', NULL),
(9, NULL, 'ooffice', NULL, 'office_web_viewer', NULL, 'libreoffice_viewer', NULL),
(10, NULL, 'arch', NULL, 'arch', NULL, NULL, NULL),
(11, NULL, '3d', NULL, '3d_viewer', NULL, '3d_viewer', NULL),
(12, NULL, 'cad', NULL, 'autodesk', NULL, 'autodesk', NULL),
(13, NULL, NULL, 'odt', 'webodf', NULL, 'webodf', NULL),
(14, NULL, NULL, 'ods', 'webodf', NULL, 'webodf', NULL),
(15, NULL, NULL, 'odp', 'webodf', NULL, 'webodf', NULL),
(16, NULL, NULL, 'pdf', 'open_in_browser', NULL, 'open_in_browser', NULL),
(17, NULL, NULL, 'url', 'handle_url', NULL, 'handle_url', NULL),
(18, NULL, NULL, 'html', 'code_editor', 'code_editor', 'code_editor', 'code_editor'),
(19, NULL, NULL, 'kml', 'kml_viewer', NULL, 'kml_viewer', NULL),
(20, NULL, NULL, 'kmz', 'kml_viewer', NULL, 'kml_viewer', NULL),
(21, NULL, NULL, 'gpx', 'bing_kml_viewer', NULL, 'bing_kml_viewer', NULL),
(22, NULL, NULL, 'md', 'markdown_viewer', 'code_editor', 'markdown_viewer', 'code_editor'),
(23, NULL, NULL, 'epub', 'epub_reader', NULL, 'epub_reader', NULL),
(24, NULL, NULL, 'csv', 'csv_editor', 'csv_editor', 'csv_editor', 'csv_editor');
-- --------------------------------------------------------
-- Table structure for table `df_file_logs`
CREATE TABLE `df_file_logs` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` mediumint(9) NOT NULL,
`action` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`date` datetime NOT NULL,
`data` text COLLATE utf8mb4_unicode_ci,
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_logs`
`id` int(11) NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL DEFAULT '2002-02-02 00:00:00',
`action` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`data` text COLLATE utf8mb4_unicode_ci NOT NULL,
`uid` mediumint(9) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- Dumping data for table `df_logs`
-- --------------------------------------------------------
-- Table structure for table `df_modules_folders_notifications`
CREATE TABLE `df_modules_folders_notifications` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`pathid` int(10) NOT NULL,
`shareid` int(8) DEFAULT NULL,
`notify_write` int(1) NOT NULL DEFAULT '0',
`notify_read` int(1) NOT NULL DEFAULT '0',
`notify_social` int(1) NOT NULL DEFAULT '0',
`notify_misc` int(1) NOT NULL DEFAULT '0',
KEY `uid` (`uid`,`pathid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_metadata_dt`
CREATE TABLE `df_modules_metadata_dt` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`owner` mediumint(9) NOT NULL,
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`ext` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`file_types` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`system` smallint(1) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=5 ;
-- Dumping data for table `df_modules_metadata_dt`
INSERT INTO `df_modules_metadata_dt` VALUES
(1, 0, 'Documents', 'System type', 'pdf,txt', 'office,ooffice', 1),
(2, 0, 'Photos', 'System type', 'psb,psd,tiff,tif,bmp', 'img,raw', 1),
(3, 0, 'Audio', 'System type', '', 'mp3,audio', 1),
(4, 0, 'Video', 'System type', '', 'wvideo,video', 1);
-- --------------------------------------------------------
-- Table structure for table `df_modules_metadata_fields`
CREATE TABLE `df_modules_metadata_fields` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`fsid` mediumint(9) NOT NULL,
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`autocomplete` smallint(1) DEFAULT NULL,
`options` text COLLATE utf8mb4_unicode_ci NOT NULL,
`hide_fieldset_name_in_column` smallint(1) NOT NULL DEFAULT '0',
`hide_field_via_weblinks` smallint(1) NOT NULL DEFAULT '0',
`show_column_by_default` smallint(1) NOT NULL DEFAULT '0',
`system` smallint(1) NOT NULL DEFAULT '0',
`source` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`sort` tinyint(1) DEFAULT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=32 ;
-- Dumping data for table `df_modules_metadata_fields`
INSERT INTO `df_modules_metadata_fields` VALUES
(1, 0, 'comment', 'Comments (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(2, 0, 'filelog', 'File Logs (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(3, 0, 'label', 'Labels (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(4, 0, 'star', 'Stars (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(5, 0, 'filename', 'Search (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(6, 0, 'zoho_collab', 'Zoho Collaborative Editing (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(7, 0, 'autodesk_urn', 'Autodesk Viewer (System)', '', NULL, '', 0, 0, 0, 1, NULL, NULL),
(8, 0, 'Tags', '', 'multiple', NULL, '', 0, 0, 0, 1, 'Tags', NULL),
(9, 3, 'Width', '', 'small', NULL, '', 1, 0, 0, 0, 'MWG->width', 1),
(10, 3, 'Height', '', 'small', NULL, '', 1, 0, 0, 0, 'MWG->height', 2),
(11, 3, 'Date taken', '', 'date', NULL, '', 1, 0, 0, 0, 'MWG->DateCreated', 3),
(12, 3, 'Author', '', 'multiple', NULL, '', 1, 0, 0, 0, 'MWG->Creator', 4),
(13, 3, 'Description', '', 'large', NULL, '', 1, 0, 0, 0, 'MWG->Description', 5),
(14, 3, 'Copyright', '', '', NULL, '', 1, 0, 0, 0, 'MWG->Copyright', 6),
(15, 3, 'GPS latitude', '', 'small', NULL, '', 1, 0, 0, 0, 'MWG->GPSlatitude', 7),
(16, 3, 'GPS longitude', '', 'small', NULL, '', 1, 0, 0, 0, 'MWG->GPSlongitude', 8),
(17, 4, 'Date taken', '', 'date', NULL, '', 1, 0, 0, 0, 'video->DateCreated', 1),
(18, 4, 'Movie title', '', '', NULL, '', 1, 0, 0, 0, 'video->title', 2),
(19, 4, 'Width', '', 'small', NULL, '', 1, 0, 0, 0, 'video->width', 3),
(20, 4, 'Height', '', 'small', NULL, '', 1, 0, 0, 0, 'video->height', 4),
(21, 4, 'Codec', '', '', NULL, '', 1, 0, 0, 0, 'video->codec', 5),
(22, 4, 'GPS latitude', '', 'small', NULL, '', 1, 0, 0, 0, 'video->GPSLatitude', 6),
(23, 4, 'GPS longitude', '', 'small', NULL, '', 1, 0, 0, 0, 'video->GPSLongitude', 7),
(24, 5, 'Artist', '', '', NULL, '', 1, 0, 0, 0, 'audio->artist', 1),
(25, 5, 'Title', '', '', NULL, '', 1, 0, 0, 0, 'audio->title', 2),
(26, 5, 'Album', '', '', NULL, '', 1, 0, 0, 0, 'audio->album', 3),
(27, 5, 'Duration', '', 'small', NULL, '', 1, 0, 0, 0, 'audio->playtime', 4),
(28, 5, 'Codec', '', '', NULL, '', 1, 0, 0, 0, 'audio->codec', 5),
(29, 6, 'Author', '', '', NULL, '', 1, 0, 0, 0, NULL, 1),
(30, 6, 'Description', '', '', NULL, '', 1, 0, 0, 0, NULL, 2),
(31, 0, 'Rating', '', 'stars', NULL, '', 1, 0, 0, 1, 'Rating', NULL);
-- --------------------------------------------------------
-- Table structure for table `df_modules_metadata_fieldsets`
CREATE TABLE `df_modules_metadata_fieldsets` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`owner` mediumint(9) NOT NULL,
`name` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`generic` smallint(1) NOT NULL DEFAULT '0',
`system` smallint(1) NOT NULL DEFAULT '0',
`visible` smallint(1) NOT NULL DEFAULT '0',
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=7 ;
-- Dumping data for table `df_modules_metadata_fieldsets`
INSERT INTO `df_modules_metadata_fieldsets` VALUES
(1, 0, 'Comments (System)', 'Required for the file commenting system', 1, 1, 0),
(2, 0, 'Label (System)', 'Required for the label system', 1, 1, 0),
(3, 0, 'Image properties', '', 0, 1, 1),
(4, 0, 'Video properties', '', 0, 1, 1),
(5, 0, 'Audio properties', '', 0, 1, 1),
(6, 0, 'Various information', '', 1, 0, 1);
-- --------------------------------------------------------
-- Table structure for table `df_modules_metadata_files`
CREATE TABLE `df_modules_metadata_files` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`type_id` mediumint(9) DEFAULT NULL,
UNIQUE KEY `pid` (`pid`),
KEY `type_id` (`type_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_metadata_values`
CREATE TABLE `df_modules_metadata_values` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`date_added` datetime NOT NULL,
`date_modified` datetime DEFAULT NULL,
`uid` mediumint(9) NOT NULL,
`share_id` mediumint(9) DEFAULT NULL,
`file_id` mediumint(9) NOT NULL,
`field_id` mediumint(9) NOT NULL,
`val` text COLLATE utf8mb4_unicode_ci,
KEY `date_added` (`date_added`),
KEY `uid` (`uid`,`file_id`,`field_id`),
KEY `file_id` (`file_id`,`field_id`),
KEY `uid_2` (`uid`,`field_id`),
KEY `field_id` (`field_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_notifications`
CREATE TABLE `df_modules_notifications` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`owner` mediumint(9) DEFAULT NULL,
`object_type` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`object_id` mediumint(9) NOT NULL DEFAULT '0',
`action` text COLLATE utf8mb4_unicode_ci NOT NULL,
`email_address` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_search_index_queue`
CREATE TABLE `df_modules_search_index_queue` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`uid` mediumint(9) NOT NULL,
`path` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
`action` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_shares`
CREATE TABLE `df_modules_shares` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`uid` mediumint(9) NOT NULL,
`created` datetime NOT NULL,
`path` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
`type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`alias` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '',
`with_gid` mediumint(9) DEFAULT NULL,
`with_uid` mediumint(9) DEFAULT NULL,
`anonymous` smallint(1) NOT NULL DEFAULT '0',
`perms_upload` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`perms_download` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`perms_comment` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`perms_read_comments` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`perms_alter` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
`perms_share` varchar(1) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '0',
KEY `uid` (`uid`,`path`(248))
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_trash`
CREATE TABLE `df_modules_trash` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`uid` mediumint(9) NOT NULL,
`relative_path` varchar(1000) COLLATE utf8mb4_unicode_ci NOT NULL,
`date_deleted` datetime NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_user_groups`
CREATE TABLE `df_modules_user_groups` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`name` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`owner` mediumint(9) DEFAULT NULL,
`description` text COLLATE utf8mb4_unicode_ci NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_modules_user_roles`
CREATE TABLE `df_modules_user_roles` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`system` smallint(1) NOT NULL DEFAULT '0',
`owner` mediumint(9) DEFAULT NULL,
`name` varchar(50) COLLATE utf8mb4_unicode_ci NOT NULL,
`description` varchar(100) COLLATE utf8mb4_unicode_ci NOT NULL,
`admin_type` varchar(20) COLLATE utf8mb4_unicode_ci NOT NULL,
`admin_users` smallint(1) NOT NULL DEFAULT '0',
`admin_roles` smallint(1) NOT NULL DEFAULT '0',
`admin_notifications` smallint(1) NOT NULL DEFAULT '0',
`admin_logs` smallint(1) NOT NULL DEFAULT '0',
`admin_metadata` smallint(1) NOT NULL DEFAULT '0',
`admin_over` text COLLATE utf8mb4_unicode_ci NOT NULL,
`admin_max_users` smallint(7) NOT NULL DEFAULT '0',
`admin_homefolder_template` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`homefolder` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
`create_folder` smallint(1) NOT NULL DEFAULT '1',
`space_quota_max` int(20) DEFAULT NULL,
`space_quota_current` int(20) NOT NULL DEFAULT '0',
`readonly` smallint(1) DEFAULT NULL,
`upload` smallint(1) DEFAULT NULL,
`upload_max_size` bigint(20) DEFAULT NULL,
`upload_limit_types` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`download` smallint(1) DEFAULT NULL,
`preview` smallint(1) DEFAULT '1',
`download_folders` smallint(1) DEFAULT NULL,
`read_comments` smallint(1) DEFAULT NULL,
`write_comments` smallint(1) DEFAULT NULL,
`email` smallint(1) NOT NULL DEFAULT '0',
`weblink` smallint(1) NOT NULL DEFAULT '0',
`share` smallint(1) NOT NULL DEFAULT '0',
`share_guests` smallint(1) NOT NULL DEFAULT '0',
`metadata` smallint(1) NOT NULL DEFAULT '0',
`file_history` smallint(1) NOT NULL DEFAULT '0',
`users_may_see` text COLLATE utf8mb4_unicode_ci,
`change_pass` smallint(1) NOT NULL DEFAULT '1',
`edit_profile` smallint(1) NOT NULL DEFAULT '1',
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=2 ;
-- Dumping data for table `df_modules_user_roles`
INSERT INTO `df_modules_user_roles` VALUES
(1, 1, NULL, 'Guest', 'Automatically deleted when there are no files shared with.', '', 0, 0, 0, 0, 0, '', 0, '', '', 0, NULL, 0, 1, 0, NULL, NULL, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, '-ALL-', 0, 0);
-- --------------------------------------------------------
-- Table structure for table `df_modules_weblinks`
CREATE TABLE `df_modules_weblinks` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`id_rnd` varchar(50) CHARACTER SET utf8 COLLATE utf8_bin DEFAULT NULL,
`uid` mediumint(9) NOT NULL,
`pathid` int(10) DEFAULT NULL,
`cid` int(11) DEFAULT NULL,
`share_id` mediumint(9) DEFAULT NULL,
`short_url` varchar(255) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`password` varchar(32) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
`date_created` datetime DEFAULT NULL,
`date_modified` datetime DEFAULT NULL,
`expiry` datetime DEFAULT NULL,
`download_limit` mediumint(6) DEFAULT NULL,
`allow_uploads` int(1) NOT NULL DEFAULT '0',
`allow_editing` int(1) NOT NULL DEFAULT '0',
`allow_downloads` int(1) NOT NULL DEFAULT '1',
`system` smallint(1) NOT NULL DEFAULT '0',
`notify` mediumint(1) NOT NULL DEFAULT '0',
`download_terms` text COLLATE utf8mb4_unicode_ci,
`show_comments` tinyint(1) NOT NULL DEFAULT '0',
`show_comments_names` tinyint(1) NOT NULL DEFAULT '0',
`show_metadata` tinyint(1) NOT NULL DEFAULT '0',
`require_login` tinyint(1) NOT NULL DEFAULT '0',
UNIQUE KEY `id_rnd` (`id_rnd`),
KEY `uid` (`uid`,`pathid`),
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `df_notifications_logs`
CREATE TABLE `df_notifications_logs` (
`id` mediumint(9) NOT NULL AUTO_INCREMENT,
`date` datetime NOT NULL,
`has_errors` smallint(1) NOT NULL DEFAULT '0',
`data` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
`message` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
) ENGINE=MyISAM DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ;
-- --------------------------------------------------------