(0.3ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode'  (6.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)  (2.3ms) CREATE 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)  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateCmPageBuilderRailsPages (20190816103148)  (0.1ms) BEGIN  (5.0ms) CREATE 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)  (0.7ms) CREATE INDEX "container_composite_index" ON "cm_page_builder_rails_pages" ("container_type", "container_id") primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190816103148"]]  (0.3ms) COMMIT Migrating to CreateCmPageBuilderRailsPageComponents (20190816105056)  (0.1ms) BEGIN  (1.9ms) CREATE TABLE "cm_page_builder_rails_page_components" ("id" character varying NOT NULL PRIMARY KEY, "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)  (0.6ms) CREATE INDEX "index_cm_page_builder_rails_page_components_on_page_id" ON "cm_page_builder_rails_page_components" ("page_id")  (1.4ms) ALTER TABLE "cm_page_builder_rails_page_components" ADD CONSTRAINT "fk_rails_7fd23c6ccd" FOREIGN KEY ("page_id") REFERENCES "cm_page_builder_rails_pages" ("id")  primary::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190816105056"]]  (0.3ms) COMMIT Migrating to ChangePageComponentPrimaryKey (20190903110322)  (0.1ms) BEGIN  (0.2ms) ALTER TABLE "cm_page_builder_rails_page_components" RENAME COLUMN "id" TO "uuid"  (0.5ms) ALTER TABLE cm_page_builder_rails_page_components DROP CONSTRAINT cm_page_builder_rails_page_components_pkey;   (3.6ms) ALTER TABLE "cm_page_builder_rails_page_components" ADD "id" bigserial primary key primary::SchemaMigration Create (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190903110322"]]  (0.9ms) COMMIT ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) BEGIN ActiveRecord::InternalMetadata Create (0.7ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2019-09-30 10:31:36.946553"], ["updated_at", "2019-09-30 10:31:36.946553"]]  (0.4ms) COMMIT  (0.4ms) SELECT pg_advisory_unlock(2735718569030447490)  (0.1ms) SELECT pg_try_advisory_lock(2735718569030447490)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC ActiveRecord::InternalMetadata Load (0.3ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (1.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.3ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (1.2ms) INSERT INTO "cm_page_builder_rails_page_components" ("content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:05:41.338085"], ["updated_at", "2019-09-30 11:05:41.338085"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:06:03.937270"], ["updated_at", "2019-09-30 11:06:03.937270"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:07:25.288542"], ["updated_at", "2019-09-30 11:07:25.288542"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT INTO "cm_page_builder_rails_page_components" ("uuid", "content", "position", "component_type", "created_at", "updated_at") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["uuid", "abcdef"], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:08:40.632873"], ["updated_at", "2019-09-30 11:08:40.632873"]]  (0.1ms) ROLLBACK TO SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) ROLLBACK  (0.3ms) SELECT pg_try_advisory_lock(2735718569030447490)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateTestContainers (20190930111315)  (0.1ms) BEGIN  (11.0ms) CREATE TABLE "test_containers" ("id" bigserial primary key, "name" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL) primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190930111315"]]  (0.4ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.2ms) SELECT pg_advisory_unlock(2735718569030447490)  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (6.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:15:35.368246"], ["updated_at", "2019-09-30 11:15:35.368246"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.2ms) SAVEPOINT active_record_1 TestContainer Create (0.7ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:16:04.005754"], ["updated_at", "2019-09-30 11:16:04.005754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 11:16:04.023654"], ["updated_at", "2019-09-30 11:16:04.023654"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:16:04.059820"], ["updated_at", "2019-09-30 11:16:04.059820"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 11:16:21.003530"], ["updated_at", "2019-09-30 11:16:21.003530"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.5ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 11:16:21.019166"], ["updated_at", "2019-09-30 11:16:21.019166"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.7ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 11:16:21.039204"], ["updated_at", "2019-09-30 11:16:21.039204"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.1ms) ROLLBACK  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.4ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:06:35.005002"], ["updated_at", "2019-09-30 12:06:35.005002"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (1.0ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:06:35.015327"], ["updated_at", "2019-09-30 12:06:35.015327"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.5ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:06:35.033905"], ["updated_at", "2019-09-30 12:06:35.033905"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:06:35.037974"], ["updated_at", "2019-09-30 12:06:35.037974"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:06:35.039373"], ["updated_at", "2019-09-30 12:06:35.039373"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE 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) [["page_id", 2], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:06:35.042740"], ["updated_at", "2019-09-30 12:06:35.042740"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2]]  (0.1ms) ROLLBACK  (0.2ms) SELECT pg_try_advisory_lock(2735718569030447490)  (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC Migrating to CreateActiveStorageTables (20190930120755)  (0.1ms) BEGIN  (9.1ms) CREATE 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)  (0.7ms) CREATE UNIQUE INDEX "index_active_storage_blobs_on_key" ON "active_storage_blobs" ("key")  (2.6ms) CREATE 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, CONSTRAINT "fk_rails_c3b3935057" FOREIGN KEY ("blob_id") REFERENCES "active_storage_blobs" ("id") )  (0.9ms) CREATE INDEX "index_active_storage_attachments_on_blob_id" ON "active_storage_attachments" ("blob_id")  (0.8ms) CREATE UNIQUE INDEX "index_active_storage_attachments_uniqueness" ON "active_storage_attachments" ("record_type", "record_id", "name", "blob_id") primary::SchemaMigration Create (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20190930120755"]]  (0.5ms) COMMIT ActiveRecord::InternalMetadata Load (0.2ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]  (0.3ms) SELECT pg_advisory_unlock(2735718569030447490)  (0.6ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.4ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:14.324202"], ["updated_at", "2019-09-30 12:08:14.324202"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:08:14.340355"], ["updated_at", "2019-09-30 12:08:14.340355"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.5ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:14.373151"], ["updated_at", "2019-09-30 12:08:14.373151"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.7ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:14.379432"], ["updated_at", "2019-09-30 12:08:14.379432"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:14.381607"], ["updated_at", "2019-09-30 12:08:14.381607"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.3ms) DELETE 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) [["page_id", 2], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:14.386709"], ["updated_at", "2019-09-30 12:08:14.386709"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2]] ActiveStorage::Attachment Load (0.3ms) SELECT "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 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]  (0.2ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:51.954658"], ["updated_at", "2019-09-30 12:08:51.954658"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:08:51.968730"], ["updated_at", "2019-09-30 12:08:51.968730"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.6ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:51.994032"], ["updated_at", "2019-09-30 12:08:51.994032"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:08:51.999181"], ["updated_at", "2019-09-30 12:08:51.999181"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:52.001163"], ["updated_at", "2019-09-30 12:08:52.001163"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE 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) [["page_id", 2], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:52.005513"], ["updated_at", "2019-09-30 12:08:52.005513"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2]] ActiveStorage::Attachment Load (2.6ms) SELECT "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 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] CmPageBuilder::Rails::Page Load (0.2ms) SELECT "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 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]] CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:08:52.021530"], ["updated_at", "2019-09-30 12:08:52.021530"]] CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:08:52.022722"], ["updated_at", "2019-09-30 12:08:52.022722"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Load (0.1ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]] CmPageBuilder::Rails::Page Load (0.1ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]] CmPageBuilder::Rails::Page Load (0.2ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages" LIMIT $1 [["LIMIT", 11]] CmPageBuilder::Rails::Page Load (0.3ms) SELECT "cm_page_builder_rails_pages".* FROM "cm_page_builder_rails_pages"  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:09:25.207733"], ["updated_at", "2019-09-30 12:09:25.207733"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:09:25.224550"], ["updated_at", "2019-09-30 12:09:25.224550"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.7ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.6ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.265218"], ["updated_at", "2019-09-30 12:09:25.265218"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.3ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:09:25.272755"], ["updated_at", "2019-09-30 12:09:25.272755"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:09:25.275625"], ["updated_at", "2019-09-30 12:09:25.275625"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE 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) [["page_id", 2], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.4ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.282515"], ["updated_at", "2019-09-30 12:09:25.282515"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2]] ActiveStorage::Attachment Load (0.3ms) SELECT "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 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] CmPageBuilder::Rails::Page Load (0.2ms) SELECT "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 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]] CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:09:25.315341"], ["updated_at", "2019-09-30 12:09:25.315341"]] CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:09:25.316616"], ["updated_at", "2019-09-30 12:09:25.316616"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"  (0.1ms) ROLLBACK  (0.2ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]  (0.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.5ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:10:57.304228"], ["updated_at", "2019-09-30 12:10:57.304228"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.4ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 1], ["created_at", "2019-09-30 12:10:57.319385"], ["updated_at", "2019-09-30 12:10:57.319385"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.9ms) DELETE 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) [["page_id", 1], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 1], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 1], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.354754"], ["updated_at", "2019-09-30 12:10:57.354754"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.4ms) SELECT COUNT(*) FROM "cm_page_builder_rails_page_components" WHERE "cm_page_builder_rails_page_components"."page_id" = $1 [["page_id", 1]]  (0.1ms) ROLLBACK  (0.1ms) BEGIN  (0.1ms) SAVEPOINT active_record_1 TestContainer Create (0.2ms) INSERT INTO "test_containers" ("name", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["name", "Tester"], ["created_at", "2019-09-30 12:10:57.361099"], ["updated_at", "2019-09-30 12:10:57.361099"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.1ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::Page Create (0.3ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:10:57.363841"], ["updated_at", "2019-09-30 12:10:57.363841"]]  (0.1ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Destroy (0.4ms) DELETE 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) [["page_id", 2], ["uuid", "abcdef"]] CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2], ["uuid", "abcdef"], ["LIMIT", 1]]  (0.2ms) SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Create (0.7ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 2], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.369448"], ["updated_at", "2019-09-30 12:10:57.369448"]]  (0.4ms) RELEASE SAVEPOINT active_record_1 CmPageBuilder::Rails::PageComponent Load (0.2ms) SELECT "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 [["page_id", 2]] ActiveStorage::Attachment Load (0.4ms) SELECT "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 [["record_id", 2], ["record_type", "CmPageBuilder::Rails::PageComponent"], ["name", "component_attachment"], ["LIMIT", 1]]  (0.1ms) SAVEPOINT active_record_1 TestContainer Load (0.2ms) SELECT "test_containers".* FROM "test_containers" WHERE "test_containers"."id" = $1 LIMIT $2 [["id", 2], ["LIMIT", 1]] CmPageBuilder::Rails::Page Load (0.2ms) SELECT "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 [["container_id", 2], ["container_type", "TestContainer"], ["LIMIT", 1]] CmPageBuilder::Rails::Page Create (0.2ms) INSERT INTO "cm_page_builder_rails_pages" ("container_type", "container_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["container_type", "TestContainer"], ["container_id", 2], ["created_at", "2019-09-30 12:10:57.398722"], ["updated_at", "2019-09-30 12:10:57.398722"]] CmPageBuilder::Rails::PageComponent Create (0.3ms) INSERT 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" [["uuid", "abcdef"], ["page_id", 3], ["content", "here is some content"], ["position", 2], ["component_type", "Text"], ["created_at", "2019-09-30 12:10:57.399738"], ["updated_at", "2019-09-30 12:10:57.399738"]]  (0.1ms) RELEASE SAVEPOINT active_record_1  (0.2ms) SELECT COUNT(*) FROM "cm_page_builder_rails_pages"  (0.1ms) ROLLBACK