ok
Direktori : /var/softaculous/anchor/ |
Current File : //var/softaculous/anchor/anchor.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: `anchor0127` -- -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]categories` -- CREATE TABLE `[[dbprefix]]categories` ( `id` int(6) NOT NULL AUTO_INCREMENT, `title` varchar(150) NOT NULL, `slug` varchar(40) NOT NULL, `description` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2 ; -- -- Dumping data for table `[[dbprefix]]categories` -- INSERT INTO `[[dbprefix]]categories` VALUES (1, 'Uncategorised', 'uncategorised', 'Ain''t no category here.'); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]category_meta` -- CREATE TABLE `[[dbprefix]]category_meta` ( `id` int(6) NOT NULL AUTO_INCREMENT, `category` int(6) NOT NULL, `extend` int(6) NOT NULL, `data` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `item` (`category`), KEY `extend` (`extend`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]comments` -- CREATE TABLE `[[dbprefix]]comments` ( `id` int(6) NOT NULL AUTO_INCREMENT, `post` int(6) NOT NULL, `status` enum('pending','approved','spam') NOT NULL, `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `name` varchar(140) NOT NULL, `email` varchar(140) NOT NULL, `text` text NOT NULL, PRIMARY KEY (`id`), KEY `post` (`post`), KEY `status` (`status`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]extend` -- CREATE TABLE `[[dbprefix]]extend` ( `id` int(6) NOT NULL AUTO_INCREMENT, `type` enum('post','page','category','user') NOT NULL, `field` enum('text','html','image','file','toggle') NOT NULL, `pagetype` varchar(140) NOT NULL DEFAULT 'all', `key` varchar(160) NOT NULL, `label` varchar(160) NOT NULL, `attributes` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]meta` -- CREATE TABLE `[[dbprefix]]meta` ( `key` varchar(140) NOT NULL, `value` text NOT NULL, PRIMARY KEY (`key`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -- Dumping data for table `[[dbprefix]]meta` -- INSERT INTO `[[dbprefix]]meta` VALUES ('auto_published_comments', '0'), ('comment_moderation_keys', ''), ('comment_notifications', '0'), ('current_migration', '220'), ('dashboard_page', 'panel'), ('date_format', 'jS M, Y'), ('description', '[[site_desc]]'), ('home_page', '1'), ('posts_page', '1'), ('posts_per_page', '6'), ('show_all_posts', '0'), ('sitename', '[[site_name]]'), ('theme', 'default'); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]pages` -- CREATE TABLE `[[dbprefix]]pages` ( `id` int(6) NOT NULL AUTO_INCREMENT, `parent` int(6) NOT NULL, `slug` varchar(150) NOT NULL, `pagetype` varchar(140) NOT NULL DEFAULT 'all', `name` varchar(64) NOT NULL, `title` varchar(150) NOT NULL, `markdown` text, `html` text NOT NULL, `status` enum('draft','published','archived') NOT NULL, `redirect` text NOT NULL, `show_in_menu` tinyint(1) NOT NULL, `menu_order` int(4) NOT NULL DEFAULT '0', `updated` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`), KEY `status` (`status`), KEY `slug` (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2 ; -- -- Dumping data for table `[[dbprefix]]pages` -- INSERT INTO `[[dbprefix]]pages` VALUES (1, 0, 'posts', 'all', 'Posts', 'My posts and thoughts', 'Welcome!', '<p>Welcome!</p>', 'published', '', 1, 0, '[[regtime]]'); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]pagetypes` -- CREATE TABLE `[[dbprefix]]pagetypes` ( `key` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL, `value` varchar(32) COLLATE utf8mb4_unicode_ci NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci; -- -- Dumping data for table `[[dbprefix]]pagetypes` -- INSERT INTO `[[dbprefix]]pagetypes` VALUES ('all', 'All Pages'); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]page_meta` -- CREATE TABLE `[[dbprefix]]page_meta` ( `id` int(6) NOT NULL AUTO_INCREMENT, `page` int(6) NOT NULL, `extend` int(6) NOT NULL, `data` text NOT NULL, PRIMARY KEY (`id`), KEY `page` (`page`), KEY `extend` (`extend`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]posts` -- CREATE TABLE `[[dbprefix]]posts` ( `id` int(6) NOT NULL AUTO_INCREMENT, `title` varchar(150) NOT NULL, `slug` varchar(150) NOT NULL, `description` text NOT NULL, `markdown` text NOT NULL, `html` mediumtext NOT NULL, `css` text NOT NULL, `js` text NOT NULL, `created` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, `updated` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, `author` int(6) NOT NULL, `category` int(6) NOT NULL, `status` enum('draft','published','archived') NOT NULL, `comments` tinyint(1) DEFAULT '0', PRIMARY KEY (`id`), KEY `status` (`status`), KEY `slug` (`slug`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2 ; -- -- Dumping data for table `[[dbprefix]]posts` -- INSERT INTO `[[dbprefix]]posts` VALUES (1, 'Hello World', 'hello-world', 'This is the first post.', 'Hello World!\r\n\r\nThis is the first post.', '<p>Hello World!</p>\n<p>This is the first post.</p>', '', '', '[[regtime]]', '[[regtime]]', 1, 1, 'published', 0); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]post_meta` -- CREATE TABLE `[[dbprefix]]post_meta` ( `id` int(6) NOT NULL AUTO_INCREMENT, `post` int(6) NOT NULL, `extend` int(6) NOT NULL, `data` text NOT NULL, PRIMARY KEY (`id`), KEY `post` (`post`), KEY `extend` (`extend`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=1 ; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]sessions` -- CREATE TABLE `[[dbprefix]]sessions` ( `id` char(32) NOT NULL, `expire` int(10) NOT NULL, `data` text NOT NULL, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]users` -- CREATE TABLE `[[dbprefix]]users` ( `id` int(6) NOT NULL AUTO_INCREMENT, `username` varchar(100) NOT NULL, `password` text NOT NULL, `email` varchar(140) NOT NULL, `real_name` varchar(140) NOT NULL, `bio` text NOT NULL, `status` enum('inactive','active') NOT NULL, `role` enum('administrator','editor','user') NOT NULL, `updated` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 AUTO_INCREMENT=2 ; -- -- Dumping data for table `[[dbprefix]]users` -- INSERT INTO `[[dbprefix]]users` VALUES (1, '[[admin_username]]', '[[admin_pass]]', '[[admin_email]]', 'Administrator', 'The bouse', 'active', 'administrator', '[[regtime]]'); -- -------------------------------------------------------- -- -- Table structure for table `[[dbprefix]]user_meta` -- CREATE TABLE `[[dbprefix]]user_meta` ( `id` int(6) NOT NULL AUTO_INCREMENT, `user` int(6) NOT NULL, `extend` int(6) NOT NULL, `data` text COLLATE utf8mb4_unicode_ci NOT NULL, PRIMARY KEY (`id`), KEY `item` (`user`), KEY `extend` (`extend`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=1 ; /*!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 */;