trusty-cms 5.0.2 → 5.0.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,635 +0,0 @@
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