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: `nextcloud2303`
-- --------------------------------------------------------
-- Table structure for table `oc_accounts`
CREATE TABLE `oc_accounts` (
`uid` varchar(64) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`data` longtext COLLATE [[utf8]]_bin NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]];
-- --------------------------------------------------------
-- Table structure for table `oc_accounts_data`
CREATE TABLE `oc_accounts_data` (
`id` bigint(20) NOT NULL AUTO_INCREMENT,
`uid` varchar(64) COLLATE [[utf8]]_bin NOT NULL,
`name` varchar(64) COLLATE [[utf8]]_bin NOT NULL,
`value` varchar(255) COLLATE [[utf8]]_bin DEFAULT '',
KEY `accounts_data_uid` (`uid`),
KEY `accounts_data_name` (`name`),
KEY `accounts_data_value` (`value`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_activity`
CREATE TABLE `oc_activity` (
`activity_id` bigint(20) NOT NULL AUTO_INCREMENT,
`timestamp` int(11) NOT NULL DEFAULT '0',
`priority` int(11) NOT NULL DEFAULT '0',
`type` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`user` varchar(64) COLLATE [[utf8]]_bin DEFAULT NULL,
`affecteduser` varchar(64) COLLATE [[utf8]]_bin NOT NULL,
`app` varchar(32) COLLATE [[utf8]]_bin NOT NULL,
`subject` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`subjectparams` longtext COLLATE [[utf8]]_bin NOT NULL,
`message` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`messageparams` longtext COLLATE [[utf8]]_bin,
`file` varchar(4000) COLLATE [[utf8]]_bin DEFAULT NULL,
`link` varchar(4000) COLLATE [[utf8]]_bin DEFAULT NULL,
`object_type` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`object_id` bigint(20) NOT NULL DEFAULT '0',
PRIMARY KEY (`activity_id`),
KEY `activity_user_time` (`affecteduser`,`timestamp`),
KEY `activity_filter_by` (`affecteduser`,`user`,`timestamp`),
KEY `activity_filter` (`affecteduser`,`type`,`app`,`timestamp`),
KEY `activity_object` (`object_type`,`object_id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_activity_mq`
CREATE TABLE `oc_activity_mq` (
`mail_id` bigint(20) NOT NULL AUTO_INCREMENT,
`amq_timestamp` int(11) NOT NULL DEFAULT '0',
`amq_latest_send` int(11) NOT NULL DEFAULT '0',
`amq_type` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`amq_affecteduser` varchar(64) COLLATE [[utf8]]_bin NOT NULL,
`amq_appid` varchar(32) COLLATE [[utf8]]_bin NOT NULL,
`amq_subject` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`amq_subjectparams` longtext COLLATE [[utf8]]_bin,
`object_type` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`object_id` bigint(20) NOT NULL DEFAULT '0',
KEY `amp_user` (`amq_affecteduser`),
KEY `amp_latest_send_time` (`amq_latest_send`),
KEY `amp_timestamp_time` (`amq_timestamp`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_addressbookchanges`
CREATE TABLE `oc_addressbookchanges` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`synctoken` int(10) unsigned NOT NULL DEFAULT '1',
`addressbookid` bigint(20) NOT NULL,
`operation` smallint(6) NOT NULL,
KEY `addressbookid_synctoken` (`addressbookid`,`synctoken`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_addressbooks`
CREATE TABLE `oc_addressbooks` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`principaluri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`displayname` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`description` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`synctoken` int(10) unsigned NOT NULL DEFAULT '1',
UNIQUE KEY `addressbook_index` (`principaluri`,`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_appconfig`
CREATE TABLE `oc_appconfig` (
`appid` varchar(32) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`configkey` varchar(64) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`configvalue` longtext COLLATE [[utf8]]_bin,
PRIMARY KEY (`appid`,`configkey`),
KEY `appconfig_config_key_index` (`configkey`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]];
-- Dumping data for table `oc_appconfig`
INSERT INTO `oc_appconfig` VALUES
('accessibility', 'enabled', 'yes'),
('accessibility', 'installed_version', '1.9.0'),
('accessibility', 'types', ''),
('activity', 'enabled', 'yes'),
('activity', 'installed_version', '2.15.0'),
('activity', 'types', 'filesystem'),
('backgroundjob', 'lastjob', '1'),
('bruteforcesettings', 'enabled', 'yes'),
('bruteforcesettings', 'installed_version', '2.3.0'),
('bruteforcesettings', 'types', ''),
('circles', 'enabled', 'yes'),
('circles', 'installed_version', '23.1.0'),
('circles', 'types', 'filesystem,dav'),
('cloud_federation_api', 'enabled', 'yes'),
('cloud_federation_api', 'installed_version', '1.6.0'),
('cloud_federation_api', 'types', 'filesystem'),
('comments', 'enabled', 'yes'),
('comments', 'installed_version', '1.13.0'),
('comments', 'types', 'logging'),
('contactsinteraction', 'enabled', 'yes'),
('contactsinteraction', 'installed_version', '1.4.0'),
('contactsinteraction', 'types', 'dav'),
('core', 'installed.bundles', '["CoreBundle"]'),
('core', 'installedat', '[[timestamp]].4867'),
('core', 'lastcron', '[[timestamp]]'),
('core', 'lastupdatedat', '[[timestamp]].4928'),
('core', 'oc.integritycheck.checker', '[]'),
('core', 'public_files', 'files_sharing/public.php'),
('core', 'public_webdav', 'dav/appinfo/v1/publicwebdav.php'),
('core', 'theming.variables', ''),
('core', 'vendor', 'nextcloud'),
('dashboard', 'enabled', 'yes'),
('dashboard', 'installed_version', '7.3.0'),
('dashboard', 'types', ''),
('dav', 'enabled', 'yes'),
('dav', 'installed_version', '1.21.0'),
('dav', 'types', 'filesystem'),
('federatedfilesharing', 'enabled', 'yes'),
('federatedfilesharing', 'installed_version', '1.13.0'),
('federatedfilesharing', 'types', ''),
('federation', 'enabled', 'yes'),
('federation', 'installed_version', '1.13.0'),
('federation', 'types', 'authentication'),
('files', 'enabled', 'yes'),
('files', 'installed_version', '1.18.0'),
('files', 'types', 'filesystem'),
('files_pdfviewer', 'enabled', 'yes'),
('files_pdfviewer', 'installed_version', '2.4.0'),
('files_pdfviewer', 'types', ''),
('files_rightclick', 'enabled', 'yes'),
('files_rightclick', 'installed_version', '1.2.0'),
('files_rightclick', 'types', ''),
('files_sharing', 'enabled', 'yes'),
('files_sharing', 'installed_version', '1.15.0'),
('files_sharing', 'types', 'filesystem'),
('files_trashbin', 'enabled', 'yes'),
('files_trashbin', 'installed_version', '1.13.0'),
('files_trashbin', 'types', 'filesystem,dav'),
('files_versions', 'enabled', 'yes'),
('files_versions', 'installed_version', '1.16.0'),
('files_versions', 'types', 'filesystem,dav'),
('files_videoplayer', 'enabled', 'yes'),
('files_videoplayer', 'installed_version', '1.12.0'),
('files_videoplayer', 'types', ''),
('firstrunwizard', 'enabled', 'yes'),
('firstrunwizard', 'installed_version', '2.12.0'),
('firstrunwizard', 'types', 'logging'),
('logreader', 'enabled', 'yes'),
('logreader', 'installed_version', '2.8.0'),
('logreader', 'types', ''),
('lookup_server_connector', 'enabled', 'yes'),
('lookup_server_connector', 'installed_version', '1.11.0'),
('lookup_server_connector', 'types', 'authentication'),
('nextcloud_announcements', 'enabled', 'yes'),
('nextcloud_announcements', 'installed_version', '1.12.0'),
('nextcloud_announcements', 'types', 'logging'),
('notifications', 'enabled', 'yes'),
('notifications', 'installed_version', '2.11.1'),
('notifications', 'types', 'logging'),
('oauth2', 'enabled', 'yes'),
('oauth2', 'installed_version', '1.11.0'),
('oauth2', 'types', 'authentication'),
('password_policy', 'enabled', 'yes'),
('password_policy', 'installed_version', '1.13.0'),
('password_policy', 'types', 'authentication'),
('photos', 'enabled', 'yes'),
('photos', 'installed_version', '1.5.0'),
('privacy', 'enabled', 'yes'),
('privacy', 'installed_version', '1.7.0'),
('privacy', 'types', ''),
('provisioning_api', 'enabled', 'yes'),
('provisioning_api', 'installed_version', '1.13.0'),
('provisioning_api', 'types', 'prevent_group_restriction'),
('recommendations', 'enabled', 'yes'),
('recommendations', 'installed_version', '1.2.0'),
('recommendations', 'types', ''),
('serverinfo', 'enabled', 'yes'),
('serverinfo', 'installed_version', '1.13.0'),
('serverinfo', 'types', ''),
('settings', 'enabled', 'yes'),
('settings', 'installed_version', '1.5.0'),
('settings', 'types', ''),
('sharebymail', 'enabled', 'yes'),
('sharebymail', 'installed_version', '1.13.0'),
('sharebymail', 'types', 'filesystem'),
('support', 'enabled', 'yes'),
('support', 'installed_version', '1.6.0'),
('support', 'types', 'session'),
('survey_client', 'enabled', 'yes'),
('survey_client', 'installed_version', '1.11.0'),
('survey_client', 'types', ''),
('systemtags', 'enabled', 'yes'),
('systemtags', 'installed_version', '1.13.0'),
('systemtags', 'types', 'logging'),
('text', 'enabled', 'yes'),
('text', 'installed_version', '3.4.1'),
('text', 'types', 'dav'),
('theming', 'enabled', 'yes'),
('theming', 'installed_version', '1.14.0'),
('theming', 'types', 'logging'),
('twofactor_backupcodes', 'enabled', 'yes'),
('twofactor_backupcodes', 'installed_version', '1.12.0'),
('twofactor_backupcodes', 'types', ''),
('updatenotification', 'enabled', 'yes'),
('updatenotification', 'installed_version', '1.13.0'),
('updatenotification', 'types', ''),
('user_status', 'enabled', 'yes'),
('user_status', 'installed_version', '1.3.1'),
('user_status', 'types', ''),
('viewer', 'enabled', 'yes'),
('viewer', 'installed_version', '1.7.0'),
('weather_status', 'enabled', 'yes'),
('weather_status', 'installed_version', '1.3.0'),
('weather_status', 'types', ''),
('workflowengine', 'enabled', 'yes'),
('workflowengine', 'installed_version', '2.5.0'),
('workflowengine', 'types', 'filesystem');
-- --------------------------------------------------------
-- Table structure for table `oc_authorized_groups`
CREATE TABLE `oc_authorized_groups` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`group_id` varchar(200) COLLATE [[utf8]]_bin NOT NULL,
`class` varchar(200) COLLATE [[utf8]]_bin NOT NULL,
KEY `admindel_groupid_idx` (`group_id`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_authtoken`
CREATE TABLE `oc_authtoken` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uid` varchar(64) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`login_name` varchar(255) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`password` longtext COLLATE [[utf8]]_bin,
`name` longtext COLLATE [[utf8]]_bin NOT NULL,
`token` varchar(200) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`type` smallint(5) unsigned DEFAULT '0',
`remember` smallint(5) unsigned DEFAULT '0',
`last_activity` int(10) unsigned DEFAULT '0',
`last_check` int(10) unsigned DEFAULT '0',
`scope` longtext COLLATE [[utf8]]_bin,
`expires` int(10) unsigned DEFAULT NULL,
`private_key` longtext COLLATE [[utf8]]_bin,
`public_key` longtext COLLATE [[utf8]]_bin,
`version` smallint(5) unsigned NOT NULL DEFAULT '1',
`password_invalid` tinyint(1) DEFAULT '0',
UNIQUE KEY `authtoken_token_index` (`token`),
KEY `authtoken_last_activity_idx` (`last_activity`),
KEY `authtoken_uid_index` (`uid`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- Dumping data for table `oc_authtoken`
-- --------------------------------------------------------
-- Table structure for table `oc_bruteforce_attempts`
CREATE TABLE `oc_bruteforce_attempts` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`action` varchar(64) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`occurred` int(10) unsigned NOT NULL DEFAULT '0',
`ip` varchar(255) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`subnet` varchar(255) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
`metadata` varchar(255) COLLATE [[utf8]]_bin NOT NULL DEFAULT '',
KEY `bruteforce_attempts_ip` (`ip`),
KEY `bruteforce_attempts_subnet` (`subnet`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendarchanges`
CREATE TABLE `oc_calendarchanges` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`synctoken` int(10) unsigned NOT NULL DEFAULT '1',
`calendarid` bigint(20) NOT NULL,
`operation` smallint(6) NOT NULL,
`calendartype` int(11) NOT NULL DEFAULT '0',
KEY `calid_type_synctoken` (`calendarid`,`calendartype`,`synctoken`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendarobjects`
CREATE TABLE `oc_calendarobjects` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`calendarid` bigint(20) unsigned NOT NULL,
`lastmodified` int(10) unsigned DEFAULT NULL,
`etag` varchar(32) COLLATE [[utf8]]_bin DEFAULT NULL,
`size` bigint(20) unsigned NOT NULL,
`componenttype` varchar(8) COLLATE [[utf8]]_bin DEFAULT NULL,
`firstoccurence` bigint(20) unsigned DEFAULT NULL,
`lastoccurence` bigint(20) unsigned DEFAULT NULL,
`uid` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`classification` int(11) DEFAULT '0',
`calendartype` int(11) NOT NULL DEFAULT '0',
`deleted_at` int(10) unsigned DEFAULT NULL,
UNIQUE KEY `calobjects_index` (`calendarid`,`calendartype`,`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendarobjects_props`
CREATE TABLE `oc_calendarobjects_props` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`calendarid` bigint(20) NOT NULL DEFAULT '0',
`objectid` bigint(20) unsigned NOT NULL DEFAULT '0',
`name` varchar(64) COLLATE [[utf8]]_bin DEFAULT NULL,
`parameter` varchar(64) COLLATE [[utf8]]_bin DEFAULT NULL,
`value` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`calendartype` int(11) NOT NULL DEFAULT '0',
KEY `calendarobject_index` (`objectid`,`calendartype`),
KEY `calendarobject_name_index` (`name`,`calendartype`),
KEY `calendarobject_value_index` (`value`,`calendartype`),
KEY `calendarobject_calid_index` (`calendarid`,`calendartype`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendars`
CREATE TABLE `oc_calendars` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`principaluri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`displayname` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`synctoken` int(10) unsigned NOT NULL DEFAULT '1',
`description` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`calendarorder` int(10) unsigned NOT NULL DEFAULT '0',
`calendarcolor` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`timezone` longtext COLLATE [[utf8]]_bin,
`components` varchar(64) COLLATE [[utf8]]_bin DEFAULT NULL,
`transparent` smallint(6) NOT NULL DEFAULT '0',
`deleted_at` int(10) unsigned DEFAULT NULL,
UNIQUE KEY `calendars_index` (`principaluri`,`uri`),
KEY `cals_princ_del_idx` (`principaluri`,`deleted_at`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendarsubscriptions`
CREATE TABLE `oc_calendarsubscriptions` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`principaluri` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`displayname` varchar(100) COLLATE [[utf8]]_bin DEFAULT NULL,
`refreshrate` varchar(10) COLLATE [[utf8]]_bin DEFAULT NULL,
`calendarorder` int(10) unsigned NOT NULL DEFAULT '0',
`calendarcolor` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`striptodos` smallint(6) DEFAULT NULL,
`stripalarms` smallint(6) DEFAULT NULL,
`stripattachments` smallint(6) DEFAULT NULL,
`lastmodified` int(10) unsigned DEFAULT NULL,
`synctoken` int(10) unsigned NOT NULL DEFAULT '1',
`source` longtext COLLATE [[utf8]]_bin,
UNIQUE KEY `calsub_index` (`principaluri`,`uri`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendar_invitations`
CREATE TABLE `oc_calendar_invitations` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`uid` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`recurrenceid` varchar(255) COLLATE [[utf8]]_bin DEFAULT NULL,
`attendee` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`organizer` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`sequence` bigint(20) unsigned DEFAULT NULL,
`token` varchar(60) COLLATE [[utf8]]_bin NOT NULL,
`expiration` bigint(20) unsigned NOT NULL,
KEY `calendar_invitation_tokens` (`token`)
) ENGINE=InnoDB DEFAULT CHARSET=[[utf8]] COLLATE=[[utf8]]_bin[[row_format]] AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `oc_calendar_reminders`
CREATE TABLE `oc_calendar_reminders` (
`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
`calendar_id` bigint(20) NOT NULL,
`object_id` bigint(20) NOT NULL,
`is_recurring` smallint(6) DEFAULT NULL,
`uid` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`recurrence_id` bigint(20) unsigned DEFAULT NULL,
`is_recurrence_exception` smallint(6) NOT NULL,
`event_hash` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`alarm_hash` varchar(255) COLLATE [[utf8]]_bin NOT NULL,
`type` varchar(255) COLLATE [[utf8]]_bin NOT NULL,