trusty-cms 4.2.2 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (200) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile +2 -1
  3. data/Gemfile.lock +98 -89
  4. data/app/assets/config/trusty-cms/manifest.js +7 -0
  5. data/app/assets/javascripts/admin/custom_file_upload.js +7 -0
  6. data/app/controllers/admin/assets_controller.rb +1 -1
  7. data/app/models/page.rb +2 -2
  8. data/app/views/admin/assets/new.html.haml +2 -0
  9. data/config/database.yml +4 -0
  10. data/config/initializers/assets.rb +0 -4
  11. data/coverage/index.html +155 -155
  12. data/lib/trusty_cms.rb +1 -1
  13. data/node_modules/hosted-git-info/CHANGELOG.md +10 -0
  14. data/node_modules/hosted-git-info/index.js +2 -2
  15. data/node_modules/hosted-git-info/package.json +1 -1
  16. data/node_modules/lodash/README.md +2 -2
  17. data/node_modules/lodash/_baseClone.js +2 -1
  18. data/node_modules/lodash/_baseOrderBy.js +17 -2
  19. data/node_modules/lodash/_baseSet.js +4 -0
  20. data/node_modules/lodash/_baseSortedIndexBy.js +7 -4
  21. data/node_modules/lodash/_baseTrim.js +19 -0
  22. data/node_modules/lodash/_equalArrays.js +5 -4
  23. data/node_modules/lodash/_equalObjects.js +5 -4
  24. data/node_modules/lodash/_trimmedEndIndex.js +19 -0
  25. data/node_modules/lodash/core.js +48 -6
  26. data/node_modules/lodash/core.min.js +9 -9
  27. data/node_modules/lodash/filter.js +4 -0
  28. data/node_modules/lodash/flake.lock +40 -0
  29. data/node_modules/lodash/flake.nix +20 -0
  30. data/node_modules/lodash/lodash.js +59 -11
  31. data/node_modules/lodash/lodash.min.js +126 -125
  32. data/node_modules/lodash/matches.js +7 -0
  33. data/node_modules/lodash/matchesProperty.js +7 -0
  34. data/node_modules/lodash/overEvery.js +4 -0
  35. data/node_modules/lodash/overSome.js +7 -0
  36. data/node_modules/lodash/package.json +1 -1
  37. data/node_modules/lodash/parseInt.js +1 -1
  38. data/node_modules/lodash/release.md +48 -0
  39. data/node_modules/lodash/sortBy.js +3 -3
  40. data/node_modules/lodash/template.js +24 -5
  41. data/node_modules/lodash/toNumber.js +3 -5
  42. data/node_modules/lodash/trim.js +2 -4
  43. data/node_modules/lodash/trimEnd.js +3 -5
  44. data/node_modules/lodash/trimStart.js +1 -1
  45. data/spec/dummy/log/development.log +9 -163
  46. data/spec/dummy/log/test.log +536 -0
  47. data/spec/dummy/node_modules/jquery-ui-bundle/AUTHORS.txt +333 -0
  48. data/spec/dummy/node_modules/jquery-ui-bundle/LICENSE.txt +43 -0
  49. data/spec/dummy/node_modules/jquery-ui-bundle/external/jquery/jquery.js +11008 -0
  50. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_444444_256x240.png +0 -0
  51. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_555555_256x240.png +0 -0
  52. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777620_256x240.png +0 -0
  53. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_777777_256x240.png +0 -0
  54. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_cc0000_256x240.png +0 -0
  55. data/spec/dummy/node_modules/jquery-ui-bundle/images/ui-icons_ffffff_256x240.png +0 -0
  56. data/spec/dummy/node_modules/jquery-ui-bundle/index.html +559 -0
  57. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.css +1312 -0
  58. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.js +18706 -0
  59. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.css +7 -0
  60. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.min.js +13 -0
  61. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.css +886 -0
  62. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.structure.min.css +5 -0
  63. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.css +443 -0
  64. data/spec/dummy/node_modules/jquery-ui-bundle/jquery-ui.theme.min.css +5 -0
  65. data/spec/dummy/node_modules/jquery-ui-bundle/package.json +33 -0
  66. data/spec/dummy/node_modules/jquery-ujs/CONTRIBUTING.md +109 -0
  67. data/spec/dummy/node_modules/jquery-ujs/MIT-LICENSE +20 -0
  68. data/spec/dummy/node_modules/jquery-ujs/README.md +86 -0
  69. data/spec/dummy/node_modules/jquery-ujs/RELEASE.md +23 -0
  70. data/spec/dummy/node_modules/jquery-ujs/bower.json +19 -0
  71. data/spec/dummy/node_modules/jquery-ujs/package.json +26 -0
  72. data/spec/dummy/node_modules/jquery-ujs/src/rails.js +555 -0
  73. data/spec/dummy/node_modules/jquery/AUTHORS.txt +327 -0
  74. data/spec/dummy/node_modules/jquery/LICENSE.txt +20 -0
  75. data/spec/dummy/node_modules/jquery/README.md +62 -0
  76. data/spec/dummy/node_modules/jquery/bower.json +14 -0
  77. data/spec/dummy/node_modules/jquery/dist/jquery.js +10872 -0
  78. data/spec/dummy/node_modules/jquery/dist/jquery.min.js +2 -0
  79. data/spec/dummy/node_modules/jquery/dist/jquery.min.map +1 -0
  80. data/spec/dummy/node_modules/jquery/dist/jquery.slim.js +8777 -0
  81. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.js +2 -0
  82. data/spec/dummy/node_modules/jquery/dist/jquery.slim.min.map +1 -0
  83. data/spec/dummy/node_modules/jquery/external/sizzle/LICENSE.txt +36 -0
  84. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.js +2478 -0
  85. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.js +3 -0
  86. data/spec/dummy/node_modules/jquery/external/sizzle/dist/sizzle.min.map +1 -0
  87. data/spec/dummy/node_modules/jquery/package.json +117 -0
  88. data/spec/dummy/node_modules/jquery/src/ajax.js +873 -0
  89. data/spec/dummy/node_modules/jquery/src/ajax/jsonp.js +103 -0
  90. data/spec/dummy/node_modules/jquery/src/ajax/load.js +77 -0
  91. data/spec/dummy/node_modules/jquery/src/ajax/script.js +74 -0
  92. data/spec/dummy/node_modules/jquery/src/ajax/var/location.js +5 -0
  93. data/spec/dummy/node_modules/jquery/src/ajax/var/nonce.js +5 -0
  94. data/spec/dummy/node_modules/jquery/src/ajax/var/rquery.js +5 -0
  95. data/spec/dummy/node_modules/jquery/src/ajax/xhr.js +170 -0
  96. data/spec/dummy/node_modules/jquery/src/attributes.js +13 -0
  97. data/spec/dummy/node_modules/jquery/src/attributes/attr.js +141 -0
  98. data/spec/dummy/node_modules/jquery/src/attributes/classes.js +186 -0
  99. data/spec/dummy/node_modules/jquery/src/attributes/prop.js +143 -0
  100. data/spec/dummy/node_modules/jquery/src/attributes/support.js +33 -0
  101. data/spec/dummy/node_modules/jquery/src/attributes/val.js +191 -0
  102. data/spec/dummy/node_modules/jquery/src/callbacks.js +236 -0
  103. data/spec/dummy/node_modules/jquery/src/core.js +400 -0
  104. data/spec/dummy/node_modules/jquery/src/core/DOMEval.js +43 -0
  105. data/spec/dummy/node_modules/jquery/src/core/access.js +72 -0
  106. data/spec/dummy/node_modules/jquery/src/core/camelCase.js +23 -0
  107. data/spec/dummy/node_modules/jquery/src/core/init.js +129 -0
  108. data/spec/dummy/node_modules/jquery/src/core/isAttached.js +26 -0
  109. data/spec/dummy/node_modules/jquery/src/core/nodeName.js +13 -0
  110. data/spec/dummy/node_modules/jquery/src/core/parseHTML.js +65 -0
  111. data/spec/dummy/node_modules/jquery/src/core/parseXML.js +30 -0
  112. data/spec/dummy/node_modules/jquery/src/core/ready-no-deferred.js +97 -0
  113. data/spec/dummy/node_modules/jquery/src/core/ready.js +86 -0
  114. data/spec/dummy/node_modules/jquery/src/core/readyException.js +13 -0
  115. data/spec/dummy/node_modules/jquery/src/core/stripAndCollapse.js +14 -0
  116. data/spec/dummy/node_modules/jquery/src/core/support.js +20 -0
  117. data/spec/dummy/node_modules/jquery/src/core/toType.js +20 -0
  118. data/spec/dummy/node_modules/jquery/src/core/var/rsingleTag.js +7 -0
  119. data/spec/dummy/node_modules/jquery/src/css.js +494 -0
  120. data/spec/dummy/node_modules/jquery/src/css/addGetHookIf.js +26 -0
  121. data/spec/dummy/node_modules/jquery/src/css/adjustCSS.js +74 -0
  122. data/spec/dummy/node_modules/jquery/src/css/curCSS.js +65 -0
  123. data/spec/dummy/node_modules/jquery/src/css/finalPropName.js +42 -0
  124. data/spec/dummy/node_modules/jquery/src/css/hiddenVisibleSelectors.js +15 -0
  125. data/spec/dummy/node_modules/jquery/src/css/showHide.js +105 -0
  126. data/spec/dummy/node_modules/jquery/src/css/support.js +133 -0
  127. data/spec/dummy/node_modules/jquery/src/css/var/cssExpand.js +5 -0
  128. data/spec/dummy/node_modules/jquery/src/css/var/getStyles.js +17 -0
  129. data/spec/dummy/node_modules/jquery/src/css/var/isHiddenWithinTree.js +34 -0
  130. data/spec/dummy/node_modules/jquery/src/css/var/rboxStyle.js +7 -0
  131. data/spec/dummy/node_modules/jquery/src/css/var/rnumnonpx.js +7 -0
  132. data/spec/dummy/node_modules/jquery/src/css/var/swap.js +26 -0
  133. data/spec/dummy/node_modules/jquery/src/data.js +180 -0
  134. data/spec/dummy/node_modules/jquery/src/data/Data.js +162 -0
  135. data/spec/dummy/node_modules/jquery/src/data/var/acceptData.js +19 -0
  136. data/spec/dummy/node_modules/jquery/src/data/var/dataPriv.js +7 -0
  137. data/spec/dummy/node_modules/jquery/src/data/var/dataUser.js +7 -0
  138. data/spec/dummy/node_modules/jquery/src/deferred.js +399 -0
  139. data/spec/dummy/node_modules/jquery/src/deferred/exceptionHook.js +21 -0
  140. data/spec/dummy/node_modules/jquery/src/deprecated.js +87 -0
  141. data/spec/dummy/node_modules/jquery/src/deprecated/ajax-event-alias.js +22 -0
  142. data/spec/dummy/node_modules/jquery/src/deprecated/event.js +48 -0
  143. data/spec/dummy/node_modules/jquery/src/dimensions.js +57 -0
  144. data/spec/dummy/node_modules/jquery/src/effects.js +701 -0
  145. data/spec/dummy/node_modules/jquery/src/effects/Tween.js +125 -0
  146. data/spec/dummy/node_modules/jquery/src/effects/animatedSelector.js +15 -0
  147. data/spec/dummy/node_modules/jquery/src/event.js +892 -0
  148. data/spec/dummy/node_modules/jquery/src/event/focusin.js +58 -0
  149. data/spec/dummy/node_modules/jquery/src/event/support.js +11 -0
  150. data/spec/dummy/node_modules/jquery/src/event/trigger.js +201 -0
  151. data/spec/dummy/node_modules/jquery/src/exports/amd.js +26 -0
  152. data/spec/dummy/node_modules/jquery/src/exports/global.js +34 -0
  153. data/spec/dummy/node_modules/jquery/src/jquery.js +41 -0
  154. data/spec/dummy/node_modules/jquery/src/manipulation.js +480 -0
  155. data/spec/dummy/node_modules/jquery/src/manipulation/_evalUrl.js +32 -0
  156. data/spec/dummy/node_modules/jquery/src/manipulation/buildFragment.js +106 -0
  157. data/spec/dummy/node_modules/jquery/src/manipulation/getAll.js +32 -0
  158. data/spec/dummy/node_modules/jquery/src/manipulation/setGlobalEval.js +22 -0
  159. data/spec/dummy/node_modules/jquery/src/manipulation/support.js +41 -0
  160. data/spec/dummy/node_modules/jquery/src/manipulation/var/rscriptType.js +5 -0
  161. data/spec/dummy/node_modules/jquery/src/manipulation/var/rtagName.js +8 -0
  162. data/spec/dummy/node_modules/jquery/src/manipulation/wrapMap.js +30 -0
  163. data/spec/dummy/node_modules/jquery/src/offset.js +238 -0
  164. data/spec/dummy/node_modules/jquery/src/queue.js +145 -0
  165. data/spec/dummy/node_modules/jquery/src/queue/delay.js +24 -0
  166. data/spec/dummy/node_modules/jquery/src/selector-native.js +241 -0
  167. data/spec/dummy/node_modules/jquery/src/selector-sizzle.js +19 -0
  168. data/spec/dummy/node_modules/jquery/src/selector.js +3 -0
  169. data/spec/dummy/node_modules/jquery/src/serialize.js +136 -0
  170. data/spec/dummy/node_modules/jquery/src/traversing.js +198 -0
  171. data/spec/dummy/node_modules/jquery/src/traversing/findFilter.js +97 -0
  172. data/spec/dummy/node_modules/jquery/src/traversing/var/dir.js +22 -0
  173. data/spec/dummy/node_modules/jquery/src/traversing/var/rneedsContext.js +8 -0
  174. data/spec/dummy/node_modules/jquery/src/traversing/var/siblings.js +17 -0
  175. data/spec/dummy/node_modules/jquery/src/var/ObjectFunctionString.js +7 -0
  176. data/spec/dummy/node_modules/jquery/src/var/arr.js +5 -0
  177. data/spec/dummy/node_modules/jquery/src/var/class2type.js +6 -0
  178. data/spec/dummy/node_modules/jquery/src/var/document.js +5 -0
  179. data/spec/dummy/node_modules/jquery/src/var/documentElement.js +7 -0
  180. data/spec/dummy/node_modules/jquery/src/var/flat.js +16 -0
  181. data/spec/dummy/node_modules/jquery/src/var/fnToString.js +7 -0
  182. data/spec/dummy/node_modules/jquery/src/var/getProto.js +5 -0
  183. data/spec/dummy/node_modules/jquery/src/var/hasOwn.js +7 -0
  184. data/spec/dummy/node_modules/jquery/src/var/indexOf.js +7 -0
  185. data/spec/dummy/node_modules/jquery/src/var/isFunction.js +13 -0
  186. data/spec/dummy/node_modules/jquery/src/var/isWindow.js +8 -0
  187. data/spec/dummy/node_modules/jquery/src/var/pnum.js +5 -0
  188. data/spec/dummy/node_modules/jquery/src/var/push.js +7 -0
  189. data/spec/dummy/node_modules/jquery/src/var/rcheckableType.js +5 -0
  190. data/spec/dummy/node_modules/jquery/src/var/rcssNum.js +9 -0
  191. data/spec/dummy/node_modules/jquery/src/var/rnothtmlwhite.js +8 -0
  192. data/spec/dummy/node_modules/jquery/src/var/slice.js +7 -0
  193. data/spec/dummy/node_modules/jquery/src/var/support.js +6 -0
  194. data/spec/dummy/node_modules/jquery/src/var/toString.js +7 -0
  195. data/spec/dummy/node_modules/jquery/src/wrap.js +78 -0
  196. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +5 -0
  197. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -0
  198. data/trusty_cms.gemspec +3 -2
  199. data/yarn.lock +9 -9
  200. metadata +354 -50
@@ -0,0 +1,536 @@
1
+  (1.7ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
2
+  (0.4ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
3
+  (74.0ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_bin NOT NULL PRIMARY KEY)
4
+  (18.4ms) CREATE TABLE `ar_internal_metadata` (`key` varchar(255) COLLATE utf8_bin NOT NULL PRIMARY KEY, `value` varchar(255), `created_at` datetime(6) NOT NULL, `updated_at` datetime(6) NOT NULL)
5
+  (1.1ms) SELECT GET_LOCK('1911292410673641555', 0)
6
+  (0.7ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
7
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
8
+ TRANSACTION (0.2ms) BEGIN
9
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'test', '2021-03-03 18:14:42.447303', '2021-03-03 18:14:42.447303')
10
+ TRANSACTION (24.7ms) COMMIT
11
+  (0.6ms) SELECT RELEASE_LOCK('1911292410673641555')
12
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
13
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
14
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config`
15
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
16
+  (0.2ms) SELECT GET_LOCK('1911292410673641555', 0)
17
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
18
+ Migrating to CreateTrustyTables (1)
19
+  (0.3ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
20
+  (0.2ms) DROP TABLE IF EXISTS `config`
21
+  (83.8ms) CREATE TABLE `config` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '')
22
+  (20.2ms) CREATE UNIQUE INDEX `key` ON `config` (`key`)
23
+  (0.4ms) DROP TABLE IF EXISTS `pages`
24
+  (16.1ms) CREATE TABLE `pages` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `title` varchar(255), `slug` varchar(100), `breadcrumb` varchar(160), `class_name` varchar(25), `status_id` int DEFAULT 1 NOT NULL, `parent_id` int, `layout_id` int, `created_at` datetime, `updated_at` datetime, `published_at` datetime, `created_by` int, `updated_by` int)
25
+  (0.4ms) DROP TABLE IF EXISTS `page_parts`
26
+  (18.3ms) CREATE TABLE `page_parts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `filter` varchar(25), `content` text, `page_id` int)
27
+  (0.3ms) DROP TABLE IF EXISTS `snippets`
28
+  (20.9ms) CREATE TABLE `snippets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int)
29
+  (16.7ms) CREATE UNIQUE INDEX `name` ON `snippets` (`name`)
30
+  (0.4ms) DROP TABLE IF EXISTS `layouts`
31
+  (16.5ms) CREATE TABLE `layouts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int)
32
+  (0.3ms) DROP TABLE IF EXISTS `users`
33
+  (23.4ms) CREATE TABLE `users` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `email` varchar(255), `login` varchar(40) DEFAULT '' NOT NULL, `password` varchar(40), `admin` tinyint(1) DEFAULT FALSE NOT NULL, `developer` tinyint(1) DEFAULT FALSE NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by` int, `updated_by` int, `salt` varchar(255))
34
+  (19.5ms) CREATE UNIQUE INDEX `login` ON `users` (`login`)
35
+ TRANSACTION (0.2ms) BEGIN
36
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('1')
37
+ TRANSACTION (0.3ms) COMMIT
38
+ Migrating to InsertInitialData (2)
39
+ TRANSACTION (0.2ms) BEGIN
40
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('2')
41
+ TRANSACTION (39.8ms) COMMIT
42
+ Migrating to RenameFilterColumn (4)
43
+  (18.7ms) ALTER TABLE `page_parts` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
44
+  (15.6ms) ALTER TABLE `snippets` CHANGE `filter` `filter_id` varchar(25) DEFAULT NULL
45
+ TRANSACTION (0.2ms) BEGIN
46
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('4')
47
+ TRANSACTION (0.3ms) COMMIT
48
+ Migrating to AddVirtualColumnToPage (5)
49
+  (46.2ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT FALSE NOT NULL
50
+ TRANSACTION (0.2ms) BEGIN
51
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('5')
52
+ TRANSACTION (0.3ms) COMMIT
53
+ Migrating to RemoveUserLoginIndex (6)
54
+  (43.4ms) DROP INDEX `login` ON `users`
55
+ TRANSACTION (0.3ms) BEGIN
56
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('6')
57
+ TRANSACTION (0.6ms) COMMIT
58
+ Migrating to RemoveVirtualColumnFromPage (7)
59
+  (18.2ms) ALTER TABLE `pages` DROP COLUMN `virtual`
60
+ TRANSACTION (0.2ms) BEGIN
61
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('7')
62
+ TRANSACTION (0.4ms) COMMIT
63
+ Migrating to AddVirtualColumnToPageAgain (8)
64
+  (87.3ms) ALTER TABLE `pages` ADD `virtual` tinyint(1) DEFAULT FALSE NOT NULL
65
+ TRANSACTION (0.2ms) BEGIN
66
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('8')
67
+ TRANSACTION (0.3ms) COMMIT
68
+ Migrating to AddContentTypeFieldToLayout (9)
69
+  (45.4ms) ALTER TABLE `layouts` ADD `content_type` varchar(40)
70
+ TRANSACTION (0.3ms) BEGIN
71
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('9')
72
+ TRANSACTION (0.4ms) COMMIT
73
+ Migrating to CreateSites (10)
74
+  (82.9ms) CREATE TABLE `sites` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int)
75
+ TRANSACTION (0.3ms) BEGIN
76
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('10')
77
+ TRANSACTION (0.4ms) COMMIT
78
+ Migrating to AddOrderToSites (11)
79
+  (49.9ms) ALTER TABLE `sites` ADD `position` int DEFAULT 0
80
+ TRANSACTION (0.2ms) BEGIN
81
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('11')
82
+ TRANSACTION (0.4ms) COMMIT
83
+ Migrating to CreateExtensionMeta (12)
84
+  (0.3ms) DROP TABLE IF EXISTS `extension_meta`
85
+  (44.6ms) CREATE TABLE `extension_meta` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `schema_version` int DEFAULT 0, `enabled` tinyint(1) DEFAULT TRUE)
86
+ TRANSACTION (0.2ms) BEGIN
87
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('12')
88
+ TRANSACTION (0.3ms) COMMIT
89
+ Migrating to AddNotesFieldToUser (13)
90
+  (48.7ms) ALTER TABLE `users` ADD `notes` text
91
+ TRANSACTION (0.2ms) BEGIN
92
+ ActiveRecord::SchemaMigration Create (0.2ms) INSERT INTO `schema_migrations` (`version`) VALUES ('13')
93
+ TRANSACTION (0.4ms) COMMIT
94
+ Migrating to RenameConfigDefaultPartsKey (14)
95
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default.parts' LIMIT 1
96
+ TRANSACTION (0.2ms) BEGIN
97
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('14')
98
+ TRANSACTION (0.4ms) COMMIT
99
+ Migrating to AddOptimisticLocking (15)
100
+  (38.6ms) ALTER TABLE `pages` ADD `lock_version` int DEFAULT 0
101
+  (16.6ms) ALTER TABLE `layouts` ADD `lock_version` int DEFAULT 0
102
+  (17.6ms) ALTER TABLE `snippets` ADD `lock_version` int DEFAULT 0
103
+  (17.0ms) ALTER TABLE `users` ADD `lock_version` int DEFAULT 0
104
+ TRANSACTION (0.2ms) BEGIN
105
+ ActiveRecord::SchemaMigration Create (0.3ms) INSERT INTO `schema_migrations` (`version`) VALUES ('15')
106
+ TRANSACTION (0.5ms) COMMIT
107
+ Migrating to AddSessions (16)
108
+  (46.0ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime)
109
+  (0.9ms) CREATE INDEX `index_sessions_on_session_id` ON `sessions` (`session_id`)
110
+  (0.2ms) SELECT RELEASE_LOCK('1911292410673641555')
111
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
112
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' ORDER BY `config`.`id` ASC LIMIT 1
113
+ TRANSACTION (0.2ms) BEGIN
114
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.title', 'TrustyCms CMS')
115
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
116
+ TRANSACTION (81.1ms) COMMIT
117
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' ORDER BY `config`.`id` ASC LIMIT 1
118
+ TRANSACTION (0.2ms) BEGIN
119
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.parts', 'Body,Extended')
120
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
121
+ TRANSACTION (39.8ms) COMMIT
122
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' ORDER BY `config`.`id` ASC LIMIT 1
123
+ TRANSACTION (0.2ms) BEGIN
124
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.status', 'Draft')
125
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
126
+ TRANSACTION (40.7ms) COMMIT
127
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.param_name' ORDER BY `config`.`id` ASC LIMIT 1
128
+ TRANSACTION (0.2ms) BEGIN
129
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.param_name', 'page')
130
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
131
+ TRANSACTION (40.9ms) COMMIT
132
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.per_page_param_name' ORDER BY `config`.`id` ASC LIMIT 1
133
+ TRANSACTION (0.2ms) BEGIN
134
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.per_page_param_name', 'per_page')
135
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
136
+ TRANSACTION (40.8ms) COMMIT
137
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.pagination.per_page' ORDER BY `config`.`id` ASC LIMIT 1
138
+ TRANSACTION (0.2ms) BEGIN
139
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.pagination.per_page', '50')
140
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
141
+ TRANSACTION (40.7ms) COMMIT
142
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.title' ORDER BY `config`.`id` ASC LIMIT 1
143
+ TRANSACTION (0.3ms) BEGIN
144
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.title', 'Your site title')
145
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
146
+ TRANSACTION (39.8ms) COMMIT
147
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.host' ORDER BY `config`.`id` ASC LIMIT 1
148
+ TRANSACTION (0.2ms) BEGIN
149
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.host', 'www.example.com')
150
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
151
+ TRANSACTION (26.7ms) COMMIT
152
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'user.allow_password_reset?' ORDER BY `config`.`id` ASC LIMIT 1
153
+ TRANSACTION (0.3ms) BEGIN
154
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('user.allow_password_reset?', 'true')
155
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
156
+ TRANSACTION (25.6ms) COMMIT
157
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' ORDER BY `config`.`id` ASC LIMIT 1
158
+ TRANSACTION (0.2ms) BEGIN
159
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('session_timeout', '1209600')
160
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
161
+ TRANSACTION (25.6ms) COMMIT
162
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.url' ORDER BY `config`.`id` ASC LIMIT 1
163
+ TRANSACTION (0.2ms) BEGIN
164
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.url', '/system/:attachment/:id/:style/:basename:no_original_style.:extension')
165
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
166
+ TRANSACTION (26.2ms) COMMIT
167
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.path' ORDER BY `config`.`id` ASC LIMIT 1
168
+ TRANSACTION (0.2ms) BEGIN
169
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.path', ':rails_root/public/system/:attachment/:id/:style/:basename:no_original_style.:extension')
170
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
171
+ TRANSACTION (25.8ms) COMMIT
172
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.skip_filetype_validation' ORDER BY `config`.`id` ASC LIMIT 1
173
+ TRANSACTION (0.3ms) BEGIN
174
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.skip_filetype_validation', 'true')
175
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
176
+ TRANSACTION (25.4ms) COMMIT
177
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.storage' ORDER BY `config`.`id` ASC LIMIT 1
178
+ TRANSACTION (0.2ms) BEGIN
179
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.storage', 'filesystem')
180
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
181
+ TRANSACTION (25.3ms) COMMIT
182
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.fog.public?' ORDER BY `config`.`id` ASC LIMIT 1
183
+ TRANSACTION (0.2ms) BEGIN
184
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.fog.public?', 'true')
185
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
186
+ TRANSACTION (26.1ms) COMMIT
187
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_image_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
188
+ TRANSACTION (0.1ms) BEGIN
189
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_image_thumbnails?', 'true')
190
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
191
+ TRANSACTION (25.3ms) COMMIT
192
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_video_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
193
+ TRANSACTION (0.2ms) BEGIN
194
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_video_thumbnails?', 'true')
195
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
196
+ TRANSACTION (26.2ms) COMMIT
197
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_pdf_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
198
+ TRANSACTION (0.3ms) BEGIN
199
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_pdf_thumbnails?', 'true')
200
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
201
+ TRANSACTION (25.5ms) COMMIT
202
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.image' ORDER BY `config`.`id` ASC LIMIT 1
203
+ TRANSACTION (0.2ms) BEGIN
204
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.image', 'normal:size=640x640>|small:size=320x320>')
205
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
206
+ TRANSACTION (25.8ms) COMMIT
207
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.video' ORDER BY `config`.`id` ASC LIMIT 1
208
+ TRANSACTION (0.2ms) BEGIN
209
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.video', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
210
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
211
+ TRANSACTION (25.6ms) COMMIT
212
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.pdf' ORDER BY `config`.`id` ASC LIMIT 1
213
+ TRANSACTION (0.3ms) BEGIN
214
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.pdf', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
215
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
216
+ TRANSACTION (25.9ms) COMMIT
217
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.max_asset_size' ORDER BY `config`.`id` ASC LIMIT 1
218
+ TRANSACTION (0.2ms) BEGIN
219
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.max_asset_size', '5')
220
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
221
+ TRANSACTION (25.7ms) COMMIT
222
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.display_size' ORDER BY `config`.`id` ASC LIMIT 1
223
+ TRANSACTION (0.2ms) BEGIN
224
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.display_size', 'normal')
225
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
226
+ TRANSACTION (25.6ms) COMMIT
227
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.insertion_size' ORDER BY `config`.`id` ASC LIMIT 1
228
+ TRANSACTION (0.2ms) BEGIN
229
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.insertion_size', 'normal')
230
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
231
+ TRANSACTION (26.0ms) COMMIT
232
+  (1.0ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
233
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
234
+  (0.2ms) SELECT GET_LOCK('1911292410673641555', 0)
235
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
236
+ Migrating to AddSessions (16)
237
+  (0.3ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
238
+  (0.4ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime)
239
+  (0.2ms) SELECT RELEASE_LOCK('1911292410673641555')
240
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
241
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
242
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' LIMIT 1
243
+ TRANSACTION (0.2ms) BEGIN
244
+ TrustyCms::Config Update (41.1ms) UPDATE `config` SET `config`.`value` = 'TrustyCMS' WHERE `config`.`id` = 1
245
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
246
+ TRANSACTION (40.7ms) COMMIT
247
+ TRANSACTION (0.2ms) BEGIN
248
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
249
+ TRANSACTION (0.2ms) COMMIT
250
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.subtitle' LIMIT 1
251
+ TRANSACTION (0.2ms) BEGIN
252
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.subtitle', 'Publishing for Small Teams')
253
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
254
+ TRANSACTION (39.9ms) COMMIT
255
+ TRANSACTION (0.3ms) BEGIN
256
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
257
+ TRANSACTION (0.2ms) COMMIT
258
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' LIMIT 1
259
+ TRANSACTION (0.2ms) BEGIN
260
+ TrustyCms::Config Update (0.4ms) UPDATE `config` SET `config`.`value` = 'body, extended' WHERE `config`.`id` = 2
261
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
262
+ TRANSACTION (41.8ms) COMMIT
263
+ TRANSACTION (0.3ms) BEGIN
264
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
265
+ TRANSACTION (0.2ms) COMMIT
266
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' LIMIT 1
267
+ TRANSACTION (0.2ms) BEGIN
268
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
269
+ TRANSACTION (0.2ms) COMMIT
270
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.filter' LIMIT 1
271
+ TRANSACTION (0.2ms) BEGIN
272
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`) VALUES ('defaults.page.filter')
273
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
274
+ TRANSACTION (39.8ms) COMMIT
275
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.fields' LIMIT 1
276
+ TRANSACTION (0.2ms) BEGIN
277
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.fields', 'Keywords, Description')
278
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
279
+ TRANSACTION (41.2ms) COMMIT
280
+ TRANSACTION (0.3ms) BEGIN
281
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
282
+ TRANSACTION (0.2ms) COMMIT
283
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.snippet.filter' LIMIT 1
284
+ TRANSACTION (0.2ms) BEGIN
285
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`) VALUES ('defaults.snippet.filter')
286
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
287
+ TRANSACTION (36.7ms) COMMIT
288
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' LIMIT 1
289
+ TRANSACTION (0.2ms) BEGIN
290
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
291
+ TRANSACTION (0.2ms) COMMIT
292
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default_locale' LIMIT 1
293
+ TRANSACTION (0.2ms) BEGIN
294
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('default_locale', 'en')
295
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
296
+ TRANSACTION (35.7ms) COMMIT
297
+ TRANSACTION (0.3ms) BEGIN
298
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
299
+ TRANSACTION (0.2ms) COMMIT
300
+ Layout Exists? (0.3ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = '' LIMIT 1
301
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
302
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
303
+  (41.9ms) select table_name from information_schema.views where table_schema = 'trusty_cms_test'
304
+  (5.5ms) TRUNCATE TABLE `extension_meta`;
305
+  (3.2ms) TRUNCATE TABLE `layouts`;
306
+  (2.9ms) TRUNCATE TABLE `page_parts`;
307
+  (2.8ms) TRUNCATE TABLE `pages`;
308
+  (2.5ms) TRUNCATE TABLE `sessions`;
309
+  (2.8ms) TRUNCATE TABLE `sites`;
310
+  (3.4ms) TRUNCATE TABLE `snippets`;
311
+  (2.7ms) TRUNCATE TABLE `users`;
312
+  (0.3ms) SET FOREIGN_KEY_CHECKS = 1
313
+ TRANSACTION (0.2ms) BEGIN
314
+ Layout Exists? (0.3ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'Normal' LIMIT 1
315
+ Layout Create (0.3ms) INSERT INTO `layouts` (`name`, `content`, `created_at`, `updated_at`, `lock_version`) VALUES ('Normal', 'Content!', '2021-03-03 18:17:37', '2021-03-03 18:17:37', 0)
316
+ TRANSACTION (40.7ms) COMMIT
317
+ TRANSACTION (0.2ms) BEGIN
318
+ Layout Exists? (0.3ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'Normal' LIMIT 1
319
+ TRANSACTION (0.2ms) ROLLBACK
320
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
321
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
322
+  (44.2ms) TRUNCATE TABLE `extension_meta`;
323
+  (3.8ms) TRUNCATE TABLE `layouts`;
324
+  (3.0ms) TRUNCATE TABLE `page_parts`;
325
+  (2.9ms) TRUNCATE TABLE `pages`;
326
+  (2.6ms) TRUNCATE TABLE `sessions`;
327
+  (2.2ms) TRUNCATE TABLE `sites`;
328
+  (2.6ms) TRUNCATE TABLE `snippets`;
329
+  (2.4ms) TRUNCATE TABLE `users`;
330
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
331
+ TRANSACTION (0.3ms) BEGIN
332
+ Layout Exists? (0.3ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' LIMIT 1
333
+ TRANSACTION (0.2ms) ROLLBACK
334
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
335
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
336
+  (44.2ms) TRUNCATE TABLE `extension_meta`;
337
+  (3.7ms) TRUNCATE TABLE `layouts`;
338
+  (2.7ms) TRUNCATE TABLE `page_parts`;
339
+  (2.5ms) TRUNCATE TABLE `pages`;
340
+  (3.0ms) TRUNCATE TABLE `sessions`;
341
+  (2.5ms) TRUNCATE TABLE `sites`;
342
+  (2.6ms) TRUNCATE TABLE `snippets`;
343
+  (3.7ms) TRUNCATE TABLE `users`;
344
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
345
+ TRANSACTION (0.2ms) BEGIN
346
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
347
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
348
+  (26.5ms) TRUNCATE TABLE `extension_meta`;
349
+  (3.4ms) TRUNCATE TABLE `layouts`;
350
+  (2.8ms) TRUNCATE TABLE `page_parts`;
351
+  (2.7ms) TRUNCATE TABLE `pages`;
352
+  (2.3ms) TRUNCATE TABLE `sessions`;
353
+  (2.6ms) TRUNCATE TABLE `sites`;
354
+  (2.5ms) TRUNCATE TABLE `snippets`;
355
+  (2.3ms) TRUNCATE TABLE `users`;
356
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
357
+ TRANSACTION (0.2ms) ROLLBACK
358
+ TRANSACTION (0.1ms) BEGIN
359
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
360
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
361
+  (44.4ms) TRUNCATE TABLE `extension_meta`;
362
+  (3.4ms) TRUNCATE TABLE `layouts`;
363
+  (3.2ms) TRUNCATE TABLE `page_parts`;
364
+  (2.9ms) TRUNCATE TABLE `pages`;
365
+  (2.7ms) TRUNCATE TABLE `sessions`;
366
+  (2.5ms) TRUNCATE TABLE `sites`;
367
+  (2.6ms) TRUNCATE TABLE `snippets`;
368
+  (2.2ms) TRUNCATE TABLE `users`;
369
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
370
+ TRANSACTION (0.2ms) ROLLBACK
371
+ TRANSACTION (0.2ms) BEGIN
372
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
373
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
374
+  (2.1ms) TRUNCATE TABLE `extension_meta`;
375
+  (2.5ms) TRUNCATE TABLE `layouts`;
376
+  (2.2ms) TRUNCATE TABLE `page_parts`;
377
+  (2.4ms) TRUNCATE TABLE `pages`;
378
+  (2.4ms) TRUNCATE TABLE `sessions`;
379
+  (2.6ms) TRUNCATE TABLE `sites`;
380
+  (2.7ms) TRUNCATE TABLE `snippets`;
381
+  (2.2ms) TRUNCATE TABLE `users`;
382
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
383
+ TRANSACTION (0.2ms) ROLLBACK
384
+ TRANSACTION (0.1ms) BEGIN
385
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
386
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
387
+  (2.2ms) TRUNCATE TABLE `extension_meta`;
388
+  (2.2ms) TRUNCATE TABLE `layouts`;
389
+  (2.0ms) TRUNCATE TABLE `page_parts`;
390
+  (2.2ms) TRUNCATE TABLE `pages`;
391
+  (2.1ms) TRUNCATE TABLE `sessions`;
392
+  (2.1ms) TRUNCATE TABLE `sites`;
393
+  (4.2ms) TRUNCATE TABLE `snippets`;
394
+  (2.8ms) TRUNCATE TABLE `users`;
395
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
396
+ TRANSACTION (0.1ms) ROLLBACK
397
+ TRANSACTION (0.2ms) BEGIN
398
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
399
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
400
+  (2.0ms) TRUNCATE TABLE `extension_meta`;
401
+  (2.6ms) TRUNCATE TABLE `layouts`;
402
+  (2.2ms) TRUNCATE TABLE `page_parts`;
403
+  (2.6ms) TRUNCATE TABLE `pages`;
404
+  (2.5ms) TRUNCATE TABLE `sessions`;
405
+  (2.2ms) TRUNCATE TABLE `sites`;
406
+  (2.7ms) TRUNCATE TABLE `snippets`;
407
+  (2.7ms) TRUNCATE TABLE `users`;
408
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
409
+ TRANSACTION (0.2ms) ROLLBACK
410
+ TRANSACTION (0.1ms) BEGIN
411
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
412
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
413
+  (2.3ms) TRUNCATE TABLE `extension_meta`;
414
+  (3.2ms) TRUNCATE TABLE `layouts`;
415
+  (2.0ms) TRUNCATE TABLE `page_parts`;
416
+  (2.3ms) TRUNCATE TABLE `pages`;
417
+  (2.1ms) TRUNCATE TABLE `sessions`;
418
+  (2.2ms) TRUNCATE TABLE `sites`;
419
+  (2.4ms) TRUNCATE TABLE `snippets`;
420
+  (4.1ms) TRUNCATE TABLE `users`;
421
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
422
+ TRANSACTION (0.1ms) ROLLBACK
423
+ TRANSACTION (0.1ms) BEGIN
424
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
425
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
426
+  (2.3ms) TRUNCATE TABLE `extension_meta`;
427
+  (2.2ms) TRUNCATE TABLE `layouts`;
428
+  (2.2ms) TRUNCATE TABLE `page_parts`;
429
+  (2.4ms) TRUNCATE TABLE `pages`;
430
+  (2.7ms) TRUNCATE TABLE `sessions`;
431
+  (2.1ms) TRUNCATE TABLE `sites`;
432
+  (2.4ms) TRUNCATE TABLE `snippets`;
433
+  (2.1ms) TRUNCATE TABLE `users`;
434
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
435
+ TRANSACTION (0.1ms) ROLLBACK
436
+ TRANSACTION (0.2ms) BEGIN
437
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
438
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
439
+  (2.0ms) TRUNCATE TABLE `extension_meta`;
440
+  (2.5ms) TRUNCATE TABLE `layouts`;
441
+  (2.1ms) TRUNCATE TABLE `page_parts`;
442
+  (2.2ms) TRUNCATE TABLE `pages`;
443
+  (2.1ms) TRUNCATE TABLE `sessions`;
444
+  (2.2ms) TRUNCATE TABLE `sites`;
445
+  (2.7ms) TRUNCATE TABLE `snippets`;
446
+  (2.2ms) TRUNCATE TABLE `users`;
447
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
448
+ TRANSACTION (0.1ms) ROLLBACK
449
+ TRANSACTION (0.2ms) BEGIN
450
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
451
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
452
+  (2.1ms) TRUNCATE TABLE `extension_meta`;
453
+  (2.3ms) TRUNCATE TABLE `layouts`;
454
+  (2.0ms) TRUNCATE TABLE `page_parts`;
455
+  (2.4ms) TRUNCATE TABLE `pages`;
456
+  (1.9ms) TRUNCATE TABLE `sessions`;
457
+  (2.7ms) TRUNCATE TABLE `sites`;
458
+  (2.3ms) TRUNCATE TABLE `snippets`;
459
+  (4.0ms) TRUNCATE TABLE `users`;
460
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
461
+ TRANSACTION (0.2ms) ROLLBACK
462
+ TRANSACTION (0.1ms) BEGIN
463
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
464
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
465
+  (2.4ms) TRUNCATE TABLE `extension_meta`;
466
+  (2.3ms) TRUNCATE TABLE `layouts`;
467
+  (2.2ms) TRUNCATE TABLE `page_parts`;
468
+  (2.4ms) TRUNCATE TABLE `pages`;
469
+  (2.0ms) TRUNCATE TABLE `sessions`;
470
+  (2.2ms) TRUNCATE TABLE `sites`;
471
+  (2.4ms) TRUNCATE TABLE `snippets`;
472
+  (2.5ms) TRUNCATE TABLE `users`;
473
+  (0.3ms) SET FOREIGN_KEY_CHECKS = 1
474
+ TRANSACTION (0.2ms) ROLLBACK
475
+ TRANSACTION (0.1ms) BEGIN
476
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'local.timezone' ORDER BY `config`.`id` ASC LIMIT 1
477
+ TRANSACTION (0.1ms) SAVEPOINT active_record_1
478
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('local.timezone', 'UTC')
479
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
480
+ TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1
481
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
482
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
483
+  (44.9ms) TRUNCATE TABLE `extension_meta`;
484
+  (3.9ms) TRUNCATE TABLE `layouts`;
485
+  (3.0ms) TRUNCATE TABLE `page_parts`;
486
+  (3.8ms) TRUNCATE TABLE `pages`;
487
+  (2.9ms) TRUNCATE TABLE `sessions`;
488
+  (2.6ms) TRUNCATE TABLE `sites`;
489
+  (2.6ms) TRUNCATE TABLE `snippets`;
490
+  (2.1ms) TRUNCATE TABLE `users`;
491
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
492
+ TRANSACTION (0.1ms) ROLLBACK
493
+ TRANSACTION (0.2ms) BEGIN
494
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
495
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
496
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
497
+  (44.6ms) TRUNCATE TABLE `extension_meta`;
498
+  (3.3ms) TRUNCATE TABLE `layouts`;
499
+  (2.7ms) TRUNCATE TABLE `page_parts`;
500
+  (2.6ms) TRUNCATE TABLE `pages`;
501
+  (2.5ms) TRUNCATE TABLE `sessions`;
502
+  (2.5ms) TRUNCATE TABLE `sites`;
503
+  (2.7ms) TRUNCATE TABLE `snippets`;
504
+  (3.3ms) TRUNCATE TABLE `users`;
505
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
506
+ TRANSACTION (0.2ms) ROLLBACK
507
+  (0.2ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
508
+  (0.3ms) CREATE DATABASE `` DEFAULT COLLATE `utf8mb4_bin`
509
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
510
+  (0.4ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
511
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
512
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
513
+  (0.2ms) SELECT GET_LOCK('1911292410673641555', 0)
514
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
515
+ Migrating to AddSessions (16)
516
+  (0.3ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
517
+  (0.4ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime)
518
+  (0.2ms) SELECT RELEASE_LOCK('1911292410673641555')
519
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
520
+  (0.4ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
521
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
522
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
523
+  (0.2ms) SELECT GET_LOCK('1911292410673641555', 0)
524
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
525
+ Migrating to AddSessions (16)
526
+  (0.3ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
527
+  (0.4ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime)
528
+  (0.2ms) SELECT RELEASE_LOCK('1911292410673641555')
529
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
530
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
531
+  (0.3ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
532
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
533
+  (0.2ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
534
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
535
+  (0.2ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
536
+  (63.9ms) DROP DATABASE IF EXISTS `trusty_cms_test`