From a92b90414769047369c469ccc9b096a57204e995 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Wed, 16 Oct 2019 21:47:26 +0200 Subject: [PATCH 01/11] Refactor the environment --- Lesson-11-begin/.devcontainer/Dockerfile | 3 + .../.devcontainer/devcontainer.json | 6 + .../.devcontainer/docker-compose.yml | 27 + .../.devcontainer/initdb.d/database.sql | 1527 ++++++++++++ Lesson-11-begin/.editorconfig | 4 - Lesson-11-begin/.gitignore | 8 +- Lesson-11-begin/.htaccess | 2 + Lesson-11-begin/README.md | 28 + Lesson-11-begin/__assets/assets/.gitignore | 4 - Lesson-11-begin/__assets/assets/.htaccess | 27 - Lesson-11-begin/__assets/database.sql | 1486 ------------ Lesson-11-begin/__assets/regions-page.html | 149 -- Lesson-11-begin/app/_config.php | 8 + .../app/_config/{app.yml => mysite.yml} | 0 Lesson-11-begin/app/_config/theme.yml | 1 - Lesson-11-begin/app/composer.json | 23 - Lesson-11-begin/app/src/ArticleCategory.php | 12 +- Lesson-11-begin/app/src/ArticleHolder.php | 16 +- .../app/src/ArticleHolderController.php | 2 +- Lesson-11-begin/app/src/ArticlePage.php | 94 +- .../app/src/ArticlePageController.php | 2 +- Lesson-11-begin/app/src/HomePage.php | 2 +- .../app/src/HomePageController.php | 3 +- Lesson-11-begin/app/src/Page.php | 15 +- Lesson-11-begin/app/src/PageController.php | 72 +- Lesson-11-begin/app/src/Region.php | 38 +- Lesson-11-begin/app/src/RegionsPage.php | 9 +- .../app/templates/Includes/Banner.ss | 22 +- .../app/templates/Includes/Footer.ss | 203 +- .../app/templates/Includes/MainNav.ss | 42 +- .../app/templates/Includes/TopBar.ss | 48 +- Lesson-11-begin/app/templates/Layout/Page.ss | 42 +- Lesson-11-begin/app/templates/Page.ss | 48 +- .../Example/Layout/ArticleHolder.ss | 209 ++ .../Example/Layout/ArticlePage.ss | 276 +++ .../SilverStripe/Example/Layout/HomePage.ss | 361 +++ .../Layout/RegionsPage.ss | 41 +- .../Lessons/Layout/ArticleHolder.ss | 187 -- .../Lessons/Layout/ArticlePage.ss | 268 --- .../SilverStripe/Lessons/Layout/HomePage.ss | 388 ---- Lesson-11-begin/composer.json | 17 +- Lesson-11-begin/composer.lock | 1089 ++++++--- Lesson-11-begin/install-frameworkmissing.html | 35 - Lesson-11-begin/phpcs.xml.dist | 2 +- Lesson-11-begin/public/assets/.gitignore | 17 + Lesson-11-begin/public/assets/.htaccess | 35 + .../public/assets/region-photos/Northeast.jpg | Bin 0 -> 241154 bytes .../public/assets/region-photos/Northwest.jpg | Bin 0 -> 150199 bytes .../public/assets/region-photos/Southeast.jpg | Bin 0 -> 243890 bytes .../public/assets/region-photos/Southwest.jpg | Bin 0 -> 196177 bytes .../travel-brochures/Sample-Article-1.pdf | Bin 0 -> 27263 bytes .../public/assets/travel-photos/Ireland.jpg | Bin 0 -> 45358 bytes .../{__assets => public}/assets/web.config | 0 Lesson-11-begin/public/css/style.css | 4 +- Lesson-11-begin/public/css/style.less | 2057 ++++++++--------- Lesson-11-begin/{ => public}/favicon.ico | Bin Lesson-11-begin/public/images/Thumbs.db | Bin 421888 -> 0 bytes .../public/images/markers/Thumbs.db | Bin 163254 -> 0 bytes .../images/markers/white-marker-cozy (1).png | Bin 2145 -> 0 bytes .../public/images/patterns/Thumbs.db | Bin 64000 -> 0 bytes Lesson-11-begin/public/index.php | 2 - Lesson-11-begin/public/javascript/agencies.js | 124 +- .../public/javascript/bootstrap-checkbox.js | 0 .../public/javascript/chosen.jquery.min.js | 0 Lesson-11-begin/public/javascript/common.js | 238 +- .../common/bootstrap-hover-dropdown.min.js | 0 .../public/javascript/common/classie.js | 0 .../javascript/common/jquery.easing.min.js | 0 .../javascript/common/jquery.nicescroll.js | 0 .../common/jquery.placeholder.min.js | 0 .../javascript/common/jquery.stellar.min.js | 0 .../public/javascript/common/retina.min.js | 0 .../public/javascript/common/uisearch.js | 0 .../javascript/common/waypoints-sticky.min.js | 0 .../public/javascript/common/waypoints.min.js | 0 .../public/javascript/countUp.min.js | 0 Lesson-11-begin/public/javascript/freewall.js | 0 .../public/javascript/infobox.min.js | 0 .../public/javascript/jquery.prettyPhoto.js | 0 .../public/javascript/less-1.7.0.min.js | 0 .../public/javascript/markerclusterer.min.js | 0 .../public/javascript/modernizr-2.8.1.min.js | 0 .../public/javascript/owl.carousel.min.js | 0 .../public/javascript/properties.js | 424 ++-- .../public/javascript/variables.js | 44 +- Lesson-11-begin/public/web.config | 30 + Lesson-11-begin/web.config | 20 - Lesson-11-end/.devcontainer/Dockerfile | 3 + Lesson-11-end/.devcontainer/devcontainer.json | 6 + .../.devcontainer/docker-compose.yml | 27 + .../.devcontainer/initdb.d/database.sql | 1527 ++++++++++++ Lesson-11-end/.editorconfig | 4 - Lesson-11-end/.gitignore | 8 +- Lesson-11-end/.htaccess | 2 + Lesson-11-end/README.md | 28 + Lesson-11-end/__assets/assets/.gitignore | 4 - Lesson-11-end/__assets/assets/.htaccess | 27 - Lesson-11-end/__assets/database.sql | 1518 ------------ Lesson-11-end/__assets/regions-page.html | 149 -- Lesson-11-end/app/_config.php | 8 + .../app/_config/{app.yml => mysite.yml} | 0 Lesson-11-end/app/_config/theme.yml | 1 - Lesson-11-end/app/composer.json | 23 - Lesson-11-end/app/src/ArticleCategory.php | 12 +- Lesson-11-end/app/src/ArticleComment.php | 19 - Lesson-11-end/app/src/ArticleHolder.php | 16 +- .../app/src/ArticleHolderController.php | 2 +- Lesson-11-end/app/src/ArticlePage.php | 97 +- .../app/src/ArticlePageController.php | 72 +- Lesson-11-end/app/src/HomePage.php | 2 +- Lesson-11-end/app/src/HomePageController.php | 3 +- Lesson-11-end/app/src/Page.php | 15 +- Lesson-11-end/app/src/PageController.php | 72 +- Lesson-11-end/app/src/Region.php | 38 +- Lesson-11-end/app/src/RegionsPage.php | 9 +- .../app/templates/Includes/Banner.ss | 22 +- .../app/templates/Includes/Footer.ss | 203 +- .../app/templates/Includes/MainNav.ss | 42 +- .../app/templates/Includes/TopBar.ss | 48 +- Lesson-11-end/app/templates/Layout/Page.ss | 42 +- Lesson-11-end/app/templates/Page.ss | 48 +- .../Example/Layout/ArticleHolder.ss | 209 ++ .../Example/Layout/ArticlePage.ss | 276 +++ .../SilverStripe/Example/Layout/HomePage.ss | 361 +++ .../Layout/RegionsPage.ss | 41 +- .../Lessons/Layout/ArticleHolder.ss | 187 -- .../Lessons/Layout/ArticlePage.ss | 232 -- .../SilverStripe/Lessons/Layout/HomePage.ss | 388 ---- Lesson-11-end/composer.json | 17 +- Lesson-11-end/composer.lock | 1089 ++++++--- Lesson-11-end/install-frameworkmissing.html | 35 - Lesson-11-end/phpcs.xml.dist | 2 +- Lesson-11-end/public/assets/.gitignore | 17 + Lesson-11-end/public/assets/.htaccess | 15 +- .../public/assets/.protected/.htaccess | 2 - .../public/assets/region-photos/Northeast.jpg | Bin 0 -> 241154 bytes .../public/assets/region-photos/Northwest.jpg | Bin 0 -> 150199 bytes .../public/assets/region-photos/Southeast.jpg | Bin 0 -> 243890 bytes .../public/assets/region-photos/Southwest.jpg | Bin 0 -> 196177 bytes .../travel-brochures/Sample-Article-1.pdf | Bin 0 -> 27263 bytes .../public/assets/travel-photos/Ireland.jpg | Bin 0 -> 45358 bytes .../{__assets => public}/assets/web.config | 0 Lesson-11-end/public/css/style.css | 4 +- Lesson-11-end/public/css/style.less | 2057 ++++++++--------- Lesson-11-end/{ => public}/favicon.ico | Bin Lesson-11-end/public/images/Thumbs.db | Bin 421888 -> 0 bytes Lesson-11-end/public/images/markers/Thumbs.db | Bin 163254 -> 0 bytes .../images/markers/white-marker-cozy (1).png | Bin 2145 -> 0 bytes .../public/images/patterns/Thumbs.db | Bin 64000 -> 0 bytes Lesson-11-end/public/index.php | 2 - Lesson-11-end/public/javascript/agencies.js | 124 +- .../public/javascript/bootstrap-checkbox.js | 0 .../public/javascript/chosen.jquery.min.js | 0 Lesson-11-end/public/javascript/common.js | 238 +- .../common/bootstrap-hover-dropdown.min.js | 0 .../public/javascript/common/classie.js | 0 .../javascript/common/jquery.easing.min.js | 0 .../javascript/common/jquery.nicescroll.js | 0 .../common/jquery.placeholder.min.js | 0 .../javascript/common/jquery.stellar.min.js | 0 .../public/javascript/common/retina.min.js | 0 .../public/javascript/common/uisearch.js | 0 .../javascript/common/waypoints-sticky.min.js | 0 .../public/javascript/common/waypoints.min.js | 0 .../public/javascript/countUp.min.js | 0 Lesson-11-end/public/javascript/freewall.js | 0 .../public/javascript/infobox.min.js | 0 .../public/javascript/jquery.prettyPhoto.js | 0 .../public/javascript/less-1.7.0.min.js | 0 .../public/javascript/markerclusterer.min.js | 0 .../public/javascript/modernizr-2.8.1.min.js | 0 .../public/javascript/owl.carousel.min.js | 0 Lesson-11-end/public/javascript/properties.js | 424 ++-- Lesson-11-end/public/javascript/variables.js | 44 +- Lesson-11-end/public/web.config | 30 + Lesson-11-end/web.config | 20 - 176 files changed, 10070 insertions(+), 9682 deletions(-) create mode 100644 Lesson-11-begin/.devcontainer/Dockerfile create mode 100644 Lesson-11-begin/.devcontainer/devcontainer.json create mode 100644 Lesson-11-begin/.devcontainer/docker-compose.yml create mode 100644 Lesson-11-begin/.devcontainer/initdb.d/database.sql create mode 100644 Lesson-11-begin/.htaccess create mode 100644 Lesson-11-begin/README.md delete mode 100644 Lesson-11-begin/__assets/assets/.gitignore delete mode 100644 Lesson-11-begin/__assets/assets/.htaccess delete mode 100644 Lesson-11-begin/__assets/database.sql delete mode 100644 Lesson-11-begin/__assets/regions-page.html rename Lesson-11-begin/app/_config/{app.yml => mysite.yml} (100%) delete mode 100644 Lesson-11-begin/app/composer.json create mode 100644 Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticleHolder.ss create mode 100644 Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticlePage.ss create mode 100644 Lesson-11-begin/app/templates/SilverStripe/Example/Layout/HomePage.ss rename Lesson-11-begin/app/templates/SilverStripe/{Lessons => Example}/Layout/RegionsPage.ss (75%) delete mode 100644 Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/ArticleHolder.ss delete mode 100644 Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/ArticlePage.ss delete mode 100644 Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/HomePage.ss delete mode 100644 Lesson-11-begin/install-frameworkmissing.html create mode 100644 Lesson-11-begin/public/assets/.gitignore create mode 100644 Lesson-11-begin/public/assets/.htaccess create mode 100644 Lesson-11-begin/public/assets/region-photos/Northeast.jpg create mode 100644 Lesson-11-begin/public/assets/region-photos/Northwest.jpg create mode 100644 Lesson-11-begin/public/assets/region-photos/Southeast.jpg create mode 100644 Lesson-11-begin/public/assets/region-photos/Southwest.jpg create mode 100644 Lesson-11-begin/public/assets/travel-brochures/Sample-Article-1.pdf create mode 100644 Lesson-11-begin/public/assets/travel-photos/Ireland.jpg rename Lesson-11-begin/{__assets => public}/assets/web.config (100%) rename Lesson-11-begin/{ => public}/favicon.ico (100%) delete mode 100644 Lesson-11-begin/public/images/Thumbs.db delete mode 100644 Lesson-11-begin/public/images/markers/Thumbs.db delete mode 100644 Lesson-11-begin/public/images/markers/white-marker-cozy (1).png delete mode 100644 Lesson-11-begin/public/images/patterns/Thumbs.db mode change 100755 => 100644 Lesson-11-begin/public/javascript/agencies.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/bootstrap-checkbox.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/chosen.jquery.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/bootstrap-hover-dropdown.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/classie.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/jquery.easing.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/jquery.nicescroll.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/jquery.placeholder.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/jquery.stellar.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/retina.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/uisearch.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/waypoints-sticky.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/common/waypoints.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/countUp.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/freewall.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/infobox.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/jquery.prettyPhoto.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/less-1.7.0.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/markerclusterer.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/modernizr-2.8.1.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/owl.carousel.min.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/properties.js mode change 100755 => 100644 Lesson-11-begin/public/javascript/variables.js create mode 100644 Lesson-11-begin/public/web.config delete mode 100644 Lesson-11-begin/web.config create mode 100644 Lesson-11-end/.devcontainer/Dockerfile create mode 100644 Lesson-11-end/.devcontainer/devcontainer.json create mode 100644 Lesson-11-end/.devcontainer/docker-compose.yml create mode 100644 Lesson-11-end/.devcontainer/initdb.d/database.sql create mode 100644 Lesson-11-end/.htaccess create mode 100644 Lesson-11-end/README.md delete mode 100644 Lesson-11-end/__assets/assets/.gitignore delete mode 100644 Lesson-11-end/__assets/assets/.htaccess delete mode 100644 Lesson-11-end/__assets/database.sql delete mode 100644 Lesson-11-end/__assets/regions-page.html rename Lesson-11-end/app/_config/{app.yml => mysite.yml} (100%) delete mode 100644 Lesson-11-end/app/composer.json delete mode 100644 Lesson-11-end/app/src/ArticleComment.php create mode 100644 Lesson-11-end/app/templates/SilverStripe/Example/Layout/ArticleHolder.ss create mode 100644 Lesson-11-end/app/templates/SilverStripe/Example/Layout/ArticlePage.ss create mode 100644 Lesson-11-end/app/templates/SilverStripe/Example/Layout/HomePage.ss rename Lesson-11-end/app/templates/SilverStripe/{Lessons => Example}/Layout/RegionsPage.ss (75%) delete mode 100644 Lesson-11-end/app/templates/SilverStripe/Lessons/Layout/ArticleHolder.ss delete mode 100644 Lesson-11-end/app/templates/SilverStripe/Lessons/Layout/ArticlePage.ss delete mode 100644 Lesson-11-end/app/templates/SilverStripe/Lessons/Layout/HomePage.ss delete mode 100644 Lesson-11-end/install-frameworkmissing.html create mode 100644 Lesson-11-end/public/assets/.gitignore delete mode 100644 Lesson-11-end/public/assets/.protected/.htaccess create mode 100644 Lesson-11-end/public/assets/region-photos/Northeast.jpg create mode 100644 Lesson-11-end/public/assets/region-photos/Northwest.jpg create mode 100644 Lesson-11-end/public/assets/region-photos/Southeast.jpg create mode 100644 Lesson-11-end/public/assets/region-photos/Southwest.jpg create mode 100644 Lesson-11-end/public/assets/travel-brochures/Sample-Article-1.pdf create mode 100644 Lesson-11-end/public/assets/travel-photos/Ireland.jpg rename Lesson-11-end/{__assets => public}/assets/web.config (100%) rename Lesson-11-end/{ => public}/favicon.ico (100%) delete mode 100644 Lesson-11-end/public/images/Thumbs.db delete mode 100644 Lesson-11-end/public/images/markers/Thumbs.db delete mode 100644 Lesson-11-end/public/images/markers/white-marker-cozy (1).png delete mode 100644 Lesson-11-end/public/images/patterns/Thumbs.db mode change 100755 => 100644 Lesson-11-end/public/javascript/agencies.js mode change 100755 => 100644 Lesson-11-end/public/javascript/bootstrap-checkbox.js mode change 100755 => 100644 Lesson-11-end/public/javascript/chosen.jquery.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/bootstrap-hover-dropdown.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/classie.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/jquery.easing.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/jquery.nicescroll.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/jquery.placeholder.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/jquery.stellar.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/retina.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/uisearch.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/waypoints-sticky.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/common/waypoints.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/countUp.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/freewall.js mode change 100755 => 100644 Lesson-11-end/public/javascript/infobox.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/jquery.prettyPhoto.js mode change 100755 => 100644 Lesson-11-end/public/javascript/less-1.7.0.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/markerclusterer.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/modernizr-2.8.1.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/owl.carousel.min.js mode change 100755 => 100644 Lesson-11-end/public/javascript/properties.js mode change 100755 => 100644 Lesson-11-end/public/javascript/variables.js create mode 100644 Lesson-11-end/public/web.config delete mode 100644 Lesson-11-end/web.config diff --git a/Lesson-11-begin/.devcontainer/Dockerfile b/Lesson-11-begin/.devcontainer/Dockerfile new file mode 100644 index 0000000..ffb2374 --- /dev/null +++ b/Lesson-11-begin/.devcontainer/Dockerfile @@ -0,0 +1,3 @@ +FROM manuth/silverstripe-dev +RUN curl -s https://getcomposer.org/installer | php +RUN mv composer.phar /usr/bin/composer diff --git a/Lesson-11-begin/.devcontainer/devcontainer.json b/Lesson-11-begin/.devcontainer/devcontainer.json new file mode 100644 index 0000000..b24dfbe --- /dev/null +++ b/Lesson-11-begin/.devcontainer/devcontainer.json @@ -0,0 +1,6 @@ +{ + "name": "SilverStripe Development", + "dockerComposeFile": "docker-compose.yml", + "service": "silverstripe", + "workspaceFolder": "/var/www/html" +} \ No newline at end of file diff --git a/Lesson-11-begin/.devcontainer/docker-compose.yml b/Lesson-11-begin/.devcontainer/docker-compose.yml new file mode 100644 index 0000000..24a9a49 --- /dev/null +++ b/Lesson-11-begin/.devcontainer/docker-compose.yml @@ -0,0 +1,27 @@ +version: '3' + +services: + silverstripe: + build: + context: . + dockerfile: Dockerfile + environment: + - SS_DATABASE_CHOOSE_NAME=true + - SS_DATABASE_CLASS=MySQLPDODatabase + - SS_DATABASE_SERVER=db + - SS_DATABASE_USERNAME=root + - SS_DATABASE_PASSWORD=root + - SS_ENVIRONMENT_TYPE=dev + - SS_DEFAULT_ADMIN_USERNAME=root + - SS_DEFAULT_ADMIN_PASSWORD=password + ports: + - 8888:80 + volumes: + - ..:/var/www/html + db: + image: mysql:5 + environment: + - MYSQL_ROOT_PASSWORD=root + volumes: + - ./mysql-data:/var/lib/mysql + - ./initdb.d:/docker-entrypoint-initdb.d diff --git a/Lesson-11-begin/.devcontainer/initdb.d/database.sql b/Lesson-11-begin/.devcontainer/initdb.d/database.sql new file mode 100644 index 0000000..3d2a8be --- /dev/null +++ b/Lesson-11-begin/.devcontainer/initdb.d/database.sql @@ -0,0 +1,1527 @@ +-- MySQL dump 10.17 Distrib 10.3.17-MariaDB, for debian-linux-gnu (x86_64) +-- +-- Host: db Database: SS_html +-- ------------------------------------------------------ +-- Server version 5.7.27 + +/*!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 utf8mb4 */; +/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; +/*!40103 SET TIME_ZONE='+00:00' */; +/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; +/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; +/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; +/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; + +-- +-- Current Database: `SS_html` +-- + +CREATE DATABASE /*!32312 IF NOT EXISTS*/ `SS_html` /*!40100 DEFAULT CHARACTER SET utf8 */; + +USE `SS_html`; + +-- +-- Table structure for table `ChangeSet` +-- + +DROP TABLE IF EXISTS `ChangeSet`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ChangeSet` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Versioned\\ChangeSet') DEFAULT 'SilverStripe\\Versioned\\ChangeSet', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Name` varchar(255) DEFAULT NULL, + `State` enum('open','published','reverted') DEFAULT 'open', + `IsInferred` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Description` mediumtext, + `PublishDate` datetime DEFAULT NULL, + `LastSynced` datetime DEFAULT NULL, + `OwnerID` int(11) NOT NULL DEFAULT '0', + `PublisherID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `State` (`State`), + KEY `ID` (`ID`), + KEY `ClassName` (`ClassName`), + KEY `OwnerID` (`OwnerID`), + KEY `PublisherID` (`PublisherID`) +) ENGINE=InnoDB AUTO_INCREMENT=32 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ChangeSet` +-- + +LOCK TABLES `ChangeSet` WRITE; +/*!40000 ALTER TABLE `ChangeSet` DISABLE KEYS */; +INSERT INTO `ChangeSet` VALUES (1,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 05:52:23','2019-10-15 05:52:23','Generated by publish of \'Find a Rental\' at Oct 15, 2019, 5:52 AM','published',1,NULL,'2019-10-15 05:52:23','2019-10-15 05:52:23',0,1),(2,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 05:54:16','2019-10-15 05:54:15','Generated by publish of \'List Your Rental\' at Oct 15, 2019, 5:54 AM','published',1,NULL,'2019-10-15 05:54:16','2019-10-15 05:54:15',0,1),(3,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 05:56:18','2019-10-15 05:56:18','Generated by publish of \'Regions\' at Oct 15, 2019, 5:56 AM','published',1,NULL,'2019-10-15 05:56:18','2019-10-15 05:56:18',0,1),(4,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 05:58:41','2019-10-15 05:58:40','Generated by publish of \'Find a Rental\' at Oct 15, 2019, 5:58 AM','published',1,NULL,'2019-10-15 05:58:41','2019-10-15 05:58:41',0,1),(5,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 05:59:28','2019-10-15 05:59:27','Generated by publish of \'List Your Rental\' at Oct 15, 2019, 5:59 AM','published',1,NULL,'2019-10-15 05:59:28','2019-10-15 05:59:27',0,1),(6,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 06:01:20','2019-10-15 06:01:20','Generated by publish of \'Travel Guides\' at Oct 15, 2019, 6:01 AM','published',1,NULL,'2019-10-15 06:01:20','2019-10-15 06:01:20',0,1),(7,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 09:49:10','2019-10-15 09:49:10','Generated by publish of \'Regions\' at Oct 15, 2019, 9:49 AM','published',1,NULL,'2019-10-15 09:49:10','2019-10-15 09:49:10',0,1),(8,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 09:50:17','2019-10-15 09:50:17','Generated by publish of \'Travel Guides\' at Oct 15, 2019, 9:50 AM','published',1,NULL,'2019-10-15 09:50:17','2019-10-15 09:50:17',0,1),(9,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 09:51:18','2019-10-15 09:51:18','Generated by publish of \'About Us\' at Oct 15, 2019, 9:51 AM','published',1,NULL,'2019-10-15 09:51:18','2019-10-15 09:51:18',0,1),(10,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 09:52:33','2019-10-15 09:52:32','Generated by publish of \'Contact Us\' at Oct 15, 2019, 9:52 AM','published',1,NULL,'2019-10-15 09:52:33','2019-10-15 09:52:33',0,1),(11,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:00:17','2019-10-15 10:00:17','Generated by publish of \'Sample Article 1\' at Oct 15, 2019, 10:00 AM','published',1,NULL,'2019-10-15 10:00:17','2019-10-15 10:00:17',0,1),(12,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:03:36','2019-10-15 10:03:36','Generated by publish of \'Sample Article 2\' at Oct 15, 2019, 10:03 AM','published',1,NULL,'2019-10-15 10:03:36','2019-10-15 10:03:36',0,1),(13,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:06:26','2019-10-15 10:06:26','Generated by publish of \'Sample Article 3\' at Oct 15, 2019, 10:06 AM','published',1,NULL,'2019-10-15 10:06:26','2019-10-15 10:06:26',0,1),(14,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:28:48','2019-10-15 10:28:48','Generated by publish of \'Travel Guides\' at Oct 15, 2019, 10:28 AM','published',1,NULL,'2019-10-15 10:28:48','2019-10-15 10:28:48',0,1),(15,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:31:40','2019-10-15 10:31:40','Generated by publish of \'Sample Article 1\' at Oct 15, 2019, 10:31 AM','published',1,NULL,'2019-10-15 10:31:40','2019-10-15 10:31:40',0,1),(16,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:36:02','2019-10-15 10:36:02','Generated by publish of \'Sample Article 2\' at Oct 15, 2019, 10:36 AM','published',1,NULL,'2019-10-15 10:36:02','2019-10-15 10:36:02',0,1),(17,'SilverStripe\\Versioned\\ChangeSet','2019-10-15 10:37:26','2019-10-15 10:37:26','Generated by publish of \'Sample Article 3\' at Oct 15, 2019, 10:37 AM','published',1,NULL,'2019-10-15 10:37:26','2019-10-15 10:37:26',0,1),(18,'SilverStripe\\Versioned\\ChangeSet','2019-10-16 10:04:20','2019-10-16 10:04:19','Generated by publish of \'Ireland\' at Oct 16, 2019, 10:04 AM','published',1,NULL,'2019-10-16 10:04:20','2019-10-16 10:04:20',0,1),(19,'SilverStripe\\Versioned\\ChangeSet','2019-10-16 10:14:27','2019-10-16 10:14:27','Generated by publish of \'Sample Article 1\' at Oct 16, 2019, 10:14 AM','published',1,NULL,'2019-10-16 10:14:27','2019-10-16 10:14:27',0,1),(20,'SilverStripe\\Versioned\\ChangeSet','2019-10-16 10:15:16','2019-10-16 10:15:16','Generated by publish of \'Sample Article 1\' at Oct 16, 2019, 10:15 AM','published',1,NULL,'2019-10-16 10:15:16','2019-10-16 10:15:16',0,1),(21,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 02:37:17','2019-10-17 02:37:16','Generated by publish of \'Regions\' at Oct 17, 2019, 2:37 AM','published',1,NULL,'2019-10-17 02:37:17','2019-10-17 02:37:16',0,1),(22,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:08:27','2019-10-17 03:08:27','Generated by publish of \'Business\' at Oct 17, 2019, 3:08 AM','published',1,NULL,'2019-10-17 03:08:27','2019-10-17 03:08:27',0,1),(23,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:08:48','2019-10-17 03:08:48','Generated by publish of \'Commercial\' at Oct 17, 2019, 3:08 AM','published',1,NULL,'2019-10-17 03:08:48','2019-10-17 03:08:48',0,1),(24,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:09:12','2019-10-17 03:09:12','Generated by publish of \'Land\' at Oct 17, 2019, 3:09 AM','published',1,NULL,'2019-10-17 03:09:12','2019-10-17 03:09:12',0,1),(25,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:09:30','2019-10-17 03:09:30','Generated by publish of \'Loans\' at Oct 17, 2019, 3:09 AM','published',1,NULL,'2019-10-17 03:09:30','2019-10-17 03:09:30',0,1),(26,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:09:50','2019-10-17 03:09:50','Generated by publish of \'News and Updates\' at Oct 17, 2019, 3:09 AM','published',1,NULL,'2019-10-17 03:09:50','2019-10-17 03:09:50',0,1),(27,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:10:11','2019-10-17 03:10:11','Generated by publish of \'Properties for Sale\' at Oct 17, 2019, 3:10 AM','published',1,NULL,'2019-10-17 03:10:11','2019-10-17 03:10:11',0,1),(28,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:10:29','2019-10-17 03:10:29','Generated by publish of \'Real Estate\' at Oct 17, 2019, 3:10 AM','published',1,NULL,'2019-10-17 03:10:29','2019-10-17 03:10:29',0,1),(29,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:21:47','2019-10-17 03:21:47','Generated by publish of \'Sample Article 1\' at Oct 17, 2019, 3:21 AM','published',1,NULL,'2019-10-17 03:21:47','2019-10-17 03:21:47',0,1),(30,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:22:53','2019-10-17 03:22:53','Generated by publish of \'Sample Article 2\' at Oct 17, 2019, 3:22 AM','published',1,NULL,'2019-10-17 03:22:53','2019-10-17 03:22:53',0,1),(31,'SilverStripe\\Versioned\\ChangeSet','2019-10-17 03:24:24','2019-10-17 03:24:24','Generated by publish of \'Sample Article 3\' at Oct 17, 2019, 3:24 AM','published',1,NULL,'2019-10-17 03:24:24','2019-10-17 03:24:24',0,1); +/*!40000 ALTER TABLE `ChangeSet` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `ChangeSetItem` +-- + +DROP TABLE IF EXISTS `ChangeSetItem`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ChangeSetItem` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Versioned\\ChangeSetItem') DEFAULT 'SilverStripe\\Versioned\\ChangeSetItem', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `VersionBefore` int(11) NOT NULL DEFAULT '0', + `VersionAfter` int(11) NOT NULL DEFAULT '0', + `Added` enum('explicitly','implicitly') DEFAULT 'implicitly', + `ChangeSetID` int(11) NOT NULL DEFAULT '0', + `ObjectID` int(11) NOT NULL DEFAULT '0', + `ObjectClass` enum('SilverStripe\\Example\\ArticleCategory','SilverStripe\\Example\\Region','SilverStripe\\Assets\\File','SilverStripe\\SiteConfig\\SiteConfig','SilverStripe\\Versioned\\ChangeSet','SilverStripe\\Versioned\\ChangeSetItem','SilverStripe\\Assets\\Shortcodes\\FileLink','SilverStripe\\CMS\\Model\\SiteTree','SilverStripe\\CMS\\Model\\SiteTreeLink','SilverStripe\\Security\\Group','SilverStripe\\Security\\LoginAttempt','SilverStripe\\Security\\Member','SilverStripe\\Security\\MemberPassword','SilverStripe\\Security\\Permission','SilverStripe\\Security\\PermissionRole','SilverStripe\\Security\\PermissionRoleCode','SilverStripe\\Security\\RememberLoginHash','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'SilverStripe\\Example\\ArticleCategory', + PRIMARY KEY (`ID`), + UNIQUE KEY `ObjectUniquePerChangeSet` (`ObjectID`,`ObjectClass`,`ChangeSetID`), + KEY `ClassName` (`ClassName`), + KEY `ChangeSetID` (`ChangeSetID`), + KEY `Object` (`ObjectID`,`ObjectClass`) +) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ChangeSetItem` +-- + +LOCK TABLES `ChangeSetItem` WRITE; +/*!40000 ALTER TABLE `ChangeSetItem` DISABLE KEYS */; +INSERT INTO `ChangeSetItem` VALUES (1,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 05:52:23','2019-10-15 05:52:23',0,3,'explicitly',1,6,'SilverStripe\\CMS\\Model\\SiteTree'),(2,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 05:54:16','2019-10-15 05:54:15',0,3,'explicitly',2,7,'SilverStripe\\CMS\\Model\\SiteTree'),(3,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 05:56:18','2019-10-15 05:56:18',0,3,'explicitly',3,8,'SilverStripe\\CMS\\Model\\SiteTree'),(4,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 05:58:41','2019-10-15 05:58:40',3,5,'explicitly',4,6,'SilverStripe\\CMS\\Model\\SiteTree'),(5,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 05:59:28','2019-10-15 05:59:27',3,5,'explicitly',5,7,'SilverStripe\\CMS\\Model\\SiteTree'),(6,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 06:01:20','2019-10-15 06:01:20',0,3,'explicitly',6,9,'SilverStripe\\CMS\\Model\\SiteTree'),(7,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 09:49:10','2019-10-15 09:49:10',3,5,'explicitly',7,8,'SilverStripe\\CMS\\Model\\SiteTree'),(8,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 09:50:17','2019-10-15 09:50:17',3,5,'explicitly',8,9,'SilverStripe\\CMS\\Model\\SiteTree'),(9,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 09:51:18','2019-10-15 09:51:18',2,4,'explicitly',9,2,'SilverStripe\\CMS\\Model\\SiteTree'),(10,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 09:52:33','2019-10-15 09:52:32',0,6,'explicitly',10,3,'SilverStripe\\CMS\\Model\\SiteTree'),(11,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:00:17','2019-10-15 10:00:17',0,3,'explicitly',11,10,'SilverStripe\\CMS\\Model\\SiteTree'),(12,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:03:36','2019-10-15 10:03:36',0,3,'explicitly',12,11,'SilverStripe\\CMS\\Model\\SiteTree'),(13,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:06:26','2019-10-15 10:06:26',0,3,'explicitly',13,12,'SilverStripe\\CMS\\Model\\SiteTree'),(14,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:28:48','2019-10-15 10:28:48',5,7,'explicitly',14,9,'SilverStripe\\CMS\\Model\\SiteTree'),(15,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:31:40','2019-10-15 10:31:40',3,5,'explicitly',15,10,'SilverStripe\\CMS\\Model\\SiteTree'),(16,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:36:02','2019-10-15 10:36:02',3,5,'explicitly',16,11,'SilverStripe\\CMS\\Model\\SiteTree'),(17,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-15 10:37:26','2019-10-15 10:37:26',3,5,'explicitly',17,12,'SilverStripe\\CMS\\Model\\SiteTree'),(18,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-16 10:04:20','2019-10-16 10:04:19',0,3,'explicitly',1,3,'SilverStripe\\Assets\\File'),(19,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-16 10:14:27','2019-10-16 10:14:27',0,3,'explicitly',2,4,'SilverStripe\\Assets\\File'),(20,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-16 10:15:16','2019-10-16 10:15:16',7,9,'explicitly',3,10,'SilverStripe\\CMS\\Model\\SiteTree'),(21,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:16','2019-10-17 02:37:16',5,7,'explicitly',21,8,'SilverStripe\\CMS\\Model\\SiteTree'),(22,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:16','2019-10-17 02:37:16',0,2,'implicitly',21,1,'SilverStripe\\Example\\Region'),(23,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:16','2019-10-17 02:37:16',0,2,'implicitly',21,2,'SilverStripe\\Example\\Region'),(24,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:16','2019-10-17 02:37:16',0,2,'implicitly',21,3,'SilverStripe\\Example\\Region'),(25,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:16','2019-10-17 02:37:16',0,2,'implicitly',21,4,'SilverStripe\\Example\\Region'),(26,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:17','2019-10-17 02:37:16',0,2,'implicitly',21,6,'SilverStripe\\Assets\\File'),(27,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:17','2019-10-17 02:37:16',0,2,'implicitly',21,7,'SilverStripe\\Assets\\File'),(28,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:17','2019-10-17 02:37:16',0,2,'implicitly',21,8,'SilverStripe\\Assets\\File'),(29,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 02:37:17','2019-10-17 02:37:16',0,2,'implicitly',21,9,'SilverStripe\\Assets\\File'),(30,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:08:27','2019-10-17 03:08:27',0,0,'explicitly',22,1,'SilverStripe\\Example\\ArticleCategory'),(31,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:08:48','2019-10-17 03:08:48',0,0,'explicitly',23,2,'SilverStripe\\Example\\ArticleCategory'),(32,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:09:12','2019-10-17 03:09:12',0,0,'explicitly',24,3,'SilverStripe\\Example\\ArticleCategory'),(33,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:09:30','2019-10-17 03:09:30',0,0,'explicitly',25,4,'SilverStripe\\Example\\ArticleCategory'),(34,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:09:50','2019-10-17 03:09:50',0,0,'explicitly',26,5,'SilverStripe\\Example\\ArticleCategory'),(35,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:10:11','2019-10-17 03:10:11',0,0,'explicitly',27,6,'SilverStripe\\Example\\ArticleCategory'),(36,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:10:29','2019-10-17 03:10:29',0,0,'explicitly',28,7,'SilverStripe\\Example\\ArticleCategory'),(37,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:21:47','2019-10-17 03:21:47',9,9,'explicitly',29,10,'SilverStripe\\CMS\\Model\\SiteTree'),(38,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:21:47','2019-10-17 03:21:47',3,3,'implicitly',29,3,'SilverStripe\\Assets\\File'),(39,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:21:47','2019-10-17 03:21:47',3,3,'implicitly',29,4,'SilverStripe\\Assets\\File'),(40,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:22:53','2019-10-17 03:22:53',7,7,'explicitly',30,11,'SilverStripe\\CMS\\Model\\SiteTree'),(41,'SilverStripe\\Versioned\\ChangeSetItem','2019-10-17 03:24:24','2019-10-17 03:24:24',7,7,'explicitly',31,12,'SilverStripe\\CMS\\Model\\SiteTree'); +/*!40000 ALTER TABLE `ChangeSetItem` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `ChangeSetItem_ReferencedBy` +-- + +DROP TABLE IF EXISTS `ChangeSetItem_ReferencedBy`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ChangeSetItem_ReferencedBy` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ChangeSetItemID` int(11) NOT NULL DEFAULT '0', + `ChildID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ChangeSetItemID` (`ChangeSetItemID`), + KEY `ChildID` (`ChildID`) +) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ChangeSetItem_ReferencedBy` +-- + +LOCK TABLES `ChangeSetItem_ReferencedBy` WRITE; +/*!40000 ALTER TABLE `ChangeSetItem_ReferencedBy` DISABLE KEYS */; +INSERT INTO `ChangeSetItem_ReferencedBy` VALUES (1,22,21),(2,23,21),(3,24,21),(4,25,21),(5,26,21),(6,27,21),(7,28,21),(8,29,21),(9,38,37),(10,39,37); +/*!40000 ALTER TABLE `ChangeSetItem_ReferencedBy` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `ErrorPage` +-- + +DROP TABLE IF EXISTS `ErrorPage`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ErrorPage` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ErrorCode` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ErrorPage` +-- + +LOCK TABLES `ErrorPage` WRITE; +/*!40000 ALTER TABLE `ErrorPage` DISABLE KEYS */; +INSERT INTO `ErrorPage` VALUES (4,404),(5,500); +/*!40000 ALTER TABLE `ErrorPage` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `ErrorPage_Live` +-- + +DROP TABLE IF EXISTS `ErrorPage_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ErrorPage_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ErrorCode` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ErrorPage_Live` +-- + +LOCK TABLES `ErrorPage_Live` WRITE; +/*!40000 ALTER TABLE `ErrorPage_Live` DISABLE KEYS */; +INSERT INTO `ErrorPage_Live` VALUES (4,404),(5,500); +/*!40000 ALTER TABLE `ErrorPage_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `ErrorPage_Versions` +-- + +DROP TABLE IF EXISTS `ErrorPage_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `ErrorPage_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `ErrorCode` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `ErrorPage_Versions` +-- + +LOCK TABLES `ErrorPage_Versions` WRITE; +/*!40000 ALTER TABLE `ErrorPage_Versions` DISABLE KEYS */; +INSERT INTO `ErrorPage_Versions` VALUES (1,4,1,404),(2,4,2,404),(3,5,1,500),(4,5,2,500); +/*!40000 ALTER TABLE `ErrorPage_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `File` +-- + +DROP TABLE IF EXISTS `File`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `File` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Version` int(11) NOT NULL DEFAULT '0', + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `Name` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', + `ParentID` int(11) NOT NULL DEFAULT '0', + `OwnerID` int(11) NOT NULL DEFAULT '0', + `FileHash` varchar(255) DEFAULT NULL, + `FileFilename` varchar(255) DEFAULT NULL, + `FileVariant` varchar(255) DEFAULT NULL, + PRIMARY KEY (`ID`), + KEY `Name` (`Name`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `OwnerID` (`OwnerID`), + KEY `FileHash` (`FileHash`) +) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `File` +-- + +LOCK TABLES `File` WRITE; +/*!40000 ALTER TABLE `File` DISABLE KEYS */; +INSERT INTO `File` VALUES (1,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:58',2,'Inherit','Inherit','travel-photos','travel-photos',1,0,1,NULL,NULL,NULL),(2,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:59',2,'Inherit','Inherit','travel-brochures','travel-brochures',1,0,1,NULL,NULL,NULL),(3,'SilverStripe\\Assets\\Image','2019-10-16 10:04:20','2019-10-16 10:02:47',3,'Inherit','Inherit','Ireland.jpg','Ireland',1,1,1,'d1b80973b0613486dda80966ce537b0135180079','travel-photos/Ireland.jpg',NULL),(4,'SilverStripe\\Assets\\File','2019-10-16 10:14:27','2019-10-16 10:05:44',3,'Inherit','Inherit','Sample-Article-1.pdf','Sample Article 1',1,2,1,'fbcd8833756e5ea51292ebb283eb2cc3005db1c4','travel-brochures/Sample-Article-1.pdf',NULL),(5,'SilverStripe\\Assets\\Folder','2019-10-17 02:32:18','2019-10-17 02:32:17',2,'Inherit','Inherit','region-photos','region-photos',1,0,1,NULL,NULL,NULL),(6,'SilverStripe\\Assets\\Image','2019-10-17 02:37:16','2019-10-17 02:32:41',2,'Inherit','Inherit','Northeast.jpg','Northeast',1,5,1,'d97d9b79c1a9179924ae7dcfc3fd09047f81c7b6','region-photos/Northeast.jpg',NULL),(7,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:33:33',2,'Inherit','Inherit','Northwest.jpg','Northwest',1,5,1,'84484b7a7ea17d14e610d785fb2e571d9d562657','region-photos/Northwest.jpg',NULL),(8,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:34:24',2,'Inherit','Inherit','Southeast.jpg','Southeast',1,5,1,'c1e182a2850e97d688613c8251380d38ad7b23ff','region-photos/Southeast.jpg',NULL),(9,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:35:21',2,'Inherit','Inherit','Southwest.jpg','Southwest',1,5,1,'7bc4a53e4ac31b830e2a565734d29dfaff8ae0ed','region-photos/Southwest.jpg',NULL); +/*!40000 ALTER TABLE `File` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `FileLink` +-- + +DROP TABLE IF EXISTS `FileLink`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `FileLink` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Assets\\Shortcodes\\FileLink') DEFAULT 'SilverStripe\\Assets\\Shortcodes\\FileLink', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `LinkedID` int(11) NOT NULL DEFAULT '0', + `ParentID` int(11) NOT NULL DEFAULT '0', + `ParentClass` enum('SilverStripe\\Example\\ArticleCategory','SilverStripe\\Example\\Region','SilverStripe\\Assets\\File','SilverStripe\\SiteConfig\\SiteConfig','SilverStripe\\Versioned\\ChangeSet','SilverStripe\\Versioned\\ChangeSetItem','SilverStripe\\Assets\\Shortcodes\\FileLink','SilverStripe\\CMS\\Model\\SiteTree','SilverStripe\\CMS\\Model\\SiteTreeLink','SilverStripe\\Security\\Group','SilverStripe\\Security\\LoginAttempt','SilverStripe\\Security\\Member','SilverStripe\\Security\\MemberPassword','SilverStripe\\Security\\Permission','SilverStripe\\Security\\PermissionRole','SilverStripe\\Security\\PermissionRoleCode','SilverStripe\\Security\\RememberLoginHash','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'SilverStripe\\Example\\ArticleCategory', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `LinkedID` (`LinkedID`), + KEY `Parent` (`ParentID`,`ParentClass`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `FileLink` +-- + +LOCK TABLES `FileLink` WRITE; +/*!40000 ALTER TABLE `FileLink` DISABLE KEYS */; +/*!40000 ALTER TABLE `FileLink` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `File_EditorGroups` +-- + +DROP TABLE IF EXISTS `File_EditorGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `File_EditorGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `FileID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `FileID` (`FileID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `File_EditorGroups` +-- + +LOCK TABLES `File_EditorGroups` WRITE; +/*!40000 ALTER TABLE `File_EditorGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `File_EditorGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `File_Live` +-- + +DROP TABLE IF EXISTS `File_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `File_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Version` int(11) NOT NULL DEFAULT '0', + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `Name` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', + `ParentID` int(11) NOT NULL DEFAULT '0', + `OwnerID` int(11) NOT NULL DEFAULT '0', + `FileHash` varchar(255) DEFAULT NULL, + `FileFilename` varchar(255) DEFAULT NULL, + `FileVariant` varchar(255) DEFAULT NULL, + PRIMARY KEY (`ID`), + KEY `Name` (`Name`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `OwnerID` (`OwnerID`), + KEY `FileHash` (`FileHash`) +) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `File_Live` +-- + +LOCK TABLES `File_Live` WRITE; +/*!40000 ALTER TABLE `File_Live` DISABLE KEYS */; +INSERT INTO `File_Live` VALUES (1,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:58',2,'Inherit','Inherit','travel-photos','travel-photos',1,0,1,NULL,NULL,NULL),(2,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:59',2,'Inherit','Inherit','travel-brochures','travel-brochures',1,0,1,NULL,NULL,NULL),(3,'SilverStripe\\Assets\\Image','2019-10-16 10:04:20','2019-10-16 10:02:47',3,'Inherit','Inherit','Ireland.jpg','Ireland',1,1,1,'d1b80973b0613486dda80966ce537b0135180079','travel-photos/Ireland.jpg',NULL),(4,'SilverStripe\\Assets\\File','2019-10-16 10:14:27','2019-10-16 10:05:44',3,'Inherit','Inherit','Sample-Article-1.pdf','Sample Article 1',1,2,1,'fbcd8833756e5ea51292ebb283eb2cc3005db1c4','travel-brochures/Sample-Article-1.pdf',NULL),(5,'SilverStripe\\Assets\\Folder','2019-10-17 02:32:18','2019-10-17 02:32:17',2,'Inherit','Inherit','region-photos','region-photos',1,0,1,NULL,NULL,NULL),(6,'SilverStripe\\Assets\\Image','2019-10-17 02:37:16','2019-10-17 02:32:41',2,'Inherit','Inherit','Northeast.jpg','Northeast',1,5,1,'d97d9b79c1a9179924ae7dcfc3fd09047f81c7b6','region-photos/Northeast.jpg',NULL),(7,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:33:33',2,'Inherit','Inherit','Northwest.jpg','Northwest',1,5,1,'84484b7a7ea17d14e610d785fb2e571d9d562657','region-photos/Northwest.jpg',NULL),(8,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:34:24',2,'Inherit','Inherit','Southeast.jpg','Southeast',1,5,1,'c1e182a2850e97d688613c8251380d38ad7b23ff','region-photos/Southeast.jpg',NULL),(9,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:35:21',2,'Inherit','Inherit','Southwest.jpg','Southwest',1,5,1,'7bc4a53e4ac31b830e2a565734d29dfaff8ae0ed','region-photos/Southwest.jpg',NULL); +/*!40000 ALTER TABLE `File_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `File_Versions` +-- + +DROP TABLE IF EXISTS `File_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `File_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDeleted` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDraft` tinyint(1) unsigned NOT NULL DEFAULT '0', + `AuthorID` int(11) NOT NULL DEFAULT '0', + `PublisherID` int(11) NOT NULL DEFAULT '0', + `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `Name` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', + `ParentID` int(11) NOT NULL DEFAULT '0', + `OwnerID` int(11) NOT NULL DEFAULT '0', + `FileHash` varchar(255) DEFAULT NULL, + `FileFilename` varchar(255) DEFAULT NULL, + `FileVariant` varchar(255) DEFAULT NULL, + PRIMARY KEY (`ID`), + KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `AuthorID` (`AuthorID`), + KEY `PublisherID` (`PublisherID`), + KEY `Name` (`Name`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `OwnerID` (`OwnerID`), + KEY `FileHash` (`FileHash`) +) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `File_Versions` +-- + +LOCK TABLES `File_Versions` WRITE; +/*!40000 ALTER TABLE `File_Versions` DISABLE KEYS */; +INSERT INTO `File_Versions` VALUES (1,1,1,0,0,1,1,0,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:58','2019-10-16 10:01:58','Inherit','Inherit','travel-photos','travel-photos',1,0,1,NULL,NULL,NULL),(2,1,2,1,0,1,1,1,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:58','Inherit','Inherit','travel-photos','travel-photos',1,0,1,NULL,NULL,NULL),(3,2,1,0,0,1,1,0,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:59','Inherit','Inherit','travel-brochures','travel-brochures',1,0,1,NULL,NULL,NULL),(4,2,2,1,0,1,1,1,'SilverStripe\\Assets\\Folder','2019-10-16 10:01:59','2019-10-16 10:01:59','Inherit','Inherit','travel-brochures','travel-brochures',1,0,1,NULL,NULL,NULL),(5,3,1,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-16 10:02:47','2019-10-16 10:02:47','Inherit','Inherit','Ireland.jpg','Ireland',1,1,1,'d1b80973b0613486dda80966ce537b0135180079','travel-photos/Ireland.jpg',NULL),(6,3,2,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-16 10:04:19','2019-10-16 10:02:47','Inherit','Inherit','Ireland.jpg','Ireland',1,1,1,'d1b80973b0613486dda80966ce537b0135180079','travel-photos/Ireland.jpg',NULL),(7,3,3,1,0,1,1,1,'SilverStripe\\Assets\\Image','2019-10-16 10:04:20','2019-10-16 10:02:47','Inherit','Inherit','Ireland.jpg','Ireland',1,1,1,'d1b80973b0613486dda80966ce537b0135180079','travel-photos/Ireland.jpg',NULL),(8,4,1,0,0,1,1,0,'SilverStripe\\Assets\\File','2019-10-16 10:05:44','2019-10-16 10:05:44','Inherit','Inherit','Sample-Article-1.pdf','Sample Article 1',1,2,1,'fbcd8833756e5ea51292ebb283eb2cc3005db1c4','travel-brochures/Sample-Article-1.pdf',NULL),(9,4,2,0,0,1,1,0,'SilverStripe\\Assets\\File','2019-10-16 10:14:26','2019-10-16 10:05:44','Inherit','Inherit','Sample-Article-1.pdf','Sample Article 1',1,2,1,'fbcd8833756e5ea51292ebb283eb2cc3005db1c4','travel-brochures/Sample-Article-1.pdf',NULL),(10,4,3,1,0,1,1,1,'SilverStripe\\Assets\\File','2019-10-16 10:14:27','2019-10-16 10:05:44','Inherit','Inherit','Sample-Article-1.pdf','Sample Article 1',1,2,1,'fbcd8833756e5ea51292ebb283eb2cc3005db1c4','travel-brochures/Sample-Article-1.pdf',NULL),(11,5,1,0,0,1,1,0,'SilverStripe\\Assets\\Folder','2019-10-17 02:32:17','2019-10-17 02:32:17','Inherit','Inherit','region-photos','region-photos',1,0,1,NULL,NULL,NULL),(12,5,2,1,0,1,1,1,'SilverStripe\\Assets\\Folder','2019-10-17 02:32:18','2019-10-17 02:32:17','Inherit','Inherit','region-photos','region-photos',1,0,1,NULL,NULL,NULL),(13,6,1,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-17 02:32:41','2019-10-17 02:32:41','Inherit','Inherit','Northeast.jpg','Northeast',1,5,1,'d97d9b79c1a9179924ae7dcfc3fd09047f81c7b6','region-photos/Northeast.jpg',NULL),(14,7,1,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-17 02:33:33','2019-10-17 02:33:33','Inherit','Inherit','Northwest.jpg','Northwest',1,5,1,'84484b7a7ea17d14e610d785fb2e571d9d562657','region-photos/Northwest.jpg',NULL),(15,8,1,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-17 02:34:24','2019-10-17 02:34:24','Inherit','Inherit','Southeast.jpg','Southeast',1,5,1,'c1e182a2850e97d688613c8251380d38ad7b23ff','region-photos/Southeast.jpg',NULL),(16,9,1,0,0,1,1,0,'SilverStripe\\Assets\\Image','2019-10-17 02:35:21','2019-10-17 02:35:21','Inherit','Inherit','Southwest.jpg','Southwest',1,5,1,'7bc4a53e4ac31b830e2a565734d29dfaff8ae0ed','region-photos/Southwest.jpg',NULL),(17,6,2,1,0,1,1,1,'SilverStripe\\Assets\\Image','2019-10-17 02:37:16','2019-10-17 02:32:41','Inherit','Inherit','Northeast.jpg','Northeast',1,5,1,'d97d9b79c1a9179924ae7dcfc3fd09047f81c7b6','region-photos/Northeast.jpg',NULL),(18,7,2,1,0,1,1,1,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:33:33','Inherit','Inherit','Northwest.jpg','Northwest',1,5,1,'84484b7a7ea17d14e610d785fb2e571d9d562657','region-photos/Northwest.jpg',NULL),(19,8,2,1,0,1,1,1,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:34:24','Inherit','Inherit','Southeast.jpg','Southeast',1,5,1,'c1e182a2850e97d688613c8251380d38ad7b23ff','region-photos/Southeast.jpg',NULL),(20,9,2,1,0,1,1,1,'SilverStripe\\Assets\\Image','2019-10-17 02:37:17','2019-10-17 02:35:21','Inherit','Inherit','Southwest.jpg','Southwest',1,5,1,'7bc4a53e4ac31b830e2a565734d29dfaff8ae0ed','region-photos/Southwest.jpg',NULL); +/*!40000 ALTER TABLE `File_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `File_ViewerGroups` +-- + +DROP TABLE IF EXISTS `File_ViewerGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `File_ViewerGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `FileID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `FileID` (`FileID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `File_ViewerGroups` +-- + +LOCK TABLES `File_ViewerGroups` WRITE; +/*!40000 ALTER TABLE `File_ViewerGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `File_ViewerGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `Group` +-- + +DROP TABLE IF EXISTS `Group`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `Group` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\Group') DEFAULT 'SilverStripe\\Security\\Group', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `Description` mediumtext, + `Code` varchar(255) DEFAULT NULL, + `Locked` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Sort` int(11) NOT NULL DEFAULT '0', + `HtmlEditorConfig` mediumtext, + `ParentID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `Group` +-- + +LOCK TABLES `Group` WRITE; +/*!40000 ALTER TABLE `Group` DISABLE KEYS */; +INSERT INTO `Group` VALUES (1,'SilverStripe\\Security\\Group','2019-10-15 05:07:37','2019-10-15 05:07:37','Content Authors',NULL,'content-authors',0,1,NULL,0),(2,'SilverStripe\\Security\\Group','2019-10-15 05:07:37','2019-10-15 05:07:37','Administrators',NULL,'administrators',0,0,NULL,0); +/*!40000 ALTER TABLE `Group` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `Group_Members` +-- + +DROP TABLE IF EXISTS `Group_Members`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `Group_Members` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `GroupID` int(11) NOT NULL DEFAULT '0', + `MemberID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `GroupID` (`GroupID`), + KEY `MemberID` (`MemberID`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `Group_Members` +-- + +LOCK TABLES `Group_Members` WRITE; +/*!40000 ALTER TABLE `Group_Members` DISABLE KEYS */; +INSERT INTO `Group_Members` VALUES (1,2,1); +/*!40000 ALTER TABLE `Group_Members` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `Group_Roles` +-- + +DROP TABLE IF EXISTS `Group_Roles`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `Group_Roles` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `GroupID` int(11) NOT NULL DEFAULT '0', + `PermissionRoleID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `GroupID` (`GroupID`), + KEY `PermissionRoleID` (`PermissionRoleID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `Group_Roles` +-- + +LOCK TABLES `Group_Roles` WRITE; +/*!40000 ALTER TABLE `Group_Roles` DISABLE KEYS */; +/*!40000 ALTER TABLE `Group_Roles` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `LoginAttempt` +-- + +DROP TABLE IF EXISTS `LoginAttempt`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `LoginAttempt` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\LoginAttempt') DEFAULT 'SilverStripe\\Security\\LoginAttempt', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Email` varchar(255) DEFAULT NULL, + `EmailHashed` varchar(255) DEFAULT NULL, + `Status` enum('Success','Failure') DEFAULT 'Success', + `IP` varchar(255) DEFAULT NULL, + `MemberID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `MemberID` (`MemberID`), + KEY `EmailHashed` (`EmailHashed`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `LoginAttempt` +-- + +LOCK TABLES `LoginAttempt` WRITE; +/*!40000 ALTER TABLE `LoginAttempt` DISABLE KEYS */; +INSERT INTO `LoginAttempt` VALUES (1,'SilverStripe\\Security\\LoginAttempt','2019-10-15 05:46:23','2019-10-15 05:46:23',NULL,'dc76e9f0c0006e8f919e0c515c66dbba3982f785','Success','192.168.96.1',1),(2,'SilverStripe\\Security\\LoginAttempt','2019-10-17 03:07:01','2019-10-17 03:07:01',NULL,'dc76e9f0c0006e8f919e0c515c66dbba3982f785','Success','172.28.0.1',1); +/*!40000 ALTER TABLE `LoginAttempt` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `Member` +-- + +DROP TABLE IF EXISTS `Member`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `Member` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\Member') DEFAULT 'SilverStripe\\Security\\Member', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `FirstName` varchar(255) DEFAULT NULL, + `Surname` varchar(255) DEFAULT NULL, + `Email` varchar(254) DEFAULT NULL, + `TempIDHash` varchar(160) DEFAULT NULL, + `TempIDExpired` datetime DEFAULT NULL, + `Password` varchar(160) DEFAULT NULL, + `AutoLoginHash` varchar(160) DEFAULT NULL, + `AutoLoginExpired` datetime DEFAULT NULL, + `PasswordEncryption` varchar(50) DEFAULT NULL, + `Salt` varchar(50) DEFAULT NULL, + `PasswordExpiry` date DEFAULT NULL, + `LockedOutUntil` datetime DEFAULT NULL, + `Locale` varchar(6) DEFAULT NULL, + `FailedLoginCount` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `Surname` (`Surname`), + KEY `FirstName` (`FirstName`), + KEY `ClassName` (`ClassName`), + KEY `Email` (`Email`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `Member` +-- + +LOCK TABLES `Member` WRITE; +/*!40000 ALTER TABLE `Member` DISABLE KEYS */; +INSERT INTO `Member` VALUES (1,'SilverStripe\\Security\\Member','2019-10-17 03:07:01','2019-10-15 05:07:37','Default Admin',NULL,'root','368a219963a9e7def6adedfcb068c063490bbf20','2019-10-20 03:07:01',NULL,NULL,NULL,'none',NULL,NULL,NULL,'en_US',0); +/*!40000 ALTER TABLE `Member` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `MemberPassword` +-- + +DROP TABLE IF EXISTS `MemberPassword`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `MemberPassword` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\MemberPassword') DEFAULT 'SilverStripe\\Security\\MemberPassword', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Password` varchar(160) DEFAULT NULL, + `Salt` varchar(50) DEFAULT NULL, + `PasswordEncryption` varchar(50) DEFAULT NULL, + `MemberID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `MemberID` (`MemberID`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `MemberPassword` +-- + +LOCK TABLES `MemberPassword` WRITE; +/*!40000 ALTER TABLE `MemberPassword` DISABLE KEYS */; +INSERT INTO `MemberPassword` VALUES (1,'SilverStripe\\Security\\MemberPassword','2019-10-15 05:07:37','2019-10-15 05:07:37',NULL,NULL,'none',1); +/*!40000 ALTER TABLE `MemberPassword` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `Permission` +-- + +DROP TABLE IF EXISTS `Permission`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `Permission` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\Permission') DEFAULT 'SilverStripe\\Security\\Permission', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Code` varchar(255) DEFAULT NULL, + `Arg` int(11) NOT NULL DEFAULT '0', + `Type` int(11) NOT NULL DEFAULT '1', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `GroupID` (`GroupID`), + KEY `Code` (`Code`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `Permission` +-- + +LOCK TABLES `Permission` WRITE; +/*!40000 ALTER TABLE `Permission` DISABLE KEYS */; +INSERT INTO `Permission` VALUES (1,'SilverStripe\\Security\\Permission','2019-10-15 05:07:37','2019-10-15 05:07:37','CMS_ACCESS_CMSMain',0,1,1),(2,'SilverStripe\\Security\\Permission','2019-10-15 05:07:37','2019-10-15 05:07:37','CMS_ACCESS_AssetAdmin',0,1,1),(3,'SilverStripe\\Security\\Permission','2019-10-15 05:07:37','2019-10-15 05:07:37','CMS_ACCESS_ReportAdmin',0,1,1),(4,'SilverStripe\\Security\\Permission','2019-10-15 05:07:37','2019-10-15 05:07:37','SITETREE_REORGANISE',0,1,1),(5,'SilverStripe\\Security\\Permission','2019-10-15 05:07:37','2019-10-15 05:07:37','ADMIN',0,1,2); +/*!40000 ALTER TABLE `Permission` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `PermissionRole` +-- + +DROP TABLE IF EXISTS `PermissionRole`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `PermissionRole` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\PermissionRole') DEFAULT 'SilverStripe\\Security\\PermissionRole', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `OnlyAdminCanApply` tinyint(1) unsigned NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `Title` (`Title`), + KEY `ClassName` (`ClassName`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `PermissionRole` +-- + +LOCK TABLES `PermissionRole` WRITE; +/*!40000 ALTER TABLE `PermissionRole` DISABLE KEYS */; +/*!40000 ALTER TABLE `PermissionRole` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `PermissionRoleCode` +-- + +DROP TABLE IF EXISTS `PermissionRoleCode`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `PermissionRoleCode` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\PermissionRoleCode') DEFAULT 'SilverStripe\\Security\\PermissionRoleCode', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Code` varchar(255) DEFAULT NULL, + `RoleID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `RoleID` (`RoleID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `PermissionRoleCode` +-- + +LOCK TABLES `PermissionRoleCode` WRITE; +/*!40000 ALTER TABLE `PermissionRoleCode` DISABLE KEYS */; +/*!40000 ALTER TABLE `PermissionRoleCode` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `RedirectorPage` +-- + +DROP TABLE IF EXISTS `RedirectorPage`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `RedirectorPage` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RedirectionType` enum('Internal','External') DEFAULT 'Internal', + `ExternalURL` varchar(2083) DEFAULT NULL, + `LinkToID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `LinkToID` (`LinkToID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `RedirectorPage` +-- + +LOCK TABLES `RedirectorPage` WRITE; +/*!40000 ALTER TABLE `RedirectorPage` DISABLE KEYS */; +/*!40000 ALTER TABLE `RedirectorPage` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `RedirectorPage_Live` +-- + +DROP TABLE IF EXISTS `RedirectorPage_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `RedirectorPage_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RedirectionType` enum('Internal','External') DEFAULT 'Internal', + `ExternalURL` varchar(2083) DEFAULT NULL, + `LinkToID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `LinkToID` (`LinkToID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `RedirectorPage_Live` +-- + +LOCK TABLES `RedirectorPage_Live` WRITE; +/*!40000 ALTER TABLE `RedirectorPage_Live` DISABLE KEYS */; +/*!40000 ALTER TABLE `RedirectorPage_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `RedirectorPage_Versions` +-- + +DROP TABLE IF EXISTS `RedirectorPage_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `RedirectorPage_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `RedirectionType` enum('Internal','External') DEFAULT 'Internal', + `ExternalURL` varchar(2083) DEFAULT NULL, + `LinkToID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `LinkToID` (`LinkToID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `RedirectorPage_Versions` +-- + +LOCK TABLES `RedirectorPage_Versions` WRITE; +/*!40000 ALTER TABLE `RedirectorPage_Versions` DISABLE KEYS */; +/*!40000 ALTER TABLE `RedirectorPage_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `RememberLoginHash` +-- + +DROP TABLE IF EXISTS `RememberLoginHash`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `RememberLoginHash` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Security\\RememberLoginHash') DEFAULT 'SilverStripe\\Security\\RememberLoginHash', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `DeviceID` varchar(40) DEFAULT NULL, + `Hash` varchar(160) DEFAULT NULL, + `ExpiryDate` datetime DEFAULT NULL, + `MemberID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `MemberID` (`MemberID`), + KEY `DeviceID` (`DeviceID`), + KEY `Hash` (`Hash`) +) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `RememberLoginHash` +-- + +LOCK TABLES `RememberLoginHash` WRITE; +/*!40000 ALTER TABLE `RememberLoginHash` DISABLE KEYS */; +INSERT INTO `RememberLoginHash` VALUES (1,'SilverStripe\\Security\\RememberLoginHash','2019-10-15 11:06:17','2019-10-15 05:46:23','bc4f833cdb315a525c6a615e119e2df30651da37','d24f7ce1618619af5ec465cc9712ce7780b95816','2020-01-13 05:46:23',1),(2,'SilverStripe\\Security\\RememberLoginHash','2019-10-17 03:07:01','2019-10-17 03:07:01','bc4a1368c1b81c1598352dfdc0d0796e841c9bb5','5b494caefd2bb4667e068eeb556f2059c1a6b073','2020-01-15 03:07:01',1); +/*!40000 ALTER TABLE `RememberLoginHash` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_ArticleCategory` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_ArticleCategory`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_ArticleCategory` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Example\\ArticleCategory') DEFAULT 'SilverStripe\\Example\\ArticleCategory', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `ArticleHolderID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `ArticleHolderID` (`ArticleHolderID`) +) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_ArticleCategory` +-- + +LOCK TABLES `SilverStripe_Example_ArticleCategory` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_ArticleCategory` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_ArticleCategory` VALUES (1,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:08:27','2019-10-17 03:08:27','Business',9),(2,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:08:48','2019-10-17 03:08:48','Commercial',9),(3,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:09:12','2019-10-17 03:09:12','Land',9),(4,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:09:30','2019-10-17 03:09:30','Loans',9),(5,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:09:50','2019-10-17 03:09:50','News and Updates',9),(6,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:10:11','2019-10-17 03:10:11','Properties for Sale',9),(7,'SilverStripe\\Example\\ArticleCategory','2019-10-17 03:10:29','2019-10-17 03:10:29','Real Estate',9); +/*!40000 ALTER TABLE `SilverStripe_Example_ArticleCategory` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_ArticlePage` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_ArticlePage`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_ArticlePage` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `Date` date DEFAULT NULL, + `Teaser` mediumtext, + `ArticleAuthor` varchar(255) DEFAULT NULL, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `BrochureID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `PhotoID` (`PhotoID`), + KEY `BrochureID` (`BrochureID`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_ArticlePage` +-- + +LOCK TABLES `SilverStripe_Example_ArticlePage` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_ArticlePage` VALUES (10,'1776-07-04','Teaser of sample article 1','Manuel Thalmann',3,4),(11,'1840-02-06',NULL,'John Doe',0,0),(12,'2000-08-01',NULL,'Jane Doe',0,0); +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_ArticlePage_Categories` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_ArticlePage_Categories`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_ArticlePage_Categories` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SilverStripe_Example_ArticlePageID` int(11) NOT NULL DEFAULT '0', + `SilverStripe_Example_ArticleCategoryID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SilverStripe_Example_ArticlePageID` (`SilverStripe_Example_ArticlePageID`), + KEY `SilverStripe_Example_ArticleCategoryID` (`SilverStripe_Example_ArticleCategoryID`) +) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_ArticlePage_Categories` +-- + +LOCK TABLES `SilverStripe_Example_ArticlePage_Categories` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Categories` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_ArticlePage_Categories` VALUES (1,10,1),(2,10,3),(3,10,5),(4,10,6),(5,11,1),(6,11,3),(7,11,5),(8,11,7),(9,12,1),(10,12,2),(11,12,3),(12,12,4),(13,12,5),(14,12,6),(15,12,7); +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Categories` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_ArticlePage_Live` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_ArticlePage_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_ArticlePage_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `Date` date DEFAULT NULL, + `Teaser` mediumtext, + `ArticleAuthor` varchar(255) DEFAULT NULL, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `BrochureID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `PhotoID` (`PhotoID`), + KEY `BrochureID` (`BrochureID`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_ArticlePage_Live` +-- + +LOCK TABLES `SilverStripe_Example_ArticlePage_Live` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Live` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_ArticlePage_Live` VALUES (10,'1776-07-04','Teaser of sample article 1','Manuel Thalmann',3,4),(11,'1840-02-06',NULL,'John Doe',0,0),(12,'2000-08-01',NULL,'Jane Doe',0,0); +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_ArticlePage_Versions` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_ArticlePage_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_ArticlePage_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `Date` date DEFAULT NULL, + `Teaser` mediumtext, + `ArticleAuthor` varchar(255) DEFAULT NULL, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `BrochureID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `PhotoID` (`PhotoID`), + KEY `BrochureID` (`BrochureID`) +) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_ArticlePage_Versions` +-- + +LOCK TABLES `SilverStripe_Example_ArticlePage_Versions` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Versions` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_ArticlePage_Versions` VALUES (1,10,7,'1776-07-04','Teaser of sample article 1','Manuel Thalmann',0,0),(2,11,7,'1840-02-06',NULL,'John Doe',0,0),(3,12,7,'2000-08-01',NULL,'Jane Doe',0,0),(4,10,8,'1776-07-04','Teaser of sample article 1','Manuel Thalmann',3,4),(5,10,9,'1776-07-04','Teaser of sample article 1','Manuel Thalmann',3,4); +/*!40000 ALTER TABLE `SilverStripe_Example_ArticlePage_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_Region` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_Region`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_Region` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Example\\Region') DEFAULT 'SilverStripe\\Example\\Region', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Version` int(11) NOT NULL DEFAULT '0', + `Title` varchar(255) DEFAULT NULL, + `Description` mediumtext, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `RegionsPageID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `PhotoID` (`PhotoID`), + KEY `RegionsPageID` (`RegionsPageID`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_Region` +-- + +LOCK TABLES `SilverStripe_Example_Region` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_Region` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_Region` VALUES (1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:32:51',2,'The Northeast','Description about the Northeast',6,8),(2,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:33:43',2,'The Northwest','Description about the Northwest',7,8),(3,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:34:33',2,'The Southeast','Description about the Southeast',8,8),(4,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:35:40',2,'The Southwest','Description about the Southwest',9,8); +/*!40000 ALTER TABLE `SilverStripe_Example_Region` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_Region_Live` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_Region_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_Region_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\Example\\Region') DEFAULT 'SilverStripe\\Example\\Region', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Version` int(11) NOT NULL DEFAULT '0', + `Title` varchar(255) DEFAULT NULL, + `Description` mediumtext, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `RegionsPageID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `PhotoID` (`PhotoID`), + KEY `RegionsPageID` (`RegionsPageID`) +) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_Region_Live` +-- + +LOCK TABLES `SilverStripe_Example_Region_Live` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_Region_Live` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_Region_Live` VALUES (1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:32:51',2,'The Northeast','Description about the Northeast',6,8),(2,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:33:43',2,'The Northwest','Description about the Northwest',7,8),(3,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:34:33',2,'The Southeast','Description about the Southeast',8,8),(4,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:35:40',2,'The Southwest','Description about the Southwest',9,8); +/*!40000 ALTER TABLE `SilverStripe_Example_Region_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SilverStripe_Example_Region_Versions` +-- + +DROP TABLE IF EXISTS `SilverStripe_Example_Region_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SilverStripe_Example_Region_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDeleted` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDraft` tinyint(1) unsigned NOT NULL DEFAULT '0', + `AuthorID` int(11) NOT NULL DEFAULT '0', + `PublisherID` int(11) NOT NULL DEFAULT '0', + `ClassName` enum('SilverStripe\\Example\\Region') DEFAULT 'SilverStripe\\Example\\Region', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `Description` mediumtext, + `PhotoID` int(11) NOT NULL DEFAULT '0', + `RegionsPageID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `AuthorID` (`AuthorID`), + KEY `PublisherID` (`PublisherID`), + KEY `ClassName` (`ClassName`), + KEY `PhotoID` (`PhotoID`), + KEY `RegionsPageID` (`RegionsPageID`) +) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SilverStripe_Example_Region_Versions` +-- + +LOCK TABLES `SilverStripe_Example_Region_Versions` WRITE; +/*!40000 ALTER TABLE `SilverStripe_Example_Region_Versions` DISABLE KEYS */; +INSERT INTO `SilverStripe_Example_Region_Versions` VALUES (1,1,1,0,0,1,1,0,'SilverStripe\\Example\\Region','2019-10-17 02:32:51','2019-10-17 02:32:51','The Northeast','Description about the Northeast',6,8),(2,2,1,0,0,1,1,0,'SilverStripe\\Example\\Region','2019-10-17 02:33:43','2019-10-17 02:33:43','The Northwest','Description about the Northwest',7,8),(3,3,1,0,0,1,1,0,'SilverStripe\\Example\\Region','2019-10-17 02:34:33','2019-10-17 02:34:33','The Southeast','Description about the Southeast',8,8),(4,4,1,0,0,1,1,0,'SilverStripe\\Example\\Region','2019-10-17 02:35:40','2019-10-17 02:35:40','The Southwest','Description about the Southwest',9,8),(5,1,2,1,0,1,1,1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:32:51','The Northeast','Description about the Northeast',6,8),(6,2,2,1,0,1,1,1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:33:43','The Northwest','Description about the Northwest',7,8),(7,3,2,1,0,1,1,1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:34:33','The Southeast','Description about the Southeast',8,8),(8,4,2,1,0,1,1,1,'SilverStripe\\Example\\Region','2019-10-17 02:37:16','2019-10-17 02:35:40','The Southwest','Description about the Southwest',9,8); +/*!40000 ALTER TABLE `SilverStripe_Example_Region_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteConfig` +-- + +DROP TABLE IF EXISTS `SiteConfig`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteConfig` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\SiteConfig\\SiteConfig') DEFAULT 'SilverStripe\\SiteConfig\\SiteConfig', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `Tagline` varchar(255) DEFAULT NULL, + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers') DEFAULT 'Anyone', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers') DEFAULT 'LoggedInUsers', + `CanCreateTopLevelType` enum('LoggedInUsers','OnlyTheseUsers') DEFAULT 'LoggedInUsers', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`) +) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteConfig` +-- + +LOCK TABLES `SiteConfig` WRITE; +/*!40000 ALTER TABLE `SiteConfig` DISABLE KEYS */; +INSERT INTO `SiteConfig` VALUES (1,'SilverStripe\\SiteConfig\\SiteConfig','2019-10-15 05:07:36','2019-10-15 05:07:36','Your Site Name','your tagline here','Anyone','LoggedInUsers','LoggedInUsers'); +/*!40000 ALTER TABLE `SiteConfig` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteConfig_CreateTopLevelGroups` +-- + +DROP TABLE IF EXISTS `SiteConfig_CreateTopLevelGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteConfig_CreateTopLevelGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SiteConfigID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SiteConfigID` (`SiteConfigID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteConfig_CreateTopLevelGroups` +-- + +LOCK TABLES `SiteConfig_CreateTopLevelGroups` WRITE; +/*!40000 ALTER TABLE `SiteConfig_CreateTopLevelGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteConfig_CreateTopLevelGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteConfig_EditorGroups` +-- + +DROP TABLE IF EXISTS `SiteConfig_EditorGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteConfig_EditorGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SiteConfigID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SiteConfigID` (`SiteConfigID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteConfig_EditorGroups` +-- + +LOCK TABLES `SiteConfig_EditorGroups` WRITE; +/*!40000 ALTER TABLE `SiteConfig_EditorGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteConfig_EditorGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteConfig_ViewerGroups` +-- + +DROP TABLE IF EXISTS `SiteConfig_ViewerGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteConfig_ViewerGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SiteConfigID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SiteConfigID` (`SiteConfigID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteConfig_ViewerGroups` +-- + +LOCK TABLES `SiteConfig_ViewerGroups` WRITE; +/*!40000 ALTER TABLE `SiteConfig_ViewerGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteConfig_ViewerGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTree` +-- + +DROP TABLE IF EXISTS `SiteTree`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTree` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'Page', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `Version` int(11) NOT NULL DEFAULT '0', + `URLSegment` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `MenuTitle` varchar(100) DEFAULT NULL, + `Content` mediumtext, + `MetaDescription` mediumtext, + `ExtraMeta` mediumtext, + `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Sort` int(11) NOT NULL DEFAULT '0', + `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', + `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ReportClass` varchar(255) DEFAULT NULL, + `ParentID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `Sort` (`Sort`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `URLSegment` (`URLSegment`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTree` +-- + +LOCK TABLES `SiteTree` WRITE; +/*!40000 ALTER TABLE `SiteTree` DISABLE KEYS */; +INSERT INTO `SiteTree` VALUES (1,'SilverStripe\\Example\\HomePage','2019-10-15 05:07:36','2019-10-15 05:07:36','Inherit','Inherit',2,'home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,0),(2,'Page','2019-10-15 09:51:18','2019-10-15 05:07:36','Inherit','Inherit',4,'about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,0),(3,'Page','2019-10-15 09:52:33','2019-10-15 05:07:37','Inherit','Inherit',6,'contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,7,0,0,NULL,0),(4,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit',2,'page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,8,0,0,NULL,0),(5,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit',2,'server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,9,0,0,NULL,0),(6,'Page','2019-10-15 05:58:41','2019-10-15 05:51:22','Inherit','Inherit',5,'find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,0),(7,'Page','2019-10-15 05:59:28','2019-10-15 05:53:30','Inherit','Inherit',5,'list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,0),(8,'SilverStripe\\Example\\RegionsPage','2019-10-17 02:37:16','2019-10-15 05:55:16','Inherit','Inherit',7,'regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0),(9,'SilverStripe\\Example\\ArticleHolder','2019-10-15 10:28:48','2019-10-15 06:00:25','Inherit','Inherit',7,'travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(10,'SilverStripe\\Example\\ArticlePage','2019-10-17 03:21:47','2019-10-15 09:58:45','Inherit','Inherit',9,'sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(11,'SilverStripe\\Example\\ArticlePage','2019-10-17 03:22:53','2019-10-15 10:01:16','Inherit','Inherit',7,'sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(12,'SilverStripe\\Example\\ArticlePage','2019-10-17 03:24:24','2019-10-15 10:05:04','Inherit','Inherit',7,'sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9); +/*!40000 ALTER TABLE `SiteTree` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTreeLink` +-- + +DROP TABLE IF EXISTS `SiteTreeLink`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTreeLink` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTreeLink') DEFAULT 'SilverStripe\\CMS\\Model\\SiteTreeLink', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `LinkedID` int(11) NOT NULL DEFAULT '0', + `ParentID` int(11) NOT NULL DEFAULT '0', + `ParentClass` enum('SilverStripe\\Example\\ArticleCategory','SilverStripe\\Example\\Region','SilverStripe\\Assets\\File','SilverStripe\\SiteConfig\\SiteConfig','SilverStripe\\Versioned\\ChangeSet','SilverStripe\\Versioned\\ChangeSetItem','SilverStripe\\Assets\\Shortcodes\\FileLink','SilverStripe\\CMS\\Model\\SiteTree','SilverStripe\\CMS\\Model\\SiteTreeLink','SilverStripe\\Security\\Group','SilverStripe\\Security\\LoginAttempt','SilverStripe\\Security\\Member','SilverStripe\\Security\\MemberPassword','SilverStripe\\Security\\Permission','SilverStripe\\Security\\PermissionRole','SilverStripe\\Security\\PermissionRoleCode','SilverStripe\\Security\\RememberLoginHash','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'SilverStripe\\Example\\ArticleCategory', + PRIMARY KEY (`ID`), + KEY `ClassName` (`ClassName`), + KEY `LinkedID` (`LinkedID`), + KEY `Parent` (`ParentID`,`ParentClass`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTreeLink` +-- + +LOCK TABLES `SiteTreeLink` WRITE; +/*!40000 ALTER TABLE `SiteTreeLink` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteTreeLink` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTree_EditorGroups` +-- + +DROP TABLE IF EXISTS `SiteTree_EditorGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTree_EditorGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SiteTreeID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SiteTreeID` (`SiteTreeID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTree_EditorGroups` +-- + +LOCK TABLES `SiteTree_EditorGroups` WRITE; +/*!40000 ALTER TABLE `SiteTree_EditorGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteTree_EditorGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTree_Live` +-- + +DROP TABLE IF EXISTS `SiteTree_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTree_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'Page', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `Version` int(11) NOT NULL DEFAULT '0', + `URLSegment` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `MenuTitle` varchar(100) DEFAULT NULL, + `Content` mediumtext, + `MetaDescription` mediumtext, + `ExtraMeta` mediumtext, + `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Sort` int(11) NOT NULL DEFAULT '0', + `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', + `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ReportClass` varchar(255) DEFAULT NULL, + `ParentID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `Sort` (`Sort`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `URLSegment` (`URLSegment`) +) ENGINE=InnoDB AUTO_INCREMENT=13 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTree_Live` +-- + +LOCK TABLES `SiteTree_Live` WRITE; +/*!40000 ALTER TABLE `SiteTree_Live` DISABLE KEYS */; +INSERT INTO `SiteTree_Live` VALUES (1,'SilverStripe\\Example\\HomePage','2019-10-15 05:07:36','2019-10-15 05:07:36','Inherit','Inherit',2,'home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,0),(2,'Page','2019-10-15 09:51:18','2019-10-15 05:07:36','Inherit','Inherit',4,'about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,0),(3,'Page','2019-10-15 09:52:33','2019-10-15 05:07:37','Inherit','Inherit',6,'contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,7,0,0,NULL,0),(4,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit',2,'page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,8,0,0,NULL,0),(5,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit',2,'server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,9,0,0,NULL,0),(6,'Page','2019-10-15 05:58:41','2019-10-15 05:51:22','Inherit','Inherit',5,'find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,0),(7,'Page','2019-10-15 05:59:28','2019-10-15 05:53:30','Inherit','Inherit',5,'list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,0),(8,'SilverStripe\\Example\\RegionsPage','2019-10-17 02:37:16','2019-10-15 05:55:16','Inherit','Inherit',7,'regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0),(9,'SilverStripe\\Example\\ArticleHolder','2019-10-15 10:28:48','2019-10-15 06:00:25','Inherit','Inherit',7,'travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(10,'SilverStripe\\Example\\ArticlePage','2019-10-16 10:15:16','2019-10-15 09:58:45','Inherit','Inherit',9,'sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(11,'SilverStripe\\Example\\ArticlePage','2019-10-16 07:46:00','2019-10-15 10:01:16','Inherit','Inherit',7,'sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(12,'SilverStripe\\Example\\ArticlePage','2019-10-16 07:46:28','2019-10-15 10:05:04','Inherit','Inherit',7,'sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9); +/*!40000 ALTER TABLE `SiteTree_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTree_Versions` +-- + +DROP TABLE IF EXISTS `SiteTree_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTree_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDeleted` tinyint(1) unsigned NOT NULL DEFAULT '0', + `WasDraft` tinyint(1) unsigned NOT NULL DEFAULT '0', + `AuthorID` int(11) NOT NULL DEFAULT '0', + `PublisherID` int(11) NOT NULL DEFAULT '0', + `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Example\\ArticleHolder','SilverStripe\\Example\\ArticlePage','SilverStripe\\Example\\HomePage','SilverStripe\\Example\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage','SilverStripe\\Lessons\\ArticleHolder','SilverStripe\\Lessons\\ArticlePage') DEFAULT 'Page', + `LastEdited` datetime DEFAULT NULL, + `Created` datetime DEFAULT NULL, + `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', + `URLSegment` varchar(255) DEFAULT NULL, + `Title` varchar(255) DEFAULT NULL, + `MenuTitle` varchar(100) DEFAULT NULL, + `Content` mediumtext, + `MetaDescription` mediumtext, + `ExtraMeta` mediumtext, + `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', + `Sort` int(11) NOT NULL DEFAULT '0', + `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', + `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', + `ReportClass` varchar(255) DEFAULT NULL, + `ParentID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `AuthorID` (`AuthorID`), + KEY `PublisherID` (`PublisherID`), + KEY `Sort` (`Sort`), + KEY `ClassName` (`ClassName`), + KEY `ParentID` (`ParentID`), + KEY `URLSegment` (`URLSegment`) +) ENGINE=InnoDB AUTO_INCREMENT=61 DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTree_Versions` +-- + +LOCK TABLES `SiteTree_Versions` WRITE; +/*!40000 ALTER TABLE `SiteTree_Versions` DISABLE KEYS */; +INSERT INTO `SiteTree_Versions` VALUES (1,1,1,0,0,1,0,0,'SilverStripe\\Example\\HomePage','2019-10-15 05:07:36','2019-10-15 05:07:36','Inherit','Inherit','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,0),(2,1,2,1,0,1,0,0,'SilverStripe\\Example\\HomePage','2019-10-15 05:07:36','2019-10-15 05:07:36','Inherit','Inherit','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,0),(3,2,1,0,0,1,0,0,'Page','2019-10-15 05:07:36','2019-10-15 05:07:36','Inherit','Inherit','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,2,0,0,NULL,0),(4,2,2,1,0,1,0,0,'Page','2019-10-15 05:07:37','2019-10-15 05:07:36','Inherit','Inherit','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,2,0,0,NULL,0),(5,3,1,0,0,1,0,0,'Page','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,3,0,0,NULL,0),(6,3,2,1,0,1,0,0,'Page','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,3,0,0,NULL,0),(7,4,1,0,0,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,4,0,0,NULL,0),(8,4,2,1,0,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,4,0,0,NULL,0),(9,5,1,0,0,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,5,0,0,NULL,0),(10,5,2,1,0,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2019-10-15 05:07:37','2019-10-15 05:07:37','Inherit','Inherit','server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,5,0,0,NULL,0),(11,3,3,1,1,1,1,1,'Page','2019-10-15 05:49:04','2019-10-15 05:07:37','Inherit','Inherit',NULL,NULL,NULL,NULL,NULL,NULL,0,0,0,0,0,NULL,0),(12,6,1,0,0,1,1,0,'Page','2019-10-15 05:51:22','2019-10-15 05:51:22','Inherit','Inherit','new-page','New Page',NULL,NULL,NULL,NULL,1,1,6,0,0,NULL,0),(13,6,2,0,0,1,1,0,'Page','2019-10-15 05:52:06','2019-10-15 05:51:22','Inherit','Inherit','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,6,0,0,NULL,0),(14,6,3,1,0,1,1,1,'Page','2019-10-15 05:52:23','2019-10-15 05:51:22','Inherit','Inherit','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,6,0,0,NULL,0),(15,7,1,0,0,1,1,0,'Page','2019-10-15 05:53:30','2019-10-15 05:53:30','Inherit','Inherit','new-page','New Page',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(16,7,2,0,0,1,1,0,'Page','2019-10-15 05:54:02','2019-10-15 05:53:30','Inherit','Inherit','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(17,7,3,1,0,1,1,1,'Page','2019-10-15 05:54:16','2019-10-15 05:53:30','Inherit','Inherit','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(18,6,4,0,0,1,1,0,'Page','2019-10-15 05:54:54','2019-10-15 05:51:22','Inherit','Inherit','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,0),(19,7,4,0,0,1,1,0,'Page','2019-10-15 05:54:58','2019-10-15 05:53:30','Inherit','Inherit','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,0),(20,8,1,0,0,1,1,0,'Page','2019-10-15 05:55:16','2019-10-15 05:55:16','Inherit','Inherit','new-page','New Page',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(21,8,2,0,0,1,1,0,'Page','2019-10-15 05:56:05','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(22,8,3,1,0,1,1,1,'Page','2019-10-15 05:56:18','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,0),(23,6,5,1,0,1,1,1,'Page','2019-10-15 05:58:41','2019-10-15 05:51:22','Inherit','Inherit','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,0),(24,7,5,1,0,1,1,1,'Page','2019-10-15 05:59:28','2019-10-15 05:53:30','Inherit','Inherit','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,0),(25,9,1,0,0,1,1,0,'SilverStripe\\Lessons\\ArticleHolder','2019-10-15 06:00:25','2019-10-15 06:00:25','Inherit','Inherit','new-article-holder','New Article Holder',NULL,NULL,NULL,NULL,1,1,8,0,0,NULL,0),(26,9,2,0,0,1,1,0,'SilverStripe\\Lessons\\ArticleHolder','2019-10-15 06:01:08','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,8,0,0,NULL,0),(27,9,3,1,0,1,1,1,'SilverStripe\\Lessons\\ArticleHolder','2019-10-15 06:01:20','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,8,0,0,NULL,0),(28,3,4,0,0,1,1,0,'Page','2019-10-15 09:46:53','2019-10-15 05:07:37','Inherit','Inherit','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,3,0,0,NULL,0),(29,3,5,0,0,1,1,0,'Page','2019-10-15 09:47:35','2019-10-15 05:07:37','Inherit','Inherit','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,4,0,0,NULL,0),(30,8,4,0,0,1,1,0,'Page','2019-10-15 09:47:49','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0),(31,9,4,0,0,1,1,0,'SilverStripe\\Lessons\\ArticleHolder','2019-10-15 09:48:35','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(32,2,3,0,0,1,1,0,'Page','2019-10-15 09:48:44','2019-10-15 05:07:36','Inherit','Inherit','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,0),(33,8,5,1,0,1,1,1,'Page','2019-10-15 09:49:10','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0),(34,9,5,1,0,1,1,1,'SilverStripe\\Lessons\\ArticleHolder','2019-10-15 09:50:17','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(35,2,4,1,0,1,1,1,'Page','2019-10-15 09:51:18','2019-10-15 05:07:36','Inherit','Inherit','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,0),(36,3,6,1,0,1,1,1,'Page','2019-10-15 09:52:33','2019-10-15 05:07:37','Inherit','Inherit','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,7,0,0,NULL,0),(37,10,1,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 09:58:45','2019-10-15 09:58:45','Inherit','Inherit','new-article-page','New Article Page',NULL,NULL,NULL,NULL,1,1,1,0,0,NULL,9),(38,10,2,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:00:04','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(39,10,3,1,0,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:00:17','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(40,11,1,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:01:16','2019-10-15 10:01:16','Inherit','Inherit','new-article-page','New Article Page',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,9),(41,11,2,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:01:54','2019-10-15 10:01:16','Inherit','Inherit','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(42,11,3,1,0,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:03:36','2019-10-15 10:01:16','Inherit','Inherit','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(43,12,1,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:05:04','2019-10-15 10:05:04','Inherit','Inherit','new-article-page','New Article Page',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(44,12,2,0,0,1,1,0,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:06:10','2019-10-15 10:05:04','Inherit','Inherit','sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(45,12,3,1,0,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2019-10-15 10:06:26','2019-10-15 10:05:04','Inherit','Inherit','sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(46,9,6,0,0,1,1,0,'SilverStripe\\Example\\ArticleHolder','2019-10-15 10:28:15','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(47,9,7,1,0,1,1,1,'SilverStripe\\Example\\ArticleHolder','2019-10-15 10:28:48','2019-10-15 06:00:25','Inherit','Inherit','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,0),(48,10,4,0,0,1,1,0,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:30:50','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(49,10,5,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:31:40','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(50,11,4,0,0,1,1,0,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:35:37','2019-10-15 10:01:16','Inherit','Inherit','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(51,11,5,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:36:02','2019-10-15 10:01:16','Inherit','Inherit','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(52,12,4,0,0,1,1,0,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:36:06','2019-10-15 10:05:04','Inherit','Inherit','sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(53,12,5,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-15 10:37:26','2019-10-15 10:05:04','Inherit','Inherit','sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(54,10,7,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-16 07:44:22','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(55,11,7,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-16 07:46:00','2019-10-15 10:01:16','Inherit','Inherit','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,9),(56,12,7,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-16 07:46:28','2019-10-15 10:05:04','Inherit','Inherit','sample-article-3','Sample Article 3',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,9),(57,10,8,0,0,1,1,0,'SilverStripe\\Example\\ArticlePage','2019-10-16 10:15:16','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(58,10,9,1,0,1,1,1,'SilverStripe\\Example\\ArticlePage','2019-10-16 10:15:16','2019-10-15 09:58:45','Inherit','Inherit','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,9),(59,8,6,0,0,1,1,0,'SilverStripe\\Example\\RegionsPage','2019-10-17 02:31:30','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0),(60,8,7,1,0,1,1,1,'SilverStripe\\Example\\RegionsPage','2019-10-17 02:37:16','2019-10-15 05:55:16','Inherit','Inherit','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,0); +/*!40000 ALTER TABLE `SiteTree_Versions` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `SiteTree_ViewerGroups` +-- + +DROP TABLE IF EXISTS `SiteTree_ViewerGroups`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `SiteTree_ViewerGroups` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `SiteTreeID` int(11) NOT NULL DEFAULT '0', + `GroupID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `SiteTreeID` (`SiteTreeID`), + KEY `GroupID` (`GroupID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `SiteTree_ViewerGroups` +-- + +LOCK TABLES `SiteTree_ViewerGroups` WRITE; +/*!40000 ALTER TABLE `SiteTree_ViewerGroups` DISABLE KEYS */; +/*!40000 ALTER TABLE `SiteTree_ViewerGroups` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `VirtualPage` +-- + +DROP TABLE IF EXISTS `VirtualPage`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `VirtualPage` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `VersionID` int(11) NOT NULL DEFAULT '0', + `CopyContentFromID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `CopyContentFromID` (`CopyContentFromID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `VirtualPage` +-- + +LOCK TABLES `VirtualPage` WRITE; +/*!40000 ALTER TABLE `VirtualPage` DISABLE KEYS */; +/*!40000 ALTER TABLE `VirtualPage` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `VirtualPage_Live` +-- + +DROP TABLE IF EXISTS `VirtualPage_Live`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `VirtualPage_Live` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `VersionID` int(11) NOT NULL DEFAULT '0', + `CopyContentFromID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + KEY `CopyContentFromID` (`CopyContentFromID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `VirtualPage_Live` +-- + +LOCK TABLES `VirtualPage_Live` WRITE; +/*!40000 ALTER TABLE `VirtualPage_Live` DISABLE KEYS */; +/*!40000 ALTER TABLE `VirtualPage_Live` ENABLE KEYS */; +UNLOCK TABLES; + +-- +-- Table structure for table `VirtualPage_Versions` +-- + +DROP TABLE IF EXISTS `VirtualPage_Versions`; +/*!40101 SET @saved_cs_client = @@character_set_client */; +/*!40101 SET character_set_client = utf8 */; +CREATE TABLE `VirtualPage_Versions` ( + `ID` int(11) NOT NULL AUTO_INCREMENT, + `RecordID` int(11) NOT NULL DEFAULT '0', + `Version` int(11) NOT NULL DEFAULT '0', + `VersionID` int(11) NOT NULL DEFAULT '0', + `CopyContentFromID` int(11) NOT NULL DEFAULT '0', + PRIMARY KEY (`ID`), + UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), + KEY `RecordID` (`RecordID`), + KEY `Version` (`Version`), + KEY `CopyContentFromID` (`CopyContentFromID`) +) ENGINE=InnoDB DEFAULT CHARSET=utf8; +/*!40101 SET character_set_client = @saved_cs_client */; + +-- +-- Dumping data for table `VirtualPage_Versions` +-- + +LOCK TABLES `VirtualPage_Versions` WRITE; +/*!40000 ALTER TABLE `VirtualPage_Versions` DISABLE KEYS */; +/*!40000 ALTER TABLE `VirtualPage_Versions` ENABLE KEYS */; +UNLOCK TABLES; +/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; + +/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; +/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; +/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; +/*!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 */; +/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; + +-- Dump completed on 2019-10-16 14:34:39 diff --git a/Lesson-11-begin/.editorconfig b/Lesson-11-begin/.editorconfig index 9f76bfa..dbb25c6 100644 --- a/Lesson-11-begin/.editorconfig +++ b/Lesson-11-begin/.editorconfig @@ -15,10 +15,6 @@ trim_trailing_whitespace = true [*.md] trim_trailing_whitespace = false -[*.yml] -indent_size = 2 -indent_style = space - [*.{yml,json}] # The indent size used in the `package.json` file cannot be changed # https://github.com/npm/npm/pull/3180#issuecomment-16336516 diff --git a/Lesson-11-begin/.gitignore b/Lesson-11-begin/.gitignore index 2e0ec5f..9b0a32b 100644 --- a/Lesson-11-begin/.gitignore +++ b/Lesson-11-begin/.gitignore @@ -2,8 +2,6 @@ /.env /vendor/ /themes/simple/ -/resources/ -/public/resources/ -/node_modules/ - - +/_resources/ +/public/_resources/ +.devcontainer/mysql-data/ diff --git a/Lesson-11-begin/.htaccess b/Lesson-11-begin/.htaccess new file mode 100644 index 0000000..adbd7c8 --- /dev/null +++ b/Lesson-11-begin/.htaccess @@ -0,0 +1,2 @@ +RewriteEngine On +RewriteRule ^(.*)$ public/$1 diff --git a/Lesson-11-begin/README.md b/Lesson-11-begin/README.md new file mode 100644 index 0000000..5d041de --- /dev/null +++ b/Lesson-11-begin/README.md @@ -0,0 +1,28 @@ +## Overview + +Base project folder for a SilverStripe ([http://silverstripe.org](http://silverstripe.org)) installation. Required modules are installed via [http://github.com/silverstripe/recipe-cms](http://github.com/silverstripe/recipe-cms). For information on how to change the dependencies in a recipe, please have a look at [https://github.com/silverstripe/recipe-plugin](https://github.com/silverstripe/recipe-plugin). In addition, installer includes [theme/simple](https://github.com/silverstripe-themes/silverstripe-simple) as a default theme. + +## Installation ## + +See [installation on different platforms](http://doc.silverstripe.org/framework/en/installation/), +and [installation from source](http://doc.silverstripe.org/framework/en/installation/from-source). + +## Bugtracker ## + +Bugs are tracked on github.com ([framework issues](https://github.com/silverstripe/silverstripe-framework/issues), +[cms issues](https://github.com/silverstripe/silverstripe-cms/issues)). +Please read our [issue reporting guidelines](https://docs.silverstripe.org/en/4/contributing/issues_and_bugs/). + +## Development and Contribution ## + +If you would like to make changes to the SilverStripe core codebase, we have an extensive [guide to contributing code](http://doc.silverstripe.org/framework/en/misc/contributing/code). + +## Links ## + + * [Changelogs](http://doc.silverstripe.org/framework/en/changelogs/) + * [Bugtracker: Framework](https://github.com/silverstripe/silverstripe-framework/issues) + * [Bugtracker: CMS](https://github.com/silverstripe/silverstripe-cms/issues) + * [Bugtracker: Installer](https://github.com/silverstripe/silverstripe-installer/issues) + * [Forums](http://silverstripe.org/forums) + * [Developer Mailinglist](https://groups.google.com/forum/#!forum/silverstripe-dev) + * [License](./LICENSE) diff --git a/Lesson-11-begin/__assets/assets/.gitignore b/Lesson-11-begin/__assets/assets/.gitignore deleted file mode 100644 index d826e24..0000000 --- a/Lesson-11-begin/__assets/assets/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore sensible defaults -/*/ -/error-*.html -/_combinedfiles/ diff --git a/Lesson-11-begin/__assets/assets/.htaccess b/Lesson-11-begin/__assets/assets/.htaccess deleted file mode 100644 index 05d05d3..0000000 --- a/Lesson-11-begin/__assets/assets/.htaccess +++ /dev/null @@ -1,27 +0,0 @@ -# -# Whitelist appropriate assets files. -# This file is automatically generated via File.allowed_extensions configuration -# See AssetAdapter::renderTemplate() for reference. -# - - - SetEnv HTTP_MOD_REWRITE On - RewriteEngine On - - # Disable PHP handler - RewriteCond %{REQUEST_URI} .(?i:php|phtml|php3|php4|php5|inc)$ - RewriteRule .* - [F] - - # Allow error pages - RewriteCond %{REQUEST_FILENAME} -f - RewriteRule error[^\\/]*\.html$ - [L] - - # Block invalid file extensions - RewriteCond %{REQUEST_URI} !\.(?i:ace|arc|arj|asf|au|avi|bmp|bz2|cab|cda|css|csv|dmg|doc|docx|dotx|dotm|flv|gif|gpx|gz|hqx|ico|jar|jpeg|jpg|js|kml|m4a|m4v|mid|midi|mkv|mov|mp3|mp4|mpa|mpeg|mpg|ogg|ogv|pages|pcx|pdf|png|pps|ppt|pptx|potx|potm|ra|ram|rm|rtf|sit|sitx|tar|tgz|tif|tiff|txt|wav|webm|wma|wmv|xls|xlsx|xltx|xltm|zip|zipx)$ - RewriteRule .* - [F] - - # Non existant files passed to requesthandler - RewriteCond %{REQUEST_URI} ^(.*)$ - RewriteCond %{REQUEST_FILENAME} !-f - RewriteRule .* ../framework/main.php?url=%1 [QSA] - diff --git a/Lesson-11-begin/__assets/database.sql b/Lesson-11-begin/__assets/database.sql deleted file mode 100644 index d906531..0000000 --- a/Lesson-11-begin/__assets/database.sql +++ /dev/null @@ -1,1486 +0,0 @@ --- MySQL dump 10.13 Distrib 5.7.17, for osx10.12 (x86_64) --- --- Host: localhost Database: SS_lessons --- ------------------------------------------------------ --- Server version 5.7.17 - -/*!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 */; -/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; -/*!40103 SET TIME_ZONE='+00:00' */; -/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; -/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; -/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; -/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; - --- --- Table structure for table `ChangeSet` --- - -DROP TABLE IF EXISTS `ChangeSet`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ChangeSet` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Versioned\\ChangeSet') DEFAULT 'SilverStripe\\Versioned\\ChangeSet', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Name` varchar(255) DEFAULT NULL, - `State` enum('open','published','reverted') DEFAULT 'open', - `IsInferred` tinyint(1) unsigned NOT NULL DEFAULT '0', - `Description` mediumtext, - `PublishDate` datetime DEFAULT NULL, - `LastSynced` datetime DEFAULT NULL, - `OwnerID` int(11) NOT NULL DEFAULT '0', - `PublisherID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `OwnerID` (`OwnerID`), - KEY `PublisherID` (`PublisherID`) -) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ChangeSet` --- - -LOCK TABLES `ChangeSet` WRITE; -/*!40000 ALTER TABLE `ChangeSet` DISABLE KEYS */; -INSERT INTO `ChangeSet` VALUES (1,'SilverStripe\\Versioned\\ChangeSet','2017-09-12 15:51:23','2017-09-12 15:51:22','Generated by publish of \'Home\' at Sep 12, 2017, 3:51:22 PM','published',1,NULL,'2017-09-12 15:51:23','2017-09-12 15:51:23',0,1),(2,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:38:20','2017-09-13 11:38:20','Generated by publish of \'List Your Rental\' at Sep 13, 2017, 11:38:20 AM','published',1,NULL,'2017-09-13 11:38:20','2017-09-13 11:38:20',0,1),(3,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:38:28','2017-09-13 11:38:28','Generated by publish of \'Find a Rental\' at Sep 13, 2017, 11:38:28 AM','published',1,NULL,'2017-09-13 11:38:28','2017-09-13 11:38:28',0,1),(4,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:38:43','2017-09-13 11:38:43','Generated by publish of \'Regions\' at Sep 13, 2017, 11:38:43 AM','published',1,NULL,'2017-09-13 11:38:43','2017-09-13 11:38:43',0,1),(5,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:39:03','2017-09-13 11:39:03','Generated by publish of \'Travel Guides\' at Sep 13, 2017, 11:39:03 AM','published',1,NULL,'2017-09-13 11:39:03','2017-09-13 11:39:03',0,1),(6,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:39:13','2017-09-13 11:39:12','Generated by publish of \'Travel Guides\' at Sep 13, 2017, 11:39:12 AM','published',1,NULL,'2017-09-13 11:39:13','2017-09-13 11:39:13',0,1),(7,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:30','2017-09-13 11:40:30','Generated by publish of \'Home\' at Sep 13, 2017, 11:40:30 AM','published',1,NULL,'2017-09-13 11:40:30','2017-09-13 11:40:30',0,1),(8,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:30','2017-09-13 11:40:30','Generated by publish of \'Find a Rental\' at Sep 13, 2017, 11:40:30 AM','published',1,NULL,'2017-09-13 11:40:30','2017-09-13 11:40:30',0,1),(9,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:30','2017-09-13 11:40:30','Generated by publish of \'List Your Rental\' at Sep 13, 2017, 11:40:30 AM','published',1,NULL,'2017-09-13 11:40:30','2017-09-13 11:40:30',0,1),(10,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:30','2017-09-13 11:40:30','Generated by publish of \'Regions\' at Sep 13, 2017, 11:40:30 AM','published',1,NULL,'2017-09-13 11:40:30','2017-09-13 11:40:30',0,1),(11,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:30','2017-09-13 11:40:30','Generated by publish of \'Travel Guides\' at Sep 13, 2017, 11:40:30 AM','published',1,NULL,'2017-09-13 11:40:30','2017-09-13 11:40:30',0,1),(12,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:40:37','2017-09-13 11:40:37','Generated by publish of \'About Us\' at Sep 13, 2017, 11:40:37 AM','published',1,NULL,'2017-09-13 11:40:37','2017-09-13 11:40:37',0,1),(13,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:42:26','2017-09-13 11:42:26','Generated by publish of \'Sample Article 1\' at Sep 13, 2017, 11:42:26 AM','published',1,NULL,'2017-09-13 11:42:26','2017-09-13 11:42:26',0,1),(14,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 11:42:48','2017-09-13 11:42:48','Generated by publish of \'Sample Article 2\' at Sep 13, 2017, 11:42:48 AM','published',1,NULL,'2017-09-13 11:42:48','2017-09-13 11:42:48',0,1),(15,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 12:53:49','2017-09-13 12:53:49','Generated by publish of \'Sample Article 1\' at Sep 13, 2017, 12:53:49 PM','published',1,NULL,'2017-09-13 12:53:49','2017-09-13 12:53:49',0,1),(16,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 12:54:14','2017-09-13 12:54:14','Generated by publish of \'Sample Article 1\' at Sep 13, 2017, 12:54:14 PM','published',1,NULL,'2017-09-13 12:54:14','2017-09-13 12:54:14',0,1),(17,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 13:48:49','2017-09-13 13:48:49','Generated by publish of \'Sample Article 1\' at Sep 13, 2017, 1:48:49 PM','published',1,NULL,'2017-09-13 13:48:49','2017-09-13 13:48:49',0,1),(18,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 13:49:05','2017-09-13 13:49:05','Generated by publish of \'Sample Article 2\' at Sep 13, 2017, 1:49:05 PM','published',1,NULL,'2017-09-13 13:49:05','2017-09-13 13:49:05',0,1),(19,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 13:50:11','2017-09-13 13:50:11','Generated by publish of \'Sample Article 2\' at Sep 13, 2017, 1:50:11 PM','published',1,NULL,'2017-09-13 13:50:11','2017-09-13 13:50:11',0,1),(20,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 13:52:13','2017-09-13 13:52:13','Generated by publish of \'Sample Article 2\' at Sep 13, 2017, 1:52:13 PM','published',1,NULL,'2017-09-13 13:52:13','2017-09-13 13:52:13',0,1),(21,'SilverStripe\\Versioned\\ChangeSet','2017-09-13 13:52:29','2017-09-13 13:52:29','Generated by publish of \'Sample Article 2\' at Sep 13, 2017, 1:52:29 PM','published',1,NULL,'2017-09-13 13:52:29','2017-09-13 13:52:29',0,1),(22,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 12:57:55','2017-09-14 12:57:55','Generated by publish of \'Regions\' at Sep 14, 2017, 12:57:55 PM','published',1,NULL,'2017-09-14 12:57:55','2017-09-14 12:57:55',0,1),(23,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:57:58','2017-09-14 13:57:58','Generated by publish of \'The Northeast\' at Sep 14, 2017, 1:57:58 PM','published',1,NULL,'2017-09-14 13:57:58','2017-09-14 13:57:58',0,1),(24,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:58:13','2017-09-14 13:58:13','Generated by publish of \'Regions\' at Sep 14, 2017, 1:58:13 PM','published',1,NULL,'2017-09-14 13:58:13','2017-09-14 13:58:13',0,1),(25,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:59:01','2017-09-14 13:59:00','Generated by publish of \'Regions\' at Sep 14, 2017, 1:59:00 PM','published',1,NULL,'2017-09-14 13:59:01','2017-09-14 13:59:00',0,1),(26,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:59:18','2017-09-14 13:59:18','Generated by publish of \'The Northeast\' at Sep 14, 2017, 1:59:18 PM','published',1,NULL,'2017-09-14 13:59:18','2017-09-14 13:59:18',0,1),(27,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:59:35','2017-09-14 13:59:34','Generated by publish of \'The Southwest\' at Sep 14, 2017, 1:59:34 PM','published',1,NULL,'2017-09-14 13:59:35','2017-09-14 13:59:35',0,1),(28,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 13:59:50','2017-09-14 13:59:50','Generated by publish of \'Regions\' at Sep 14, 2017, 1:59:50 PM','published',1,NULL,'2017-09-14 13:59:50','2017-09-14 13:59:50',0,1),(29,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 14:00:52','2017-09-14 14:00:51','Generated by publish of \'The Southeast\' at Sep 14, 2017, 2:00:51 PM','published',1,NULL,'2017-09-14 14:00:52','2017-09-14 14:00:52',0,1),(30,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 14:09:05','2017-09-14 14:09:04','Generated by publish of \'Sample Article 1\' at Sep 14, 2017, 2:09:04 PM','published',1,NULL,'2017-09-14 14:09:05','2017-09-14 14:09:04',0,1),(31,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 14:10:51','2017-09-14 14:10:50','Generated by publish of \'Regions\' at Sep 14, 2017, 2:10:50 PM','published',1,NULL,'2017-09-14 14:10:51','2017-09-14 14:10:50',0,1),(32,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 14:12:17','2017-09-14 14:12:16','Generated by publish of \'Regions\' at Sep 14, 2017, 2:12:16 PM','published',1,NULL,'2017-09-14 14:12:17','2017-09-14 14:12:16',0,1),(33,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 14:13:34','2017-09-14 14:13:34','Generated by publish of \'tester\' at Sep 14, 2017, 2:13:34 PM','published',1,NULL,'2017-09-14 14:13:34','2017-09-14 14:13:34',0,1),(34,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 15:26:25','2017-09-14 15:26:25','Generated by publish of \'The Northeast\' at Sep 14, 2017, 3:26:25 PM','published',1,NULL,'2017-09-14 15:26:25','2017-09-14 15:26:25',0,1),(35,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 15:26:49','2017-09-14 15:26:48','Generated by publish of \'The Southeast\' at Sep 14, 2017, 3:26:48 PM','published',1,NULL,'2017-09-14 15:26:49','2017-09-14 15:26:49',0,1),(36,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 15:27:19','2017-09-14 15:27:19','Generated by publish of \'The Southwest\' at Sep 14, 2017, 3:27:19 PM','published',1,NULL,'2017-09-14 15:27:19','2017-09-14 15:27:19',0,1),(37,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 15:27:38','2017-09-14 15:27:38','Generated by publish of \'The Northwest\' at Sep 14, 2017, 3:27:38 PM','published',1,NULL,'2017-09-14 15:27:38','2017-09-14 15:27:38',0,1),(38,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 16:16:37','2017-09-14 16:16:37','Generated by publish of \'Sample Article 1\' at Sep 14, 2017, 4:16:37 PM','published',1,NULL,'2017-09-14 16:16:37','2017-09-14 16:16:37',0,1),(39,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 16:18:40','2017-09-14 16:18:39','Generated by publish of \'Sample Article 2\' at Sep 14, 2017, 4:18:39 PM','published',1,NULL,'2017-09-14 16:18:40','2017-09-14 16:18:39',0,1),(40,'SilverStripe\\Versioned\\ChangeSet','2017-09-14 16:18:45','2017-09-14 16:18:45','Generated by publish of \'Sample Article 1\' at Sep 14, 2017, 4:18:45 PM','published',1,NULL,'2017-09-14 16:18:45','2017-09-14 16:18:45',0,1); -/*!40000 ALTER TABLE `ChangeSet` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ChangeSetItem` --- - -DROP TABLE IF EXISTS `ChangeSetItem`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ChangeSetItem` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Versioned\\ChangeSetItem') DEFAULT 'SilverStripe\\Versioned\\ChangeSetItem', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `VersionBefore` int(11) NOT NULL DEFAULT '0', - `VersionAfter` int(11) NOT NULL DEFAULT '0', - `Added` enum('explicitly','implicitly') DEFAULT 'implicitly', - `ChangeSetID` int(11) NOT NULL DEFAULT '0', - `ObjectID` int(11) NOT NULL DEFAULT '0', - `ObjectClass` enum('SilverStripe\\Lessons\\ArticleCategory','SilverStripe\\Lessons\\Region','SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image','SilverStripe\\SiteConfig\\SiteConfig','SilverStripe\\Versioned\\ChangeSet','SilverStripe\\Versioned\\ChangeSetItem','SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Lessons\\ArticleHolder','SilverStripe\\Lessons\\ArticlePage','SilverStripe\\Lessons\\HomePage','SilverStripe\\Lessons\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage','SilverStripe\\Security\\Group','SilverStripe\\Security\\LoginAttempt','SilverStripe\\Security\\Member','SilverStripe\\Security\\MemberPassword','SilverStripe\\Security\\Permission','SilverStripe\\Security\\PermissionRole','SilverStripe\\Security\\PermissionRoleCode','SilverStripe\\Security\\RememberLoginHash') DEFAULT 'SilverStripe\\Lessons\\ArticleCategory', - PRIMARY KEY (`ID`), - UNIQUE KEY `ObjectUniquePerChangeSet` (`ObjectID`,`ObjectClass`,`ChangeSetID`), - KEY `ClassName` (`ClassName`), - KEY `ChangeSetID` (`ChangeSetID`), - KEY `Object` (`ObjectID`,`ObjectClass`) -) ENGINE=InnoDB AUTO_INCREMENT=82 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ChangeSetItem` --- - -LOCK TABLES `ChangeSetItem` WRITE; -/*!40000 ALTER TABLE `ChangeSetItem` DISABLE KEYS */; -INSERT INTO `ChangeSetItem` VALUES (1,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-12 15:51:23','2017-09-12 15:51:23',1,2,'explicitly',1,1,'SilverStripe\\CMS\\Model\\SiteTree'),(2,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:38:20','2017-09-13 11:38:20',0,2,'explicitly',2,7,'SilverStripe\\CMS\\Model\\SiteTree'),(3,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:38:28','2017-09-13 11:38:28',0,2,'explicitly',3,6,'SilverStripe\\CMS\\Model\\SiteTree'),(4,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:38:43','2017-09-13 11:38:43',0,2,'explicitly',4,8,'SilverStripe\\CMS\\Model\\SiteTree'),(5,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:39:03','2017-09-13 11:39:03',0,2,'explicitly',5,9,'SilverStripe\\CMS\\Model\\SiteTree'),(6,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:39:13','2017-09-13 11:39:12',2,3,'explicitly',6,9,'SilverStripe\\CMS\\Model\\SiteTree'),(7,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:30','2017-09-13 11:40:30',2,2,'explicitly',7,1,'SilverStripe\\CMS\\Model\\SiteTree'),(8,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:30','2017-09-13 11:40:30',2,3,'explicitly',8,6,'SilverStripe\\CMS\\Model\\SiteTree'),(9,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:30','2017-09-13 11:40:30',2,4,'explicitly',9,7,'SilverStripe\\CMS\\Model\\SiteTree'),(10,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:30','2017-09-13 11:40:30',2,4,'explicitly',10,8,'SilverStripe\\CMS\\Model\\SiteTree'),(11,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:30','2017-09-13 11:40:30',3,5,'explicitly',11,9,'SilverStripe\\CMS\\Model\\SiteTree'),(12,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:40:37','2017-09-13 11:40:37',1,3,'explicitly',12,2,'SilverStripe\\CMS\\Model\\SiteTree'),(13,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:42:26','2017-09-13 11:42:26',0,2,'explicitly',13,10,'SilverStripe\\CMS\\Model\\SiteTree'),(14,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 11:42:48','2017-09-13 11:42:48',0,2,'explicitly',14,11,'SilverStripe\\CMS\\Model\\SiteTree'),(15,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 12:53:49','2017-09-13 12:53:49',2,2,'explicitly',15,10,'SilverStripe\\CMS\\Model\\SiteTree'),(16,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 12:54:14','2017-09-13 12:54:14',2,3,'explicitly',16,10,'SilverStripe\\CMS\\Model\\SiteTree'),(17,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:48:49','2017-09-13 13:48:49',3,4,'explicitly',17,10,'SilverStripe\\CMS\\Model\\SiteTree'),(18,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:49:05','2017-09-13 13:49:05',2,3,'explicitly',18,11,'SilverStripe\\CMS\\Model\\SiteTree'),(19,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:50:11','2017-09-13 13:50:11',3,3,'explicitly',19,11,'SilverStripe\\CMS\\Model\\SiteTree'),(20,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:52:13','2017-09-13 13:52:13',3,3,'explicitly',20,11,'SilverStripe\\CMS\\Model\\SiteTree'),(22,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:52:13','2017-09-13 13:52:13',0,1,'implicitly',20,6,'SilverStripe\\Assets\\File'),(23,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:52:29','2017-09-13 13:52:29',0,3,'explicitly',21,11,'SilverStripe\\CMS\\Model\\SiteTree'),(25,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-13 13:52:29','2017-09-13 13:52:29',1,1,'implicitly',21,6,'SilverStripe\\Assets\\File'),(26,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 12:57:55','2017-09-14 12:57:55',4,5,'explicitly',22,8,'SilverStripe\\CMS\\Model\\SiteTree'),(27,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:57:58','2017-09-14 13:57:58',0,0,'explicitly',23,1,'SilverStripe\\Lessons\\Region'),(28,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:58:13','2017-09-14 13:58:13',5,5,'explicitly',24,8,'SilverStripe\\CMS\\Model\\SiteTree'),(29,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:58:13','2017-09-14 13:58:13',0,0,'implicitly',24,1,'SilverStripe\\Lessons\\Region'),(30,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:58:13','2017-09-14 13:58:13',0,0,'implicitly',24,2,'SilverStripe\\Lessons\\Region'),(31,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:58:13','2017-09-14 13:58:13',0,0,'implicitly',24,3,'SilverStripe\\Lessons\\Region'),(32,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:58:13','2017-09-14 13:58:13',0,0,'implicitly',24,4,'SilverStripe\\Lessons\\Region'),(33,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:00','2017-09-14 13:59:00',5,5,'explicitly',25,8,'SilverStripe\\CMS\\Model\\SiteTree'),(34,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:00','2017-09-14 13:59:00',0,0,'implicitly',25,1,'SilverStripe\\Lessons\\Region'),(35,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:00','2017-09-14 13:59:00',0,0,'implicitly',25,2,'SilverStripe\\Lessons\\Region'),(36,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:00','2017-09-14 13:59:00',0,0,'implicitly',25,3,'SilverStripe\\Lessons\\Region'),(37,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:00','2017-09-14 13:59:00',0,0,'implicitly',25,4,'SilverStripe\\Lessons\\Region'),(38,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:18','2017-09-14 13:59:18',0,0,'explicitly',26,1,'SilverStripe\\Lessons\\Region'),(39,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:35','2017-09-14 13:59:35',0,0,'explicitly',27,2,'SilverStripe\\Lessons\\Region'),(40,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:50','2017-09-14 13:59:50',5,5,'explicitly',28,8,'SilverStripe\\CMS\\Model\\SiteTree'),(41,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:50','2017-09-14 13:59:50',0,0,'implicitly',28,1,'SilverStripe\\Lessons\\Region'),(42,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:50','2017-09-14 13:59:50',0,0,'implicitly',28,2,'SilverStripe\\Lessons\\Region'),(43,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:50','2017-09-14 13:59:50',0,0,'implicitly',28,3,'SilverStripe\\Lessons\\Region'),(44,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 13:59:50','2017-09-14 13:59:50',0,0,'implicitly',28,4,'SilverStripe\\Lessons\\Region'),(45,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:00:52','2017-09-14 14:00:51',0,0,'explicitly',29,4,'SilverStripe\\Lessons\\Region'),(46,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:09:04','2017-09-14 14:09:04',4,4,'explicitly',30,10,'SilverStripe\\CMS\\Model\\SiteTree'),(47,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:09:05','2017-09-14 14:09:04',0,1,'implicitly',30,3,'SilverStripe\\Assets\\File'),(48,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:09:05','2017-09-14 14:09:04',0,1,'implicitly',30,4,'SilverStripe\\Assets\\File'),(49,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:10:50','2017-09-14 14:10:50',5,5,'explicitly',31,8,'SilverStripe\\CMS\\Model\\SiteTree'),(50,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:10:51','2017-09-14 14:10:50',0,0,'implicitly',31,1,'SilverStripe\\Lessons\\Region'),(51,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:10:51','2017-09-14 14:10:50',0,0,'implicitly',31,2,'SilverStripe\\Lessons\\Region'),(52,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:10:51','2017-09-14 14:10:50',0,0,'implicitly',31,3,'SilverStripe\\Lessons\\Region'),(53,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:10:51','2017-09-14 14:10:50',0,0,'implicitly',31,4,'SilverStripe\\Lessons\\Region'),(54,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',5,5,'explicitly',32,8,'SilverStripe\\CMS\\Model\\SiteTree'),(55,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',0,0,'implicitly',32,1,'SilverStripe\\Lessons\\Region'),(56,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',0,0,'implicitly',32,2,'SilverStripe\\Lessons\\Region'),(57,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',0,0,'implicitly',32,3,'SilverStripe\\Lessons\\Region'),(58,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',0,0,'implicitly',32,4,'SilverStripe\\Lessons\\Region'),(59,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:16','2017-09-14 14:12:16',0,1,'implicitly',32,8,'SilverStripe\\Assets\\File'),(60,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:17','2017-09-14 14:12:16',0,1,'implicitly',32,10,'SilverStripe\\Assets\\File'),(61,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:17','2017-09-14 14:12:16',0,1,'implicitly',32,11,'SilverStripe\\Assets\\File'),(62,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:12:17','2017-09-14 14:12:16',0,1,'implicitly',32,9,'SilverStripe\\Assets\\File'),(64,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 14:13:34','2017-09-14 14:13:34',1,1,'implicitly',33,10,'SilverStripe\\Assets\\File'),(65,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:26:25','2017-09-14 15:26:25',0,1,'explicitly',34,1,'SilverStripe\\Lessons\\Region'),(66,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:26:25','2017-09-14 15:26:25',1,1,'implicitly',34,11,'SilverStripe\\Assets\\File'),(67,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:26:49','2017-09-14 15:26:48',0,1,'explicitly',35,2,'SilverStripe\\Lessons\\Region'),(68,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:26:49','2017-09-14 15:26:48',1,1,'implicitly',35,10,'SilverStripe\\Assets\\File'),(69,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:27:19','2017-09-14 15:27:19',0,1,'explicitly',36,3,'SilverStripe\\Lessons\\Region'),(70,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:27:19','2017-09-14 15:27:19',1,1,'implicitly',36,8,'SilverStripe\\Assets\\File'),(71,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:27:38','2017-09-14 15:27:38',0,1,'explicitly',37,4,'SilverStripe\\Lessons\\Region'),(72,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 15:27:38','2017-09-14 15:27:38',1,1,'implicitly',37,9,'SilverStripe\\Assets\\File'),(73,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:16:37','2017-09-14 16:16:37',4,4,'explicitly',38,10,'SilverStripe\\CMS\\Model\\SiteTree'),(74,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:16:37','2017-09-14 16:16:37',1,1,'implicitly',38,3,'SilverStripe\\Assets\\File'),(75,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:16:37','2017-09-14 16:16:37',1,1,'implicitly',38,4,'SilverStripe\\Assets\\File'),(76,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:39','2017-09-14 16:18:39',3,3,'explicitly',39,11,'SilverStripe\\CMS\\Model\\SiteTree'),(77,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:39','2017-09-14 16:18:39',1,1,'implicitly',39,5,'SilverStripe\\Assets\\File'),(78,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:39','2017-09-14 16:18:39',1,1,'implicitly',39,6,'SilverStripe\\Assets\\File'),(79,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:45','2017-09-14 16:18:45',4,4,'explicitly',40,10,'SilverStripe\\CMS\\Model\\SiteTree'),(80,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:45','2017-09-14 16:18:45',1,1,'implicitly',40,3,'SilverStripe\\Assets\\File'),(81,'SilverStripe\\Versioned\\ChangeSetItem','2017-09-14 16:18:45','2017-09-14 16:18:45',1,1,'implicitly',40,4,'SilverStripe\\Assets\\File'); -/*!40000 ALTER TABLE `ChangeSetItem` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ChangeSetItem_ReferencedBy` --- - -DROP TABLE IF EXISTS `ChangeSetItem_ReferencedBy`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ChangeSetItem_ReferencedBy` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ChangeSetItemID` int(11) NOT NULL DEFAULT '0', - `ChildID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ChangeSetItemID` (`ChangeSetItemID`), - KEY `ChildID` (`ChildID`) -) ENGINE=InnoDB AUTO_INCREMENT=42 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ChangeSetItem_ReferencedBy` --- - -LOCK TABLES `ChangeSetItem_ReferencedBy` WRITE; -/*!40000 ALTER TABLE `ChangeSetItem_ReferencedBy` DISABLE KEYS */; -INSERT INTO `ChangeSetItem_ReferencedBy` VALUES (1,21,20),(2,22,20),(3,24,23),(4,25,23),(5,29,28),(6,30,28),(7,31,28),(8,32,28),(9,34,33),(10,35,33),(11,36,33),(12,37,33),(13,41,40),(14,42,40),(15,43,40),(16,44,40),(17,47,46),(18,48,46),(19,50,49),(20,51,49),(21,52,49),(22,53,49),(23,55,54),(24,56,54),(25,57,54),(26,58,54),(27,59,54),(28,60,54),(29,61,54),(30,62,54),(31,64,63),(32,66,65),(33,68,67),(34,70,69),(35,72,71),(36,74,73),(37,75,73),(38,77,76),(39,78,76),(40,80,79),(41,81,79); -/*!40000 ALTER TABLE `ChangeSetItem_ReferencedBy` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ErrorPage` --- - -DROP TABLE IF EXISTS `ErrorPage`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ErrorPage` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ErrorCode` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ErrorPage` --- - -LOCK TABLES `ErrorPage` WRITE; -/*!40000 ALTER TABLE `ErrorPage` DISABLE KEYS */; -INSERT INTO `ErrorPage` VALUES (4,404),(5,500); -/*!40000 ALTER TABLE `ErrorPage` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ErrorPage_Live` --- - -DROP TABLE IF EXISTS `ErrorPage_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ErrorPage_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ErrorCode` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ErrorPage_Live` --- - -LOCK TABLES `ErrorPage_Live` WRITE; -/*!40000 ALTER TABLE `ErrorPage_Live` DISABLE KEYS */; -INSERT INTO `ErrorPage_Live` VALUES (4,404),(5,500); -/*!40000 ALTER TABLE `ErrorPage_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `ErrorPage_Versions` --- - -DROP TABLE IF EXISTS `ErrorPage_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `ErrorPage_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `ErrorCode` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `ErrorPage_Versions` --- - -LOCK TABLES `ErrorPage_Versions` WRITE; -/*!40000 ALTER TABLE `ErrorPage_Versions` DISABLE KEYS */; -INSERT INTO `ErrorPage_Versions` VALUES (1,4,1,404),(2,5,1,500); -/*!40000 ALTER TABLE `ErrorPage_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `File` --- - -DROP TABLE IF EXISTS `File`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `File` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Name` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `Version` int(11) NOT NULL DEFAULT '0', - `ParentID` int(11) NOT NULL DEFAULT '0', - `OwnerID` int(11) NOT NULL DEFAULT '0', - `FileHash` varchar(255) DEFAULT NULL, - `FileFilename` varchar(255) DEFAULT NULL, - `FileVariant` varchar(255) DEFAULT NULL, - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `OwnerID` (`OwnerID`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `File` --- - -LOCK TABLES `File` WRITE; -/*!40000 ALTER TABLE `File` DISABLE KEYS */; -INSERT INTO `File` VALUES (1,'SilverStripe\\Assets\\Folder','2017-09-14 14:09:04','2017-09-13 13:45:48','travel-photos','travel-photos',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(2,'SilverStripe\\Assets\\Folder','2017-09-14 14:09:05','2017-09-13 13:45:48','travel-brochures','travel-brochures',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(3,'SilverStripe\\Assets\\Image','2017-09-14 14:09:04','2017-09-13 13:46:24','mock_file_1.jpeg','mock file 1',1,'Inherit','Inherit',1,1,1,'df481bc37fcf2e9b686e2e8c34eec206ebaf6255','travel-photos/mock_file_1.jpeg',NULL),(4,'SilverStripe\\Assets\\File','2017-09-14 14:09:05','2017-09-13 13:48:43','example-pdf.pdf','example pdf',1,'Inherit','Inherit',1,2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf.pdf',NULL),(5,'SilverStripe\\Assets\\Image','2017-09-13 13:52:13','2017-09-13 13:48:59','mock_file_2.jpeg','mock file 2',1,'Inherit','Inherit',1,1,1,'e7d72e1c5ed5f953285586bc3ea48f197a1dfb2c','travel-photos/mock_file_2.jpeg',NULL),(6,'SilverStripe\\Assets\\File','2017-09-13 13:52:13','2017-09-13 13:49:03','example-pdf-v2.pdf','example pdf v2',1,'Inherit','Inherit',1,2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf-v2.pdf',NULL),(7,'SilverStripe\\Assets\\Folder','2017-09-14 14:12:17','2017-09-14 12:58:05','region-photos','region-photos',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(8,'SilverStripe\\Assets\\Image','2017-09-14 14:12:16','2017-09-14 12:58:36','mock_file_5.jpeg','mock file 5',1,'Inherit','Inherit',1,7,1,'99eb2e15329f3f387524310a3d439aab4b92a9a9','region-photos/mock_file_5.jpeg',NULL),(9,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:36','mock_file_7.jpeg','mock file 7',1,'Inherit','Inherit',1,7,1,'e5b9b590f02f82fec9e0d5dae8d3be14563f6b57','region-photos/mock_file_7.jpeg',NULL),(10,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:37','mock_file_10.jpeg','mock file 10',1,'Inherit','Inherit',1,7,1,'5e856cff3078b3b328bee136606de028aab67609','region-photos/mock_file_10.jpeg',NULL),(11,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:37','mock-file-3.jpeg','mock file 3',1,'Inherit','Inherit',1,7,1,'9f0202c6cb0a29c46052feeb7f4880d1f048a9c2','region-photos/mock-file-3.jpeg',NULL); -/*!40000 ALTER TABLE `File` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `File_EditorGroups` --- - -DROP TABLE IF EXISTS `File_EditorGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `File_EditorGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `FileID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `FileID` (`FileID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `File_EditorGroups` --- - -LOCK TABLES `File_EditorGroups` WRITE; -/*!40000 ALTER TABLE `File_EditorGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `File_EditorGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `File_Live` --- - -DROP TABLE IF EXISTS `File_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `File_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Name` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `Version` int(11) NOT NULL DEFAULT '0', - `ParentID` int(11) NOT NULL DEFAULT '0', - `OwnerID` int(11) NOT NULL DEFAULT '0', - `FileHash` varchar(255) DEFAULT NULL, - `FileFilename` varchar(255) DEFAULT NULL, - `FileVariant` varchar(255) DEFAULT NULL, - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `OwnerID` (`OwnerID`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `File_Live` --- - -LOCK TABLES `File_Live` WRITE; -/*!40000 ALTER TABLE `File_Live` DISABLE KEYS */; -INSERT INTO `File_Live` VALUES (1,'SilverStripe\\Assets\\Folder','2017-09-14 14:09:04','2017-09-13 13:45:48','travel-photos','travel-photos',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(2,'SilverStripe\\Assets\\Folder','2017-09-14 14:09:05','2017-09-13 13:45:48','travel-brochures','travel-brochures',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(3,'SilverStripe\\Assets\\Image','2017-09-14 14:09:04','2017-09-13 13:46:24','mock_file_1.jpeg','mock file 1',1,'Inherit','Inherit',1,1,1,'df481bc37fcf2e9b686e2e8c34eec206ebaf6255','travel-photos/mock_file_1.jpeg',NULL),(4,'SilverStripe\\Assets\\File','2017-09-14 14:09:05','2017-09-13 13:48:43','example-pdf.pdf','example pdf',1,'Inherit','Inherit',1,2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf.pdf',NULL),(5,'SilverStripe\\Assets\\Image','2017-09-13 13:52:13','2017-09-13 13:48:59','mock_file_2.jpeg','mock file 2',1,'Inherit','Inherit',1,1,1,'e7d72e1c5ed5f953285586bc3ea48f197a1dfb2c','travel-photos/mock_file_2.jpeg',NULL),(6,'SilverStripe\\Assets\\File','2017-09-13 13:52:13','2017-09-13 13:49:03','example-pdf-v2.pdf','example pdf v2',1,'Inherit','Inherit',1,2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf-v2.pdf',NULL),(7,'SilverStripe\\Assets\\Folder','2017-09-14 14:12:17','2017-09-14 12:58:05','region-photos','region-photos',1,'Inherit','Inherit',1,0,1,NULL,NULL,NULL),(8,'SilverStripe\\Assets\\Image','2017-09-14 14:12:16','2017-09-14 12:58:36','mock_file_5.jpeg','mock file 5',1,'Inherit','Inherit',1,7,1,'99eb2e15329f3f387524310a3d439aab4b92a9a9','region-photos/mock_file_5.jpeg',NULL),(9,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:36','mock_file_7.jpeg','mock file 7',1,'Inherit','Inherit',1,7,1,'e5b9b590f02f82fec9e0d5dae8d3be14563f6b57','region-photos/mock_file_7.jpeg',NULL),(10,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:37','mock_file_10.jpeg','mock file 10',1,'Inherit','Inherit',1,7,1,'5e856cff3078b3b328bee136606de028aab67609','region-photos/mock_file_10.jpeg',NULL),(11,'SilverStripe\\Assets\\Image','2017-09-14 14:12:17','2017-09-14 12:58:37','mock-file-3.jpeg','mock file 3',1,'Inherit','Inherit',1,7,1,'9f0202c6cb0a29c46052feeb7f4880d1f048a9c2','region-photos/mock-file-3.jpeg',NULL); -/*!40000 ALTER TABLE `File_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `File_Versions` --- - -DROP TABLE IF EXISTS `File_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `File_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', - `AuthorID` int(11) NOT NULL DEFAULT '0', - `PublisherID` int(11) NOT NULL DEFAULT '0', - `ClassName` enum('SilverStripe\\Assets\\File','SilverStripe\\Assets\\Folder','SilverStripe\\Assets\\Image') DEFAULT 'SilverStripe\\Assets\\File', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Name` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '1', - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `ParentID` int(11) NOT NULL DEFAULT '0', - `OwnerID` int(11) NOT NULL DEFAULT '0', - `FileHash` varchar(255) DEFAULT NULL, - `FileFilename` varchar(255) DEFAULT NULL, - `FileVariant` varchar(255) DEFAULT NULL, - PRIMARY KEY (`ID`), - KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `AuthorID` (`AuthorID`), - KEY `PublisherID` (`PublisherID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `OwnerID` (`OwnerID`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `File_Versions` --- - -LOCK TABLES `File_Versions` WRITE; -/*!40000 ALTER TABLE `File_Versions` DISABLE KEYS */; -INSERT INTO `File_Versions` VALUES (1,1,1,1,1,1,'SilverStripe\\Assets\\Folder','2017-09-13 13:45:48','2017-09-13 13:45:48','travel-photos','travel-photos',1,'Inherit','Inherit',0,1,NULL,NULL,NULL),(2,2,1,1,1,1,'SilverStripe\\Assets\\Folder','2017-09-13 13:45:48','2017-09-13 13:45:48','travel-brochures','travel-brochures',1,'Inherit','Inherit',0,1,NULL,NULL,NULL),(3,3,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-13 13:46:24','2017-09-13 13:46:24','mock_file_1.jpeg','mock file 1',1,'Inherit','Inherit',1,1,'df481bc37fcf2e9b686e2e8c34eec206ebaf6255','travel-photos/mock_file_1.jpeg',NULL),(4,4,1,1,1,1,'SilverStripe\\Assets\\File','2017-09-13 13:48:43','2017-09-13 13:48:43','example-pdf.pdf','example pdf',1,'Inherit','Inherit',2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf.pdf',NULL),(5,5,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-13 13:48:59','2017-09-13 13:48:59','mock_file_2.jpeg','mock file 2',1,'Inherit','Inherit',1,1,'e7d72e1c5ed5f953285586bc3ea48f197a1dfb2c','travel-photos/mock_file_2.jpeg',NULL),(6,6,1,1,1,1,'SilverStripe\\Assets\\File','2017-09-13 13:49:03','2017-09-13 13:49:03','example-pdf-v2.pdf','example pdf v2',1,'Inherit','Inherit',2,1,'957e89b7197175fa055f968b6da870958e0b14c9','travel-brochures/example-pdf-v2.pdf',NULL),(7,7,1,1,1,1,'SilverStripe\\Assets\\Folder','2017-09-14 12:58:05','2017-09-14 12:58:05','region-photos','region-photos',1,'Inherit','Inherit',0,1,NULL,NULL,NULL),(8,8,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-14 12:58:36','2017-09-14 12:58:36','mock_file_5.jpeg','mock file 5',1,'Inherit','Inherit',7,1,'99eb2e15329f3f387524310a3d439aab4b92a9a9','region-photos/mock_file_5.jpeg',NULL),(9,9,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-14 12:58:36','2017-09-14 12:58:36','mock_file_7.jpeg','mock file 7',1,'Inherit','Inherit',7,1,'e5b9b590f02f82fec9e0d5dae8d3be14563f6b57','region-photos/mock_file_7.jpeg',NULL),(10,10,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-14 12:58:37','2017-09-14 12:58:37','mock_file_10.jpeg','mock file 10',1,'Inherit','Inherit',7,1,'5e856cff3078b3b328bee136606de028aab67609','region-photos/mock_file_10.jpeg',NULL),(11,11,1,1,1,1,'SilverStripe\\Assets\\Image','2017-09-14 12:58:37','2017-09-14 12:58:37','mock-file-3.jpeg','mock file 3',1,'Inherit','Inherit',7,1,'9f0202c6cb0a29c46052feeb7f4880d1f048a9c2','region-photos/mock-file-3.jpeg',NULL); -/*!40000 ALTER TABLE `File_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `File_ViewerGroups` --- - -DROP TABLE IF EXISTS `File_ViewerGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `File_ViewerGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `FileID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `FileID` (`FileID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `File_ViewerGroups` --- - -LOCK TABLES `File_ViewerGroups` WRITE; -/*!40000 ALTER TABLE `File_ViewerGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `File_ViewerGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `Group` --- - -DROP TABLE IF EXISTS `Group`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Group` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\Group') DEFAULT 'SilverStripe\\Security\\Group', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `Description` mediumtext, - `Code` varchar(255) DEFAULT NULL, - `Locked` tinyint(1) unsigned NOT NULL DEFAULT '0', - `Sort` int(11) NOT NULL DEFAULT '0', - `HtmlEditorConfig` mediumtext, - `ParentID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`) -) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `Group` --- - -LOCK TABLES `Group` WRITE; -/*!40000 ALTER TABLE `Group` DISABLE KEYS */; -INSERT INTO `Group` VALUES (1,'SilverStripe\\Security\\Group','2017-09-12 11:04:00','2017-09-12 11:04:00','Content Authors',NULL,'content-authors',0,1,NULL,0),(2,'SilverStripe\\Security\\Group','2017-09-12 11:04:00','2017-09-12 11:04:00','Administrators',NULL,'administrators',0,0,NULL,0); -/*!40000 ALTER TABLE `Group` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `Group_Members` --- - -DROP TABLE IF EXISTS `Group_Members`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Group_Members` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `GroupID` int(11) NOT NULL DEFAULT '0', - `MemberID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `GroupID` (`GroupID`), - KEY `MemberID` (`MemberID`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `Group_Members` --- - -LOCK TABLES `Group_Members` WRITE; -/*!40000 ALTER TABLE `Group_Members` DISABLE KEYS */; -INSERT INTO `Group_Members` VALUES (1,2,1); -/*!40000 ALTER TABLE `Group_Members` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `Group_Roles` --- - -DROP TABLE IF EXISTS `Group_Roles`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Group_Roles` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `GroupID` int(11) NOT NULL DEFAULT '0', - `PermissionRoleID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `GroupID` (`GroupID`), - KEY `PermissionRoleID` (`PermissionRoleID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `Group_Roles` --- - -LOCK TABLES `Group_Roles` WRITE; -/*!40000 ALTER TABLE `Group_Roles` DISABLE KEYS */; -/*!40000 ALTER TABLE `Group_Roles` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `LoginAttempt` --- - -DROP TABLE IF EXISTS `LoginAttempt`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `LoginAttempt` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\LoginAttempt') DEFAULT 'SilverStripe\\Security\\LoginAttempt', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Email` varchar(255) DEFAULT NULL, - `Status` enum('Success','Failure') DEFAULT 'Success', - `IP` varchar(255) DEFAULT NULL, - `MemberID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `MemberID` (`MemberID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `LoginAttempt` --- - -LOCK TABLES `LoginAttempt` WRITE; -/*!40000 ALTER TABLE `LoginAttempt` DISABLE KEYS */; -/*!40000 ALTER TABLE `LoginAttempt` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `Member` --- - -DROP TABLE IF EXISTS `Member`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Member` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\Member') DEFAULT 'SilverStripe\\Security\\Member', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `FirstName` varchar(255) DEFAULT NULL, - `Surname` varchar(255) DEFAULT NULL, - `Email` varchar(254) DEFAULT NULL, - `TempIDHash` varchar(160) DEFAULT NULL, - `TempIDExpired` datetime DEFAULT NULL, - `Password` varchar(160) DEFAULT NULL, - `AutoLoginHash` varchar(160) DEFAULT NULL, - `AutoLoginExpired` datetime DEFAULT NULL, - `PasswordEncryption` varchar(50) DEFAULT NULL, - `Salt` varchar(50) DEFAULT NULL, - `PasswordExpiry` date DEFAULT NULL, - `LockedOutUntil` datetime DEFAULT NULL, - `Locale` varchar(6) DEFAULT NULL, - `FailedLoginCount` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `Email` (`Email`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `Member` --- - -LOCK TABLES `Member` WRITE; -/*!40000 ALTER TABLE `Member` DISABLE KEYS */; -INSERT INTO `Member` VALUES (1,'SilverStripe\\Security\\Member','2017-09-14 12:57:42','2017-09-12 11:04:00','Default Admin',NULL,'root','19c29b75a1c62d6b66c58cdf6df8710e029b34d8','2017-09-17 12:57:42',NULL,NULL,NULL,NULL,NULL,NULL,NULL,'en_US',0); -/*!40000 ALTER TABLE `Member` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `MemberPassword` --- - -DROP TABLE IF EXISTS `MemberPassword`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `MemberPassword` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\MemberPassword') DEFAULT 'SilverStripe\\Security\\MemberPassword', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Password` varchar(160) DEFAULT NULL, - `Salt` varchar(50) DEFAULT NULL, - `PasswordEncryption` varchar(50) DEFAULT NULL, - `MemberID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `MemberID` (`MemberID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `MemberPassword` --- - -LOCK TABLES `MemberPassword` WRITE; -/*!40000 ALTER TABLE `MemberPassword` DISABLE KEYS */; -/*!40000 ALTER TABLE `MemberPassword` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `Permission` --- - -DROP TABLE IF EXISTS `Permission`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `Permission` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\Permission') DEFAULT 'SilverStripe\\Security\\Permission', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Code` varchar(255) DEFAULT NULL, - `Arg` int(11) NOT NULL DEFAULT '0', - `Type` int(11) NOT NULL DEFAULT '1', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `GroupID` (`GroupID`), - KEY `Code` (`Code`) -) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `Permission` --- - -LOCK TABLES `Permission` WRITE; -/*!40000 ALTER TABLE `Permission` DISABLE KEYS */; -INSERT INTO `Permission` VALUES (1,'SilverStripe\\Security\\Permission','2017-09-12 11:04:00','2017-09-12 11:04:00','CMS_ACCESS_CMSMain',0,1,1),(2,'SilverStripe\\Security\\Permission','2017-09-12 11:04:00','2017-09-12 11:04:00','CMS_ACCESS_AssetAdmin',0,1,1),(3,'SilverStripe\\Security\\Permission','2017-09-12 11:04:00','2017-09-12 11:04:00','CMS_ACCESS_ReportAdmin',0,1,1),(4,'SilverStripe\\Security\\Permission','2017-09-12 11:04:00','2017-09-12 11:04:00','SITETREE_REORGANISE',0,1,1),(5,'SilverStripe\\Security\\Permission','2017-09-12 11:04:00','2017-09-12 11:04:00','ADMIN',0,1,2); -/*!40000 ALTER TABLE `Permission` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `PermissionRole` --- - -DROP TABLE IF EXISTS `PermissionRole`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `PermissionRole` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\PermissionRole') DEFAULT 'SilverStripe\\Security\\PermissionRole', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `OnlyAdminCanApply` tinyint(1) unsigned NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `PermissionRole` --- - -LOCK TABLES `PermissionRole` WRITE; -/*!40000 ALTER TABLE `PermissionRole` DISABLE KEYS */; -/*!40000 ALTER TABLE `PermissionRole` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `PermissionRoleCode` --- - -DROP TABLE IF EXISTS `PermissionRoleCode`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `PermissionRoleCode` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\PermissionRoleCode') DEFAULT 'SilverStripe\\Security\\PermissionRoleCode', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Code` varchar(255) DEFAULT NULL, - `RoleID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `RoleID` (`RoleID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `PermissionRoleCode` --- - -LOCK TABLES `PermissionRoleCode` WRITE; -/*!40000 ALTER TABLE `PermissionRoleCode` DISABLE KEYS */; -/*!40000 ALTER TABLE `PermissionRoleCode` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `RedirectorPage` --- - -DROP TABLE IF EXISTS `RedirectorPage`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `RedirectorPage` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RedirectionType` enum('Internal','External') DEFAULT 'Internal', - `ExternalURL` varchar(2083) DEFAULT NULL, - `LinkToID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `LinkToID` (`LinkToID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `RedirectorPage` --- - -LOCK TABLES `RedirectorPage` WRITE; -/*!40000 ALTER TABLE `RedirectorPage` DISABLE KEYS */; -/*!40000 ALTER TABLE `RedirectorPage` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `RedirectorPage_Live` --- - -DROP TABLE IF EXISTS `RedirectorPage_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `RedirectorPage_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RedirectionType` enum('Internal','External') DEFAULT 'Internal', - `ExternalURL` varchar(2083) DEFAULT NULL, - `LinkToID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `LinkToID` (`LinkToID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `RedirectorPage_Live` --- - -LOCK TABLES `RedirectorPage_Live` WRITE; -/*!40000 ALTER TABLE `RedirectorPage_Live` DISABLE KEYS */; -/*!40000 ALTER TABLE `RedirectorPage_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `RedirectorPage_Versions` --- - -DROP TABLE IF EXISTS `RedirectorPage_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `RedirectorPage_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `RedirectionType` enum('Internal','External') DEFAULT 'Internal', - `ExternalURL` varchar(2083) DEFAULT NULL, - `LinkToID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `LinkToID` (`LinkToID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `RedirectorPage_Versions` --- - -LOCK TABLES `RedirectorPage_Versions` WRITE; -/*!40000 ALTER TABLE `RedirectorPage_Versions` DISABLE KEYS */; -/*!40000 ALTER TABLE `RedirectorPage_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `RememberLoginHash` --- - -DROP TABLE IF EXISTS `RememberLoginHash`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `RememberLoginHash` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Security\\RememberLoginHash') DEFAULT 'SilverStripe\\Security\\RememberLoginHash', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `DeviceID` varchar(40) DEFAULT NULL, - `Hash` varchar(160) DEFAULT NULL, - `ExpiryDate` datetime DEFAULT NULL, - `MemberID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `MemberID` (`MemberID`), - KEY `DeviceID` (`DeviceID`), - KEY `Hash` (`Hash`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `RememberLoginHash` --- - -LOCK TABLES `RememberLoginHash` WRITE; -/*!40000 ALTER TABLE `RememberLoginHash` DISABLE KEYS */; -/*!40000 ALTER TABLE `RememberLoginHash` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_ArticleCategory` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_ArticleCategory`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_ArticleCategory` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Lessons\\ArticleCategory') DEFAULT 'SilverStripe\\Lessons\\ArticleCategory', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `ArticleHolderID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ArticleHolderID` (`ArticleHolderID`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_ArticleCategory` --- - -LOCK TABLES `SilverStripe_Lessons_ArticleCategory` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticleCategory` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_ArticleCategory` VALUES (1,'SilverStripe\\Lessons\\ArticleCategory','2017-09-14 16:13:52','2017-09-14 16:13:52','Properties',9),(2,'SilverStripe\\Lessons\\ArticleCategory','2017-09-14 16:14:01','2017-09-14 16:14:01','Prices',9),(3,'SilverStripe\\Lessons\\ArticleCategory','2017-09-14 16:14:08','2017-09-14 16:14:08','Best deals',9); -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticleCategory` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_ArticlePage` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_ArticlePage`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_ArticlePage` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `Date` date DEFAULT NULL, - `Teaser` mediumtext, - `Author` varchar(255) DEFAULT NULL, - `PhotoID` int(11) NOT NULL DEFAULT '0', - `BrochureID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `PhotoID` (`PhotoID`), - KEY `BrochureID` (`BrochureID`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_ArticlePage` --- - -LOCK TABLES `SilverStripe_Lessons_ArticlePage` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_ArticlePage` VALUES (10,'2017-06-14','Summary of the first article.','Uncle Cheese',3,4),(11,NULL,NULL,NULL,5,6); -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_ArticlePage_Categories` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_ArticlePage_Categories`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_ArticlePage_Categories` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SilverStripe_Lessons_ArticlePageID` int(11) NOT NULL DEFAULT '0', - `SilverStripe_Lessons_ArticleCategoryID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SilverStripe_Lessons_ArticlePageID` (`SilverStripe_Lessons_ArticlePageID`), - KEY `SilverStripe_Lessons_ArticleCategoryID` (`SilverStripe_Lessons_ArticleCategoryID`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_ArticlePage_Categories` --- - -LOCK TABLES `SilverStripe_Lessons_ArticlePage_Categories` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Categories` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_ArticlePage_Categories` VALUES (1,11,2),(2,11,3),(3,10,1); -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Categories` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_ArticlePage_Live` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_ArticlePage_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_ArticlePage_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `Date` date DEFAULT NULL, - `Teaser` mediumtext, - `Author` varchar(255) DEFAULT NULL, - `PhotoID` int(11) NOT NULL DEFAULT '0', - `BrochureID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `PhotoID` (`PhotoID`), - KEY `BrochureID` (`BrochureID`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_ArticlePage_Live` --- - -LOCK TABLES `SilverStripe_Lessons_ArticlePage_Live` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Live` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_ArticlePage_Live` VALUES (10,'2017-06-14','Summary of the first article.','Uncle Cheese',3,4),(11,NULL,NULL,NULL,5,6); -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_ArticlePage_Versions` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_ArticlePage_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_ArticlePage_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `Date` date DEFAULT NULL, - `Teaser` mediumtext, - `Author` varchar(255) DEFAULT NULL, - `PhotoID` int(11) NOT NULL DEFAULT '0', - `BrochureID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `PhotoID` (`PhotoID`), - KEY `BrochureID` (`BrochureID`) -) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_ArticlePage_Versions` --- - -LOCK TABLES `SilverStripe_Lessons_ArticlePage_Versions` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Versions` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_ArticlePage_Versions` VALUES (1,10,3,'2017-06-14','Summary of the first article.','Uncle Cheese',0,0),(2,10,4,'2017-06-14','Summary of the first article.','Uncle Cheese',3,4),(3,11,3,NULL,NULL,NULL,5,6); -/*!40000 ALTER TABLE `SilverStripe_Lessons_ArticlePage_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_Region` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_Region`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_Region` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Lessons\\Region') DEFAULT 'SilverStripe\\Lessons\\Region', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `Description` mediumtext, - `Version` int(11) NOT NULL DEFAULT '0', - `PhotoID` int(11) NOT NULL DEFAULT '0', - `RegionsPageID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `PhotoID` (`PhotoID`), - KEY `RegionsPageID` (`RegionsPageID`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_Region` --- - -LOCK TABLES `SilverStripe_Lessons_Region` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_Region` VALUES (1,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:25','2017-09-14 15:26:25','The Northeast','This is the description of the northeast.',1,11,8),(2,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:49','2017-09-14 15:26:48','The Southeast','This is a description of the southeast.',1,10,8),(3,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:19','2017-09-14 15:27:19','The Southwest','This is the description of the southwest.',1,8,8),(4,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:38','2017-09-14 15:27:38','The Northwest','This is the description of the northwest.',1,9,8); -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_Region_Live` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_Region_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_Region_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\Lessons\\Region') DEFAULT 'SilverStripe\\Lessons\\Region', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `Description` mediumtext, - `Version` int(11) NOT NULL DEFAULT '0', - `PhotoID` int(11) NOT NULL DEFAULT '0', - `RegionsPageID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `PhotoID` (`PhotoID`), - KEY `RegionsPageID` (`RegionsPageID`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_Region_Live` --- - -LOCK TABLES `SilverStripe_Lessons_Region_Live` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region_Live` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_Region_Live` VALUES (1,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:25','2017-09-14 15:26:25','The Northeast','This is the description of the northeast.',1,11,8),(2,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:49','2017-09-14 15:26:48','The Southeast','This is a description of the southeast.',1,10,8),(3,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:19','2017-09-14 15:27:19','The Southwest','This is the description of the southwest.',1,8,8),(4,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:38','2017-09-14 15:27:38','The Northwest','This is the description of the northwest.',1,9,8); -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SilverStripe_Lessons_Region_Versions` --- - -DROP TABLE IF EXISTS `SilverStripe_Lessons_Region_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SilverStripe_Lessons_Region_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', - `AuthorID` int(11) NOT NULL DEFAULT '0', - `PublisherID` int(11) NOT NULL DEFAULT '0', - `ClassName` enum('SilverStripe\\Lessons\\Region') DEFAULT 'SilverStripe\\Lessons\\Region', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `Description` mediumtext, - `PhotoID` int(11) NOT NULL DEFAULT '0', - `RegionsPageID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `AuthorID` (`AuthorID`), - KEY `PublisherID` (`PublisherID`), - KEY `ClassName` (`ClassName`), - KEY `PhotoID` (`PhotoID`), - KEY `RegionsPageID` (`RegionsPageID`) -) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SilverStripe_Lessons_Region_Versions` --- - -LOCK TABLES `SilverStripe_Lessons_Region_Versions` WRITE; -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region_Versions` DISABLE KEYS */; -INSERT INTO `SilverStripe_Lessons_Region_Versions` VALUES (1,1,1,1,1,1,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:25','2017-09-14 15:26:25','The Northeast','This is the description of the northeast.',11,8),(2,2,1,1,1,1,'SilverStripe\\Lessons\\Region','2017-09-14 15:26:48','2017-09-14 15:26:48','The Southeast','This is a description of the southeast.',10,8),(3,3,1,1,1,1,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:19','2017-09-14 15:27:19','The Southwest','This is the description of the southwest.',8,8),(4,4,1,1,1,1,'SilverStripe\\Lessons\\Region','2017-09-14 15:27:38','2017-09-14 15:27:38','The Northwest','This is the description of the northwest.',9,8); -/*!40000 ALTER TABLE `SilverStripe_Lessons_Region_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteConfig` --- - -DROP TABLE IF EXISTS `SiteConfig`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteConfig` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\SiteConfig\\SiteConfig') DEFAULT 'SilverStripe\\SiteConfig\\SiteConfig', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `Tagline` varchar(255) DEFAULT NULL, - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers') DEFAULT 'Anyone', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers') DEFAULT 'LoggedInUsers', - `CanCreateTopLevelType` enum('LoggedInUsers','OnlyTheseUsers') DEFAULT 'LoggedInUsers', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`) -) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteConfig` --- - -LOCK TABLES `SiteConfig` WRITE; -/*!40000 ALTER TABLE `SiteConfig` DISABLE KEYS */; -INSERT INTO `SiteConfig` VALUES (1,'SilverStripe\\SiteConfig\\SiteConfig','2017-09-12 11:04:00','2017-09-12 11:04:00','Your Site Name','your tagline here','Anyone','LoggedInUsers','LoggedInUsers'); -/*!40000 ALTER TABLE `SiteConfig` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteConfig_CreateTopLevelGroups` --- - -DROP TABLE IF EXISTS `SiteConfig_CreateTopLevelGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteConfig_CreateTopLevelGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteConfigID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SiteConfigID` (`SiteConfigID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteConfig_CreateTopLevelGroups` --- - -LOCK TABLES `SiteConfig_CreateTopLevelGroups` WRITE; -/*!40000 ALTER TABLE `SiteConfig_CreateTopLevelGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteConfig_CreateTopLevelGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteConfig_EditorGroups` --- - -DROP TABLE IF EXISTS `SiteConfig_EditorGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteConfig_EditorGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteConfigID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SiteConfigID` (`SiteConfigID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteConfig_EditorGroups` --- - -LOCK TABLES `SiteConfig_EditorGroups` WRITE; -/*!40000 ALTER TABLE `SiteConfig_EditorGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteConfig_EditorGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteConfig_ViewerGroups` --- - -DROP TABLE IF EXISTS `SiteConfig_ViewerGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteConfig_ViewerGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteConfigID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SiteConfigID` (`SiteConfigID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteConfig_ViewerGroups` --- - -LOCK TABLES `SiteConfig_ViewerGroups` WRITE; -/*!40000 ALTER TABLE `SiteConfig_ViewerGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteConfig_ViewerGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree` --- - -DROP TABLE IF EXISTS `SiteTree`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Lessons\\ArticleHolder','SilverStripe\\Lessons\\ArticlePage','SilverStripe\\Lessons\\HomePage','SilverStripe\\Lessons\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'Page', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `URLSegment` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `MenuTitle` varchar(100) DEFAULT NULL, - `Content` mediumtext, - `MetaDescription` mediumtext, - `ExtraMeta` mediumtext, - `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', - `Sort` int(11) NOT NULL DEFAULT '0', - `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', - `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ReportClass` varchar(255) DEFAULT NULL, - `Version` int(11) NOT NULL DEFAULT '0', - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `ParentID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `URLSegment` (`URLSegment`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree` --- - -LOCK TABLES `SiteTree` WRITE; -/*!40000 ALTER TABLE `SiteTree` DISABLE KEYS */; -INSERT INTO `SiteTree` VALUES (1,'SilverStripe\\Lessons\\HomePage','2017-09-12 15:51:23','2017-09-12 11:04:00','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,2,'Inherit','Inherit',0),(2,'Page','2017-09-13 11:40:37','2017-09-12 11:04:00','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,3,'Inherit','Inherit',0),(4,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,8,0,0,NULL,1,'Inherit','Inherit',0),(5,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,9,0,0,NULL,1,'Inherit','Inherit',0),(6,'Page','2017-09-13 11:40:30','2017-09-13 11:36:49','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,3,'Inherit','Inherit',0),(7,'Page','2017-09-13 11:40:30','2017-09-13 11:38:12','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,4,'Inherit','Inherit',0),(8,'SilverStripe\\Lessons\\RegionsPage','2017-09-14 14:12:16','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,5,'Inherit','Inherit',0),(9,'SilverStripe\\Lessons\\ArticleHolder','2017-09-13 11:40:30','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,5,'Inherit','Inherit',0),(10,'SilverStripe\\Lessons\\ArticlePage','2017-09-14 16:18:45','2017-09-13 11:42:07','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,4,'Inherit','Inherit',9),(11,'SilverStripe\\Lessons\\ArticlePage','2017-09-14 16:18:39','2017-09-13 11:42:29','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,3,'Inherit','Inherit',9); -/*!40000 ALTER TABLE `SiteTree` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_EditorGroups` --- - -DROP TABLE IF EXISTS `SiteTree_EditorGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_EditorGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteTreeID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SiteTreeID` (`SiteTreeID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_EditorGroups` --- - -LOCK TABLES `SiteTree_EditorGroups` WRITE; -/*!40000 ALTER TABLE `SiteTree_EditorGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteTree_EditorGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_ImageTracking` --- - -DROP TABLE IF EXISTS `SiteTree_ImageTracking`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_ImageTracking` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteTreeID` int(11) NOT NULL DEFAULT '0', - `FileID` int(11) NOT NULL DEFAULT '0', - `FieldName` varchar(255) DEFAULT NULL, - PRIMARY KEY (`ID`), - KEY `SiteTreeID` (`SiteTreeID`), - KEY `FileID` (`FileID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_ImageTracking` --- - -LOCK TABLES `SiteTree_ImageTracking` WRITE; -/*!40000 ALTER TABLE `SiteTree_ImageTracking` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteTree_ImageTracking` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_LinkTracking` --- - -DROP TABLE IF EXISTS `SiteTree_LinkTracking`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_LinkTracking` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteTreeID` int(11) NOT NULL DEFAULT '0', - `ChildID` int(11) NOT NULL DEFAULT '0', - `FieldName` varchar(255) DEFAULT NULL, - PRIMARY KEY (`ID`), - KEY `SiteTreeID` (`SiteTreeID`), - KEY `ChildID` (`ChildID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_LinkTracking` --- - -LOCK TABLES `SiteTree_LinkTracking` WRITE; -/*!40000 ALTER TABLE `SiteTree_LinkTracking` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteTree_LinkTracking` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_Live` --- - -DROP TABLE IF EXISTS `SiteTree_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Lessons\\ArticleHolder','SilverStripe\\Lessons\\ArticlePage','SilverStripe\\Lessons\\HomePage','SilverStripe\\Lessons\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'Page', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `URLSegment` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `MenuTitle` varchar(100) DEFAULT NULL, - `Content` mediumtext, - `MetaDescription` mediumtext, - `ExtraMeta` mediumtext, - `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', - `Sort` int(11) NOT NULL DEFAULT '0', - `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', - `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ReportClass` varchar(255) DEFAULT NULL, - `Version` int(11) NOT NULL DEFAULT '0', - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `ParentID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `URLSegment` (`URLSegment`) -) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_Live` --- - -LOCK TABLES `SiteTree_Live` WRITE; -/*!40000 ALTER TABLE `SiteTree_Live` DISABLE KEYS */; -INSERT INTO `SiteTree_Live` VALUES (1,'SilverStripe\\Lessons\\HomePage','2017-09-12 15:51:23','2017-09-12 11:04:00','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,2,'Inherit','Inherit',0),(2,'Page','2017-09-13 11:40:37','2017-09-12 11:04:00','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,3,'Inherit','Inherit',0),(4,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,8,0,0,NULL,1,'Inherit','Inherit',0),(5,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,9,0,0,NULL,1,'Inherit','Inherit',0),(6,'Page','2017-09-13 11:40:30','2017-09-13 11:36:49','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,3,'Inherit','Inherit',0),(7,'Page','2017-09-13 11:40:30','2017-09-13 11:38:12','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,4,'Inherit','Inherit',0),(8,'SilverStripe\\Lessons\\RegionsPage','2017-09-14 12:57:55','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,5,'Inherit','Inherit',0),(9,'SilverStripe\\Lessons\\ArticleHolder','2017-09-13 11:40:30','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,5,'Inherit','Inherit',0),(10,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 13:48:49','2017-09-13 11:42:07','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,4,'Inherit','Inherit',9),(11,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 13:52:29','2017-09-13 11:42:29','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,3,'Inherit','Inherit',9); -/*!40000 ALTER TABLE `SiteTree_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_Versions` --- - -DROP TABLE IF EXISTS `SiteTree_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `WasPublished` tinyint(1) unsigned NOT NULL DEFAULT '0', - `AuthorID` int(11) NOT NULL DEFAULT '0', - `PublisherID` int(11) NOT NULL DEFAULT '0', - `ClassName` enum('SilverStripe\\CMS\\Model\\SiteTree','Page','SilverStripe\\Lessons\\ArticleHolder','SilverStripe\\Lessons\\ArticlePage','SilverStripe\\Lessons\\HomePage','SilverStripe\\Lessons\\RegionsPage','SilverStripe\\ErrorPage\\ErrorPage','SilverStripe\\CMS\\Model\\RedirectorPage','SilverStripe\\CMS\\Model\\VirtualPage') DEFAULT 'Page', - `LastEdited` datetime DEFAULT NULL, - `Created` datetime DEFAULT NULL, - `URLSegment` varchar(255) DEFAULT NULL, - `Title` varchar(255) DEFAULT NULL, - `MenuTitle` varchar(100) DEFAULT NULL, - `Content` mediumtext, - `MetaDescription` mediumtext, - `ExtraMeta` mediumtext, - `ShowInMenus` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ShowInSearch` tinyint(1) unsigned NOT NULL DEFAULT '0', - `Sort` int(11) NOT NULL DEFAULT '0', - `HasBrokenFile` tinyint(1) unsigned NOT NULL DEFAULT '0', - `HasBrokenLink` tinyint(1) unsigned NOT NULL DEFAULT '0', - `ReportClass` varchar(255) DEFAULT NULL, - `CanViewType` enum('Anyone','LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `CanEditType` enum('LoggedInUsers','OnlyTheseUsers','Inherit') DEFAULT 'Inherit', - `ParentID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `AuthorID` (`AuthorID`), - KEY `PublisherID` (`PublisherID`), - KEY `ClassName` (`ClassName`), - KEY `ParentID` (`ParentID`), - KEY `URLSegment` (`URLSegment`) -) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_Versions` --- - -LOCK TABLES `SiteTree_Versions` WRITE; -/*!40000 ALTER TABLE `SiteTree_Versions` DISABLE KEYS */; -INSERT INTO `SiteTree_Versions` VALUES (1,1,1,1,0,0,'Page','2017-09-12 11:04:00','2017-09-12 11:04:00','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',0),(2,2,1,1,0,0,'Page','2017-09-12 11:04:00','2017-09-12 11:04:00','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,2,0,0,NULL,'Inherit','Inherit',0),(3,3,1,1,0,0,'Page','2017-09-12 11:04:00','2017-09-12 11:04:00','contact-us','Contact Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,3,0,0,NULL,'Inherit','Inherit',0),(4,4,1,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','page-not-found','Page not found',NULL,'

Sorry, it seems you were trying to access a page that doesn\'t exist.

Please check the spelling of the URL you were trying to access and try again.

',NULL,NULL,0,0,4,0,0,NULL,'Inherit','Inherit',0),(5,5,1,1,0,0,'SilverStripe\\ErrorPage\\ErrorPage','2017-09-12 11:04:00','2017-09-12 11:04:00','server-error','Server error',NULL,'

Sorry, there was a problem with handling your request.

',NULL,NULL,0,0,5,0,0,NULL,'Inherit','Inherit',0),(6,1,2,1,1,1,'SilverStripe\\Lessons\\HomePage','2017-09-12 15:51:22','2017-09-12 11:04:00','home','Home',NULL,'

Welcome to SilverStripe! This is the default homepage. You can edit this page by opening the CMS.

You can now access the developer documentation, or begin the SilverStripe lessons.

',NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',0),(7,6,1,0,1,0,'Page','2017-09-13 11:36:49','2017-09-13 11:36:49','new-page','New Page',NULL,NULL,NULL,NULL,1,1,6,0,0,NULL,'Inherit','Inherit',0),(8,7,1,0,1,0,'Page','2017-09-13 11:38:12','2017-09-13 11:38:12','new-page-2','New Page',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,'Inherit','Inherit',0),(9,7,2,1,1,1,'Page','2017-09-13 11:38:20','2017-09-13 11:38:12','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,7,0,0,NULL,'Inherit','Inherit',0),(10,6,2,1,1,1,'Page','2017-09-13 11:38:28','2017-09-13 11:36:49','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,6,0,0,NULL,'Inherit','Inherit',0),(11,8,1,0,1,0,'Page','2017-09-13 11:38:38','2017-09-13 11:38:38','new-page','New Page',NULL,NULL,NULL,NULL,1,1,8,0,0,NULL,'Inherit','Inherit',0),(12,8,2,1,1,1,'Page','2017-09-13 11:38:43','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,8,0,0,NULL,'Inherit','Inherit',0),(13,9,1,0,1,0,'Page','2017-09-13 11:38:51','2017-09-13 11:38:51','new-page','New Page',NULL,NULL,NULL,NULL,1,1,9,0,0,NULL,'Inherit','Inherit',0),(14,9,2,1,1,1,'Page','2017-09-13 11:39:03','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,9,0,0,NULL,'Inherit','Inherit',0),(15,9,3,1,1,1,'SilverStripe\\Lessons\\ArticleHolder','2017-09-13 11:39:12','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,9,0,0,NULL,'Inherit','Inherit',0),(16,2,2,0,1,0,'Page','2017-09-13 11:39:19','2017-09-12 11:04:00','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,8,0,0,NULL,'Inherit','Inherit',0),(17,6,3,1,1,1,'Page','2017-09-13 11:39:25','2017-09-13 11:36:49','find-a-rental','Find a Rental',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,'Inherit','Inherit',0),(18,7,3,0,1,0,'Page','2017-09-13 11:39:28','2017-09-13 11:38:12','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,'Inherit','Inherit',0),(19,8,3,0,1,0,'Page','2017-09-13 11:39:32','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,'Inherit','Inherit',0),(20,9,4,0,1,0,'SilverStripe\\Lessons\\ArticleHolder','2017-09-13 11:39:33','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,'Inherit','Inherit',0),(21,2,3,1,1,1,'Page','2017-09-13 11:39:36','2017-09-12 11:04:00','about-us','About Us',NULL,'

You can fill this page out with your own content, or delete it and create your own pages.

',NULL,NULL,1,1,6,0,0,NULL,'Inherit','Inherit',0),(22,7,4,1,1,1,'Page','2017-09-13 11:40:05','2017-09-13 11:38:12','list-your-rental','List Your Rental',NULL,NULL,NULL,NULL,1,1,3,0,0,NULL,'Inherit','Inherit',0),(23,8,4,1,1,1,'Page','2017-09-13 11:40:09','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,'Inherit','Inherit',0),(24,9,5,1,1,1,'SilverStripe\\Lessons\\ArticleHolder','2017-09-13 11:40:15','2017-09-13 11:38:51','travel-guides','Travel Guides',NULL,NULL,NULL,NULL,1,1,5,0,0,NULL,'Inherit','Inherit',0),(25,10,1,0,1,0,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 11:42:07','2017-09-13 11:42:07','new-article-page','New Article Page',NULL,NULL,NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',9),(26,10,2,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 11:42:26','2017-09-13 11:42:07','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',9),(27,11,1,0,1,0,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 11:42:29','2017-09-13 11:42:29','new-article-page','New Article Page',NULL,NULL,NULL,NULL,1,1,2,0,0,NULL,'Inherit','Inherit',9),(28,11,2,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 11:42:48','2017-09-13 11:42:29','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,'Inherit','Inherit',9),(29,10,3,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 12:54:14','2017-09-13 11:42:07','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',9),(30,10,4,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 13:48:49','2017-09-13 11:42:07','sample-article-1','Sample Article 1',NULL,'

This is sample article 1.

',NULL,NULL,1,1,1,0,0,NULL,'Inherit','Inherit',9),(31,11,3,1,1,1,'SilverStripe\\Lessons\\ArticlePage','2017-09-13 13:49:05','2017-09-13 11:42:29','sample-article-2','Sample Article 2',NULL,'

This is sample article 2.

',NULL,NULL,1,1,2,0,0,NULL,'Inherit','Inherit',9),(32,8,5,1,1,1,'SilverStripe\\Lessons\\RegionsPage','2017-09-14 12:57:55','2017-09-13 11:38:38','regions','Regions',NULL,NULL,NULL,NULL,1,1,4,0,0,NULL,'Inherit','Inherit',0); -/*!40000 ALTER TABLE `SiteTree_Versions` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `SiteTree_ViewerGroups` --- - -DROP TABLE IF EXISTS `SiteTree_ViewerGroups`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `SiteTree_ViewerGroups` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `SiteTreeID` int(11) NOT NULL DEFAULT '0', - `GroupID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `SiteTreeID` (`SiteTreeID`), - KEY `GroupID` (`GroupID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `SiteTree_ViewerGroups` --- - -LOCK TABLES `SiteTree_ViewerGroups` WRITE; -/*!40000 ALTER TABLE `SiteTree_ViewerGroups` DISABLE KEYS */; -/*!40000 ALTER TABLE `SiteTree_ViewerGroups` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `VirtualPage` --- - -DROP TABLE IF EXISTS `VirtualPage`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `VirtualPage` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `VersionID` int(11) NOT NULL DEFAULT '0', - `CopyContentFromID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `CopyContentFromID` (`CopyContentFromID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `VirtualPage` --- - -LOCK TABLES `VirtualPage` WRITE; -/*!40000 ALTER TABLE `VirtualPage` DISABLE KEYS */; -/*!40000 ALTER TABLE `VirtualPage` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `VirtualPage_Live` --- - -DROP TABLE IF EXISTS `VirtualPage_Live`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `VirtualPage_Live` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `VersionID` int(11) NOT NULL DEFAULT '0', - `CopyContentFromID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - KEY `CopyContentFromID` (`CopyContentFromID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `VirtualPage_Live` --- - -LOCK TABLES `VirtualPage_Live` WRITE; -/*!40000 ALTER TABLE `VirtualPage_Live` DISABLE KEYS */; -/*!40000 ALTER TABLE `VirtualPage_Live` ENABLE KEYS */; -UNLOCK TABLES; - --- --- Table structure for table `VirtualPage_Versions` --- - -DROP TABLE IF EXISTS `VirtualPage_Versions`; -/*!40101 SET @saved_cs_client = @@character_set_client */; -/*!40101 SET character_set_client = utf8 */; -CREATE TABLE `VirtualPage_Versions` ( - `ID` int(11) NOT NULL AUTO_INCREMENT, - `RecordID` int(11) NOT NULL DEFAULT '0', - `Version` int(11) NOT NULL DEFAULT '0', - `VersionID` int(11) NOT NULL DEFAULT '0', - `CopyContentFromID` int(11) NOT NULL DEFAULT '0', - PRIMARY KEY (`ID`), - UNIQUE KEY `RecordID_Version` (`RecordID`,`Version`), - KEY `RecordID` (`RecordID`), - KEY `Version` (`Version`), - KEY `CopyContentFromID` (`CopyContentFromID`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8; -/*!40101 SET character_set_client = @saved_cs_client */; - --- --- Dumping data for table `VirtualPage_Versions` --- - -LOCK TABLES `VirtualPage_Versions` WRITE; -/*!40000 ALTER TABLE `VirtualPage_Versions` DISABLE KEYS */; -/*!40000 ALTER TABLE `VirtualPage_Versions` ENABLE KEYS */; -UNLOCK TABLES; -/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; - -/*!40101 SET SQL_MODE=@OLD_SQL_MODE */; -/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; -/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; -/*!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 */; -/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; - --- Dump completed on 2017-09-14 16:26:32 diff --git a/Lesson-11-begin/__assets/regions-page.html b/Lesson-11-begin/__assets/regions-page.html deleted file mode 100644 index 5e15eed..0000000 --- a/Lesson-11-begin/__assets/regions-page.html +++ /dev/null @@ -1,149 +0,0 @@ - - -
-
-
- - -
- - - -
-
- -
-

- The Northeast -

-

Sed rutrum urna id tellus euismod gravida. Praesent placerat, mauris ac pellentesque fringilla, tortor libero condimen. Aliquam fermem tum nulla felis, sed molestie libero porttitor in.

-
-
- -
- -
-

- The Northwest -

-

Sed rutrum urna id tellus euismod gravida. Praesent placerat, mauris ac pellentesque fringilla, tortor libero condimen. Aliquam fermem tum nulla felis, sed molestie libero porttitor in.

-
-
-
- -
-

- The Southeast -

-

Sed rutrum urna id tellus euismod gravida. Praesent placerat, mauris ac pellentesque fringilla, tortor libero condimen. Aliquam fermem tum nulla felis, sed molestie libero porttitor in.

-
-
-
- -
-

- The Southwest -

-

Sed rutrum urna id tellus euismod gravida. Praesent placerat, mauris ac pellentesque fringilla, tortor libero condimen. Aliquam fermem tum nulla felis, sed molestie libero porttitor in.

-
-
- -
- - - - - - - -
- - - - - - - -
-
-
- diff --git a/Lesson-11-begin/app/_config.php b/Lesson-11-begin/app/_config.php index b3d9bbc..4b0ec70 100644 --- a/Lesson-11-begin/app/_config.php +++ b/Lesson-11-begin/app/_config.php @@ -1 +1,9 @@ 'Varchar', + 'Title' => 'Varchar' ]; private static $has_one = [ - 'ArticleHolder' => ArticleHolder::class, + 'ArticleHolder' => ArticleHolder::class ]; private static $belongs_many_many = [ - 'Articles' => ArticlePage::class, + 'Articles' => ArticlePage::class ]; public function getCMSFields() diff --git a/Lesson-11-begin/app/src/ArticleHolder.php b/Lesson-11-begin/app/src/ArticleHolder.php index 3e0fc9b..4889a7b 100644 --- a/Lesson-11-begin/app/src/ArticleHolder.php +++ b/Lesson-11-begin/app/src/ArticleHolder.php @@ -1,20 +1,21 @@ ArticleCategory::class, + private static $allowed_children = [ + ArticlePage::class ]; - private static $allowed_children = [ - ArticlePage::class - ]; + private static $has_many = [ + 'Categories' => ArticleCategory::class + ]; public function getCMSFields() { @@ -28,5 +29,4 @@ public function getCMSFields() return $fields; } - } diff --git a/Lesson-11-begin/app/src/ArticleHolderController.php b/Lesson-11-begin/app/src/ArticleHolderController.php index 27417a1..2aa9bee 100644 --- a/Lesson-11-begin/app/src/ArticleHolderController.php +++ b/Lesson-11-begin/app/src/ArticleHolderController.php @@ -1,6 +1,6 @@ 'Date', - 'Teaser' => 'Text', - 'Author' => 'Varchar', - ]; + private static $db = [ + 'Date' => 'Date', + 'Teaser' => 'Text', + 'ArticleAuthor' => 'Varchar', + ]; private static $has_one = [ - 'Photo' => Image::class, - 'Brochure' => File::class - ]; + 'Photo' => Image::class, + 'Brochure' => File::class + ]; private static $many_many = [ 'Categories' => ArticleCategory::class, ]; - private static $owns = [ - 'Photo', - 'Brochure', - ]; - - public function getCMSFields() - { - $fields = parent::getCMSFields(); - $fields->addFieldToTab('Root.Main', DateField::create('Date','Date of article'), 'Content'); - $fields->addFieldToTab('Root.Main', TextareaField::create('Teaser') - ->setDescription('This is the summary that appears on the article list page.'), - 'Content' - ); - $fields->addFieldToTab('Root.Main', TextField::create('Author','Author of article'),'Content'); - $fields->addFieldToTab( - 'Root.Attachments', - $photo = UploadField::create('Photo') - ); - $fields->addFieldToTab( - 'Root.Attachments', - $brochure = UploadField::create( - 'Brochure', - 'Travel brochure, optional (PDF only)' - ) - ); - - $photo->setFolderName('travel-photos'); - $brochure - ->setFolderName('travel-brochures') - ->getValidator()->setAllowedExtensions(array('pdf')); + private static $owns = [ + 'Photo', + 'Brochure', + ]; + public function getCMSFields() + { + $fields = parent::getCMSFields(); + $fields->addFieldToTab('Root.Main', DateField::create('Date','Date of article'), 'Content'); + $fields->addFieldToTab('Root.Main', TextareaField::create('Teaser') + ->setDescription('This is the summary that appears on the article list page.'), + 'Content' + ); + $fields->addFieldToTab('Root.Main', TextField::create('ArticleAuthor','Author of article'),'Content'); + $fields->addFieldToTab('Root.Attachments', $photo = UploadField::create('Photo')); + $fields->addFieldToTab('Root.Attachments', $brochure = UploadField::create( + 'Brochure', + 'Travel brochure, optional (PDF only)' + )); + $photo->setFolderName('travel-photos'); + $brochure + ->setFolderName('travel-brochures') + ->getValidator()->setAllowedExtensions(array('pdf')); $fields->addFieldToTab('Root.Categories', CheckboxSetField::create( 'Categories', 'Selected categories', $this->Parent()->Categories()->map('ID','Title') )); - - return $fields; - } + return $fields; + return $fields; + } public function CategoriesList() { - if($this->Categories()->exists()) { + if ($this->Categories()->exists()) + { return implode(', ', $this->Categories()->column('Title')); } - + return null; } - } diff --git a/Lesson-11-begin/app/src/ArticlePageController.php b/Lesson-11-begin/app/src/ArticlePageController.php index df5d009..c872a1f 100644 --- a/Lesson-11-begin/app/src/ArticlePageController.php +++ b/Lesson-11-begin/app/src/ArticlePageController.php @@ -1,6 +1,6 @@ sort('Created', 'DESC') ->limit($count); } - } diff --git a/Lesson-11-begin/app/src/Page.php b/Lesson-11-begin/app/src/Page.php index b83000d..d5d11e7 100644 --- a/Lesson-11-begin/app/src/Page.php +++ b/Lesson-11-begin/app/src/Page.php @@ -1,12 +1,13 @@ - * array ( - * 'action', // anyone can access this action - * 'action' => true, // same as above - * 'action' => 'ADMIN', // you must have ADMIN permissions to access this action - * 'action' => '->checkAction' // you can only access this action if $this->checkAction() returns true - * ); - * - * - * @var array - */ - private static $allowed_actions = array( - - ); - - protected function init() + class PageController extends ContentController { - parent::init(); - Requirements::css('css/bootstrap.min.css'); - Requirements::css('css/style.css'); - Requirements::javascript('javascript/common/modernizr.js'); - Requirements::javascript('javascript/common/jquery-1.11.1.min.js'); - Requirements::javascript('javascript/common/bootstrap.min.js'); - Requirements::javascript('javascript/common/bootstrap-datepicker.js'); - Requirements::javascript('javascript/common/chosen.min.js'); - Requirements::javascript('javascript/common/bootstrap-checkbox.js'); - Requirements::javascript('javascript/common/nice-scroll.js'); - Requirements::javascript('javascript/common/jquery-browser.js'); - Requirements::javascript('javascript/scripts.js'); + /** + * An array of actions that can be accessed via a request. Each array element should be an action name, and the + * permissions or conditions required to allow the user to access it. + * + * + * [ + * 'action', // anyone can access this action + * 'action' => true, // same as above + * 'action' => 'ADMIN', // you must have ADMIN permissions to access this action + * 'action' => '->checkAction' // you can only access this action if $this->checkAction() returns true + * ]; + * + * + * @var array + */ + private static $allowed_actions = []; + + protected function init() + { + parent::init(); + Requirements::themedCSS('css/bootstrap.min.css'); + Requirements::themedCSS('css/style.css'); + Requirements::themedJavascript('javascript/common/modernizr.js'); + Requirements::themedJavascript('javascript/common/jquery-1.11.1.min.js'); + Requirements::themedJavascript('javascript/common/bootstrap.min.js'); + Requirements::themedJavascript('javascript/common/bootstrap-datepicker.js'); + Requirements::themedJavascript('javascript/common/chosen.min.js'); + Requirements::themedJavascript('javascript/common/bootstrap-checkbox.js'); + Requirements::themedJavascript('javascript/common/nice-scroll.js'); + Requirements::themedJavascript('javascript/common/jquery-browser.js'); + Requirements::themedJavascript('javascript/scripts.js'); + } } } diff --git a/Lesson-11-begin/app/src/Region.php b/Lesson-11-begin/app/src/Region.php index 126c29b..a0800f4 100644 --- a/Lesson-11-begin/app/src/Region.php +++ b/Lesson-11-begin/app/src/Region.php @@ -1,6 +1,6 @@ 'Varchar', - 'Description' => 'Text', + 'Description' => 'Text' ]; private static $has_one = [ 'Photo' => Image::class, - 'RegionsPage' => RegionsPage::class, + 'RegionsPage' => RegionsPage::class + ]; + + private static $owns = [ + 'Photo' ]; private static $summary_fields = [ @@ -29,25 +33,15 @@ class Region extends DataObject 'Description' => 'Description' ]; - private static $owns = [ - 'Photo', + private static $searchable_fields = [ + 'Title', + 'Description' ]; private static $extensions = [ - Versioned::class, + Versioned::class ]; - private static $versioned_gridfield_extensions = true; - - public function getGridThumbnail() - { - if($this->Photo()->exists()) { - return $this->Photo()->ScaleWidth(100); - } - - return "(no image)"; - } - public function getCMSFields() { $fields = FieldList::create( @@ -61,4 +55,14 @@ public function getCMSFields() return $fields; } + + public function getGridThumbnail() + { + if($this->Photo()->exists()) + { + return $this->Photo()->ScaleWidth(100); + } + + return "(no image)"; + } } diff --git a/Lesson-11-begin/app/src/RegionsPage.php b/Lesson-11-begin/app/src/RegionsPage.php index 382e9da..5a2605a 100644 --- a/Lesson-11-begin/app/src/RegionsPage.php +++ b/Lesson-11-begin/app/src/RegionsPage.php @@ -1,19 +1,19 @@ Region::class, + 'Regions' => Region::class ]; private static $owns = [ - 'Regions', + 'Regions' ]; public function getCMSFields() @@ -28,5 +28,4 @@ public function getCMSFields() return $fields; } - } diff --git a/Lesson-11-begin/app/templates/Includes/Banner.ss b/Lesson-11-begin/app/templates/Includes/Banner.ss index 6edaeb3..30f3d22 100644 --- a/Lesson-11-begin/app/templates/Includes/Banner.ss +++ b/Lesson-11-begin/app/templates/Includes/Banner.ss @@ -1,12 +1,12 @@
-
-
-
-

$Title

- -
-
-
-
+
+
+
+

$Title

+ +
+
+
+ \ No newline at end of file diff --git a/Lesson-11-begin/app/templates/Includes/Footer.ss b/Lesson-11-begin/app/templates/Includes/Footer.ss index 6ff9a28..93825e5 100644 --- a/Lesson-11-begin/app/templates/Includes/Footer.ss +++ b/Lesson-11-begin/app/templates/Includes/Footer.ss @@ -1,97 +1,106 @@ - - - - + diff --git a/Lesson-11-begin/app/templates/Includes/MainNav.ss b/Lesson-11-begin/app/templates/Includes/MainNav.ss index bbcddd7..14413ae 100644 --- a/Lesson-11-begin/app/templates/Includes/MainNav.ss +++ b/Lesson-11-begin/app/templates/Includes/MainNav.ss @@ -1,23 +1,19 @@ - + diff --git a/Lesson-11-begin/app/templates/Includes/TopBar.ss b/Lesson-11-begin/app/templates/Includes/TopBar.ss index 9d791fd..fead444 100644 --- a/Lesson-11-begin/app/templates/Includes/TopBar.ss +++ b/Lesson-11-begin/app/templates/Includes/TopBar.ss @@ -1,24 +1,24 @@ -
-
-
-
- -
-
-
-
+
+
+
+
+ +
+
+
+
diff --git a/Lesson-11-begin/app/templates/Layout/Page.ss b/Lesson-11-begin/app/templates/Layout/Page.ss index a34917a..0e4d4c4 100644 --- a/Lesson-11-begin/app/templates/Layout/Page.ss +++ b/Lesson-11-begin/app/templates/Layout/Page.ss @@ -1,27 +1,21 @@ <% include Banner %> -
-
-
-
- $Content - $Form -
- - -
-
+
+
+
+ $Content + $Form +
+ +
+
- - - - diff --git a/Lesson-11-begin/app/templates/Page.ss b/Lesson-11-begin/app/templates/Page.ss index cdb80f8..4fa34b1 100644 --- a/Lesson-11-begin/app/templates/Page.ss +++ b/Lesson-11-begin/app/templates/Page.ss @@ -2,29 +2,27 @@ - - - <% base_tag %> - $MetaTags - - - - - - - - - - -
- - $Layout - <% include Footer %> -
- + + + + + <% base_tag %> + $MetaTags + + + + + + +
+ + $Layout + <% include Footer %> +
+ \ No newline at end of file diff --git a/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticleHolder.ss b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticleHolder.ss new file mode 100644 index 0000000..b3deb59 --- /dev/null +++ b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticleHolder.ss @@ -0,0 +1,209 @@ +<% include Banner %> + +
+
+
+ + +
+ + +
+
+ <% loop $Children %> +
+
+ + Read More + + $Photo.Fit(766, 515) +
+
+
+
    +
  • $Date.Long
  • +
  • 2
  • +
  • $CategoriesList
  • +
+

+ $Title +

+ <% if $Teaser %> +

$Teaser

+ <% else %> +

$Content.FirstSentence

+ <% end_if %> +
+
+ <% end_loop %> +
+
+ + + + + + +
+ + + + + + + +
+
+
diff --git a/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticlePage.ss b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticlePage.ss new file mode 100644 index 0000000..45c5982 --- /dev/null +++ b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/ArticlePage.ss @@ -0,0 +1,276 @@ +<% include Banner %> +
+
+
+ + +
+ +

$Title

+ +
+ <% with $Photo.ScaleWidth(750) %> + + <% end_with %> +
+
+ +
+
    +
  • $Date.Long
  • +
  • 3 Comments
  • +
  • $CategoriesList
  • +
+ +
By $ArticleAuthor
+
+ +
+ $Content +
+ + <% if $Brochure %> +
+
+ <% with $Brochure %> + + + Download brochure ($Extension, $Size) + + <% end_with %> +
+
+ <% end_if %> + + + +

Comments

+ +
+
    +
  • + +
    + Reply +

    John Doe30 July, 2014

    +

    + Etiam eget felis lacus. In hendrerit, urna in fringilla interdum, nunc mauris condimentum purus, vel ullamcorper dui risus sed tellus. Nullam lacinia porttitor velit fermentum accumsan. Etiam dui lorem, lobortis pellentesque malesuada nec, lacinia pulvinar libero. +

    +
    +
      +
    • + +
      + Reply +

      John Doe30 July, 2014

      +

      + In hendrerit, urna in fringilla interdum, nunc mauris condimentum purus, vel ullamcorper dui risus sed tellus. Nullam lacinia porttitor velit fermentum accumsan. Etiam dui lorem, lobortis pellentesque malesuada nec, lacinia pulvinar libero. +

      +
      +
    • +
    +
  • +
  • + +
    + Reply +

    Mary Doe31 July, 2014

    +

    + Etiam eget felis lacus. In hendrerit, urna in fringilla interdum, nunc mauris condimentum purus, vel ullamcorper dui risus sed tellus. Nullam lacinia porttitor velit fermentum accumsan. Etiam dui lorem, lobortis pellentesque malesuada nec, lacinia pulvinar libero. Quisque pretium nunc sed nisl vehicula gravida. Lorem ipsum dolor sit amet, consectetur adipiscing elit. +

    +
    +
  • +
+ +
+
+

Leave a Reply

+

Your email address will no be published. Required fields are marked*

+
+ +
+
+ +
+ +
+ +
+ +
+ +
+ +
+ +
+
+
+
+ +
+ + + + + + + +
+
+
\ No newline at end of file diff --git a/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/HomePage.ss b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/HomePage.ss new file mode 100644 index 0000000..b3d0146 --- /dev/null +++ b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/HomePage.ss @@ -0,0 +1,361 @@ + + +
+
+
+
+

Featured Properties

+
+
+ +
+ $950 +

per night

+
+
    +
  • 4
  • +
  • 3
  • +
+
+
+ +
+ $1,300 +

per night

+
+
    +
  • 5
  • +
  • 2
  • +
+
+
+ +
+ $560 +

per night

+
+
    +
  • 3
  • +
  • 2
  • +
+
+
+ +
+ $85 +

per night

+
+
    +
  • 1
  • +
  • 2
  • +
+
+
+ +
+ $840 +

per night

+
+
    +
  • 2
  • +
  • 2
  • +
+
+
+ +
+ $150 +

per night

+
+
    +
  • 3
  • +
  • 2
  • +
+
+
+ +

Recent Articles

+
+ <% loop $LatestArticles %> +
+
+ + Read More + + $Photo.Fit(766, 515) +
+
+
+
    +
  • $Date.Format('LLLL d, yyyy')
  • +
  • 2
  • +
  • $CategoriesList
  • +
+

+ $Title +

+

+ <% if $Teaser %> + $Teaser + <% else %> + $Content.FirstSentence + <% end_if %> +

+
+
+ <% end_loop %> +
+ +
+ +
+
+
diff --git a/Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/RegionsPage.ss b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/RegionsPage.ss similarity index 75% rename from Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/RegionsPage.ss rename to Lesson-11-begin/app/templates/SilverStripe/Example/Layout/RegionsPage.ss index 51d98eb..c959123 100644 --- a/Lesson-11-begin/app/templates/SilverStripe/Lessons/Layout/RegionsPage.ss +++ b/Lesson-11-begin/app/templates/SilverStripe/Example/Layout/RegionsPage.ss @@ -1,4 +1,3 @@ -
@@ -6,24 +5,32 @@
+ + +
- <% loop $Regions %> -
-
- - Read More - - $Photo.Fit(720,255) -
-
-

- $Title -

-

$Description

-
-
- <% end_loop %> + <% loop $Regions %> +
+
+ + Read More + + $Photo.Fit(720, 255) +
+
+

+ $Title

+ +

+ $Description +

+
+
+ <% end_loop %>
+ + +