Server IP : 185.61.155.44  /  Your IP : 52.14.192.242
Web Server : LiteSpeed
System : Linux premium145.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : antommvy ( 964)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /var/softaculous/myadmin49/../blesta/../pmwiki/../webmail/../yourls/../thbees/../elgg/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //var/softaculous/myadmin49/../blesta/../pmwiki/../webmail/../yourls/../thbees/../elgg/elgg.sql
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: `elgg11218`
--

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

--
-- Table structure for table `[[dbprefix]]access_collections`
--

CREATE TABLE `[[dbprefix]]access_collections` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` text NOT NULL,
  `owner_guid` bigint(20) unsigned NOT NULL,
  `site_guid` bigint(20) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`),
  KEY `owner_guid` (`owner_guid`),
  KEY `site_guid` (`site_guid`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;

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

--
-- Table structure for table `[[dbprefix]]access_collection_membership`
--

CREATE TABLE `[[dbprefix]]access_collection_membership` (
  `user_guid` int(11) NOT NULL,
  `access_collection_id` int(11) NOT NULL,
  PRIMARY KEY (`user_guid`,`access_collection_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `[[dbprefix]]annotations`
--

CREATE TABLE `[[dbprefix]]annotations` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity_guid` bigint(20) unsigned NOT NULL,
  `name_id` int(11) NOT NULL,
  `value_id` int(11) NOT NULL,
  `value_type` enum('integer','text') NOT NULL,
  `owner_guid` bigint(20) unsigned NOT NULL,
  `access_id` int(11) NOT NULL,
  `time_created` int(11) NOT NULL,
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`id`),
  KEY `entity_guid` (`entity_guid`),
  KEY `name_id` (`name_id`),
  KEY `value_id` (`value_id`),
  KEY `owner_guid` (`owner_guid`),
  KEY `access_id` (`access_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]api_users`
--

CREATE TABLE `[[dbprefix]]api_users` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `site_guid` bigint(20) unsigned DEFAULT NULL,
  `api_key` varchar(40) DEFAULT NULL,
  `secret` varchar(40) NOT NULL,
  `active` int(1) DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `api_key` (`api_key`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]config`
--

CREATE TABLE `[[dbprefix]]config` (
  `name` varchar(255) NOT NULL,
  `value` text NOT NULL,
  `site_guid` int(11) NOT NULL,
  PRIMARY KEY (`name`,`site_guid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]config`
--

INSERT INTO `[[dbprefix]]config` VALUES
('view', 's:7:"default";', 1),
('language', 's:2:"en";', 1),
('default_access', 's:1:"2";', 1),
('allow_registration', 'b:1;', 1),
('walled_garden', 'b:0;', 1),
('allow_user_default_access', 's:0:"";', 1),
('default_limit', 'i:10;', 1);

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

--
-- Table structure for table `[[dbprefix]]datalists`
--

CREATE TABLE `[[dbprefix]]datalists` (
  `name` varchar(255) NOT NULL,
  `value` text NOT NULL,
  PRIMARY KEY (`name`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]datalists`
--

INSERT INTO `[[dbprefix]]datalists` VALUES
('installed', '[[timestamp]]'),
('dataroot', '[[softdatadir]]/'),
('default_site', '1'),
('version', '2015041400'),
('simplecache_enabled', '1'),
('system_cache_enabled', '1'),
('simplecache_lastupdate', '[[timestamp]]'),
('path', '[[softpath]]/'),
('processed_upgrades', 'a:62:{i:0;s:14:"2008100701.php";i:1;s:14:"2008101303.php";i:2;s:14:"2009022701.php";i:3;s:14:"2009041701.php";i:4;s:14:"2009070101.php";i:5;s:14:"2009102801.php";i:6;s:14:"2010010501.php";i:7;s:14:"2010033101.php";i:8;s:14:"2010040201.php";i:9;s:14:"2010052601.php";i:10;s:14:"2010060101.php";i:11;s:14:"2010060401.php";i:12;s:14:"2010061501.php";i:13;s:14:"2010062301.php";i:14;s:14:"2010062302.php";i:15;s:14:"2010070301.php";i:16;s:14:"2010071001.php";i:17;s:14:"2010071002.php";i:18;s:14:"2010111501.php";i:19;s:14:"2010121601.php";i:20;s:14:"2010121602.php";i:21;s:14:"2010121701.php";i:22;s:14:"2010123101.php";i:23;s:14:"2011010101.php";i:24;s:61:"2011021800-1.8_svn-goodbye_walled_garden-083121a656d06894.php";i:25;s:61:"2011022000-1.8_svn-custom_profile_fields-390ac967b0bb5665.php";i:26;s:60:"2011030700-1.8_svn-blog_status_metadata-4645225d7b440876.php";i:27;s:51:"2011031300-1.8_svn-twitter_api-12b832a5a7a3e1bd.php";i:28;s:57:"2011031600-1.8_svn-datalist_grows_up-0b8aec5a55cc1e1c.php";i:29;s:61:"2011032000-1.8_svn-widgets_arent_plugins-61836261fa280a5c.php";i:30;s:59:"2011032200-1.8_svn-admins_like_widgets-7f19d2783c1680d3.php";i:31;s:14:"2011052801.php";i:32;s:60:"2011061200-1.8b1-sites_need_a_site_guid-6d9dcbf46c0826cc.php";i:33;s:62:"2011092500-1.8.0.1-forum_reply_river_view-5758ce8d86ac56ce.php";i:34;s:54:"2011123100-1.8.2-fix_friend_river-b17e7ff8345c2269.php";i:35;s:53:"2011123101-1.8.2-fix_blog_status-b14c2a0e7b9e7d55.php";i:36;s:50:"2012012000-1.8.3-ip_in_syslog-87fe0f068cf62428.php";i:37;s:50:"2012012100-1.8.3-system_cache-93100e7d55a24a11.php";i:38;s:59:"2012041800-1.8.3-dont_filter_passwords-c0ca4a18b38ae2bc.php";i:39;s:58:"2012041801-1.8.3-multiple_user_tokens-852225f7fd89f6c5.php";i:40;s:59:"2013010200-1.9.0_dev-river_target_guid-66cbcae057cfa3ad.php";i:41;s:62:"2013010400-1.9.0_dev-comments_to_entities-faba94768b055b08.php";i:42;s:61:"2013021000-1.9.0_dev-web_services_plugin-85a61b4884b9b9e3.php";i:43;s:60:"2013022000-1.9.0-datadir_dates_to_guids-efb02ff11b9d6444.php";i:44;s:59:"2013030600-1.8.13-update_user_location-8999eb8bf1bdd9a3.php";i:45;s:62:"2013051700-1.8.15-add_missing_group_index-52a63a3a3ffaced2.php";i:46;s:53:"2013052900-1.8.15-ipv6_in_syslog-f5c2cc0196e9e731.php";i:47;s:50:"2013060900-1.8.15-site_secret-404fc165cf9e0ac9.php";i:48;s:63:"2013062200-1.9.0_dev-new_remember_me_table-da1bfc6f36c7952e.php";i:49;s:54:"2013062700-1.9.0_dev-add_db_queue-e6af82afc6d3eee3.php";i:50;s:50:"2014012000-1.8.18-remember_me-9a8a433685cf7be9.php";i:51;s:61:"2014031100-1.9.0_dev-elgg_upgrade_object-5577af53c93abd1a.php";i:52;s:55:"2014032200-1.9.0_dev-tinymce_to_ck-bbd2daa1912deaef.php";i:53;s:60:"2014042500-1.9.0_dev-site-notifications-0aae171afb7a00d8.php";i:54;s:61:"2014050600-1.9.0_dev-replies_to_entities-094ea0e36bc027d3.php";i:55;s:60:"2014070600-1.9.0_rc.3-river_enabled_col-bef9e6f0533ac338.php";i:56;s:60:"2014090900-1.9.0-fix_processed_upgrades-183ad189c71872d8.php";i:57;s:62:"2014111600-1.9.4-recheck_comments_upgrade-9da270072a5b0cad.php";i:58;s:58:"2014111800-1.10.0-add_new_hash_column-536087bbb2dbc82b.php";i:59;s:56:"2014130300-1.10.0-add_default_limit-fcef9e7ce01e26a4.php";i:60;s:62:"2015031300-1.11.0_dev-comment-access-sync-50c9764e5845315c.php";i:61;s:59:"2015041400-1.11.0_dev-trim_metastrings-d9a9fdfa28a981a3.php";}'),
('admin_registered', '1');

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

--
-- Table structure for table `[[dbprefix]]entities`
--

CREATE TABLE `[[dbprefix]]entities` (
  `guid` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  `type` enum('object','user','group','site') NOT NULL,
  `subtype` int(11) DEFAULT NULL,
  `owner_guid` bigint(20) unsigned NOT NULL,
  `site_guid` bigint(20) unsigned NOT NULL,
  `container_guid` bigint(20) unsigned NOT NULL,
  `access_id` int(11) NOT NULL,
  `time_created` int(11) NOT NULL,
  `time_updated` int(11) NOT NULL,
  `last_action` int(11) NOT NULL DEFAULT '0',
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`guid`),
  KEY `type` (`type`),
  KEY `subtype` (`subtype`),
  KEY `owner_guid` (`owner_guid`),
  KEY `site_guid` (`site_guid`),
  KEY `container_guid` (`container_guid`),
  KEY `access_id` (`access_id`),
  KEY `time_created` (`time_created`),
  KEY `time_updated` (`time_updated`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=44 ;

--
-- Dumping data for table `[[dbprefix]]entities`
--

INSERT INTO `[[dbprefix]]entities` VALUES
(1, 'site', 0, 0, 1, 0, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(2, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(3, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(4, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(5, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(6, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(7, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(8, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(9, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(10, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(11, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(12, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(13, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(14, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(15, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(16, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(17, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(18, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(19, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(20, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(21, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(22, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(23, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(24, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(25, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(26, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(27, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(28, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(29, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(30, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(31, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(32, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(33, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(34, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(35, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(36, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(37, 'object', 1, 1, 1, 1, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(38, 'user', 0, 0, 1, 0, 2, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(39, 'object', 3, 38, 1, 38, 0, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(40, 'object', 3, 38, 1, 38, 0, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(41, 'object', 3, 38, 1, 38, 0, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(42, 'object', 3, 38, 1, 38, 0, [[timestamp]], [[timestamp]], [[timestamp]], 'yes'),
(43, 'object', 3, 38, 1, 38, 0, [[timestamp]], [[timestamp]], [[timestamp]], 'yes');

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

--
-- Table structure for table `[[dbprefix]]entity_relationships`
--

CREATE TABLE `[[dbprefix]]entity_relationships` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `guid_one` bigint(20) unsigned NOT NULL,
  `relationship` varchar(50) NOT NULL,
  `guid_two` bigint(20) unsigned NOT NULL,
  `time_created` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `guid_one` (`guid_one`,`relationship`,`guid_two`),
  KEY `relationship` (`relationship`),
  KEY `guid_two` (`guid_two`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=25 ;

--
-- Dumping data for table `[[dbprefix]]entity_relationships`
--

INSERT INTO `[[dbprefix]]entity_relationships` VALUES
(1, 2, 'active_plugin', 1, [[timestamp]]),
(2, 3, 'active_plugin', 1, [[timestamp]]),
(3, 4, 'active_plugin', 1, [[timestamp]]),
(4, 6, 'active_plugin', 1, [[timestamp]]),
(5, 13, 'active_plugin', 1, [[timestamp]]),
(6, 14, 'active_plugin', 1, [[timestamp]]),
(7, 15, 'active_plugin', 1, [[timestamp]]),
(8, 16, 'active_plugin', 1, [[timestamp]]),
(9, 17, 'active_plugin', 1, [[timestamp]]),
(10, 19, 'active_plugin', 1, [[timestamp]]),
(11, 20, 'active_plugin', 1, [[timestamp]]),
(12, 22, 'active_plugin', 1, [[timestamp]]),
(13, 23, 'active_plugin', 1, [[timestamp]]),
(14, 24, 'active_plugin', 1, [[timestamp]]),
(15, 25, 'active_plugin', 1, [[timestamp]]),
(16, 26, 'active_plugin', 1, [[timestamp]]),
(17, 27, 'active_plugin', 1, [[timestamp]]),
(18, 28, 'active_plugin', 1, [[timestamp]]),
(19, 29, 'active_plugin', 1, [[timestamp]]),
(20, 30, 'active_plugin', 1, [[timestamp]]),
(21, 33, 'active_plugin', 1, [[timestamp]]),
(22, 35, 'active_plugin', 1, [[timestamp]]),
(23, 37, 'active_plugin', 1, [[timestamp]]),
(24, 38, 'member_of_site', 1, [[timestamp]]);

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

--
-- Table structure for table `[[dbprefix]]entity_subtypes`
--

CREATE TABLE `[[dbprefix]]entity_subtypes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` enum('object','user','group','site') NOT NULL,
  `subtype` varchar(50) NOT NULL,
  `class` varchar(50) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  UNIQUE KEY `type` (`type`,`subtype`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=9 ;

--
-- Dumping data for table `[[dbprefix]]entity_subtypes`
--

INSERT INTO `[[dbprefix]]entity_subtypes` VALUES
(1, 'object', 'plugin', 'ElggPlugin'),
(2, 'object', 'file', 'ElggFile'),
(3, 'object', 'widget', 'ElggWidget'),
(4, 'object', 'comment', 'ElggComment'),
(5, 'object', 'elgg_upgrade', 'ElggUpgrade'),
(6, 'object', 'blog', 'ElggBlog'),
(7, 'object', 'discussion_reply', 'ElggDiscussionReply'),
(8, 'object', 'thewire', 'ElggWire');

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

--
-- Table structure for table `[[dbprefix]]geocode_cache`
--

CREATE TABLE `[[dbprefix]]geocode_cache` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `location` varchar(128) DEFAULT NULL,
  `lat` varchar(20) DEFAULT NULL,
  `long` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `location` (`location`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]groups_entity`
--

CREATE TABLE `[[dbprefix]]groups_entity` (
  `guid` bigint(20) unsigned NOT NULL,
  `name` text NOT NULL,
  `description` text NOT NULL,
  PRIMARY KEY (`guid`),
  KEY `name` (`name`(50)),
  KEY `description` (`description`(50)),
  FULLTEXT KEY `name_2` (`name`,`description`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `[[dbprefix]]hmac_cache`
--

CREATE TABLE `[[dbprefix]]hmac_cache` (
  `hmac` varchar(255) NOT NULL,
  `ts` int(11) NOT NULL,
  PRIMARY KEY (`hmac`),
  KEY `ts` (`ts`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `[[dbprefix]]metadata`
--

CREATE TABLE `[[dbprefix]]metadata` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity_guid` bigint(20) unsigned NOT NULL,
  `name_id` int(11) NOT NULL,
  `value_id` int(11) NOT NULL,
  `value_type` enum('integer','text') NOT NULL,
  `owner_guid` bigint(20) unsigned NOT NULL,
  `access_id` int(11) NOT NULL,
  `time_created` int(11) NOT NULL,
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`id`),
  KEY `entity_guid` (`entity_guid`),
  KEY `name_id` (`name_id`),
  KEY `value_id` (`value_id`),
  KEY `owner_guid` (`owner_guid`),
  KEY `access_id` (`access_id`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;

--
-- Dumping data for table `[[dbprefix]]metadata`
--

INSERT INTO `[[dbprefix]]metadata` VALUES
(1, 1, 1, 2, 'text', 0, 2, [[timestamp]], 'yes'),
(2, 38, 3, 4, 'text', 38, 2, [[timestamp]], 'yes'),
(3, 38, 5, 4, 'text', 0, 2, [[timestamp]], 'yes'),
(4, 38, 6, 7, 'text', 0, 2, [[timestamp]], 'yes');

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

--
-- Table structure for table `[[dbprefix]]metastrings`
--

CREATE TABLE `[[dbprefix]]metastrings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `string` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `string` (`string`(50))
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;

--
-- Dumping data for table `[[dbprefix]]metastrings`
--

INSERT INTO `[[dbprefix]]metastrings` VALUES
(1, 'email'),
(2, '[[site_email]]'),
(3, 'notification:method:email'),
(4, '1'),
(5, 'validated'),
(6, 'validated_method'),
(7, 'admin_user');

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

--
-- Table structure for table `[[dbprefix]]objects_entity`
--

CREATE TABLE `[[dbprefix]]objects_entity` (
  `guid` bigint(20) unsigned NOT NULL,
  `title` text NOT NULL,
  `description` text NOT NULL,
  PRIMARY KEY (`guid`),
  FULLTEXT KEY `title` (`title`,`description`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]objects_entity`
--

INSERT INTO `[[dbprefix]]objects_entity` VALUES
(2, 'aalborg_theme', ''),
(3, 'blog', ''),
(4, 'bookmarks', ''),
(5, 'categories', ''),
(6, 'ckeditor', ''),
(7, 'custom_index', ''),
(8, 'dashboard', ''),
(9, 'developers', ''),
(10, 'diagnostics', ''),
(11, 'embed', ''),
(12, 'externalpages', ''),
(13, 'file', ''),
(14, 'garbagecollector', ''),
(15, 'groups', ''),
(16, 'htmlawed', ''),
(17, 'invitefriends', ''),
(18, 'legacy_urls', ''),
(19, 'likes', ''),
(20, 'logbrowser', ''),
(21, 'login_as', ''),
(22, 'logrotate', ''),
(23, 'members', ''),
(24, 'messageboard', ''),
(25, 'messages', ''),
(26, 'notifications', ''),
(27, 'pages', ''),
(28, 'profile', ''),
(29, 'reportedcontent', ''),
(30, 'search', ''),
(31, 'site_notifications', ''),
(32, 'tagcloud', ''),
(33, 'thewire', ''),
(34, 'twitter_api', ''),
(35, 'uservalidationbyemail', ''),
(36, 'web_services', ''),
(37, 'zaudio', ''),
(39, '', ''),
(40, '', ''),
(41, '', ''),
(42, '', ''),
(43, '', '');

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

--
-- Table structure for table `[[dbprefix]]private_settings`
--

CREATE TABLE `[[dbprefix]]private_settings` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `entity_guid` int(11) NOT NULL,
  `name` varchar(128) NOT NULL,
  `value` text NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `entity_guid` (`entity_guid`,`name`),
  KEY `name` (`name`),
  KEY `value` (`value`(50))
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=58 ;

--
-- Dumping data for table `[[dbprefix]]private_settings`
--

INSERT INTO `[[dbprefix]]private_settings` VALUES
(1, 2, 'elgg:internal:priority', '36'),
(2, 3, 'elgg:internal:priority', '1'),
(3, 4, 'elgg:internal:priority', '2'),
(4, 5, 'elgg:internal:priority', '3'),
(5, 6, 'elgg:internal:priority', '4'),
(6, 7, 'elgg:internal:priority', '5'),
(7, 8, 'elgg:internal:priority', '6'),
(8, 9, 'elgg:internal:priority', '7'),
(9, 10, 'elgg:internal:priority', '8'),
(10, 11, 'elgg:internal:priority', '9'),
(11, 12, 'elgg:internal:priority', '10'),
(12, 13, 'elgg:internal:priority', '11'),
(13, 14, 'elgg:internal:priority', '12'),
(14, 15, 'elgg:internal:priority', '13'),
(15, 16, 'elgg:internal:priority', '14'),
(16, 17, 'elgg:internal:priority', '15'),
(17, 18, 'elgg:internal:priority', '16'),
(18, 19, 'elgg:internal:priority', '17'),
(19, 20, 'elgg:internal:priority', '18'),
(20, 21, 'elgg:internal:priority', '19'),
(21, 22, 'elgg:internal:priority', '20'),
(22, 23, 'elgg:internal:priority', '21'),
(23, 24, 'elgg:internal:priority', '22'),
(24, 25, 'elgg:internal:priority', '23'),
(25, 26, 'elgg:internal:priority', '24'),
(26, 27, 'elgg:internal:priority', '25'),
(27, 28, 'elgg:internal:priority', '26'),
(28, 29, 'elgg:internal:priority', '27'),
(29, 30, 'elgg:internal:priority', '28'),
(30, 31, 'elgg:internal:priority', '29'),
(31, 32, 'elgg:internal:priority', '30'),
(32, 33, 'elgg:internal:priority', '31'),
(33, 34, 'elgg:internal:priority', '32'),
(34, 35, 'elgg:internal:priority', '33'),
(35, 36, 'elgg:internal:priority', '34'),
(36, 37, 'elgg:internal:priority', '35'),
(37, 33, 'limit', '140'),
(38, 39, 'handler', 'control_panel'),
(39, 39, 'context', 'admin'),
(40, 39, 'column', '1'),
(41, 39, 'order', '0'),
(42, 40, 'handler', 'admin_welcome'),
(43, 40, 'context', 'admin'),
(44, 40, 'order', '10'),
(45, 40, 'column', '1'),
(46, 41, 'handler', 'online_users'),
(47, 41, 'context', 'admin'),
(48, 41, 'column', '2'),
(49, 41, 'order', '0'),
(50, 42, 'handler', 'new_users'),
(51, 42, 'context', 'admin'),
(52, 42, 'order', '10'),
(53, 42, 'column', '2'),
(54, 43, 'handler', 'content_stats'),
(55, 43, 'context', 'admin'),
(56, 43, 'order', '20'),
(57, 43, 'column', '2');

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

--
-- Table structure for table `[[dbprefix]]queue`
--

CREATE TABLE `[[dbprefix]]queue` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `data` mediumblob NOT NULL,
  `timestamp` int(11) NOT NULL,
  `worker` varchar(32) DEFAULT NULL,
  PRIMARY KEY (`id`),
  KEY `name` (`name`),
  KEY `retrieve` (`timestamp`,`worker`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]river`
--

CREATE TABLE `[[dbprefix]]river` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `type` varchar(8) NOT NULL,
  `subtype` varchar(32) NOT NULL,
  `action_type` varchar(32) NOT NULL,
  `access_id` int(11) NOT NULL,
  `view` text NOT NULL,
  `subject_guid` int(11) NOT NULL,
  `object_guid` int(11) NOT NULL,
  `target_guid` int(11) NOT NULL,
  `annotation_id` int(11) NOT NULL,
  `posted` int(11) NOT NULL,
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  PRIMARY KEY (`id`),
  KEY `type` (`type`),
  KEY `action_type` (`action_type`),
  KEY `access_id` (`access_id`),
  KEY `subject_guid` (`subject_guid`),
  KEY `object_guid` (`object_guid`),
  KEY `target_guid` (`target_guid`),
  KEY `annotation_id` (`annotation_id`),
  KEY `posted` (`posted`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]sites_entity`
--

CREATE TABLE `[[dbprefix]]sites_entity` (
  `guid` bigint(20) unsigned NOT NULL,
  `name` text NOT NULL,
  `description` text NOT NULL,
  `url` varchar(255) NOT NULL,
  PRIMARY KEY (`guid`),
  UNIQUE KEY `url` (`url`),
  FULLTEXT KEY `name` (`name`,`description`,`url`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]sites_entity`
--

INSERT INTO `[[dbprefix]]sites_entity` VALUES
(1, '[[site_name]]', '[[site_desc]]', '[[softurl]]/');

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

--
-- Table structure for table `[[dbprefix]]system_log`
--

CREATE TABLE `[[dbprefix]]system_log` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `object_id` int(11) NOT NULL,
  `object_class` varchar(50) NOT NULL,
  `object_type` varchar(50) NOT NULL,
  `object_subtype` varchar(50) NOT NULL,
  `event` varchar(50) NOT NULL,
  `performed_by_guid` int(11) NOT NULL,
  `owner_guid` int(11) NOT NULL,
  `access_id` int(11) NOT NULL,
  `enabled` enum('yes','no') NOT NULL DEFAULT 'yes',
  `time_created` int(11) NOT NULL,
  `ip_address` varchar(46) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `object_id` (`object_id`),
  KEY `object_class` (`object_class`),
  KEY `object_type` (`object_type`),
  KEY `object_subtype` (`object_subtype`),
  KEY `event` (`event`),
  KEY `performed_by_guid` (`performed_by_guid`),
  KEY `access_id` (`access_id`),
  KEY `time_created` (`time_created`),
  KEY `river_key` (`object_type`,`object_subtype`,`event`)
) ENGINE=MyISAM  DEFAULT CHARSET=utf8 AUTO_INCREMENT=52 ;

--
-- Dumping data for table `[[dbprefix]]system_log`
--

INSERT INTO `[[dbprefix]]system_log` VALUES
(1, 2, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(2, 3, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(3, 4, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(4, 5, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(5, 6, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(6, 7, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(7, 8, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(8, 9, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(9, 10, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(10, 11, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(11, 12, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(12, 13, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(13, 14, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(14, 15, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(15, 16, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(16, 17, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(17, 18, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(18, 19, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(19, 20, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(20, 21, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(21, 22, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(22, 23, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(23, 24, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(24, 25, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(25, 26, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(26, 27, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(27, 28, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(28, 29, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(29, 30, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(30, 31, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(31, 32, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(32, 33, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(33, 34, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(34, 35, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(35, 36, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(36, 37, 'ElggPlugin', 'object', 'plugin', 'create', 0, 1, 2, 'yes', [[timestamp]], '[[clientip]]'),
(37, 1, 'ElggRelationship', 'relationship', 'active_plugin', 'create', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(38, 24, 'ElggRelationship', 'relationship', 'member_of_site', 'create', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(39, 38, 'ElggUser', 'user', '', 'create', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(40, 2, 'ElggMetadata', 'metadata', 'notification:method:email', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(41, 39, 'ElggWidget', 'object', 'widget', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(42, 40, 'ElggWidget', 'object', 'widget', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(43, 41, 'ElggWidget', 'object', 'widget', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(44, 42, 'ElggWidget', 'object', 'widget', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(45, 43, 'ElggWidget', 'object', 'widget', 'create', 0, 38, 2, 'yes', [[timestamp]], '[[clientip]]'),
(46, 38, 'ElggUser', 'user', '', 'make_admin', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(47, 3, 'ElggMetadata', 'metadata', 'validated', 'create', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(48, 4, 'ElggMetadata', 'metadata', 'validated_method', 'create', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(49, 38, 'ElggUser', 'user', '', 'login:before', 0, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(50, 38, 'ElggUser', 'user', '', 'login', 38, 0, 2, 'yes', [[timestamp]], '[[clientip]]'),
(51, 38, 'ElggUser', 'user', '', 'login:after', 38, 0, 2, 'yes', [[timestamp]], '[[clientip]]');

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

--
-- Table structure for table `[[dbprefix]]users_apisessions`
--

CREATE TABLE `[[dbprefix]]users_apisessions` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_guid` bigint(20) unsigned NOT NULL,
  `site_guid` bigint(20) unsigned NOT NULL,
  `token` varchar(40) DEFAULT NULL,
  `expires` int(11) NOT NULL,
  PRIMARY KEY (`id`),
  UNIQUE KEY `user_guid` (`user_guid`,`site_guid`),
  KEY `token` (`token`)
) ENGINE=MEMORY DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Table structure for table `[[dbprefix]]users_entity`
--

CREATE TABLE `[[dbprefix]]users_entity` (
  `guid` bigint(20) unsigned NOT NULL,
  `name` text NOT NULL,
  `username` varchar(128) NOT NULL DEFAULT '',
  `password` varchar(32) NOT NULL DEFAULT '' COMMENT 'Legacy password hashes',
  `salt` varchar(8) NOT NULL DEFAULT '' COMMENT 'Legacy password salts',
  `password_hash` varchar(255) NOT NULL DEFAULT '',
  `email` text NOT NULL,
  `language` varchar(6) NOT NULL DEFAULT '',
  `banned` enum('yes','no') NOT NULL DEFAULT 'no',
  `admin` enum('yes','no') NOT NULL DEFAULT 'no',
  `last_action` int(11) NOT NULL DEFAULT '0',
  `prev_last_action` int(11) NOT NULL DEFAULT '0',
  `last_login` int(11) NOT NULL DEFAULT '0',
  `prev_last_login` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`guid`),
  UNIQUE KEY `username` (`username`),
  KEY `password` (`password`),
  KEY `email` (`email`(50)),
  KEY `last_action` (`last_action`),
  KEY `last_login` (`last_login`),
  KEY `admin` (`admin`),
  FULLTEXT KEY `name` (`name`),
  FULLTEXT KEY `name_2` (`name`,`username`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]users_entity`
--

INSERT INTO `[[dbprefix]]users_entity` VALUES
(38, '[[admin_realname]]', '[[admin_username]]', '', '', '[[admin_pass]]', '[[admin_email]]', 'en', 'no', 'yes', 0, 0, [[timestamp]], 0);

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

--
-- Table structure for table `[[dbprefix]]users_remember_me_cookies`
--

CREATE TABLE `[[dbprefix]]users_remember_me_cookies` (
  `code` varchar(32) NOT NULL,
  `guid` bigint(20) unsigned NOT NULL,
  `timestamp` int(11) unsigned NOT NULL,
  PRIMARY KEY (`code`),
  KEY `timestamp` (`timestamp`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

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

--
-- Table structure for table `[[dbprefix]]users_sessions`
--

CREATE TABLE `[[dbprefix]]users_sessions` (
  `session` varchar(255) NOT NULL,
  `ts` int(11) unsigned NOT NULL DEFAULT '0',
  `data` mediumblob,
  PRIMARY KEY (`session`),
  KEY `ts` (`ts`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `[[dbprefix]]users_sessions`
--


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