   CONSTRAINT `cx_matrixblocks_ownerSiteId_fk` FOREIGN KEY (`ownerSiteId`) REFERENCES `cx_sites` (`id`) ON DELETE CASCADE ON UPDATE CASCADE,
   CONSTRAINT `cx_matrixblocks_typeId_fk` FOREIGN KEY (`typeId`) REFERENCES `cx_matrixblocktypes` (`id`) ON DELETE CASCADE
 ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
-/*!40101 SET character_set_client = @saved_cs_client */;
-
---
--- Dumping data for table `cx_matrixblocks`
---
 
 LOCK TABLES `cx_matrixblocks` WRITE;
 /*!40000 ALTER TABLE `cx_matrixblocks` DISABLE KEYS */;
-INSERT INTO `cx_matrixblocks` VALUES (4,2,NULL,28,3,1,'2017-03-05 05:52:42','2017-03-07 02:41:40','57f6d04c-5711-42d4-a21b-0c2692630af8'),(5,2,NULL,17,1,1,'2017-03-05 05:52:42','2017-03-07 02:41:40','c1ffe741-acef-423f-b759-74de0ede4a26'),(6,2,NULL,17,1,2,'2017-03-05 05:52:42','2017-03-07 02:41:40','3ab2bfab-50fc-4503-a4f0-da177044d92e'),(7,2,NULL,17,1,3,'2017-03-05 05:52:42','2017-03-07 02:41:40','993bcce5-45f9-45ac-b580-8595666d8902'),(8,2,NULL,21,2,1,'2017-03-05 05:52:42','2017-03-07 02:41:40','ac8ae166-56a3-48ff-b68d-74cb1bad6e4f'),(9,2,NULL,21,2,2,'2017-03-05 06:03:15','2017-03-07 02:41:40','f77d07ca-3370-4b72-b999-fd2c6cf08ae1');
+
+INSERT INTO `cx_matrixblocks` (`id`, `ownerId`, `ownerSiteId`, `fieldId`, `typeId`, `sortOrder`, `dateCreated`, `dateUpdated`, `uid`)
+VALUES
+	(4,2,NULL,28,3,1,'2017-03-05 05:52:42','2017-05-05 19:17:04','57f6d04c-5711-42d4-a21b-0c2692630af8'),
+	(5,2,NULL,17,1,1,'2017-03-05 05:52:42','2017-05-05 19:17:04','c1ffe741-acef-423f-b759-74de0ede4a26'),
+	(6,2,NULL,17,1,2,'2017-03-05 05:52:42','2017-05-05 19:17:04','3ab2bfab-50fc-4503-a4f0-da177044d92e'),
+	(7,2,NULL,17,1,3,'2017-03-05 05:52:42','2017-05-05 19:17:04','993bcce5-45f9-45ac-b580-8595666d8902');
+
 /*!40000 ALTER TABLE `cx_matrixblocks` ENABLE KEYS */;
 UNLOCK TABLES;
 
---
--- Table structure for table `cx_matrixblocktypes`
---
+
+# Dump of table cx_matrixblocktypes
+# ------------------------------------------------------------
 
 DROP TABLE IF EXISTS `cx_matrixblocktypes`;
-/*!40101 SET @saved_cs_client     = @@character_set_client */;
-/*!40101 SET character_set_client = utf8 */;
+
 CREATE TABLE `cx_matrixblocktypes` (
   `id` int(11) NOT NULL AUTO_INCREMENT,
   `fieldId` int(11) NOT NULL,

  KEY `cx_templatecachequeries_type_idx` (`type`),
  CONSTRAINT `cx_templatecachequeries_cacheId_fk` FOREIGN KEY (`cacheId`) REFERENCES `cx_templatecaches` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `cx_templatecachequeries`
--

LOCK TABLES `cx_templatecachequeries` WRITE;
/*!40000 ALTER TABLE `cx_templatecachequeries` DISABLE KEYS */;
/*!40000 ALTER TABLE `cx_templatecachequeries` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `cx_templatecaches`
--

DROP TABLE IF EXISTS `cx_templatecaches`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `cx_templatecaches` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `siteId` int(11) NOT NULL,

  KEY `cx_volumefolders_volumeId_fk` (`volumeId`),
  CONSTRAINT `cx_volumefolders_parentId_fk` FOREIGN KEY (`parentId`) REFERENCES `cx_volumefolders` (`id`) ON DELETE CASCADE,
  CONSTRAINT `cx_volumefolders_volumeId_fk` FOREIGN KEY (`volumeId`) REFERENCES `cx_volumes` (`id`) ON DELETE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

LOCK TABLES `cx_volumefolders` WRITE;
/*!40000 ALTER TABLE `cx_volumefolders` DISABLE KEYS */;

INSERT INTO `cx_volumefolders` (`id`, `parentId`, `volumeId`, `name`, `path`, `dateCreated`, `dateUpdated`, `uid`)
VALUES
	(1,NULL,1,'Blog','','2017-03-06 17:12:42','2017-03-06 17:12:42','765132af-b54e-413c-b40f-a14b9c2f52d3'),
	(2,NULL,NULL,'Temporary source',NULL,'2017-04-04 23:41:58','2017-04-04 23:41:58','f3445fd1-5b7b-4a4a-898c-89de6dc7c910'),
	(3,2,NULL,'user_1','user_1/','2017-04-04 23:41:58','2017-04-04 23:41:58','6d69743c-4e55-43cf-a360-d3997f21151d'),
	(4,NULL,2,'Learn','','2017-04-06 16:41:46','2017-04-06 16:52:28','74a860f0-7f75-4019-a7ef-881e82b9cc48'),
	(8,4,2,'series','series/','2017-04-08 06:07:46','2017-04-08 06:07:46','bdbc1c22-4591-4c8a-bc19-e62200c91e1a'),
	(9,8,2,'up-and-running-with-craft-3','series/up-and-running-with-craft-3/','2017-04-08 06:07:46','2017-04-08 06:07:46','4d89ca02-c119-4509-ac31-e4f86c9ef658'),
	(10,4,2,'courses','courses/','2017-04-08 06:08:27','2017-04-08 06:08:27','8a86da2b-18d7-47c2-bc21-4ac7a2f165db'),
	(11,10,2,'modern-php-development','courses/modern-php-development/','2017-04-08 06:08:27','2017-04-08 06:08:27','e53dada0-7822-4b7e-b81d-94374a6c4d78'),
	(12,11,2,'autoloading','courses/modern-php-development/autoloading/','2017-04-08 06:08:27','2017-04-08 06:08:27','c81b2a06-2031-4463-ada9-36c13c287a1e');

/*!40000 ALTER TABLE `cx_volumefolders` ENABLE KEYS */;
UNLOCK TABLES;


# Dump of table cx_volumes
# ------------------------------------------------------------

DROP TABLE IF EXISTS `cx_volumes`;

CREATE TABLE `cx_volumes` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fieldLayoutId` int(11) DEFAULT NULL,
