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: `pubvana104`
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]categories`
CREATE TABLE `[[dbprefix]]categories` (
`name` varchar(60) DEFAULT NULL,
`url_name` varchar(200) DEFAULT NULL,
`description` varchar(200) DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table `[[dbprefix]]categories`
INSERT INTO `[[dbprefix]]categories` VALUES
(1, 'Uncategorized', 'uncategorized', 'Uncategorized');
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]comments`
CREATE TABLE `[[dbprefix]]comments` (
`post_id` int(11) DEFAULT '0',
`user_id` int(11) DEFAULT NULL,
`author` varchar(50) DEFAULT NULL,
`author_email` varchar(100) DEFAULT NULL,
`author_ip` varchar(100) NOT NULL,
`date` datetime DEFAULT CURRENT_TIMESTAMP,
`modded` int(1) NOT NULL DEFAULT '1',
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]contacts`
CREATE TABLE `[[dbprefix]]contacts` (
`id` int(11) unsigned NOT NULL,
`name` varchar(20) NOT NULL,
`email` varchar(50) NOT NULL,
`sender_ip` varchar(50) NOT NULL,
`message` varchar(200) NOT NULL,
`send_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]groups`
CREATE TABLE `[[dbprefix]]groups` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(20) NOT NULL,
`description` varchar(100) NOT NULL,
`protected` int(1) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=5 ;
-- Dumping data for table `[[dbprefix]]groups`
INSERT INTO `[[dbprefix]]groups` VALUES
(1, 'admin', 'Administrator', 1),
(2, 'members', 'General User', 1),
(3, 'contributors', 'Contributor', 1),
(4, 'editors', 'Editor', 1);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]groups_perms`
CREATE TABLE `[[dbprefix]]groups_perms` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`perms_id` int(11) NOT NULL,
`group_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]group_permissions`
CREATE TABLE `[[dbprefix]]group_permissions` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL,
`description` varchar(150) NOT NULL,
`protected` int(1) NOT NULL DEFAULT '0',
`form_name` varchar(50) NOT NULL,
`display_order` int(5) DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=16 ;
-- Dumping data for table `[[dbprefix]]group_permissions`
INSERT INTO `[[dbprefix]]group_permissions` VALUES
(1, 'users', 'Users', 1, '', 14),
(2, 'posts', 'Posts', 1, '', 9),
(3, 'pages', 'Pages', 1, '', 8),
(4, 'links', 'Links', 1, '', 5),
(5, 'social', 'Social', 1, '', 11),
(6, 'comments', 'Comments', 1, '', 3),
(7, 'navigation', 'Navigation', 1, '', 7),
(8, 'themes', 'Themes', 1, '', 12),
(9, 'settings', 'Settings', 1, '', 10),
(10, 'updates', 'Updates', 1, '', 13),
(11, 'dashboard', 'Dashboard', 1, '', 1),
(12, 'cats', 'Categories', 1, '', 2),
(13, 'lang', 'Language', 1, '', 4),
(14, 'media', 'Media', 1, '', 6),
(15, 'widgets', 'Widgets', 1, '', 15);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]languages`
CREATE TABLE `[[dbprefix]]languages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`language` varchar(100) DEFAULT NULL,
`abbreviation` varchar(7) DEFAULT NULL,
`author` varchar(100) DEFAULT NULL,
`author_website` varchar(255) NOT NULL,
`is_default` enum('0','1') DEFAULT NULL,
`is_avail` int(1) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=20 ;
-- Dumping data for table `[[dbprefix]]languages`
INSERT INTO `[[dbprefix]]languages` VALUES
(1, 'english', 'en', 'Enliven Applications', 'https://pubvana.com', '1', 1),
(2, 'indonesian', 'id', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(3, 'arabic', 'ar', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(4, 'bulgarian', 'bg', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(5, 'czech', 'cs', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(6, 'french', 'fr', 'Enliven Applications', 'https://pubvana.com', '0', 1),
(7, 'hungarian', 'hu', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(8, 'italian', 'it', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(9, 'latvian', 'lv', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(10, 'norwegian', 'no', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(11, 'polish', 'pl', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(12, 'portuguese', 'pt', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(13, 'simplified-chinese', 'zh-hans', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(14, 'slovak', 'sk', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(15, 'slovenian', 'sl', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(16, 'spanish', 'es', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(17, 'traditional-chinese', 'zh-hant', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(18, 'turkish', 'tr', 'Enliven Applications', 'https://pubvana.com', '0', 0),
(19, 'ukranian', 'uk', 'Enliven Applications', 'https://pubvana.com', '0', 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]links`
CREATE TABLE `[[dbprefix]]links` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(255) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`target` varchar(20) DEFAULT '_blank',
`description` varchar(100) DEFAULT NULL,
`visible` enum('yes','no') DEFAULT 'yes',
`position` int(3) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=4 ;
-- Dumping data for table `[[dbprefix]]links`
INSERT INTO `[[dbprefix]]links` VALUES
(1, 'Pubvana', 'http://pubvana.org', '_blank', 'Pubvana', 'yes', 3),
(2, 'Pubvana Hosting', 'http://pubvana.com', '_blank', 'Pubvana Hosting', 'yes', 2),
(3, 'Enliven Applications', 'http://enlivenapp.com', '_blank', 'Enliven Applications', 'yes', 1);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]login_attempts`
CREATE TABLE `[[dbprefix]]login_attempts` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`ip_address` varchar(45) NOT NULL,
`login` varchar(100) NOT NULL,
`time` int(11) unsigned DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]navigation`
CREATE TABLE `[[dbprefix]]navigation` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(50) DEFAULT NULL,
`description` varchar(100) DEFAULT NULL,
`url` varchar(255) DEFAULT NULL,
`external` enum('0','1') NOT NULL DEFAULT '0',
`position` varchar(100) DEFAULT NULL,
`parent_id` int(5) DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
-- Dumping data for table `[[dbprefix]]navigation`
INSERT INTO `[[dbprefix]]navigation` VALUES
(1, 'Home', 'Home', '', '0', '0', 0),
(2, 'Welcome (page)', 'Welcome Page', 'pages/', '0', '1', 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]notifications`
CREATE TABLE `[[dbprefix]]notifications` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`email_address` varchar(200) NOT NULL,
`verify_code` varchar(200) NOT NULL,
`verified` int(1) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]pages`
CREATE TABLE `[[dbprefix]]pages` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(200) DEFAULT NULL,
`url_title` varchar(200) DEFAULT NULL,
`author` int(11) DEFAULT '0',
`status` enum('active','inactive') DEFAULT 'active',
`is_home` int(1) NOT NULL DEFAULT '0',
`meta_title` varchar(200) NOT NULL,
`meta_keywords` varchar(200) NOT NULL,
`meta_description` varchar(200) NOT NULL,
`date_modified` date DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `[[dbprefix]]pages`
INSERT INTO `[[dbprefix]]pages` VALUES
(1, 'Welcome to Pubvana', 'welcome-to-pubvana', 1, '2016-12-22', '### Welcome\r\n\r\nIf you can see this page, Pubvana was successfully installed.\r\n\r\nIf you need help, don''t hesitate and visit the Pubvana website.\r\n\r\n*Since this is just an example post, feel free to delete it.*', 'active', 1, 'Pubvana Home Page', 'Pubvana, Blog, CMS, Website, personal, small business', 'The Pubvana Homepage', NULL);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]posts`
CREATE TABLE `[[dbprefix]]posts` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`author` int(11) NOT NULL DEFAULT '0',
`date_posted` date DEFAULT NULL,
`title` varchar(200) NOT NULL,
`url_title` varchar(200) NOT NULL,
`content` longtext NOT NULL,
`feature_image` varchar(255) DEFAULT NULL,
`allow_comments` enum('0','1') NOT NULL DEFAULT '1',
`sticky` enum('0','1') NOT NULL DEFAULT '0',
`status` enum('draft','published') NOT NULL DEFAULT 'published',
`meta_title` varchar(200) NOT NULL,
`meta_keywords` varchar(200) NOT NULL,
`meta_description` varchar(200) NOT NULL,
`date_modified` date DEFAULT NULL,
`post_count` int(20) DEFAULT '0',
`featured` int(1) DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `[[dbprefix]]posts`
INSERT INTO `[[dbprefix]]posts` VALUES
(1, 1, '2018-03-16', 'Welcome to Pubvana', 'welcome-to-pubvana', 'Congratulations! If you can see this page, Pubvana was successfully installed. If you need help, don''t hesitate and visit the Pubvana website.\r\n', '#### Congratulations!\r\n\r\nIf you can see this page, Pubvana was successfully installed.\r\n\r\nIf you need help, don''t hesitate and visit the Pubvana website.\r\n\r\n*Since this is just an example post, feel free to delete it.*', NULL, '1', '0', 'published', 'Pubvana Home Page', 'Pubvana, Blog, CMS, Website, personal, small business', 'The Pubvana Homepage', NULL, 0, 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]posts_to_categories`
CREATE TABLE `[[dbprefix]]posts_to_categories` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`post_id` int(11) NOT NULL,
`category_id` int(11) NOT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=2 ;
-- Dumping data for table `[[dbprefix]]posts_to_categories`
INSERT INTO `[[dbprefix]]posts_to_categories` VALUES
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]redirects`
CREATE TABLE `[[dbprefix]]redirects` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`old_slug` varchar(200) NOT NULL,
`new_slug` varchar(200) NOT NULL,
`type` varchar(4) NOT NULL DEFAULT 'post',
`code` varchar(3) NOT NULL DEFAULT '301',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]settings`
CREATE TABLE `[[dbprefix]]settings` (
`name` varchar(255) NOT NULL,
`value` varchar(255) NOT NULL,
`tab` varchar(50) NOT NULL,
`field_type` varchar(50) NOT NULL,
`options` varchar(200) NOT NULL,
`required` int(1) NOT NULL DEFAULT '1',
`order_by` int(5) DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-- Dumping data for table `[[dbprefix]]settings`
INSERT INTO `[[dbprefix]]settings` VALUES
('admin_email', '[[admin_email]]', 'email', 'text', '', 1, 0),
('allow_comments', '1', 'comments', 'dropdown', '1=yes|0=no', 1, 1),
('allow_registrations', 'true', 'users', 'dropdown', 'true=yes|false=no', 1, 0),
('base_controller', 'blog', 'general', 'dropdown', 'blog=blog|pages=pages', 1, 0),
('blog_description', '[[site_desc]]', 'general', 'text', '', 0, 0),
('category_list_limit', '10', 'limits', 'dropdown', '10=10|20=20|30=30', 1, 0),
('comment_system', 'local', 'comments', 'dropdown', 'local=Local|fb=Facebook', 1, 0),
('email_activation', 'true', 'users', 'dropdown', 'true=yes|false=no', 1, 0),
('facebook_id', '', 'comments', 'text', '', 0, 4),
('gAnalyticsPropId', '', 'google', 'text', '', 0, 0),
('links_per_box', '10', 'limits', 'dropdown', '10=10|20=20|30=30', 1, 0),
('mail_protocol', 'mail', 'email', 'dropdown', 'mail=mail|smtp=smtp|sendmail=sendmail', 1, 0),
('manual_activation', 'false', 'users', 'dropdown', 'true=yes|false=no', 1, 0),
('mod_non_user_comments', '1', 'comments', 'dropdown', '1=yes|0=no', 1, 2),
('mod_user_comments', '0', 'comments', 'dropdown', '1=yes|0=no', 1, 3),
('months_per_archive', '10', 'limits', 'dropdown', '10=10|20=20|30=30', 1, 0),
('posts_per_page', '10', 'limits', 'dropdown', '10=10|20=20|30=30', 1, 0),
('recaptcha_private_key', '', 'google', 'text', '', 0, 0),
('recaptcha_site_key', '', 'google', 'text', '', 0, 0),
('sendmail_path', '/usr/sbin/sendmail', 'email', 'text', '', 0, 0),
('server_email', '[[admin_email]]', 'email', 'text', '', 1, 0),
('site_name', '[[site_name]]', 'general', 'text', '', 1, 0),
('smtp_crypto', 'tls', 'email', 'dropdown', 'tls=TLS|ssl=SSL', 0, 0),
('smtp_host', '', 'email', 'text', '', 0, 0),
('smtp_pass', '', 'email', 'text', '', 0, 0),
('smtp_port', '', 'email', 'text', '', 0, 0),
('smtp_user', '', 'email', 'text', '', 0, 0),
('use_honeypot', '0', 'captcha', 'dropdown', '1=yes|0=no', 1, 0),
('use_recaptcha', '0', 'google', 'dropdown', '1=yes|0=no', 1, 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]sidebar`
CREATE TABLE `[[dbprefix]]sidebar` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(100) NOT NULL,
`file` varchar(100) NOT NULL,
`status` enum('enabled','disabled') NOT NULL,
`position` varchar(100) DEFAULT NULL,
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=8 ;
-- Dumping data for table `[[dbprefix]]sidebar`
INSERT INTO `[[dbprefix]]sidebar` VALUES
(1, 'Search', 'search', 'enabled', '1'),
(2, 'Archive', 'archive', 'enabled', '2'),
(3, 'Categories', 'categories', 'enabled', '3'),
(4, 'Tag_cloud', 'tag_cloud', 'enabled', '4'),
(5, 'Feeds', 'feeds', 'enabled', '5'),
(6, 'Links', 'links', 'enabled', '6'),
(7, 'Other', 'other', 'enabled', '7');
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]social`
CREATE TABLE `[[dbprefix]]social` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(30) DEFAULT NULL,
`url` varchar(100) DEFAULT NULL,
`enabled` int(1) NOT NULL DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
-- Dumping data for table `[[dbprefix]]social`
INSERT INTO `[[dbprefix]]social` VALUES
(1, 'Facebook', NULL, 0),
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]templates`
CREATE TABLE `[[dbprefix]]templates` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(100) DEFAULT NULL,
`description` varchar(200) NOT NULL,
`author` varchar(100) DEFAULT NULL,
`author_email` varchar(100) NOT NULL,
`path` varchar(100) DEFAULT NULL,
`image` varchar(100) DEFAULT NULL,
`is_default` enum('0','1') DEFAULT '1',
`is_active` varchar(1) NOT NULL DEFAULT '0',
`is_admin` varchar(1) NOT NULL DEFAULT '0',
`version` varchar(10) NOT NULL DEFAULT '1.0.0',
`has_options` int(1) DEFAULT '0',
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
-- Dumping data for table `[[dbprefix]]templates`
INSERT INTO `[[dbprefix]]templates` VALUES
(1, 'Default', 'The default theme for Pubvana', 'Enliven Applications', 'info@pubvana.org', 'default', 'default.png', '1', '1', '0', '1.0.0', 1),
(2, 'Default Admin', 'The default Admin theme for Pubvana', 'Enliven Applications', 'info@pubvana.org', 'default_admin', 'default_admin.png', '1', '1', '1', '1.0.0', 0);
-- --------------------------------------------------------
-- Table structure for table `[[dbprefix]]theme_options`