trusty-cms 5.0.6 → 5.0.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (156) hide show
  1. checksums.yaml +4 -4
  2. data/Gemfile.lock +60 -59
  3. data/app/models/asset.rb +8 -2
  4. data/app/views/admin/assets/_asset_table.html.haml +1 -1
  5. data/app/views/admin/assets/_search.html.haml +1 -1
  6. data/app/views/admin/assets/_search_results.html.haml +2 -2
  7. data/app/views/admin/assets/edit.html.haml +5 -5
  8. data/app/views/admin/assets/index.html.haml +1 -1
  9. data/app/views/admin/configuration/_clipped_show.html.haml +1 -1
  10. data/app/views/admin/pages/_asset_popups.html.haml +5 -5
  11. data/app/views/admin/removed/_assets_bucket.html.haml +2 -2
  12. data/app/views/admin/removed/_assets_container.html.haml +6 -6
  13. data/app/views/admin/removed/_bucket.html.haml +1 -1
  14. data/app/views/admin/removed/_upload_to_page.html.haml +1 -1
  15. data/app/views/admin/sites/_form.haml +2 -2
  16. data/app/views/admin/snippets/edit.html.haml +1 -1
  17. data/app/views/admin/snippets/new.html.haml +1 -1
  18. data/config/database.yml +4 -0
  19. data/coverage/index.html +154 -154
  20. data/lib/generators/extension_controller/templates/view_spec.rb +1 -1
  21. data/lib/generators/generator_base_extension.rb +0 -1
  22. data/lib/generators/instance/instance_generator.rb +1 -1
  23. data/lib/generators/language_extension/language_extension_generator.rb +0 -1
  24. data/lib/generators/language_extension/templates/test_helper.rb +0 -1
  25. data/lib/generators/trusty_cms/trusty_cms_generator.rb +0 -2
  26. data/lib/trusty_cms.rb +1 -1
  27. data/node_modules/ajv/README.md +158 -72
  28. data/node_modules/ajv/dist/ajv.bundle.js +136 -112
  29. data/node_modules/ajv/dist/ajv.min.js +2 -2
  30. data/node_modules/ajv/dist/ajv.min.js.map +1 -1
  31. data/node_modules/ajv/lib/ajv.d.ts +3 -1
  32. data/node_modules/ajv/lib/compile/equal.js +1 -1
  33. data/node_modules/ajv/lib/compile/formats.js +4 -4
  34. data/node_modules/ajv/lib/compile/index.js +1 -1
  35. data/node_modules/ajv/lib/compile/util.js +9 -44
  36. data/node_modules/ajv/lib/data.js +1 -1
  37. data/node_modules/ajv/lib/definition_schema.js +1 -1
  38. data/node_modules/ajv/lib/dot/_limit.jst +9 -0
  39. data/node_modules/ajv/lib/dot/_limitItems.jst +2 -0
  40. data/node_modules/ajv/lib/dot/_limitLength.jst +2 -0
  41. data/node_modules/ajv/lib/dot/_limitProperties.jst +2 -0
  42. data/node_modules/ajv/lib/dot/allOf.jst +0 -2
  43. data/node_modules/ajv/lib/dot/anyOf.jst +0 -2
  44. data/node_modules/ajv/lib/dot/coerce.def +18 -28
  45. data/node_modules/ajv/lib/dot/contains.jst +0 -2
  46. data/node_modules/ajv/lib/dot/definitions.def +9 -7
  47. data/node_modules/ajv/lib/dot/dependencies.jst +1 -2
  48. data/node_modules/ajv/lib/dot/if.jst +0 -2
  49. data/node_modules/ajv/lib/dot/items.jst +0 -2
  50. data/node_modules/ajv/lib/dot/multipleOf.jst +2 -0
  51. data/node_modules/ajv/lib/dot/properties.jst +6 -5
  52. data/node_modules/ajv/lib/dot/propertyNames.jst +0 -2
  53. data/node_modules/ajv/lib/dot/uniqueItems.jst +1 -1
  54. data/node_modules/ajv/lib/dot/validate.jst +3 -9
  55. data/node_modules/ajv/lib/dotjs/_limit.js +6 -0
  56. data/node_modules/ajv/lib/dotjs/_limitItems.js +3 -0
  57. data/node_modules/ajv/lib/dotjs/_limitLength.js +3 -0
  58. data/node_modules/ajv/lib/dotjs/_limitProperties.js +3 -0
  59. data/node_modules/ajv/lib/dotjs/allOf.js +1 -2
  60. data/node_modules/ajv/lib/dotjs/anyOf.js +1 -2
  61. data/node_modules/ajv/lib/dotjs/contains.js +1 -2
  62. data/node_modules/ajv/lib/dotjs/dependencies.js +2 -2
  63. data/node_modules/ajv/lib/dotjs/if.js +2 -3
  64. data/node_modules/ajv/lib/dotjs/items.js +3 -4
  65. data/node_modules/ajv/lib/dotjs/multipleOf.js +3 -0
  66. data/node_modules/ajv/lib/dotjs/not.js +1 -1
  67. data/node_modules/ajv/lib/dotjs/oneOf.js +1 -1
  68. data/node_modules/ajv/lib/dotjs/properties.js +11 -6
  69. data/node_modules/ajv/lib/dotjs/propertyNames.js +1 -2
  70. data/node_modules/ajv/lib/dotjs/required.js +1 -1
  71. data/node_modules/ajv/lib/dotjs/uniqueItems.js +1 -1
  72. data/node_modules/ajv/lib/dotjs/validate.js +13 -25
  73. data/node_modules/ajv/lib/keyword.js +1 -1
  74. data/node_modules/ajv/lib/refs/data.json +1 -1
  75. data/node_modules/ajv/lib/refs/json-schema-secure.json +1 -1
  76. data/node_modules/ajv/package.json +18 -10
  77. data/node_modules/ajv/scripts/info +0 -0
  78. data/node_modules/ajv/scripts/prepare-tests +0 -0
  79. data/node_modules/ajv/scripts/publish-built-version +1 -1
  80. data/node_modules/ajv/scripts/travis-gh-pages +1 -1
  81. data/node_modules/fast-deep-equal/es6/index.d.ts +1 -1
  82. data/node_modules/fast-deep-equal/es6/react.d.ts +1 -1
  83. data/node_modules/fast-deep-equal/package.json +7 -7
  84. data/node_modules/fast-deep-equal/react.d.ts +1 -1
  85. data/node_modules/uri-js/LICENSE +11 -0
  86. data/node_modules/uri-js/README.md +22 -18
  87. data/node_modules/uri-js/dist/es5/uri.all.d.ts +59 -59
  88. data/node_modules/uri-js/dist/es5/uri.all.js +61 -7
  89. data/node_modules/uri-js/dist/es5/uri.all.js.map +1 -1
  90. data/node_modules/uri-js/dist/es5/uri.all.min.d.ts +59 -59
  91. data/node_modules/uri-js/dist/es5/uri.all.min.js +2 -2
  92. data/node_modules/uri-js/dist/es5/uri.all.min.js.map +1 -1
  93. data/node_modules/uri-js/dist/esnext/index.d.ts +1 -1
  94. data/node_modules/uri-js/dist/esnext/index.js +16 -12
  95. data/node_modules/uri-js/dist/esnext/index.js.map +1 -1
  96. data/node_modules/uri-js/dist/esnext/regexps-iri.d.ts +3 -3
  97. data/node_modules/uri-js/dist/esnext/regexps-iri.js +2 -2
  98. data/node_modules/uri-js/dist/esnext/regexps-iri.js.map +0 -0
  99. data/node_modules/uri-js/dist/esnext/regexps-uri.d.ts +4 -4
  100. data/node_modules/uri-js/dist/esnext/regexps-uri.js +41 -41
  101. data/node_modules/uri-js/dist/esnext/regexps-uri.js.map +0 -0
  102. data/node_modules/uri-js/dist/esnext/schemes/http.d.ts +3 -3
  103. data/node_modules/uri-js/dist/esnext/schemes/http.js +27 -26
  104. data/node_modules/uri-js/dist/esnext/schemes/http.js.map +1 -1
  105. data/node_modules/uri-js/dist/esnext/schemes/https.d.ts +3 -3
  106. data/node_modules/uri-js/dist/esnext/schemes/https.js +8 -8
  107. data/node_modules/uri-js/dist/esnext/schemes/https.js.map +0 -0
  108. data/node_modules/uri-js/dist/esnext/schemes/mailto.d.ts +12 -12
  109. data/node_modules/uri-js/dist/esnext/schemes/mailto.js +0 -0
  110. data/node_modules/uri-js/dist/esnext/schemes/mailto.js.map +0 -0
  111. data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.d.ts +7 -7
  112. data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js +22 -22
  113. data/node_modules/uri-js/dist/esnext/schemes/urn-uuid.js.map +0 -0
  114. data/node_modules/uri-js/dist/esnext/schemes/urn.d.ts +10 -10
  115. data/node_modules/uri-js/dist/esnext/schemes/urn.js +48 -48
  116. data/node_modules/uri-js/dist/esnext/schemes/urn.js.map +0 -0
  117. data/node_modules/uri-js/dist/esnext/schemes/ws.d.ts +7 -0
  118. data/node_modules/uri-js/dist/esnext/schemes/ws.js +41 -0
  119. data/node_modules/uri-js/dist/esnext/schemes/ws.js.map +1 -0
  120. data/node_modules/uri-js/dist/esnext/schemes/wss.d.ts +3 -0
  121. data/node_modules/uri-js/dist/esnext/schemes/wss.js +9 -0
  122. data/node_modules/uri-js/dist/esnext/schemes/wss.js.map +1 -0
  123. data/node_modules/uri-js/dist/esnext/uri.d.ts +59 -59
  124. data/node_modules/uri-js/dist/esnext/uri.js +2 -2
  125. data/node_modules/uri-js/dist/esnext/uri.js.map +1 -1
  126. data/node_modules/uri-js/dist/esnext/util.d.ts +6 -6
  127. data/node_modules/uri-js/dist/esnext/util.js +35 -35
  128. data/node_modules/uri-js/dist/esnext/util.js.map +0 -0
  129. data/node_modules/uri-js/package.json +19 -7
  130. data/node_modules/uri-js/yarn.lock +1271 -615
  131. data/spec/dummy/log/test.log +635 -0
  132. data/spec/dummy/tmp/cache/747/A70/TrustyCms%3A%3AConfig +0 -0
  133. data/spec/dummy/tmp/cache/85C/FA0/TrustyCms.cache_mtime +1 -0
  134. data/trusty_cms.gemspec +2 -1
  135. data/yarn.lock +9 -9
  136. metadata +48 -57
  137. data/node_modules/uri-js/bower.json +0 -47
  138. data/node_modules/uri-js/rollup.config.js +0 -32
  139. data/node_modules/uri-js/src/index.ts +0 -18
  140. data/node_modules/uri-js/src/punycode.d.ts +0 -24
  141. data/node_modules/uri-js/src/regexps-iri.ts +0 -4
  142. data/node_modules/uri-js/src/regexps-uri.ts +0 -89
  143. data/node_modules/uri-js/src/schemes/http.ts +0 -36
  144. data/node_modules/uri-js/src/schemes/https.ts +0 -11
  145. data/node_modules/uri-js/src/schemes/mailto.ts +0 -182
  146. data/node_modules/uri-js/src/schemes/urn-uuid.ts +0 -36
  147. data/node_modules/uri-js/src/schemes/urn.ts +0 -69
  148. data/node_modules/uri-js/src/uri.ts +0 -556
  149. data/node_modules/uri-js/src/util.ts +0 -40
  150. data/node_modules/uri-js/tests/qunit.css +0 -118
  151. data/node_modules/uri-js/tests/qunit.js +0 -1042
  152. data/node_modules/uri-js/tests/test-es5-min.html +0 -17
  153. data/node_modules/uri-js/tests/test-es5.html +0 -17
  154. data/node_modules/uri-js/tests/tests.js +0 -774
  155. data/node_modules/uri-js/tsconfig.json +0 -20
  156. data/spec/dummy/log/development.log +0 -456
@@ -0,0 +1,635 @@
1
+  (1.0ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
2
+  (0.6ms) DROP TABLE IF EXISTS `admins` CASCADE
3
+  (38.8ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) ENGINE=InnoDB DEFAULT CHARSET=utf8
4
+  (0.3ms) DROP TABLE IF EXISTS `assets` CASCADE
5
+  (31.5ms) CREATE TABLE `assets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `caption` varchar(255), `title` varchar(255), `asset_file_name` varchar(255), `asset_content_type` varchar(255), `asset_file_size` int, `created_by_id` int, `updated_by_id` int, `created_at` datetime, `updated_at` datetime, `uuid` varchar(255), `original_width` int, `original_height` int, `original_extension` varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8
6
+  (0.5ms) DROP TABLE IF EXISTS `config` CASCADE
7
+  (29.4ms) CREATE TABLE `config` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '', UNIQUE INDEX `key` (`key`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
8
+  (0.6ms) DROP TABLE IF EXISTS `extension_meta` CASCADE
9
+  (26.9ms) 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) ENGINE=InnoDB DEFAULT CHARSET=utf8
10
+  (0.3ms) DROP TABLE IF EXISTS `layouts` CASCADE
11
+  (30.0ms) CREATE TABLE `layouts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `content_type` varchar(40), `lock_version` int DEFAULT 0, `site_id` int) ENGINE=InnoDB DEFAULT CHARSET=utf8
12
+  (0.7ms) DROP TABLE IF EXISTS `page_attachments` CASCADE
13
+  (26.3ms) CREATE TABLE `page_attachments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `asset_id` int, `page_id` int, `position` int) ENGINE=InnoDB DEFAULT CHARSET=utf8
14
+  (0.3ms) DROP TABLE IF EXISTS `page_fields` CASCADE
15
+  (30.7ms) CREATE TABLE `page_fields` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `page_id` int, `name` varchar(255), `content` varchar(255), INDEX `index_page_fields_on_page_id_and_name_and_content` (`page_id`, `name`, `content`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
16
+  (0.7ms) DROP TABLE IF EXISTS `page_parts` CASCADE
17
+  (30.8ms) CREATE TABLE `page_parts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `filter_id` varchar(25), `content` mediumtext, `page_id` int, INDEX `parts_by_page` (`page_id`, `name`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
18
+  (0.5ms) DROP TABLE IF EXISTS `pages` CASCADE
19
+  (37.6ms) 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_id` int, `updated_by_id` int, `virtual` tinyint(1) DEFAULT FALSE NOT NULL, `lock_version` int DEFAULT 0, `site_id` int, `allowed_children_cache` text, `position` int, INDEX `pages_class_name` (`class_name`), INDEX `pages_parent_id` (`parent_id`), INDEX `index_pages_on_site_id` (`site_id`), INDEX `pages_child_slug` (`slug`, `parent_id`), INDEX `pages_published` (`virtual`, `status_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
20
+  (0.6ms) DROP TABLE IF EXISTS `sessions` CASCADE
21
+  (31.3ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime, INDEX `index_sessions_on_session_id` (`session_id`), INDEX `index_sessions_on_updated_at` (`updated_at`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
22
+  (0.3ms) DROP TABLE IF EXISTS `sites` CASCADE
23
+  (26.9ms) CREATE TABLE `sites` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int, `position` int DEFAULT 0, `created_by_id` int, `created_at` datetime, `updated_by_id` int, `updated_at` datetime, `subtitle` varchar(255), `abbreviation` varchar(255), `base_domain` varchar(255)) ENGINE=InnoDB DEFAULT CHARSET=utf8
24
+  (0.5ms) DROP TABLE IF EXISTS `snippets` CASCADE
25
+  (26.4ms) CREATE TABLE `snippets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter_id` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `lock_version` int DEFAULT 0, `site_id` int, UNIQUE INDEX `name_site_id` (`name`, `site_id`)) ENGINE=InnoDB DEFAULT CHARSET=utf8
26
+  (0.3ms) DROP TABLE IF EXISTS `users` CASCADE
27
+  (26.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, `designer` tinyint(1) DEFAULT FALSE NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `salt` varchar(255), `notes` text, `lock_version` int DEFAULT 0, `session_token` varchar(255), `site_id` int, `locale` varchar(255), `password_reset_token` varchar(255), `password_reset_sent_at` datetime) ENGINE=InnoDB DEFAULT CHARSET=utf8
28
+  (0.5ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
29
+  (28.2ms) CREATE TABLE `schema_migrations` (`version` varchar(255) COLLATE utf8_bin NOT NULL PRIMARY KEY)
30
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
31
+  (2.4ms) INSERT INTO `schema_migrations` (version) VALUES (20161027141250)
32
+  (1.3ms) INSERT INTO `schema_migrations` (version) VALUES
33
+ (1),
34
+ (2),
35
+ (4),
36
+ (5),
37
+ (6),
38
+ (7),
39
+ (8),
40
+ (9),
41
+ (10),
42
+ (11),
43
+ (12),
44
+ (13),
45
+ (14),
46
+ (15),
47
+ (16),
48
+ (17),
49
+ (18),
50
+ (20),
51
+ (21),
52
+ (22),
53
+ (23),
54
+ (24),
55
+ (25),
56
+ (26),
57
+ (27),
58
+ (28),
59
+ (29),
60
+ (30),
61
+ (31),
62
+ (32),
63
+ (20081203140407),
64
+ (20090226140109),
65
+ (20090929164633),
66
+ (20091003095744),
67
+ (20100805154952),
68
+ (20100805155020),
69
+ (20100810151922),
70
+ (20110513205050),
71
+ (20110606111250),
72
+ (20110609101438),
73
+ (20110902203823),
74
+ (20111016150725),
75
+ (20120209231801),
76
+ (20160527141249);
77
+
78
+ 
79
+  (27.9ms) 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)
80
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
81
+ TRANSACTION (0.5ms) BEGIN
82
+ ActiveRecord::InternalMetadata Create (0.3ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('environment', 'test', '2021-10-04 20:16:20.859894', '2021-10-04 20:16:20.859894')
83
+ TRANSACTION (0.6ms) COMMIT
84
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
85
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'schema_sha1' LIMIT 1
86
+ TRANSACTION (0.3ms) BEGIN
87
+ ActiveRecord::InternalMetadata Create (0.4ms) INSERT INTO `ar_internal_metadata` (`key`, `value`, `created_at`, `updated_at`) VALUES ('schema_sha1', '0d8f36387f9905c83e8c19f030a65470c3ac0895', '2021-10-04 20:16:20.866029', '2021-10-04 20:16:20.866029')
88
+ TRANSACTION (0.9ms) COMMIT
89
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
90
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config`
91
+ TrustyCms::Config Load (0.8ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' ORDER BY `config`.`id` ASC LIMIT 1
92
+ TRANSACTION (0.6ms) BEGIN
93
+ TrustyCms::Config Create (0.9ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.title', 'TrustyCms CMS')
94
+ TrustyCms::Config Load (0.7ms) SELECT `config`.* FROM `config`
95
+ TRANSACTION (4.6ms) COMMIT
96
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' ORDER BY `config`.`id` ASC LIMIT 1
97
+ TRANSACTION (0.2ms) BEGIN
98
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.parts', 'Body,Extended')
99
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
100
+ TRANSACTION (4.4ms) COMMIT
101
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' ORDER BY `config`.`id` ASC LIMIT 1
102
+ TRANSACTION (0.2ms) BEGIN
103
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.status', 'Draft')
104
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
105
+ TRANSACTION (6.1ms) COMMIT
106
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.param_name' ORDER BY `config`.`id` ASC LIMIT 1
107
+ TRANSACTION (0.4ms) BEGIN
108
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.param_name', 'page')
109
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
110
+ TRANSACTION (3.9ms) COMMIT
111
+ TrustyCms::Config Load (0.9ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'pagination.per_page_param_name' ORDER BY `config`.`id` ASC LIMIT 1
112
+ TRANSACTION (0.2ms) BEGIN
113
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('pagination.per_page_param_name', 'per_page')
114
+ TrustyCms::Config Load (0.7ms) SELECT `config`.* FROM `config`
115
+ TRANSACTION (16.2ms) COMMIT
116
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.pagination.per_page' ORDER BY `config`.`id` ASC LIMIT 1
117
+ TRANSACTION (0.3ms) BEGIN
118
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.pagination.per_page', '50')
119
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
120
+ TRANSACTION (4.7ms) COMMIT
121
+ TrustyCms::Config Load (0.8ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.title' ORDER BY `config`.`id` ASC LIMIT 1
122
+ TRANSACTION (0.3ms) BEGIN
123
+ TrustyCms::Config Create (0.5ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.title', 'Your site title')
124
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config`
125
+ TRANSACTION (19.5ms) COMMIT
126
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'site.host' ORDER BY `config`.`id` ASC LIMIT 1
127
+ TRANSACTION (0.1ms) BEGIN
128
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('site.host', 'www.example.com')
129
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
130
+ TRANSACTION (4.2ms) COMMIT
131
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'user.allow_password_reset?' ORDER BY `config`.`id` ASC LIMIT 1
132
+ TRANSACTION (0.3ms) BEGIN
133
+ TrustyCms::Config Create (0.7ms) INSERT INTO `config` (`key`, `value`) VALUES ('user.allow_password_reset?', 'true')
134
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
135
+ TRANSACTION (14.7ms) COMMIT
136
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' ORDER BY `config`.`id` ASC LIMIT 1
137
+ TRANSACTION (0.2ms) BEGIN
138
+ TrustyCms::Config Create (0.8ms) INSERT INTO `config` (`key`, `value`) VALUES ('session_timeout', '1209600')
139
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
140
+ TRANSACTION (4.4ms) COMMIT
141
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.url' ORDER BY `config`.`id` ASC LIMIT 1
142
+ TRANSACTION (0.2ms) BEGIN
143
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.url', '/system/:attachment/:id/:style/:basename:no_original_style.:extension')
144
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
145
+ TRANSACTION (16.0ms) COMMIT
146
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.path' ORDER BY `config`.`id` ASC LIMIT 1
147
+ TRANSACTION (0.2ms) BEGIN
148
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.path', ':rails_root/public/system/:attachment/:id/:style/:basename:no_original_style.:extension')
149
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
150
+ TRANSACTION (4.4ms) COMMIT
151
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.skip_filetype_validation' ORDER BY `config`.`id` ASC LIMIT 1
152
+ TRANSACTION (0.2ms) BEGIN
153
+ TrustyCms::Config Create (0.5ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.skip_filetype_validation', 'true')
154
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
155
+ TRANSACTION (16.1ms) COMMIT
156
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.storage' ORDER BY `config`.`id` ASC LIMIT 1
157
+ TRANSACTION (0.2ms) BEGIN
158
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.storage', 'filesystem')
159
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
160
+ TRANSACTION (4.2ms) COMMIT
161
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'paperclip.fog.public?' ORDER BY `config`.`id` ASC LIMIT 1
162
+ TRANSACTION (0.3ms) BEGIN
163
+ TrustyCms::Config Create (0.7ms) INSERT INTO `config` (`key`, `value`) VALUES ('paperclip.fog.public?', 'true')
164
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
165
+ TRANSACTION (13.0ms) COMMIT
166
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_image_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
167
+ TRANSACTION (0.2ms) BEGIN
168
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_image_thumbnails?', 'true')
169
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
170
+ TRANSACTION (4.3ms) COMMIT
171
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_video_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
172
+ TRANSACTION (0.2ms) BEGIN
173
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_video_thumbnails?', 'true')
174
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config`
175
+ TRANSACTION (18.4ms) COMMIT
176
+ TrustyCms::Config Load (0.9ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.create_pdf_thumbnails?' ORDER BY `config`.`id` ASC LIMIT 1
177
+ TRANSACTION (0.2ms) BEGIN
178
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.create_pdf_thumbnails?', 'true')
179
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
180
+ TRANSACTION (5.3ms) COMMIT
181
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.image' ORDER BY `config`.`id` ASC LIMIT 1
182
+ TRANSACTION (0.2ms) BEGIN
183
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.image', 'normal:size=640x640>|small:size=320x320>')
184
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
185
+ TRANSACTION (4.8ms) COMMIT
186
+ TrustyCms::Config Load (0.6ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.video' ORDER BY `config`.`id` ASC LIMIT 1
187
+ TRANSACTION (0.3ms) BEGIN
188
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.video', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
189
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
190
+ TRANSACTION (12.9ms) COMMIT
191
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.thumbnails.pdf' ORDER BY `config`.`id` ASC LIMIT 1
192
+ TRANSACTION (0.3ms) BEGIN
193
+ TrustyCms::Config Create (0.7ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.thumbnails.pdf', 'normal:size=640x640>,format=jpg|small:size=320x320>,format=jpg')
194
+ TrustyCms::Config Load (0.8ms) SELECT `config`.* FROM `config`
195
+ TRANSACTION (5.0ms) COMMIT
196
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.max_asset_size' ORDER BY `config`.`id` ASC LIMIT 1
197
+ TRANSACTION (0.2ms) BEGIN
198
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.max_asset_size', '5')
199
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
200
+ TRANSACTION (9.3ms) COMMIT
201
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.display_size' ORDER BY `config`.`id` ASC LIMIT 1
202
+ TRANSACTION (0.3ms) BEGIN
203
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.display_size', 'normal')
204
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
205
+ TRANSACTION (5.0ms) COMMIT
206
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'assets.insertion_size' ORDER BY `config`.`id` ASC LIMIT 1
207
+ TRANSACTION (0.5ms) BEGIN
208
+ TrustyCms::Config Create (0.5ms) INSERT INTO `config` (`key`, `value`) VALUES ('assets.insertion_size', 'normal')
209
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
210
+ TRANSACTION (12.0ms) COMMIT
211
+  (1.0ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
212
+  (0.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
213
+  (0.3ms) SELECT GET_LOCK('1911292410673641555', 0)
214
+  (0.9ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
215
+ Migrating to CreateAdminUsers (20200117141251)
216
+  (0.6ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
217
+  (1.1ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
218
+  (0.6ms) SELECT RELEASE_LOCK('1911292410673641555')
219
+  (0.4ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
220
+  (0.2ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
221
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
222
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
223
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
224
+  (0.5ms) SELECT GET_LOCK('1911292410673641555', 0)
225
+  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
226
+ Migrating to CreateAdminUsers (20200117141251)
227
+  (0.8ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
228
+  (1.1ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
229
+  (0.5ms) SELECT RELEASE_LOCK('1911292410673641555')
230
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
231
+  (0.3ms) SELECT GET_LOCK('1911292410673641555', 0)
232
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
233
+ Migrating to CreateActiveStorageTables (20210331134718)
234
+  (0.4ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
235
+  (0.5ms) CREATE TABLE `active_storage_blobs` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(255) NOT NULL, `filename` varchar(255) NOT NULL, `content_type` varchar(255), `metadata` text, `service_name` varchar(255) NOT NULL, `byte_size` bigint NOT NULL, `checksum` varchar(255) NOT NULL, `created_at` datetime NOT NULL, UNIQUE INDEX `index_active_storage_blobs_on_key` (`key`))
236
+  (0.2ms) SELECT RELEASE_LOCK('1911292410673641555')
237
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
238
+  (0.6ms) CREATE DATABASE `trusty_cms_test` DEFAULT COLLATE `utf8mb4_bin`
239
+  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
240
+  (0.4ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
241
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
242
+  (0.3ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
243
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
244
+  (0.2ms) SELECT `ar_internal_metadata`.`value` FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment'
245
+  (0.3ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
246
+  (3.4ms) DROP TABLE IF EXISTS `admins` CASCADE
247
+  (24.7ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL) DEFAULT CHARSET=utf8
248
+  (3.5ms) DROP TABLE IF EXISTS `assets` CASCADE
249
+  (22.9ms) CREATE TABLE `assets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `caption` varchar(255), `title` varchar(255), `asset_file_name` varchar(255), `asset_content_type` varchar(255), `asset_file_size` int, `created_by_id` int, `updated_by_id` int, `created_at` datetime, `updated_at` datetime, `uuid` varchar(255), `original_width` int, `original_height` int, `original_extension` varchar(255)) DEFAULT CHARSET=utf8
250
+  (3.5ms) DROP TABLE IF EXISTS `config` CASCADE
251
+  (27.3ms) CREATE TABLE `config` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(40) DEFAULT '' NOT NULL, `value` varchar(255) DEFAULT '', UNIQUE INDEX `key` (`key`)) DEFAULT CHARSET=utf8
252
+  (3.5ms) DROP TABLE IF EXISTS `extension_meta` CASCADE
253
+  (24.8ms) 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) DEFAULT CHARSET=utf8
254
+  (3.3ms) DROP TABLE IF EXISTS `layouts` CASCADE
255
+  (23.7ms) CREATE TABLE `layouts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `content` text, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `content_type` varchar(40), `lock_version` int DEFAULT 0, `site_id` int) DEFAULT CHARSET=utf8
256
+  (2.0ms) DROP TABLE IF EXISTS `page_attachments` CASCADE
257
+  (23.3ms) CREATE TABLE `page_attachments` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `asset_id` int, `page_id` int, `position` int) DEFAULT CHARSET=utf8
258
+  (3.2ms) DROP TABLE IF EXISTS `page_fields` CASCADE
259
+  (24.0ms) CREATE TABLE `page_fields` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `page_id` int, `name` varchar(255), `content` varchar(255), INDEX `index_page_fields_on_page_id_and_name_and_content` (`page_id`, `name`, `content`)) DEFAULT CHARSET=utf8
260
+  (2.2ms) DROP TABLE IF EXISTS `page_parts` CASCADE
261
+  (25.5ms) CREATE TABLE `page_parts` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100), `filter_id` varchar(25), `content` mediumtext, `page_id` int, INDEX `parts_by_page` (`page_id`, `name`)) DEFAULT CHARSET=utf8
262
+  (2.9ms) DROP TABLE IF EXISTS `pages` CASCADE
263
+  (24.8ms) 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_id` int, `updated_by_id` int, `virtual` tinyint(1) DEFAULT FALSE NOT NULL, `lock_version` int DEFAULT 0, `site_id` int, `allowed_children_cache` text, `position` int, INDEX `pages_class_name` (`class_name`), INDEX `pages_parent_id` (`parent_id`), INDEX `index_pages_on_site_id` (`site_id`), INDEX `pages_child_slug` (`slug`, `parent_id`), INDEX `pages_published` (`virtual`, `status_id`)) DEFAULT CHARSET=utf8
264
+  (2.3ms) DROP TABLE IF EXISTS `sessions` CASCADE
265
+  (24.0ms) CREATE TABLE `sessions` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `session_id` varchar(255), `data` text, `updated_at` datetime, INDEX `index_sessions_on_session_id` (`session_id`), INDEX `index_sessions_on_updated_at` (`updated_at`)) DEFAULT CHARSET=utf8
266
+  (2.6ms) DROP TABLE IF EXISTS `sites` CASCADE
267
+  (24.1ms) CREATE TABLE `sites` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(255), `domain` varchar(255), `homepage_id` int, `position` int DEFAULT 0, `created_by_id` int, `created_at` datetime, `updated_by_id` int, `updated_at` datetime, `subtitle` varchar(255), `abbreviation` varchar(255), `base_domain` varchar(255)) DEFAULT CHARSET=utf8
268
+  (3.2ms) DROP TABLE IF EXISTS `snippets` CASCADE
269
+  (25.9ms) CREATE TABLE `snippets` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `name` varchar(100) DEFAULT '' NOT NULL, `filter_id` varchar(25), `content` text, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `lock_version` int DEFAULT 0, `site_id` int, UNIQUE INDEX `name_site_id` (`name`, `site_id`)) DEFAULT CHARSET=utf8
270
+  (2.9ms) DROP TABLE IF EXISTS `users` CASCADE
271
+  (51.0ms) 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, `designer` tinyint(1) DEFAULT FALSE NOT NULL, `created_at` datetime, `updated_at` datetime, `created_by_id` int, `updated_by_id` int, `salt` varchar(255), `notes` text, `lock_version` int DEFAULT 0, `session_token` varchar(255), `site_id` int, `locale` varchar(255), `password_reset_token` varchar(255), `password_reset_sent_at` datetime) DEFAULT CHARSET=utf8
272
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
273
+ ActiveRecord::InternalMetadata Load (0.4ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
274
+ ActiveRecord::InternalMetadata Load (0.3ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'environment' LIMIT 1
275
+ ActiveRecord::InternalMetadata Load (0.5ms) SELECT `ar_internal_metadata`.* FROM `ar_internal_metadata` WHERE `ar_internal_metadata`.`key` = 'schema_sha1' LIMIT 1
276
+ TRANSACTION (0.2ms) BEGIN
277
+ ActiveRecord::InternalMetadata Update (0.3ms) UPDATE `ar_internal_metadata` SET `ar_internal_metadata`.`value` = 'b4d2c8da9116921b3113bca9b89ef9337c871b6e', `ar_internal_metadata`.`updated_at` = '2021-10-04 20:18:43.772097' WHERE `ar_internal_metadata`.`key` = 'schema_sha1'
278
+ TRANSACTION (0.5ms) COMMIT
279
+  (0.3ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
280
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
281
+  (0.5ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
282
+  (0.4ms) SELECT GET_LOCK('1911292410673641555', 0)
283
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
284
+ Migrating to CreateAdminUsers (20200117141251)
285
+  (0.5ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
286
+  (0.5ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
287
+  (0.3ms) SELECT RELEASE_LOCK('1911292410673641555')
288
+  (0.5ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
289
+  (0.4ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
290
+  (0.2ms) SELECT GET_LOCK('1911292410673641555', 0)
291
+  (0.2ms) SELECT `schema_migrations`.`version` FROM `schema_migrations` ORDER BY `schema_migrations`.`version` ASC
292
+ Migrating to CreateAdminUsers (20200117141251)
293
+  (0.4ms) SELECT @@innodb_file_per_table = 1 AND @@innodb_file_format = 'Barracuda'
294
+  (26.8ms) CREATE TABLE `admins` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `email` varchar(255) DEFAULT '' NOT NULL, `encrypted_password` varchar(255) DEFAULT '' NOT NULL, `reset_password_token` varchar(255), `reset_password_sent_at` datetime, `remember_created_at` datetime, `sign_in_count` int DEFAULT 0 NOT NULL, `current_sign_in_at` datetime, `last_sign_in_at` datetime, `current_sign_in_ip` varchar(255), `last_sign_in_ip` varchar(255), `confirmation_token` varchar(255), `confirmed_at` datetime, `confirmation_sent_at` datetime, `unconfirmed_email` varchar(255), `failed_attempts` int DEFAULT 0 NOT NULL, `unlock_token` varchar(255), `locked_at` datetime, `first_name` varchar(255), `last_name` varchar(255), `admin` tinyint(1), `designer` tinyint(1), `content_editor` tinyint(1), `site_id` int, `updated_by_id` int, `notes` text, `created_at` datetime NOT NULL, `updated_at` datetime NOT NULL)
295
+ TRANSACTION (0.2ms) BEGIN
296
+ ActiveRecord::SchemaMigration Create (0.5ms) INSERT INTO `schema_migrations` (`version`) VALUES ('20200117141251')
297
+ TRANSACTION (1.5ms) COMMIT
298
+ Migrating to CreateActiveStorageTables (20210331134718)
299
+  (1.0ms) CREATE TABLE `active_storage_blobs` (`id` bigint NOT NULL AUTO_INCREMENT PRIMARY KEY, `key` varchar(255) NOT NULL, `filename` varchar(255) NOT NULL, `content_type` varchar(255), `metadata` text, `service_name` varchar(255) NOT NULL, `byte_size` bigint NOT NULL, `checksum` varchar(255) NOT NULL, `created_at` datetime NOT NULL, UNIQUE INDEX `index_active_storage_blobs_on_key` (`key`))
300
+  (0.3ms) SELECT RELEASE_LOCK('1911292410673641555')
301
+  (0.3ms) SELECT DISTINCT class_name FROM pages WHERE class_name <> '' AND class_name IS NOT NULL
302
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
303
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.title' LIMIT 1
304
+ TRANSACTION (0.1ms) BEGIN
305
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.title', 'TrustyCMS')
306
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
307
+ TRANSACTION (5.6ms) COMMIT
308
+ TRANSACTION (0.1ms) BEGIN
309
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
310
+ TRANSACTION (0.2ms) COMMIT
311
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'admin.subtitle' LIMIT 1
312
+ TRANSACTION (0.2ms) BEGIN
313
+ TrustyCms::Config Create (0.4ms) INSERT INTO `config` (`key`, `value`) VALUES ('admin.subtitle', 'Publishing for Small Teams')
314
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
315
+ TRANSACTION (5.3ms) COMMIT
316
+ TRANSACTION (0.2ms) BEGIN
317
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
318
+ TRANSACTION (0.1ms) COMMIT
319
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.parts' LIMIT 1
320
+ TRANSACTION (0.1ms) BEGIN
321
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.parts', 'body, extended')
322
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
323
+ TRANSACTION (4.4ms) COMMIT
324
+ TRANSACTION (0.2ms) BEGIN
325
+ TrustyCms::Config Load (0.5ms) SELECT `config`.* FROM `config`
326
+ TRANSACTION (0.2ms) COMMIT
327
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.status' LIMIT 1
328
+ TRANSACTION (0.1ms) BEGIN
329
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.status', 'Draft')
330
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
331
+ TRANSACTION (4.6ms) COMMIT
332
+ TRANSACTION (0.2ms) BEGIN
333
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
334
+ TRANSACTION (0.3ms) COMMIT
335
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.filter' LIMIT 1
336
+ TRANSACTION (0.2ms) BEGIN
337
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`) VALUES ('defaults.page.filter')
338
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
339
+ TRANSACTION (4.7ms) COMMIT
340
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.page.fields' LIMIT 1
341
+ TRANSACTION (0.1ms) BEGIN
342
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('defaults.page.fields', 'Keywords, Description')
343
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
344
+ TRANSACTION (3.9ms) COMMIT
345
+ TRANSACTION (0.2ms) BEGIN
346
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
347
+ TRANSACTION (0.2ms) COMMIT
348
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'defaults.snippet.filter' LIMIT 1
349
+ TRANSACTION (0.1ms) BEGIN
350
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`) VALUES ('defaults.snippet.filter')
351
+ TrustyCms::Config Load (0.1ms) SELECT `config`.* FROM `config`
352
+ TRANSACTION (4.5ms) COMMIT
353
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'session_timeout' LIMIT 1
354
+ TRANSACTION (0.1ms) BEGIN
355
+ TrustyCms::Config Create (0.1ms) INSERT INTO `config` (`key`, `value`) VALUES ('session_timeout', '1209600')
356
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
357
+ TRANSACTION (4.2ms) COMMIT
358
+ TRANSACTION (0.2ms) BEGIN
359
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
360
+ TRANSACTION (0.2ms) COMMIT
361
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'default_locale' LIMIT 1
362
+ TRANSACTION (0.2ms) BEGIN
363
+ TrustyCms::Config Create (0.3ms) INSERT INTO `config` (`key`, `value`) VALUES ('default_locale', 'en')
364
+ TrustyCms::Config Load (0.2ms) SELECT `config`.* FROM `config`
365
+ TRANSACTION (4.1ms) COMMIT
366
+ TRANSACTION (0.2ms) BEGIN
367
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config`
368
+ TRANSACTION (0.3ms) COMMIT
369
+ Layout Exists? (0.3ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = '' AND `layouts`.`site_id` IS NULL LIMIT 1
370
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
371
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
372
+  (2.2ms) select table_name from information_schema.views where table_schema = 'trusty_cms_test'
373
+  (8.4ms) TRUNCATE TABLE `admins`
374
+  (4.5ms) TRUNCATE TABLE `users`
375
+  (5.8ms) TRUNCATE TABLE `pages`
376
+  (3.9ms) TRUNCATE TABLE `page_parts`
377
+  (4.2ms) TRUNCATE TABLE `page_fields`
378
+  (3.7ms) TRUNCATE TABLE `page_attachments`
379
+  (3.9ms) TRUNCATE TABLE `layouts`
380
+  (3.7ms) TRUNCATE TABLE `extension_meta`
381
+  (4.1ms) TRUNCATE TABLE `snippets`
382
+  (5.1ms) TRUNCATE TABLE `assets`
383
+  (4.1ms) TRUNCATE TABLE `sites`
384
+  (5.4ms) TRUNCATE TABLE `sessions`
385
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
386
+ TRANSACTION (0.2ms) BEGIN
387
+ Layout Exists? (0.2ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'Normal' AND `layouts`.`site_id` IS NULL LIMIT 1
388
+ Layout Create (0.2ms) INSERT INTO `layouts` (`name`, `content`, `created_at`, `updated_at`, `lock_version`) VALUES ('Normal', 'Content!', '2021-10-05 14:51:27', '2021-10-05 14:51:27', 0)
389
+ TRANSACTION (0.3ms) COMMIT
390
+ TRANSACTION (0.1ms) BEGIN
391
+ Layout Exists? (0.2ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'Normal' AND `layouts`.`site_id` IS NULL LIMIT 1
392
+ TRANSACTION (0.2ms) ROLLBACK
393
+  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
394
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
395
+  (4.4ms) TRUNCATE TABLE `admins`
396
+  (3.5ms) TRUNCATE TABLE `users`
397
+  (5.2ms) TRUNCATE TABLE `pages`
398
+  (3.4ms) TRUNCATE TABLE `page_parts`
399
+  (4.0ms) TRUNCATE TABLE `page_fields`
400
+  (2.8ms) TRUNCATE TABLE `page_attachments`
401
+  (10.8ms) TRUNCATE TABLE `layouts`
402
+  (3.3ms) TRUNCATE TABLE `extension_meta`
403
+  (3.9ms) TRUNCATE TABLE `snippets`
404
+  (3.0ms) TRUNCATE TABLE `assets`
405
+  (2.9ms) TRUNCATE TABLE `sites`
406
+  (3.5ms) TRUNCATE TABLE `sessions`
407
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
408
+ TRANSACTION (0.2ms) BEGIN
409
+ Layout Exists? (0.2ms) SELECT 1 AS one FROM `layouts` WHERE `layouts`.`name` = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx' AND `layouts`.`site_id` IS NULL LIMIT 1
410
+ TRANSACTION (0.2ms) ROLLBACK
411
+  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
412
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
413
+  (4.0ms) TRUNCATE TABLE `admins`
414
+  (3.7ms) TRUNCATE TABLE `users`
415
+  (5.4ms) TRUNCATE TABLE `pages`
416
+  (3.2ms) TRUNCATE TABLE `page_parts`
417
+  (3.3ms) TRUNCATE TABLE `page_fields`
418
+  (3.0ms) TRUNCATE TABLE `page_attachments`
419
+  (3.0ms) TRUNCATE TABLE `layouts`
420
+  (2.7ms) TRUNCATE TABLE `extension_meta`
421
+  (2.9ms) TRUNCATE TABLE `snippets`
422
+  (2.7ms) TRUNCATE TABLE `assets`
423
+  (2.8ms) TRUNCATE TABLE `sites`
424
+  (3.4ms) TRUNCATE TABLE `sessions`
425
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
426
+ TRANSACTION (0.1ms) BEGIN
427
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
428
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
429
+  (6.3ms) TRUNCATE TABLE `admins`
430
+  (3.1ms) TRUNCATE TABLE `users`
431
+  (5.5ms) TRUNCATE TABLE `pages`
432
+  (3.4ms) TRUNCATE TABLE `page_parts`
433
+  (3.7ms) TRUNCATE TABLE `page_fields`
434
+  (2.7ms) TRUNCATE TABLE `page_attachments`
435
+  (3.0ms) TRUNCATE TABLE `layouts`
436
+  (3.1ms) TRUNCATE TABLE `extension_meta`
437
+  (3.3ms) TRUNCATE TABLE `snippets`
438
+  (2.6ms) TRUNCATE TABLE `assets`
439
+  (2.9ms) TRUNCATE TABLE `sites`
440
+  (3.5ms) TRUNCATE TABLE `sessions`
441
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
442
+ TRANSACTION (0.1ms) ROLLBACK
443
+ TRANSACTION (0.1ms) BEGIN
444
+ TrustyCms::Config Load (0.4ms) SELECT `config`.* FROM `config` WHERE `config`.`key` = 'local.timezone' ORDER BY `config`.`id` ASC LIMIT 1
445
+ TRANSACTION (0.2ms) SAVEPOINT active_record_1
446
+ TrustyCms::Config Create (0.2ms) INSERT INTO `config` (`key`, `value`) VALUES ('local.timezone', 'UTC')
447
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
448
+ TRANSACTION (0.2ms) RELEASE SAVEPOINT active_record_1
449
+  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS
450
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
451
+  (7.6ms) TRUNCATE TABLE `admins`
452
+  (3.7ms) TRUNCATE TABLE `users`
453
+  (4.9ms) TRUNCATE TABLE `pages`
454
+  (3.5ms) TRUNCATE TABLE `page_parts`
455
+  (3.9ms) TRUNCATE TABLE `page_fields`
456
+  (3.0ms) TRUNCATE TABLE `page_attachments`
457
+  (3.0ms) TRUNCATE TABLE `layouts`
458
+  (3.2ms) TRUNCATE TABLE `extension_meta`
459
+  (2.9ms) TRUNCATE TABLE `snippets`
460
+  (2.9ms) TRUNCATE TABLE `assets`
461
+  (2.7ms) TRUNCATE TABLE `sites`
462
+  (3.2ms) TRUNCATE TABLE `sessions`
463
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
464
+ TRANSACTION (0.1ms) ROLLBACK
465
+ TRANSACTION (0.2ms) BEGIN
466
+ TrustyCms::Config Load (0.3ms) SELECT `config`.* FROM `config`
467
+  (0.3ms) SELECT @@FOREIGN_KEY_CHECKS
468
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
469
+  (5.0ms) TRUNCATE TABLE `admins`
470
+  (4.1ms) TRUNCATE TABLE `users`
471
+  (5.1ms) TRUNCATE TABLE `pages`
472
+  (3.3ms) TRUNCATE TABLE `page_parts`
473
+  (3.9ms) TRUNCATE TABLE `page_fields`
474
+  (2.7ms) TRUNCATE TABLE `page_attachments`
475
+  (2.7ms) TRUNCATE TABLE `layouts`
476
+  (2.7ms) TRUNCATE TABLE `extension_meta`
477
+  (3.2ms) TRUNCATE TABLE `snippets`
478
+  (3.0ms) TRUNCATE TABLE `assets`
479
+  (2.9ms) TRUNCATE TABLE `sites`
480
+  (3.9ms) TRUNCATE TABLE `sessions`
481
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
482
+ TRANSACTION (0.1ms) ROLLBACK
483
+ TRANSACTION (0.1ms) BEGIN
484
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
485
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
486
+  (5.8ms) TRUNCATE TABLE `admins`
487
+  (4.0ms) TRUNCATE TABLE `users`
488
+  (5.5ms) TRUNCATE TABLE `pages`
489
+  (3.6ms) TRUNCATE TABLE `page_parts`
490
+  (3.6ms) TRUNCATE TABLE `page_fields`
491
+  (3.1ms) TRUNCATE TABLE `page_attachments`
492
+  (3.2ms) TRUNCATE TABLE `layouts`
493
+  (4.1ms) TRUNCATE TABLE `extension_meta`
494
+  (3.8ms) TRUNCATE TABLE `snippets`
495
+  (2.7ms) TRUNCATE TABLE `assets`
496
+  (3.3ms) TRUNCATE TABLE `sites`
497
+  (4.3ms) TRUNCATE TABLE `sessions`
498
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
499
+ TRANSACTION (0.1ms) ROLLBACK
500
+ TRANSACTION (0.1ms) BEGIN
501
+  (0.5ms) SELECT @@FOREIGN_KEY_CHECKS
502
+  (0.3ms) SET FOREIGN_KEY_CHECKS = 0
503
+  (4.2ms) TRUNCATE TABLE `admins`
504
+  (4.1ms) TRUNCATE TABLE `users`
505
+  (4.8ms) TRUNCATE TABLE `pages`
506
+  (3.7ms) TRUNCATE TABLE `page_parts`
507
+  (3.0ms) TRUNCATE TABLE `page_fields`
508
+  (2.8ms) TRUNCATE TABLE `page_attachments`
509
+  (3.0ms) TRUNCATE TABLE `layouts`
510
+  (2.7ms) TRUNCATE TABLE `extension_meta`
511
+  (2.9ms) TRUNCATE TABLE `snippets`
512
+  (2.5ms) TRUNCATE TABLE `assets`
513
+  (2.7ms) TRUNCATE TABLE `sites`
514
+  (3.5ms) TRUNCATE TABLE `sessions`
515
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
516
+ TRANSACTION (0.1ms) ROLLBACK
517
+ TRANSACTION (0.1ms) BEGIN
518
+  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
519
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
520
+  (3.0ms) TRUNCATE TABLE `admins`
521
+  (3.8ms) TRUNCATE TABLE `users`
522
+  (4.8ms) TRUNCATE TABLE `pages`
523
+  (3.6ms) TRUNCATE TABLE `page_parts`
524
+  (3.8ms) TRUNCATE TABLE `page_fields`
525
+  (3.0ms) TRUNCATE TABLE `page_attachments`
526
+  (2.7ms) TRUNCATE TABLE `layouts`
527
+  (2.9ms) TRUNCATE TABLE `extension_meta`
528
+  (2.9ms) TRUNCATE TABLE `snippets`
529
+  (2.7ms) TRUNCATE TABLE `assets`
530
+  (2.4ms) TRUNCATE TABLE `sites`
531
+  (3.5ms) TRUNCATE TABLE `sessions`
532
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
533
+ TRANSACTION (0.1ms) ROLLBACK
534
+ TRANSACTION (0.1ms) BEGIN
535
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
536
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 0
537
+  (2.9ms) TRUNCATE TABLE `admins`
538
+  (2.9ms) TRUNCATE TABLE `users`
539
+  (4.8ms) TRUNCATE TABLE `pages`
540
+  (3.9ms) TRUNCATE TABLE `page_parts`
541
+  (3.5ms) TRUNCATE TABLE `page_fields`
542
+  (3.4ms) TRUNCATE TABLE `page_attachments`
543
+  (3.5ms) TRUNCATE TABLE `layouts`
544
+  (2.7ms) TRUNCATE TABLE `extension_meta`
545
+  (2.9ms) TRUNCATE TABLE `snippets`
546
+  (2.6ms) TRUNCATE TABLE `assets`
547
+  (3.1ms) TRUNCATE TABLE `sites`
548
+  (3.4ms) TRUNCATE TABLE `sessions`
549
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
550
+ TRANSACTION (0.1ms) ROLLBACK
551
+ TRANSACTION (0.1ms) BEGIN
552
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
553
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
554
+  (41.3ms) TRUNCATE TABLE `admins`
555
+  (3.1ms) TRUNCATE TABLE `users`
556
+  (5.6ms) TRUNCATE TABLE `pages`
557
+  (3.3ms) TRUNCATE TABLE `page_parts`
558
+  (3.5ms) TRUNCATE TABLE `page_fields`
559
+  (2.4ms) TRUNCATE TABLE `page_attachments`
560
+  (2.7ms) TRUNCATE TABLE `layouts`
561
+  (3.0ms) TRUNCATE TABLE `extension_meta`
562
+  (3.9ms) TRUNCATE TABLE `snippets`
563
+  (2.8ms) TRUNCATE TABLE `assets`
564
+  (2.8ms) TRUNCATE TABLE `sites`
565
+  (4.1ms) TRUNCATE TABLE `sessions`
566
+  (0.3ms) SET FOREIGN_KEY_CHECKS = 1
567
+ TRANSACTION (0.1ms) ROLLBACK
568
+ TRANSACTION (0.1ms) BEGIN
569
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
570
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
571
+  (4.3ms) TRUNCATE TABLE `admins`
572
+  (3.5ms) TRUNCATE TABLE `users`
573
+  (4.7ms) TRUNCATE TABLE `pages`
574
+  (3.5ms) TRUNCATE TABLE `page_parts`
575
+  (3.9ms) TRUNCATE TABLE `page_fields`
576
+  (2.7ms) TRUNCATE TABLE `page_attachments`
577
+  (2.9ms) TRUNCATE TABLE `layouts`
578
+  (3.4ms) TRUNCATE TABLE `extension_meta`
579
+  (3.0ms) TRUNCATE TABLE `snippets`
580
+  (2.6ms) TRUNCATE TABLE `assets`
581
+  (2.7ms) TRUNCATE TABLE `sites`
582
+  (3.6ms) TRUNCATE TABLE `sessions`
583
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
584
+ TRANSACTION (0.1ms) ROLLBACK
585
+ TRANSACTION (0.1ms) BEGIN
586
+  (0.1ms) SELECT @@FOREIGN_KEY_CHECKS
587
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
588
+  (3.3ms) TRUNCATE TABLE `admins`
589
+  (3.1ms) TRUNCATE TABLE `users`
590
+  (5.4ms) TRUNCATE TABLE `pages`
591
+  (3.1ms) TRUNCATE TABLE `page_parts`
592
+  (3.9ms) TRUNCATE TABLE `page_fields`
593
+  (2.7ms) TRUNCATE TABLE `page_attachments`
594
+  (2.7ms) TRUNCATE TABLE `layouts`
595
+  (2.8ms) TRUNCATE TABLE `extension_meta`
596
+  (3.2ms) TRUNCATE TABLE `snippets`
597
+  (2.9ms) TRUNCATE TABLE `assets`
598
+  (2.8ms) TRUNCATE TABLE `sites`
599
+  (3.5ms) TRUNCATE TABLE `sessions`
600
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
601
+ TRANSACTION (0.1ms) ROLLBACK
602
+ TRANSACTION (0.1ms) BEGIN
603
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
604
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
605
+  (3.0ms) TRUNCATE TABLE `admins`
606
+  (2.9ms) TRUNCATE TABLE `users`
607
+  (4.5ms) TRUNCATE TABLE `pages`
608
+  (3.0ms) TRUNCATE TABLE `page_parts`
609
+  (4.3ms) TRUNCATE TABLE `page_fields`
610
+  (2.4ms) TRUNCATE TABLE `page_attachments`
611
+  (3.6ms) TRUNCATE TABLE `layouts`
612
+  (3.0ms) TRUNCATE TABLE `extension_meta`
613
+  (8.1ms) TRUNCATE TABLE `snippets`
614
+  (3.4ms) TRUNCATE TABLE `assets`
615
+  (3.1ms) TRUNCATE TABLE `sites`
616
+  (3.2ms) TRUNCATE TABLE `sessions`
617
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 1
618
+ TRANSACTION (0.2ms) ROLLBACK
619
+ TRANSACTION (0.1ms) BEGIN
620
+  (0.2ms) SELECT @@FOREIGN_KEY_CHECKS
621
+  (0.1ms) SET FOREIGN_KEY_CHECKS = 0
622
+  (2.9ms) TRUNCATE TABLE `admins`
623
+  (3.1ms) TRUNCATE TABLE `users`
624
+  (4.8ms) TRUNCATE TABLE `pages`
625
+  (3.2ms) TRUNCATE TABLE `page_parts`
626
+  (4.1ms) TRUNCATE TABLE `page_fields`
627
+  (2.7ms) TRUNCATE TABLE `page_attachments`
628
+  (3.3ms) TRUNCATE TABLE `layouts`
629
+  (2.9ms) TRUNCATE TABLE `extension_meta`
630
+  (3.1ms) TRUNCATE TABLE `snippets`
631
+  (2.8ms) TRUNCATE TABLE `assets`
632
+  (3.7ms) TRUNCATE TABLE `sites`
633
+  (4.3ms) TRUNCATE TABLE `sessions`
634
+  (0.2ms) SET FOREIGN_KEY_CHECKS = 1
635
+ TRANSACTION (0.2ms) ROLLBACK