cm_page_builder-rails 0.1.7 → 0.1.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/views/cm_page_builder/rails/pages/show.html.slim +0 -6
- data/config/routes.rb +0 -1
- data/lib/cm_page_builder/rails/version.rb +1 -1
- data/spec/dummy/log/development.log +297 -0
- data/spec/dummy/log/test.log +317 -0
- data/spec/fixtures/files/commutatus_logo.png +0 -0
- data/spec/models/cm_page_builder/rails/page_spec.rb +9 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: bc46b1398eeb80b734113a1f52e35bd14b06a4af03f17542d495a927f80727ec
|
4
|
+
data.tar.gz: f407d946bfa2b474a4cd725ceb9241bf7d243a1a6a662f7dd75cd9baad4d0a95
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75912ae096d44b6fa1c311128b6346416df8d46e500d04ff43a0e2bd412fbce3299ddab20adc0ecb3e7dfa5788c8d48d761a4a3426b51922c067a9f9bd309c5d
|
7
|
+
data.tar.gz: 8a2571a42b333a90cda907e9d16c456f3b2827e99016ea89440e48957270bbc1f1f7bfca56066fa68d0eb9bfe1ebb64097f72d5f18a29f7b75a785d9ac05c9c6
|
data/config/routes.rb
CHANGED
@@ -1165,3 +1165,300 @@ FOREIGN KEY ("page_id")
|
|
1165
1165
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1166
1166
|
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:10:55.853493"], ["updated_at", "2019-09-30 12:10:55.853493"]]
|
1167
1167
|
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1168
|
+
[1m[35m (109.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1169
|
+
[1m[35m (235.5ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1170
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1171
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1172
|
+
[1m[35m (4.5ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1173
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1174
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1175
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1176
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1177
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1178
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1179
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1180
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1181
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1182
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1183
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1184
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1185
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1186
|
+
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1187
|
+
FOREIGN KEY ("blob_id")
|
1188
|
+
REFERENCES "active_storage_blobs" ("id")
|
1189
|
+
[0m
|
1190
|
+
[1m[35m (1.2ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1191
|
+
FOREIGN KEY ("page_id")
|
1192
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1193
|
+
[0m
|
1194
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1195
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1196
|
+
[1m[35m (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1197
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1198
|
+
(20190816103148),
|
1199
|
+
(20190816105056),
|
1200
|
+
(20190903110322),
|
1201
|
+
(20190930111315);
|
1202
|
+
|
1203
|
+
[0m
|
1204
|
+
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1205
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1206
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1207
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:35:50.717317"], ["updated_at", "2019-09-30 12:35:50.717317"]]
|
1208
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1209
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1210
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1211
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:35:50.724167"], ["key", "environment"]]
|
1212
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1213
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.1ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1214
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1215
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:35:50.728370"], ["updated_at", "2019-09-30 12:35:50.728370"]]
|
1216
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1217
|
+
[1m[35m (109.2ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1218
|
+
[1m[35m (236.5ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1219
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1220
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1221
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1222
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1223
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1224
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1225
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1226
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1227
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1228
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1229
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1230
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1231
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1232
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1233
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1234
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1235
|
+
[1m[35m (1.4ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1236
|
+
FOREIGN KEY ("blob_id")
|
1237
|
+
REFERENCES "active_storage_blobs" ("id")
|
1238
|
+
[0m
|
1239
|
+
[1m[35m (1.1ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1240
|
+
FOREIGN KEY ("page_id")
|
1241
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1242
|
+
[0m
|
1243
|
+
[1m[35m (4.7ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1244
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1245
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1246
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1247
|
+
(20190816103148),
|
1248
|
+
(20190816105056),
|
1249
|
+
(20190903110322),
|
1250
|
+
(20190930111315);
|
1251
|
+
|
1252
|
+
[0m
|
1253
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1254
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1255
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1256
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:36:09.304014"], ["updated_at", "2019-09-30 12:36:09.304014"]]
|
1257
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1258
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1259
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1260
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:36:09.309427"], ["key", "environment"]]
|
1261
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1262
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1263
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1264
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:36:09.313848"], ["updated_at", "2019-09-30 12:36:09.313848"]]
|
1265
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1266
|
+
[1m[35m (109.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1267
|
+
[1m[35m (235.1ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1268
|
+
[1m[35mSQL (0.2ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1269
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1270
|
+
[1m[35m (4.8ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1271
|
+
[1m[35m (2.3ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1272
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1273
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1274
|
+
[1m[35m (5.9ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1275
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1276
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1277
|
+
[1m[35m (2.4ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1278
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1279
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1280
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1281
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1282
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1283
|
+
[1m[35m (2.5ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1284
|
+
[1m[35m (1.5ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1285
|
+
FOREIGN KEY ("blob_id")
|
1286
|
+
REFERENCES "active_storage_blobs" ("id")
|
1287
|
+
[0m
|
1288
|
+
[1m[35m (1.0ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1289
|
+
FOREIGN KEY ("page_id")
|
1290
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1291
|
+
[0m
|
1292
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1293
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1294
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1295
|
+
[1m[35m (0.2ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1296
|
+
(20190816103148),
|
1297
|
+
(20190816105056),
|
1298
|
+
(20190903110322),
|
1299
|
+
(20190930111315);
|
1300
|
+
|
1301
|
+
[0m
|
1302
|
+
[1m[35m (2.0ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1303
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1304
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1305
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.4ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:36:39.482938"], ["updated_at", "2019-09-30 12:36:39.482938"]]
|
1306
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1307
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1308
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1309
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:36:39.487894"], ["key", "environment"]]
|
1310
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1311
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1312
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1313
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:36:39.491992"], ["updated_at", "2019-09-30 12:36:39.491992"]]
|
1314
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1315
|
+
[1m[35m (112.9ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1316
|
+
[1m[35m (236.9ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1317
|
+
[1m[35mSQL (0.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1318
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1319
|
+
[1m[35m (8.1ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1320
|
+
[1m[35m (2.2ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1321
|
+
[1m[35m (2.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1322
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1323
|
+
[1m[35m (4.0ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1324
|
+
[1m[35m (0.8ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1325
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1326
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1327
|
+
[1m[35m (3.4ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1328
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1329
|
+
[1m[35m (2.3ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1330
|
+
[1m[35m (1.4ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1331
|
+
[1m[35m (0.8ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1332
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1333
|
+
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1334
|
+
FOREIGN KEY ("blob_id")
|
1335
|
+
REFERENCES "active_storage_blobs" ("id")
|
1336
|
+
[0m
|
1337
|
+
[1m[35m (2.6ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1338
|
+
FOREIGN KEY ("page_id")
|
1339
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1340
|
+
[0m
|
1341
|
+
[1m[35m (4.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1342
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1343
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1344
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1345
|
+
(20190816103148),
|
1346
|
+
(20190816105056),
|
1347
|
+
(20190903110322),
|
1348
|
+
(20190930111315);
|
1349
|
+
|
1350
|
+
[0m
|
1351
|
+
[1m[35m (2.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1352
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1353
|
+
[1m[35m (1.3ms)[0m [1m[35mBEGIN[0m
|
1354
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.5ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:38:39.416508"], ["updated_at", "2019-09-30 12:38:39.416508"]]
|
1355
|
+
[1m[35m (1.0ms)[0m [1m[35mCOMMIT[0m
|
1356
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1357
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1358
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.4ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:38:39.427794"], ["key", "environment"]]
|
1359
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1360
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1361
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1362
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:38:39.436021"], ["updated_at", "2019-09-30 12:38:39.436021"]]
|
1363
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1364
|
+
[1m[35m (112.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1365
|
+
[1m[35m (243.5ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1366
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1367
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1368
|
+
[1m[35m (5.6ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1369
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1370
|
+
[1m[35m (1.3ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1371
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1372
|
+
[1m[35m (2.9ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1373
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1374
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1375
|
+
[1m[35m (3.0ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1376
|
+
[1m[35m (0.9ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1377
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1378
|
+
[1m[35m (2.8ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1379
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1380
|
+
[1m[35m (0.1ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1381
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1382
|
+
[1m[35m (1.9ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1383
|
+
FOREIGN KEY ("blob_id")
|
1384
|
+
REFERENCES "active_storage_blobs" ("id")
|
1385
|
+
[0m
|
1386
|
+
[1m[35m (1.3ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1387
|
+
FOREIGN KEY ("page_id")
|
1388
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1389
|
+
[0m
|
1390
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1391
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1392
|
+
[1m[35m (0.4ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1393
|
+
[1m[35m (0.3ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1394
|
+
(20190816103148),
|
1395
|
+
(20190816105056),
|
1396
|
+
(20190903110322),
|
1397
|
+
(20190930111315);
|
1398
|
+
|
1399
|
+
[0m
|
1400
|
+
[1m[35m (1.9ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1401
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1402
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1403
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:39:05.656135"], ["updated_at", "2019-09-30 12:39:05.656135"]]
|
1404
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1405
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1406
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1407
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.2ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:39:05.661384"], ["key", "environment"]]
|
1408
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1409
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1410
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1411
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:39:05.665806"], ["updated_at", "2019-09-30 12:39:05.665806"]]
|
1412
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
1413
|
+
[1m[35m (5006.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1414
|
+
[1m[35m (5006.0ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1415
|
+
[1m[35m (5006.8ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1416
|
+
[1m[35m (113.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "dummy_test"[0m
|
1417
|
+
[1m[35m (243.6ms)[0m [1m[35mCREATE DATABASE "dummy_test" ENCODING = 'unicode'[0m
|
1418
|
+
[1m[35mSQL (0.3ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1419
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_attachments" CASCADE[0m
|
1420
|
+
[1m[35m (7.0ms)[0m [1m[35mCREATE TABLE "active_storage_attachments" ("id" bigserial primary key, "name" character varying NOT NULL, "record_type" character varying NOT NULL, "record_id" bigint NOT NULL, "blob_id" bigint NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1421
|
+
[1m[35m (1.2ms)[0m [1m[35mCREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")[0m
|
1422
|
+
[1m[35m (1.5ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id")[0m
|
1423
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "active_storage_blobs" CASCADE[0m
|
1424
|
+
[1m[35m (3.2ms)[0m [1m[35mCREATE TABLE "active_storage_blobs" ("id" bigserial primary key, "key" character varying NOT NULL, "filename" character varying NOT NULL, "content_type" character varying, "metadata" text, "byte_size" bigint NOT NULL, "checksum" character varying NOT NULL, "created_at" timestamp NOT NULL)[0m
|
1425
|
+
[1m[35m (1.0ms)[0m [1m[35mCREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")[0m
|
1426
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_page_components" CASCADE[0m
|
1427
|
+
[1m[35m (4.1ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_page_components" ("id" bigserial primary key, "uuid" character varying NOT NULL, "page_id" bigint NOT NULL, "content" character varying, "position" integer, "component_type" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1428
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")[0m
|
1429
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "cm_page_builder_rails_pages" CASCADE[0m
|
1430
|
+
[1m[35m (3.1ms)[0m [1m[35mCREATE TABLE "cm_page_builder_rails_pages" ("id" bigserial primary key, "container_type" character varying NOT NULL, "container_id" bigint NOT NULL, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1431
|
+
[1m[35m (1.1ms)[0m [1m[35mCREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id")[0m
|
1432
|
+
[1m[35m (0.2ms)[0m [1m[35mDROP TABLE IF EXISTS "test_containers" CASCADE[0m
|
1433
|
+
[1m[35m (3.3ms)[0m [1m[35mCREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1434
|
+
[1m[35m (2.0ms)[0m [1m[35mALTER TABLE "active_storage_attachments" ADD CONSTRAINT "fk_rails_c3b3935057"
|
1435
|
+
FOREIGN KEY ("blob_id")
|
1436
|
+
REFERENCES "active_storage_blobs" ("id")
|
1437
|
+
[0m
|
1438
|
+
[1m[35m (3.1ms)[0m [1m[35mALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd"
|
1439
|
+
FOREIGN KEY ("page_id")
|
1440
|
+
REFERENCES "cm_page_builder_rails_pages" ("id")
|
1441
|
+
[0m
|
1442
|
+
[1m[35m (8.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1443
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1444
|
+
[1m[35m (0.9ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190930120755)[0m
|
1445
|
+
[1m[35m (0.6ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES
|
1446
|
+
(20190816103148),
|
1447
|
+
(20190816105056),
|
1448
|
+
(20190903110322),
|
1449
|
+
(20190930111315);
|
1450
|
+
|
1451
|
+
[0m
|
1452
|
+
[1m[35m (2.7ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1453
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1454
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1455
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.8ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "development"], ["created_at", "2019-09-30 12:45:09.823002"], ["updated_at", "2019-09-30 12:45:09.823002"]]
|
1456
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1457
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1458
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1459
|
+
[1m[36mActiveRecord::InternalMetadata Update (0.3ms)[0m [1m[33mUPDATE "ar_internal_metadata" SET "value" = $1, "updated_at" = $2 WHERE "ar_internal_metadata"."key" = $3[0m [["value", "test"], ["updated_at", "2019-09-30 12:45:09.831929"], ["key", "environment"]]
|
1460
|
+
[1m[35m (0.3ms)[0m [1m[35mCOMMIT[0m
|
1461
|
+
[1m[36mActiveRecord::InternalMetadata Load (0.2ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1462
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1463
|
+
[1m[36mActiveRecord::InternalMetadata Create (0.3ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "c207cb589938ec7a1aa8a58d8e0fb0a7a557fb2c"], ["created_at", "2019-09-30 12:45:09.840080"], ["updated_at", "2019-09-30 12:45:09.840080"]]
|
1464
|
+
[1m[35m (0.2ms)[0m [1m[35mCOMMIT[0m
|
data/spec/dummy/log/test.log
CHANGED
@@ -340,3 +340,320 @@ FOREIGN KEY ("blob_id")
|
|
340
340
|
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
341
341
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
342
342
|
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
343
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
344
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
345
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
346
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
347
|
+
[1m[36mTestContainer Create (0.6ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.247374"], ["updated_at", "2019-09-30 12:35:52.247374"]]
|
348
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
349
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
350
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.4ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:35:52.261818"], ["updated_at", "2019-09-30 12:35:52.261818"]]
|
351
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
352
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.8ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
353
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
354
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
355
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (6.0ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.283260"], ["updated_at", "2019-09-30 12:35:52.283260"]]
|
356
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
357
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
358
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
359
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
360
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
361
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.293013"], ["updated_at", "2019-09-30 12:35:52.293013"]]
|
362
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
363
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
364
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:35:52.294506"], ["updated_at", "2019-09-30 12:35:52.294506"]]
|
365
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
366
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.5ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
367
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
368
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
369
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.298033"], ["updated_at", "2019-09-30 12:35:52.298033"]]
|
370
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
371
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
372
|
+
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
373
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
374
|
+
[1m[36mTestContainer Load (0.2ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
375
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.6ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
376
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:35:52.313798"], ["updated_at", "2019-09-30 12:35:52.313798"]]
|
377
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.314978"], ["updated_at", "2019-09-30 12:35:52.314978"]]
|
378
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
379
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
380
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
381
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
382
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
383
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:35:52.318029"], ["updated_at", "2019-09-30 12:35:52.318029"]]
|
384
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
385
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
386
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:35:52.319585"], ["updated_at", "2019-09-30 12:35:52.319585"]]
|
387
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
388
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.4ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
389
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
390
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
391
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:35:52.323101"], ["updated_at", "2019-09-30 12:35:52.323101"]]
|
392
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
393
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
394
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
395
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
396
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
397
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
398
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
399
|
+
[1m[36mTestContainer Create (0.5ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.827199"], ["updated_at", "2019-09-30 12:36:10.827199"]]
|
400
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
401
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
402
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.5ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:36:10.842833"], ["updated_at", "2019-09-30 12:36:10.842833"]]
|
403
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
404
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.6ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
405
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.1ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
406
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
407
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.5ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.863978"], ["updated_at", "2019-09-30 12:36:10.863978"]]
|
408
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
409
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
410
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
411
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
412
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
413
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.875946"], ["updated_at", "2019-09-30 12:36:10.875946"]]
|
414
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
415
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
416
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:10.877609"], ["updated_at", "2019-09-30 12:36:10.877609"]]
|
417
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
418
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
419
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
420
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
421
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.881467"], ["updated_at", "2019-09-30 12:36:10.881467"]]
|
422
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
423
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
424
|
+
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
425
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
426
|
+
[1m[36mTestContainer Load (0.2ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
427
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
428
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:10.894883"], ["updated_at", "2019-09-30 12:36:10.894883"]]
|
429
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.895826"], ["updated_at", "2019-09-30 12:36:10.895826"]]
|
430
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
431
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
432
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
433
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
434
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
435
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:10.898779"], ["updated_at", "2019-09-30 12:36:10.898779"]]
|
436
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
437
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
438
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:36:10.900254"], ["updated_at", "2019-09-30 12:36:10.900254"]]
|
439
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
440
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
441
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
442
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
443
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:10.904455"], ["updated_at", "2019-09-30 12:36:10.904455"]]
|
444
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
445
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
446
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
447
|
+
[1m[35m (2.2ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
448
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
449
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
450
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
451
|
+
[1m[36mTestContainer Create (0.4ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.022939"], ["updated_at", "2019-09-30 12:36:41.022939"]]
|
452
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
453
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
454
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.6ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:36:41.040722"], ["updated_at", "2019-09-30 12:36:41.040722"]]
|
455
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
456
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.6ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
457
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
458
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
459
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.5ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.076887"], ["updated_at", "2019-09-30 12:36:41.076887"]]
|
460
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
461
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
462
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
463
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
464
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
465
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.082501"], ["updated_at", "2019-09-30 12:36:41.082501"]]
|
466
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
467
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
468
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:41.084702"], ["updated_at", "2019-09-30 12:36:41.084702"]]
|
469
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
470
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
471
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
472
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
473
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.089811"], ["updated_at", "2019-09-30 12:36:41.089811"]]
|
474
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
475
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
476
|
+
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
477
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
478
|
+
[1m[36mTestContainer Load (0.1ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
479
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
480
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:36:41.122465"], ["updated_at", "2019-09-30 12:36:41.122465"]]
|
481
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.123411"], ["updated_at", "2019-09-30 12:36:41.123411"]]
|
482
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
483
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
484
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
485
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
486
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
487
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:36:41.126667"], ["updated_at", "2019-09-30 12:36:41.126667"]]
|
488
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
489
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
490
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:36:41.128197"], ["updated_at", "2019-09-30 12:36:41.128197"]]
|
491
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
492
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.4ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
493
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
494
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
495
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:36:41.131835"], ["updated_at", "2019-09-30 12:36:41.131835"]]
|
496
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
497
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
498
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
499
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
500
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
501
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
502
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
503
|
+
[1m[36mTestContainer Create (0.6ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.492986"], ["updated_at", "2019-09-30 12:38:41.492986"]]
|
504
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
505
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
506
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.5ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:38:41.516102"], ["updated_at", "2019-09-30 12:38:41.516102"]]
|
507
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
508
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.8ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
509
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
510
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
511
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.6ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.557311"], ["updated_at", "2019-09-30 12:38:41.557311"]]
|
512
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
513
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
514
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
515
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
516
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
517
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.563458"], ["updated_at", "2019-09-30 12:38:41.563458"]]
|
518
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
519
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
520
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:38:41.565986"], ["updated_at", "2019-09-30 12:38:41.565986"]]
|
521
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
522
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.4ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
523
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
524
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
525
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.4ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.571309"], ["updated_at", "2019-09-30 12:38:41.571309"]]
|
526
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
527
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
528
|
+
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
529
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
530
|
+
[1m[36mTestContainer Load (0.2ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
531
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
532
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:38:41.604403"], ["updated_at", "2019-09-30 12:38:41.604403"]]
|
533
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.605591"], ["updated_at", "2019-09-30 12:38:41.605591"]]
|
534
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
535
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
536
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
537
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
538
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
539
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:38:41.609477"], ["updated_at", "2019-09-30 12:38:41.609477"]]
|
540
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
541
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
542
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:38:41.611307"], ["updated_at", "2019-09-30 12:38:41.611307"]]
|
543
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
544
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
545
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
546
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
547
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:38:41.615887"], ["updated_at", "2019-09-30 12:38:41.615887"]]
|
548
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
549
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
550
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
551
|
+
[1m[36mActiveStorage::Blob Load (0.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
552
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
553
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
554
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
555
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
556
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
557
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
558
|
+
[1m[36mTestContainer Create (0.5ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.242163"], ["updated_at", "2019-09-30 12:39:07.242163"]]
|
559
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
560
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
561
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.5ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:39:07.252254"], ["updated_at", "2019-09-30 12:39:07.252254"]]
|
562
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
563
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.6ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
564
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
565
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
566
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.6ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.276711"], ["updated_at", "2019-09-30 12:39:07.276711"]]
|
567
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
568
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
569
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
570
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
571
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
572
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.281959"], ["updated_at", "2019-09-30 12:39:07.281959"]]
|
573
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
574
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
575
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:39:07.283892"], ["updated_at", "2019-09-30 12:39:07.283892"]]
|
576
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
577
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
578
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
579
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
580
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.288084"], ["updated_at", "2019-09-30 12:39:07.288084"]]
|
581
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
582
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
583
|
+
[1m[36mActiveStorage::Attachment Load (0.3ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
584
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
585
|
+
[1m[36mTestContainer Load (0.2ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
586
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
587
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:39:07.315795"], ["updated_at", "2019-09-30 12:39:07.315795"]]
|
588
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.317100"], ["updated_at", "2019-09-30 12:39:07.317100"]]
|
589
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
590
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
591
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
592
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
593
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
594
|
+
[1m[36mTestContainer Create (0.2ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:39:07.320925"], ["updated_at", "2019-09-30 12:39:07.320925"]]
|
595
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
596
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
597
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:39:07.322727"], ["updated_at", "2019-09-30 12:39:07.322727"]]
|
598
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
599
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.3ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
600
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
601
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
602
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:39:07.326890"], ["updated_at", "2019-09-30 12:39:07.326890"]]
|
603
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
604
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
605
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
606
|
+
[1m[36mActiveStorage::Blob Load (0.4ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
607
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
608
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
609
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
610
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
611
|
+
[1m[36mTestContainer Create (0.6ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.140873"], ["updated_at", "2019-09-30 12:45:12.140873"]]
|
612
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
613
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
614
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.7ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:45:12.160923"], ["updated_at", "2019-09-30 12:45:12.160923"]]
|
615
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
616
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.8ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 1], ["uuid", "abcdef"]]
|
617
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (1.0ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]
|
618
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
619
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.9ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.195406"], ["updated_at", "2019-09-30 12:45:12.195406"]]
|
620
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
621
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1[0m [["page_id", 1]]
|
622
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
623
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
624
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
625
|
+
[1m[36mTestContainer Create (0.3ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.213526"], ["updated_at", "2019-09-30 12:45:12.213526"]]
|
626
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
627
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
628
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:45:12.215763"], ["updated_at", "2019-09-30 12:45:12.215763"]]
|
629
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
630
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.6ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 2], ["uuid", "abcdef"]]
|
631
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (1.5ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]
|
632
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
633
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.4ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.224175"], ["updated_at", "2019-09-30 12:45:12.224175"]]
|
634
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
635
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC[0m [["page_id", 2]]
|
636
|
+
[1m[36mActiveStorage::Attachment Load (0.4ms)[0m [1m[34mSELECT "active_storage_attachments".* FROM "active_storage_attachments" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
637
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
638
|
+
[1m[36mTestContainer Load (0.2ms)[0m [1m[34mSELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2[0m [["id", 2], ["LIMIT", 1]]
|
639
|
+
[1m[36mCmPageBuilder::Rails::Page Load (0.3ms)[0m [1m[34mSELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" WHERE "cm_page_builder_rails_pages"."container_id" = $1 AND "cm_page_builder_rails_pages"."container_type" = $2 LIMIT $3[0m [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]]
|
640
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.3ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:45:12.240310"], ["updated_at", "2019-09-30 12:45:12.240310"]]
|
641
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.4ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.241666"], ["updated_at", "2019-09-30 12:45:12.241666"]]
|
642
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
643
|
+
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "cm_page_builder_rails_pages"[0m
|
644
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
645
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
646
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
647
|
+
[1m[36mTestContainer Create (0.3ms)[0m [1m[32mINSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id"[0m [["name", "Tester"], ["created_at", "2019-09-30 12:45:12.245934"], ["updated_at", "2019-09-30 12:45:12.245934"]]
|
648
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
649
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
650
|
+
[1m[36mCmPageBuilder::Rails::Page Create (0.2ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id"[0m [["container_type", "TestContainer"], ["container_id", 3], ["created_at", "2019-09-30 12:45:12.248013"], ["updated_at", "2019-09-30 12:45:12.248013"]]
|
651
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
652
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Destroy (0.4ms)[0m [1m[31mDELETE FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."id" IN (SELECT "cm_page_builder_rails_page_components"."id" FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" != $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC)[0m [["page_id", 4], ["uuid", "abcdef"]]
|
653
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.2ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 AND "cm_page_builder_rails_page_components"."uuid" = $2 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $3[0m [["page_id", 4], ["uuid", "abcdef"], ["LIMIT", 1]]
|
654
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
655
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Create (0.4ms)[0m [1m[32mINSERT INTO "cm_page_builder_rails_page_components" ("uuid", "page_id", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["uuid", "abcdef"], ["page_id", 4], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:45:12.253056"], ["updated_at", "2019-09-30 12:45:12.253056"]]
|
656
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
657
|
+
[1m[36mCmPageBuilder::Rails::PageComponent Load (0.3ms)[0m [1m[34mSELECT "cm_page_builder_rails_page_components".* FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 ORDER BY "cm_page_builder_rails_page_components"."position" ASC LIMIT $2[0m [["page_id", 4], ["LIMIT", 1]]
|
658
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
659
|
+
[1m[36mActiveStorage::Blob Load (0.6ms)[0m [1m[34mSELECT "active_storage_blobs".* FROM "active_storage_blobs" INNER JOIN "active_storage_attachments" ON "active_storage_blobs"."id" = "active_storage_attachments"."blob_id" WHERE "active_storage_attachments"."record_id" = $1 AND "active_storage_attachments"."record_type" = $2 AND "active_storage_attachments"."name" = $3 LIMIT $4[0m [["record_id", 4], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]
|
Binary file
|
@@ -36,6 +36,15 @@ module CmPageBuilder::Rails
|
|
36
36
|
expect(dup_page.page_components.size).to eq(1)
|
37
37
|
expect(dup_page.page_components.first.content).to eq("here is some content")
|
38
38
|
end
|
39
|
+
|
40
|
+
it 'can handle images' do
|
41
|
+
test_container = TestContainer.create(name: "Tester")
|
42
|
+
page = Page.create!(container: test_container)
|
43
|
+
page.save_content COMPONENTS
|
44
|
+
|
45
|
+
# page.page_components.first.component_attachment.attach(io: file_fixture("commutatus_logo.png"), filename: "commutatus_logo.png")
|
46
|
+
# pp page.page_components.first.component_attachment.metadata
|
47
|
+
end
|
39
48
|
end
|
40
49
|
|
41
50
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cm_page_builder-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Camilo Ernesto Forero Junco
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-10-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -164,6 +164,7 @@ files:
|
|
164
164
|
- spec/dummy/public/favicon.ico
|
165
165
|
- spec/dummy/spec/models/test_container_spec.rb
|
166
166
|
- spec/dummy/tmp/development_secret.txt
|
167
|
+
- spec/fixtures/files/commutatus_logo.png
|
167
168
|
- spec/models/cm_page_builder/rails/page_spec.rb
|
168
169
|
- spec/rails_helper.rb
|
169
170
|
- spec/spec_helper.rb
|
@@ -246,3 +247,4 @@ test_files:
|
|
246
247
|
- spec/rails_helper.rb
|
247
248
|
- spec/models/cm_page_builder/rails/page_spec.rb
|
248
249
|
- spec/spec_helper.rb
|
250
|
+
- spec/fixtures/files/commutatus_logo.png
|