spec/dummy/log/test.log in kithe-2.0.0.pre.beta1 vs spec/dummy/log/test.log in kithe-2.0.0.pre.rc1
- old
+ new
@@ -1634371,5 +1634371,3371 @@
[1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (69.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (6.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (17.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (5.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (6.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (155.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (5.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
+ [1m[35m (424.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "kithe_test"[0m
+ [1m[35m (672.4ms)[0m [1m[35mCREATE DATABASE "kithe_test" ENCODING = 'unicode'[0m
+ [1m[35mSQL (53.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
+ [1m[35mSQL (4.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
+ [1m[35m (13.8ms)[0m [1m[35mCREATE OR REPLACE FUNCTION public.kithe_models_friendlier_id_gen(min_value bigint, max_value bigint)
+ RETURNS text
+ LANGUAGE plpgsql
+AS $function$
+ DECLARE
+ new_id_int bigint;
+ new_id_str character varying := '';
+ done bool;
+ tries integer;
+ alphabet char[] := ARRAY['0','1','2','3','4','5','6','7','8','9',
+ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
+ 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
+ alphabet_length integer := array_length(alphabet, 1);
+
+ BEGIN
+ done := false;
+ tries := 0;
+ WHILE (NOT done) LOOP
+ tries := tries + 1;
+ IF (tries > 3) THEN
+ RAISE 'Could not find non-conflicting friendlier_id in 3 tries';
+ END IF;
+
+ new_id_int := trunc(random() * (max_value - min_value) + min_value);
+
+ -- convert bigint to a Base-36 alphanumeric string
+ -- see https://web.archive.org/web/20130420084605/http://www.jamiebegin.com/base36-conversion-in-postgresql/
+ -- https://gist.github.com/btbytes/7159902
+ WHILE new_id_int != 0 LOOP
+ new_id_str := alphabet[(new_id_int % alphabet_length)+1] || new_id_str;
+ new_id_int := new_id_int / alphabet_length;
+ END LOOP;
+
+ done := NOT exists(SELECT 1 FROM kithe_models WHERE friendlier_id=new_id_str);
+ END LOOP;
+ RETURN new_id_str;
+ END;
+ $function$
+[0m
+ [1m[35m (6.7ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_derivatives" CASCADE[0m
+ [1m[35m (60.5ms)[0m [1m[35mCREATE TABLE "kithe_derivatives" ("id" bigserial primary key, "key" character varying NOT NULL, "file_data" jsonb, "asset_id" uuid NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (1859.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_kithe_derivatives_on_asset_id_and_key" ON "kithe_derivatives" ("asset_id", "key")[0m
+ [1m[35m (6.5ms)[0m [1m[35mCREATE INDEX "index_kithe_derivatives_on_asset_id" ON "kithe_derivatives" ("asset_id")[0m
+ [1m[35m (6.0ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_model_contains" CASCADE[0m
+ [1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "kithe_model_contains" ("containee_id" uuid, "container_id" uuid)[0m
+ [1m[35m (7.3ms)[0m [1m[35mCREATE INDEX "index_kithe_model_contains_on_containee_id" ON "kithe_model_contains" ("containee_id")[0m
+ [1m[35m (5.2ms)[0m [1m[35mCREATE INDEX "index_kithe_model_contains_on_container_id" ON "kithe_model_contains" ("container_id")[0m
+ [1m[35m (3.9ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_models" CASCADE[0m
+ [1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "kithe_models" ("id" uuid DEFAULT gen_random_uuid() NOT NULL PRIMARY KEY, "title" character varying NOT NULL, "type" character varying NOT NULL, "position" integer, "json_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "parent_id" uuid, "friendlier_id" character varying DEFAULT kithe_models_friendlier_id_gen('2821109907456'::bigint, '101559956668415'::bigint) NOT NULL, "file_data" jsonb, "representative_id" uuid, "leaf_representative_id" uuid, "kithe_model_type" integer NOT NULL)[0m
+ [1m[35m (6.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_kithe_models_on_friendlier_id" ON "kithe_models" ("friendlier_id")[0m
+ [1m[35m (38.9ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_leaf_representative_id" ON "kithe_models" ("leaf_representative_id")[0m
+ [1m[35m (8.7ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_parent_id" ON "kithe_models" ("parent_id")[0m
+ [1m[35m (15.6ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_representative_id" ON "kithe_models" ("representative_id")[0m
+ [1m[35m (9.5ms)[0m [1m[35mALTER TABLE "kithe_derivatives" ADD CONSTRAINT "fk_rails_3dac8b4201"
+FOREIGN KEY ("asset_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (9.4ms)[0m [1m[35mALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_490c1158f7"
+FOREIGN KEY ("containee_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (22.3ms)[0m [1m[35mALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_091010187b"
+FOREIGN KEY ("container_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (6.9ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_403cce5c0d"
+FOREIGN KEY ("leaf_representative_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (7.8ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_90130a9780"
+FOREIGN KEY ("parent_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (110.3ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_afa93b7b5d"
+FOREIGN KEY ("representative_id")
+ REFERENCES "kithe_models" ("id")
+[0m
+ [1m[35m (47.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
+ [1m[35m (5.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (226.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190404144551)[0m
+ [1m[35m (9.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
+ [1m[36mActiveRecord::InternalMetadata Load (9.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[35m (6.4ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (18.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-05-27 20:44:01.903000"], ["updated_at", "2020-05-27 20:44:01.903000"]]
+ [1m[35m (4.9ms)[0m [1m[35mCOMMIT[0m
+ [1m[36mActiveRecord::InternalMetadata Load (22.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
+ [1m[36mActiveRecord::InternalMetadata Load (6.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
+ [1m[35m (5.0ms)[0m [1m[35mBEGIN[0m
+ [1m[36mActiveRecord::InternalMetadata Create (16.1ms)[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", "0e24e2caa948e64f3be11233d707b8abffa0f356"], ["created_at", "2020-05-27 20:44:02.120000"], ["updated_at", "2020-05-27 20:44:02.120000"]]
+ [1m[35m (18.1ms)[0m [1m[35mCOMMIT[0m
+ [1m[35m (5.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (19.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (13.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (2.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(6108574782232541745)[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+Migrating to EnablePgcryptoExtension (20181015143259)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35mSQL (6.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
+ [1m[36mprimary::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181015143259"]]
+ [1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
+Migrating to CreateKitheModels (20181015143413)
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (13.0ms)[0m [1m[35mCREATE TABLE "kithe_models" ("id" uuid DEFAULT gen_random_uuid() NOT NULL PRIMARY KEY, "title" character varying NOT NULL, "type" character varying NOT NULL, "position" integer, "json_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6108574782232541745)[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (42.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.055513"], ["updated_at", "2020-05-28 13:27:06.055513"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.125570"], ["updated_at", "2020-05-28 13:27:06.125570"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
+ [1m[36mKithe::Model Load (0.9ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
+ [1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '22e9e9f5-9a84-4aa1-8c38-f157c93ba832'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '22e9e9f5-9a84-4aa1-8c38-f157c93ba832'
+);
+[0m
+ [1m[36mTestWork Destroy (2.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.193645"], ["updated_at", "2020-05-28 13:27:06.193645"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.223048"], ["updated_at", "2020-05-28 13:27:06.223048"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.266268"], ["updated_at", "2020-05-28 13:27:06.266268"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "fa36609d-4843-414b-934b-863543583ec2"]]
+ [1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "fa36609d-4843-414b-934b-863543583ec2"]]
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "fa36609d-4843-414b-934b-863543583ec2"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'fa36609d-4843-414b-934b-863543583ec2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'fa36609d-4843-414b-934b-863543583ec2'
+);
+[0m
+ [1m[36mTestWork Destroy (1.9ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "fa36609d-4843-414b-934b-863543583ec2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.298925"], ["updated_at", "2020-05-28 13:27:06.298925"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.319337"], ["updated_at", "2020-05-28 13:27:06.319337"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.323620"], ["updated_at", "2020-05-28 13:27:06.323620"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.351584"], ["updated_at", "2020-05-28 13:27:06.351584"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.355716"], ["updated_at", "2020-05-28 13:27:06.355716"], ["kithe_model_type", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.385181"], ["updated_at", "2020-05-28 13:27:06.385181"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.391525"], ["updated_at", "2020-05-28 13:27:06.391525"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.411619"], ["updated_at", "2020-05-28 13:27:06.411619"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.454354"], ["updated_at", "2020-05-28 13:27:06.454354"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.459579"], ["updated_at", "2020-05-28 13:27:06.459579"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.478927"], ["updated_at", "2020-05-28 13:27:06.478927"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.482259"], ["updated_at", "2020-05-28 13:27:06.482259"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.533804"], ["updated_at", "2020-05-28 13:27:06.533804"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.577007"], ["updated_at", "2020-05-28 13:27:06.577007"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.631552"], ["updated_at", "2020-05-28 13:27:06.631552"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.675079"], ["updated_at", "2020-05-28 13:27:06.675079"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "43bcc73f-f521-47fc-8b7e-f4a18742d452"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.718895"], ["updated_at", "2020-05-28 13:27:06.718895"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (19.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.067849"], ["updated_at", "2020-05-28 13:27:07.067849"], ["file_data", "{\"id\":\"asset/0c9de2cc5dd334941730c142337e326f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] Performing Kithe::AssetPromoteJob (Job ID: 6da9f0da-f5bc-4287-a5f9-b9062a11926c) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "8cb2c240-6d4b-4baf-bde4-18f55994931a", "file", {"id"=>"asset/0c9de2cc5dd334941730c142337e326f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8cb2c240-6d4b-4baf-bde4-18f55994931a/4153acfa280b68762610b8eaa2ce0d03.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.104065"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] Performing Kithe::CreateDerivativesJob (Job ID: 9701372c-6ea6-4678-ab86-5cde181c2c78) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f97081e91e0 @uri=#<URI::GID gid://dummy/CustomAsset/8cb2c240-6d4b-4baf-bde4-18f55994931a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[36mCustomAsset Load (5.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8cb2c240-6d4b-4baf-bde4-18f55994931a/4153acfa280b68762610b8eaa2ce0d03.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8cb2c240-6d4b-4baf-bde4-18f55994931a/fixed/bb00357d8b20bd7f1feae29cb489a6b0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mxfeex0oe_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.124481"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] Performed Kithe::CreateDerivativesJob (Job ID: 9701372c-6ea6-4678-ab86-5cde181c2c78) from Inline(default) in 15.7ms
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] Enqueued Kithe::CreateDerivativesJob (Job ID: 9701372c-6ea6-4678-ab86-5cde181c2c78) to Inline(default) with arguments: #<GlobalID:0x00007f970821dcd8 @uri=#<URI::GID gid://dummy/CustomAsset/8cb2c240-6d4b-4baf-bde4-18f55994931a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] Performed Kithe::AssetPromoteJob (Job ID: 6da9f0da-f5bc-4287-a5f9-b9062a11926c) from Inline(default) in 39.16ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6da9f0da-f5bc-4287-a5f9-b9062a11926c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "8cb2c240-6d4b-4baf-bde4-18f55994931a", "file", {"id"=>"asset/0c9de2cc5dd334941730c142337e326f.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (4.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.150410"], ["updated_at", "2020-05-28 13:27:07.150410"], ["file_data", "{\"id\":\"asset/fb5f6b8bb0307ba0f6b38300d7f4e422.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] Performing Kithe::AssetPromoteJob (Job ID: 3fac7961-acc6-4b86-9bcb-1fe0341116da) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e79a53f2-60a5-40da-aa41-9dad853ea2f0", "file", {"id"=>"asset/fb5f6b8bb0307ba0f6b38300d7f4e422.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.165978"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] Performing Kithe::CreateDerivativesJob (Job ID: 018a1661-83d9-4124-abc7-fe437669fedd) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f97082d1760 @uri=#<URI::GID gid://dummy/CustomAsset/e79a53f2-60a5-40da-aa41-9dad853ea2f0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e79a53f2-60a5-40da-aa41-9dad853ea2f0/fixed/632f38816f8d0c7af92d05e384e5cc04.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jbzsjq6o4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.174059"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] Performed Kithe::CreateDerivativesJob (Job ID: 018a1661-83d9-4124-abc7-fe437669fedd) from Inline(default) in 5.91ms
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] Enqueued Kithe::CreateDerivativesJob (Job ID: 018a1661-83d9-4124-abc7-fe437669fedd) to Inline(default) with arguments: #<GlobalID:0x00007f97082e4180 @uri=#<URI::GID gid://dummy/CustomAsset/e79a53f2-60a5-40da-aa41-9dad853ea2f0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] Performed Kithe::AssetPromoteJob (Job ID: 3fac7961-acc6-4b86-9bcb-1fe0341116da) from Inline(default) in 15.53ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3fac7961-acc6-4b86-9bcb-1fe0341116da) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e79a53f2-60a5-40da-aa41-9dad853ea2f0", "file", {"id"=>"asset/fb5f6b8bb0307ba0f6b38300d7f4e422.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.178976"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e79a53f2-60a5-40da-aa41-9dad853ea2f0/fixed/712c1e8b20d6eb96c906a06b265cc8c7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jbzsjq6o4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.188634"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.211918"], ["updated_at", "2020-05-28 13:27:07.211918"], ["file_data", "{\"id\":\"asset/c34f9e79249b715d23cedc9b477f64d4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] Performing Kithe::AssetPromoteJob (Job ID: 789879fb-8814-4680-a945-71f587ec2e43) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "ecedb517-744e-4e1b-8bdb-d9d265891a1b", "file", {"id"=>"asset/c34f9e79249b715d23cedc9b477f64d4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.220134"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] Performing Kithe::CreateDerivativesJob (Job ID: ffc99f46-b48a-4457-8efa-bf02391d35a0) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f97059c1d98 @uri=#<URI::GID gid://dummy/CustomAsset/ecedb517-744e-4e1b-8bdb-d9d265891a1b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"ecedb517-744e-4e1b-8bdb-d9d265891a1b/fixed/d5a82ebc075fb2534514511a917c0010.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xkahlwppp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.227923"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] Performed Kithe::CreateDerivativesJob (Job ID: ffc99f46-b48a-4457-8efa-bf02391d35a0) from Inline(default) in 5.55ms
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] Enqueued Kithe::CreateDerivativesJob (Job ID: ffc99f46-b48a-4457-8efa-bf02391d35a0) to Inline(default) with arguments: #<GlobalID:0x00007f97083ea660 @uri=#<URI::GID gid://dummy/CustomAsset/ecedb517-744e-4e1b-8bdb-d9d265891a1b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] Performed Kithe::AssetPromoteJob (Job ID: 789879fb-8814-4680-a945-71f587ec2e43) from Inline(default) in 14.25ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 789879fb-8814-4680-a945-71f587ec2e43) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "ecedb517-744e-4e1b-8bdb-d9d265891a1b", "file", {"id"=>"asset/c34f9e79249b715d23cedc9b477f64d4.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (1.2ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (3.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.250209"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.279701"], ["updated_at", "2020-05-28 13:27:07.279701"], ["file_data", "{\"id\":\"asset/291c582b6d9bd3e2f3886e8107e575c6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] Performing Kithe::AssetPromoteJob (Job ID: 7676a860-4ec0-4b80-9a80-2946c5eabecc) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7db2834e-f76d-42ee-bdaf-2a1951b9c360", "file", {"id"=>"asset/291c582b6d9bd3e2f3886e8107e575c6.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.288380"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] Performing Kithe::CreateDerivativesJob (Job ID: d5c12e77-3692-447b-8c6e-58d9614f0ec3) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f9705929638 @uri=#<URI::GID gid://dummy/CustomAsset/7db2834e-f76d-42ee-bdaf-2a1951b9c360>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/2c9d083099f2db0ed4412e2e713a4c90.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ivod6lbpn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.296268"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] Performed Kithe::CreateDerivativesJob (Job ID: d5c12e77-3692-447b-8c6e-58d9614f0ec3) from Inline(default) in 5.96ms
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] Enqueued Kithe::CreateDerivativesJob (Job ID: d5c12e77-3692-447b-8c6e-58d9614f0ec3) to Inline(default) with arguments: #<GlobalID:0x00007f9704c6c5f8 @uri=#<URI::GID gid://dummy/CustomAsset/7db2834e-f76d-42ee-bdaf-2a1951b9c360>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] Performed Kithe::AssetPromoteJob (Job ID: 7676a860-4ec0-4b80-9a80-2946c5eabecc) from Inline(default) in 14.99ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7676a860-4ec0-4b80-9a80-2946c5eabecc) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7db2834e-f76d-42ee-bdaf-2a1951b9c360", "file", {"id"=>"asset/291c582b6d9bd3e2f3886e8107e575c6.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/e88ce2cba7e1749f5b501673febd99ae.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ivod6lbpn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.306137"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+ [1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+ [1m[36mKithe::Model Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7db2834e-f76d-42ee-bdaf-2a1951b9c360'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7db2834e-f76d-42ee-bdaf-2a1951b9c360'
+);
+[0m
+ [1m[36mCustomAsset Destroy (2.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [138315a4-a62d-4e80-a0e0-218e17aee7e4] Performing Kithe::AssetDeleteJob (Job ID: 138315a4-a62d-4e80-a0e0-218e17aee7e4) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/e88ce2cba7e1749f5b501673febd99ae.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ivod6lbpn_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [138315a4-a62d-4e80-a0e0-218e17aee7e4] Performed Kithe::AssetDeleteJob (Job ID: 138315a4-a62d-4e80-a0e0-218e17aee7e4) from Inline(default) in 0.18ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 138315a4-a62d-4e80-a0e0-218e17aee7e4) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/e88ce2cba7e1749f5b501673febd99ae.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ivod6lbpn_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.351088"], ["updated_at", "2020-05-28 13:27:07.351088"], ["file_data", "{\"id\":\"asset/1db2881f0e8cad4e1eda26be3b02cfbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] Performing Kithe::AssetPromoteJob (Job ID: a6f9a398-f739-4fb5-ba94-1994ba2a0dc2) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "edc3a144-035f-4b05-b4e0-f82e87ffc837", "file", {"id"=>"asset/1db2881f0e8cad4e1eda26be3b02cfbb.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.360277"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] Performing Kithe::CreateDerivativesJob (Job ID: 50c94c84-61c2-4430-968d-d2dc3c41c9c5) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f97081992f8 @uri=#<URI::GID gid://dummy/CustomAsset/edc3a144-035f-4b05-b4e0-f82e87ffc837>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/75e5601a41a5a4986de1a6719a606028.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.368969"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] Performed Kithe::CreateDerivativesJob (Job ID: 50c94c84-61c2-4430-968d-d2dc3c41c9c5) from Inline(default) in 6.84ms
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] Enqueued Kithe::CreateDerivativesJob (Job ID: 50c94c84-61c2-4430-968d-d2dc3c41c9c5) to Inline(default) with arguments: #<GlobalID:0x00007f970565b1b8 @uri=#<URI::GID gid://dummy/CustomAsset/edc3a144-035f-4b05-b4e0-f82e87ffc837>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] Performed Kithe::AssetPromoteJob (Job ID: a6f9a398-f739-4fb5-ba94-1994ba2a0dc2) from Inline(default) in 17.13ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a6f9a398-f739-4fb5-ba94-1994ba2a0dc2) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "edc3a144-035f-4b05-b4e0-f82e87ffc837", "file", {"id"=>"asset/1db2881f0e8cad4e1eda26be3b02cfbb.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/c356da67c33183ea6d9909665aeba06b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.377423"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/215137b8cdb902c7b8fadabf79447ae6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:07.381921"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [f9d1090d-aa57-461e-85cf-7be9480d307c] Performing Kithe::AssetDeleteJob (Job ID: f9d1090d-aa57-461e-85cf-7be9480d307c) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/c356da67c33183ea6d9909665aeba06b.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"nerl8gqn1_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [f9d1090d-aa57-461e-85cf-7be9480d307c] Performed Kithe::AssetDeleteJob (Job ID: f9d1090d-aa57-461e-85cf-7be9480d307c) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: f9d1090d-aa57-461e-85cf-7be9480d307c) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/c356da67c33183ea6d9909665aeba06b.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"nerl8gqn1_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] Performing Kithe::AssetPromoteJob (Job ID: dccb7651-2d19-45e6-b6c5-f0cb0022f91a) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "edc3a144-035f-4b05-b4e0-f82e87ffc837", "file", {"id"=>"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/215137b8cdb902c7b8fadabf79447ae6.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/59d1f4bd8103c5c185caf8b3dd0da628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.390081"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] Performing Kithe::CreateDerivativesJob (Job ID: 8f093d5b-007c-4d42-834a-b1a442c9553e) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f9708252050 @uri=#<URI::GID gid://dummy/CustomAsset/edc3a144-035f-4b05-b4e0-f82e87ffc837>>
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[36mCustomAsset Update (1.2ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/59d1f4bd8103c5c185caf8b3dd0da628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/3b016d0d220eefbe9d939d53cd72bdfb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.397819"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] Performed Kithe::CreateDerivativesJob (Job ID: 8f093d5b-007c-4d42-834a-b1a442c9553e) from Inline(default) in 6.49ms
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] Enqueued Kithe::CreateDerivativesJob (Job ID: 8f093d5b-007c-4d42-834a-b1a442c9553e) to Inline(default) with arguments: #<GlobalID:0x00007f97056ec5c8 @uri=#<URI::GID gid://dummy/CustomAsset/edc3a144-035f-4b05-b4e0-f82e87ffc837>>
+[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] Performed Kithe::AssetPromoteJob (Job ID: dccb7651-2d19-45e6-b6c5-f0cb0022f91a) from Inline(default) in 14.52ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: dccb7651-2d19-45e6-b6c5-f0cb0022f91a) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "edc3a144-035f-4b05-b4e0-f82e87ffc837", "file", {"id"=>"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/215137b8cdb902c7b8fadabf79447ae6.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.416672"], ["updated_at", "2020-05-28 13:27:07.416672"], ["file_data", "{\"id\":\"asset/16d9315229d5701a6226f491fd639ac2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] Performing Kithe::AssetPromoteJob (Job ID: 28f751db-820f-4bee-9f14-e2c433d2f64c) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "c14dc029-33c7-452c-b037-d458965d72cd", "file", {"id"=>"asset/16d9315229d5701a6226f491fd639ac2.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.428328"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Load (1.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] Performing Kithe::CreateDerivativesJob (Job ID: 8ebe7b85-0a07-4db3-a376-2e13a897b75b) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f9704e28540 @uri=#<URI::GID gid://dummy/CustomAsset/c14dc029-33c7-452c-b037-d458965d72cd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c14dc029-33c7-452c-b037-d458965d72cd/fixed/9e72529f727446c7bc2e794a5629bfe6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jfqwpz58b_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.436611"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] Performed Kithe::CreateDerivativesJob (Job ID: 8ebe7b85-0a07-4db3-a376-2e13a897b75b) from Inline(default) in 5.48ms
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] Enqueued Kithe::CreateDerivativesJob (Job ID: 8ebe7b85-0a07-4db3-a376-2e13a897b75b) to Inline(default) with arguments: #<GlobalID:0x00007f970831c800 @uri=#<URI::GID gid://dummy/CustomAsset/c14dc029-33c7-452c-b037-d458965d72cd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] Performed Kithe::AssetPromoteJob (Job ID: 28f751db-820f-4bee-9f14-e2c433d2f64c) from Inline(default) in 15.99ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 28f751db-820f-4bee-9f14-e2c433d2f64c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "c14dc029-33c7-452c-b037-d458965d72cd", "file", {"id"=>"asset/16d9315229d5701a6226f491fd639ac2.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c14dc029-33c7-452c-b037-d458965d72cd/fixed/6b16964f08993707b03975dc9abaa2a7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jfqwpz58b_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.444405"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.484827"], ["updated_at", "2020-05-28 13:27:07.484827"], ["file_data", "{\"id\":\"asset/dee5859967968232e4275d25eb9a16ef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] Performing Kithe::AssetPromoteJob (Job ID: 905b0e45-aa22-4935-b3e0-13edbebd8563) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "5d13f003-8142-4cf1-87ac-fcdda4d56b96", "file", {"id"=>"asset/dee5859967968232e4275d25eb9a16ef.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.493507"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] Performing Kithe::CreateDerivativesJob (Job ID: f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f97044b8a00 @uri=#<URI::GID gid://dummy/CustomAsset/5d13f003-8142-4cf1-87ac-fcdda4d56b96>>
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/929b3b5a3d07fca75d3c125a4d1d598a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.502754"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] Performed Kithe::CreateDerivativesJob (Job ID: f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a) from Inline(default) in 6.78ms
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] Enqueued Kithe::CreateDerivativesJob (Job ID: f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a) to Inline(default) with arguments: #<GlobalID:0x00007f9704598600 @uri=#<URI::GID gid://dummy/CustomAsset/5d13f003-8142-4cf1-87ac-fcdda4d56b96>>
+[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] Performed Kithe::AssetPromoteJob (Job ID: 905b0e45-aa22-4935-b3e0-13edbebd8563) from Inline(default) in 16.57ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 905b0e45-aa22-4935-b3e0-13edbebd8563) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "5d13f003-8142-4cf1-87ac-fcdda4d56b96", "file", {"id"=>"asset/dee5859967968232e4275d25eb9a16ef.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (3.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (2.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/ae52f7de301ccd67dafe92dcf681b511.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.522329"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (1.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/43918907ccf6471822b129531c58cd47.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:07.588749"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.617856"], ["updated_at", "2020-05-28 13:27:07.617856"], ["file_data", "{\"id\":\"asset/57710f1afd4bfe4d45919dc817ab22c9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] Performing Kithe::AssetPromoteJob (Job ID: 165f71b8-2b7f-43f8-ac87-5bb2f1a050bb) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "CustomUploader::Attacher", "CustomAsset", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e", "file", {"id"=>"asset/57710f1afd4bfe4d45919dc817ab22c9.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.626654"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] Performing Kithe::CreateDerivativesJob (Job ID: 831ea4e5-ad8a-4940-928c-ecf7cc7f686b) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: #<GlobalID:0x00007f9708110368 @uri=#<URI::GID gid://dummy/CustomAsset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e>>
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/b4a01d4dd9f1be61a273936c8e1d0cb1.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.635191"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] Performed Kithe::CreateDerivativesJob (Job ID: 831ea4e5-ad8a-4940-928c-ecf7cc7f686b) from Inline(default) in 6.64ms
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] Enqueued Kithe::CreateDerivativesJob (Job ID: 831ea4e5-ad8a-4940-928c-ecf7cc7f686b) to Inline(default) with arguments: #<GlobalID:0x00007f97055e88e8 @uri=#<URI::GID gid://dummy/CustomAsset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e>>
+[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] Performed Kithe::AssetPromoteJob (Job ID: 165f71b8-2b7f-43f8-ac87-5bb2f1a050bb) from Inline(default) in 15.86ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 165f71b8-2b7f-43f8-ac87-5bb2f1a050bb) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e", "file", {"id"=>"asset/57710f1afd4bfe4d45919dc817ab22c9.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/7debd0c37359f617a3aaf6206d636a82.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.643615"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/7debd0c37359f617a3aaf6206d636a82.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/test/c55e8cc1a4cd0d0bbf6c9ae1d514950c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-28 13:27:07.687184"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.710105"], ["updated_at", "2020-05-28 13:27:07.710105"], ["file_data", "{\"id\":\"asset/3378130ff132c5d096593865317765f8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] Performing Kithe::AssetPromoteJob (Job ID: f75c20ef-767e-4d52-ac24-8ecd641bcf49) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f882a17e-3416-4f1d-b515-f6ebc0e4321f", "file", {"id"=>"asset/3378130ff132c5d096593865317765f8.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[36mTestAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f882a17e-3416-4f1d-b515-f6ebc0e4321f/1e94c1e12c60f31624552c911f37507c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.718788"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] Performed Kithe::AssetPromoteJob (Job ID: f75c20ef-767e-4d52-ac24-8ecd641bcf49) from Inline(default) in 6.72ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f75c20ef-767e-4d52-ac24-8ecd641bcf49) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f882a17e-3416-4f1d-b515-f6ebc0e4321f", "file", {"id"=>"asset/3378130ff132c5d096593865317765f8.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.746892"], ["updated_at", "2020-05-28 13:27:07.746892"], ["file_data", "{\"id\":\"asset/ea593a33531c210a1da3694129383356.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.775046"], ["updated_at", "2020-05-28 13:27:07.775046"], ["file_data", "{\"id\":\"asset/e37096a96970d23bda75ebb3b0eb16a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:07.779403"], ["file_data", "{\"id\":\"asset/d556c2c1-48cc-40ed-a73e-8def9a5adae0/78a9ca96f4831667dab475aaad53486e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d556c2c1-48cc-40ed-a73e-8def9a5adae0"]]
+ [1m[35m (4.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d556c2c1-48cc-40ed-a73e-8def9a5adae0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (48.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.859389"], ["updated_at", "2020-05-28 13:27:07.859389"], ["file_data", "{\"id\":\"asset/e01a972ade0daaf1d1e332e53e752523.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [12f81d29-f421-4a4c-b49c-9180216ea842] Performing Kithe::AssetPromoteJob (Job ID: 12f81d29-f421-4a4c-b49c-9180216ea842) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "02094f34-0460-4bad-a9c7-1e8e118a0927", "file", {"id"=>"asset/e01a972ade0daaf1d1e332e53e752523.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [12f81d29-f421-4a4c-b49c-9180216ea842] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12f81d29-f421-4a4c-b49c-9180216ea842] Performed Kithe::AssetPromoteJob (Job ID: 12f81d29-f421-4a4c-b49c-9180216ea842) from Inline(default) in 2.73ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 12f81d29-f421-4a4c-b49c-9180216ea842) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "02094f34-0460-4bad-a9c7-1e8e118a0927", "file", {"id"=>"asset/e01a972ade0daaf1d1e332e53e752523.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.935903"], ["updated_at", "2020-05-28 13:27:07.935903"], ["file_data", "{\"id\":\"asset/ed2327c82880c8ca88c9dcd2d6d3dce6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] Performing Kithe::AssetPromoteJob (Job ID: 76fef830-80f2-4856-881e-12697f91f136) from Inline(default) enqueued at 2020-05-28T13:27:07Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "c4ef3161-f079-4f68-aa13-18fb6a0beadd", "file", {"id"=>"asset/ed2327c82880c8ca88c9dcd2d6d3dce6.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[36mTestAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[36mTestAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c4ef3161-f079-4f68-aa13-18fb6a0beadd/69b40bd4b33bd86e177cbf36453cd568.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.944520"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] Performed Kithe::AssetPromoteJob (Job ID: 76fef830-80f2-4856-881e-12697f91f136) from Inline(default) in 6.82ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 76fef830-80f2-4856-881e-12697f91f136) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "c4ef3161-f079-4f68-aa13-18fb6a0beadd", "file", {"id"=>"asset/ed2327c82880c8ca88c9dcd2d6d3dce6.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.962596"], ["updated_at", "2020-05-28 13:27:07.962596"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:07.968214"], ["file_data", "{\"id\":\"asset/c2a1306d-b8e1-45fa-8134-3be3794fee9f/f25233983f9904037a1a642a2443fa27.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c2a1306d-b8e1-45fa-8134-3be3794fee9f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c2a1306d-b8e1-45fa-8134-3be3794fee9f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.005710"], ["updated_at", "2020-05-28 13:27:08.005710"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.025558"], ["file_data", "{\"id\":\"asset/731bd6b6-4306-41be-a7da-99df08a820db/8bc152598a5f5ef09e1797b1937424b2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "731bd6b6-4306-41be-a7da-99df08a820db"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "731bd6b6-4306-41be-a7da-99df08a820db"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.065342"], ["updated_at", "2020-05-28 13:27:08.065342"], ["file_data", "{\"id\":\"asset/d8e45a0a1a778d949d122a36a310739a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.108968"], ["updated_at", "2020-05-28 13:27:08.108968"], ["file_data", "{\"id\":\"asset/0d867207dfbbf02a8f19b07a60485779.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/35608655-b6d6-40c7-af8a-da1a53147357/a9a5a84e3aea3f0fa4f9ac3bebe43f13.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.123486"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.174863"], ["updated_at", "2020-05-28 13:27:08.174863"], ["file_data", "{\"id\":\"asset/8beb7539559e23f3ff33181117d4987f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] Performing Kithe::AssetPromoteJob (Job ID: dd6ddfe3-9193-4e67-84f5-76d3b48882c9) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f3986010-7732-4f94-9fa8-3f07eafac633", "file", {"id"=>"asset/8beb7539559e23f3ff33181117d4987f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f3986010-7732-4f94-9fa8-3f07eafac633/179b002c5ed9f7d7aa645d34f3f347c4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.182470"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] Performed Kithe::AssetPromoteJob (Job ID: dd6ddfe3-9193-4e67-84f5-76d3b48882c9) from Inline(default) in 6.63ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: dd6ddfe3-9193-4e67-84f5-76d3b48882c9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f3986010-7732-4f94-9fa8-3f07eafac633", "file", {"id"=>"asset/8beb7539559e23f3ff33181117d4987f.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.198375"], ["updated_at", "2020-05-28 13:27:08.198375"], ["file_data", "{\"id\":\"asset/587fb857daada9c83e0c73eb0a0e8813.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.204762"], ["file_data", "{\"id\":\"asset/f0cd1b4e-c057-45da-aab3-7f4b54eb44c3/0011b47b11fabdf8c740531b68cb8e4f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f0cd1b4e-c057-45da-aab3-7f4b54eb44c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f0cd1b4e-c057-45da-aab3-7f4b54eb44c3"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.224675"], ["updated_at", "2020-05-28 13:27:08.224675"], ["file_data", "{\"id\":\"asset/2c59c28e4e4101220827d5bd2ad27b46.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] Performing Kithe::AssetPromoteJob (Job ID: 1c804810-90a6-4eb4-a312-d3e789dfcab9) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c", "file", {"id"=>"asset/2c59c28e4e4101220827d5bd2ad27b46.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c/abe841885c39214216f9c7fc51513f92.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.232817"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] Performed Kithe::AssetPromoteJob (Job ID: 1c804810-90a6-4eb4-a312-d3e789dfcab9) from Inline(default) in 6.15ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1c804810-90a6-4eb4-a312-d3e789dfcab9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c", "file", {"id"=>"asset/2c59c28e4e4101220827d5bd2ad27b46.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.256763"], ["updated_at", "2020-05-28 13:27:08.256763"], ["file_data", "{\"id\":\"asset/67664f3f02ebf647d715123fb0f479ce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] Performing Kithe::AssetPromoteJob (Job ID: 046d649e-ea38-41ff-99cd-8e34eaecfffe) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "78abbc57-ed8e-498f-9b59-19b5f5ed5321", "file", {"id"=>"asset/67664f3f02ebf647d715123fb0f479ce.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/78abbc57-ed8e-498f-9b59-19b5f5ed5321/fc08e059af99a97ceac15d61db41433d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.266051"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] Performed Kithe::AssetPromoteJob (Job ID: 046d649e-ea38-41ff-99cd-8e34eaecfffe) from Inline(default) in 8.54ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 046d649e-ea38-41ff-99cd-8e34eaecfffe) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "78abbc57-ed8e-498f-9b59-19b5f5ed5321", "file", {"id"=>"asset/67664f3f02ebf647d715123fb0f479ce.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.286833"], ["updated_at", "2020-05-28 13:27:08.286833"], ["file_data", "{\"id\":\"asset/a5261e6ca45507ca1c00e00222fc2c82.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3540c832-bc3a-4c79-8ccb-118455cfff1c"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.309560"], ["updated_at", "2020-05-28 13:27:08.309560"], ["file_data", "{\"id\":\"asset/2223720f20e16957f8c5469690f69807.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.313048"], ["file_data", "{\"id\":\"asset/3905bfff-1182-42d4-8c61-9ff874d8c7ee/f58eef97f89e46bf6dcfff8d2d14571e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 709e289e-3c11-48e3-8ff7-0a7bfd4583ad) to Test(default) with arguments: #<GlobalID:0x00007f97059c07e0 @uri=#<URI::GID gid://dummy/TestAsset/3905bfff-1182-42d4-8c61-9ff874d8c7ee>>
+ [1m[36mTestAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.350100"], ["updated_at", "2020-05-28 13:27:08.350100"], ["file_data", "{\"id\":\"asset/c3630127fab74251953115b4af0dd9c7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.374783"], ["updated_at", "2020-05-28 13:27:08.374783"], ["file_data", "{\"id\":\"asset/8684a2df618504950a2860da9d2872f1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.378739"], ["file_data", "{\"id\":\"asset/d0d19638-a972-4f4c-a69e-a8d3357d394f/d9582d8d3ad552deb98280f432ebb274.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d0d19638-a972-4f4c-a69e-a8d3357d394f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d0d19638-a972-4f4c-a69e-a8d3357d394f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.403957"], ["updated_at", "2020-05-28 13:27:08.403957"], ["file_data", "{\"id\":\"asset/78410dd2f0d8bdb52121ca37ac922d9a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.407458"], ["file_data", "{\"id\":\"asset/5e7d9d2e-876d-421f-b17c-3b1c31e4934b/d07cbae792c6f529e31ae00b0c6f5141.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5e7d9d2e-876d-421f-b17c-3b1c31e4934b"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [23865f98-a875-4da3-887f-1c3d0e7f5f08] Performing Kithe::CreateDerivativesJob (Job ID: 23865f98-a875-4da3-887f-1c3d0e7f5f08) from Test(default) enqueued at with arguments: #<GlobalID:0x00007f97081ddc50 @uri=#<URI::GID gid://dummy/TestAsset/5e7d9d2e-876d-421f-b17c-3b1c31e4934b>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [23865f98-a875-4da3-887f-1c3d0e7f5f08] Performed Kithe::CreateDerivativesJob (Job ID: 23865f98-a875-4da3-887f-1c3d0e7f5f08) from Test(default) in 0.55ms
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "5e7d9d2e-876d-421f-b17c-3b1c31e4934b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.428937"], ["updated_at", "2020-05-28 13:27:08.428937"], ["file_data", "{\"id\":\"asset/eb30975048c2d40e0659d110d4059f2d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.432306"], ["file_data", "{\"id\":\"asset/d0201c0b-1ec2-45e3-8621-6ebae6317add/aadaa9aaafdb90350618d930498707b6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd0201c0b-1ec2-45e3-8621-6ebae6317add'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd0201c0b-1ec2-45e3-8621-6ebae6317add'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.458483"], ["updated_at", "2020-05-28 13:27:08.458483"], ["file_data", "{\"id\":\"asset/66553b9056b881b57abfcbab8f3d91fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.462807"], ["file_data", "{\"id\":\"asset/85115cf7-afb7-4577-a59d-463810ff4299/9b22e5cb936e0a47a342526867d9ea4b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "85115cf7-afb7-4577-a59d-463810ff4299"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
+ [1m[36mKithe::Model Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '85115cf7-afb7-4577-a59d-463810ff4299'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '85115cf7-afb7-4577-a59d-463810ff4299'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.499124"], ["updated_at", "2020-05-28 13:27:08.499124"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23) AND "kithe_models"."id" = $24 LIMIT $25[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "cb9b36c5-d1d4-49e6-9f87-b618763f07d1"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:08.548191"], ["updated_at", "2020-05-28 13:27:08.548191"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:08.568371"], ["updated_at", "2020-05-28 13:27:08.568371"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.572462"], ["file_data", "{\"id\":\"asset/6a3b85c0-6d90-43b3-bbaf-99303d3b5637/d3e44e4863a21b7a8806b6e94f9eeb2d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.575605"], ["file_data", "{\"id\":\"asset/6a3b85c0-6d90-43b3-bbaf-99303d3b5637/2e2073d13a2e86db3fe058d77b3dd108.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.582926"], ["updated_at", "2020-05-28 13:27:08.582926"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.593962"], ["updated_at", "2020-05-28 13:27:08.593962"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.597155"], ["updated_at", "2020-05-28 13:27:08.597155"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.606476"], ["updated_at", "2020-05-28 13:27:08.606476"], ["file_data", "{\"id\":\"asset/4b146c49ce408fc5f859e2ba32b21762.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Performing Kithe::AssetPromoteJob (Job ID: 1e5545f3-353e-42b0-abe7-4e5551d42bfe) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "280f7e6a-79d9-4df0-8248-a28ab91df58a", "file", {"id"=>"asset/4b146c49ce408fc5f859e2ba32b21762.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/280f7e6a-79d9-4df0-8248-a28ab91df58a/23e85eded2c967a19c0b7075f128be3f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.616063"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Performed Kithe::AssetPromoteJob (Job ID: 1e5545f3-353e-42b0-abe7-4e5551d42bfe) from Inline(default) in 9.33ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1e5545f3-353e-42b0-abe7-4e5551d42bfe) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "280f7e6a-79d9-4df0-8248-a28ab91df58a", "file", {"id"=>"asset/4b146c49ce408fc5f859e2ba32b21762.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.628022"], ["updated_at", "2020-05-28 13:27:08.628022"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.630963"], ["file_data", "{\"id\":\"asset/9091203a09d65395f0c5464902b32ebe.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Performing Kithe::AssetPromoteJob (Job ID: 3b151f50-92e0-4492-ae64-a646b025a658) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4", "file", {"id"=>"asset/9091203a09d65395f0c5464902b32ebe.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f6cc8f95-07f9-434e-855f-6f1241aa4fe4/ab77cc005ebb8762f4889dd0aa852e69.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:08.640776"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Performed Kithe::AssetPromoteJob (Job ID: 3b151f50-92e0-4492-ae64-a646b025a658) from Inline(default) in 8.07ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3b151f50-92e0-4492-ae64-a646b025a658) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4", "file", {"id"=>"asset/9091203a09d65395f0c5464902b32ebe.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.651277"], ["updated_at", "2020-05-28 13:27:08.651277"], ["file_data", "{\"id\":\"asset/a43036b3fbd4d7a6b877a3a41d2c14a8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 71ea9d43-51b8-4e62-bc1f-d83eb765584d) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e9dca681-e26d-4a71-afe9-cc37bfe7bd99", "file", {"id"=>"asset/a43036b3fbd4d7a6b877a3a41d2c14a8.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e9dca681-e26d-4a71-afe9-cc37bfe7bd99"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.658803"], ["file_data", "{\"id\":\"asset/e9dca681-e26d-4a71-afe9-cc37bfe7bd99/90230d7f9bcf36cc8c162c5c1d1afab6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e9dca681-e26d-4a71-afe9-cc37bfe7bd99"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.664173"], ["updated_at", "2020-05-28 13:27:08.664173"], ["file_data", "{\"id\":\"asset/623ef2d20e0b864b36c5f6348c7c778a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Performing Kithe::AssetPromoteJob (Job ID: 722e50e7-6305-4857-a8d4-6915fa748d24) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d4420d1c-d80e-46ee-b4f8-041a5959872a", "file", {"id"=>"asset/623ef2d20e0b864b36c5f6348c7c778a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d4420d1c-d80e-46ee-b4f8-041a5959872a/19bb9719fedf7432e6dde161bf5b57d2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.676453"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Performed Kithe::AssetPromoteJob (Job ID: 722e50e7-6305-4857-a8d4-6915fa748d24) from Inline(default) in 8.01ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 722e50e7-6305-4857-a8d4-6915fa748d24) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d4420d1c-d80e-46ee-b4f8-041a5959872a", "file", {"id"=>"asset/623ef2d20e0b864b36c5f6348c7c778a.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.680861"], ["updated_at", "2020-05-28 13:27:08.680861"], ["file_data", "{\"id\":\"asset/a9decab628d72238cb86077cf0ff860c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Performing Kithe::AssetPromoteJob (Job ID: 42049985-85a7-46d0-9e51-710695626049) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9174fbfe-58c6-4643-b911-46c04fe12808", "file", {"id"=>"asset/a9decab628d72238cb86077cf0ff860c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/9174fbfe-58c6-4643-b911-46c04fe12808/ef16024da5e430ecad80fa65aaedfd04.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.688790"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Performed Kithe::AssetPromoteJob (Job ID: 42049985-85a7-46d0-9e51-710695626049) from Inline(default) in 6.75ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 42049985-85a7-46d0-9e51-710695626049) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9174fbfe-58c6-4643-b911-46c04fe12808", "file", {"id"=>"asset/a9decab628d72238cb86077cf0ff860c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.696452"], ["updated_at", "2020-05-28 13:27:08.696452"], ["file_data", "{\"id\":\"asset/103984aa1d920dcf836521defe6e5456.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Performing Kithe::AssetPromoteJob (Job ID: d3a86fe3-b8f0-4dde-8e94-52c3ee33517e) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746", "file", {"id"=>"asset/103984aa1d920dcf836521defe6e5456.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[36mKithe::Asset Load (2.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.707646"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Performed Kithe::AssetPromoteJob (Job ID: d3a86fe3-b8f0-4dde-8e94-52c3ee33517e) from Inline(default) in 9.32ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d3a86fe3-b8f0-4dde-8e94-52c3ee33517e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746", "file", {"id"=>"asset/103984aa1d920dcf836521defe6e5456.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
+ [1m[35m (93.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"08d672b8-84ad-4ba3-8cd3-09ad7bb56746/existing/c4444ec6a340429ef03b7679f098367f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jdjt63xsb_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:08.867750"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '08d672b8-84ad-4ba3-8cd3-09ad7bb56746'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '08d672b8-84ad-4ba3-8cd3-09ad7bb56746'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [eeeef3d6-7f8c-4392-970f-408a26989c6d] Performing Kithe::AssetDeleteJob (Job ID: eeeef3d6-7f8c-4392-970f-408a26989c6d) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"08d672b8-84ad-4ba3-8cd3-09ad7bb56746/existing/c4444ec6a340429ef03b7679f098367f.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"jdjt63xsb_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [eeeef3d6-7f8c-4392-970f-408a26989c6d] Performed Kithe::AssetDeleteJob (Job ID: eeeef3d6-7f8c-4392-970f-408a26989c6d) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: eeeef3d6-7f8c-4392-970f-408a26989c6d) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"08d672b8-84ad-4ba3-8cd3-09ad7bb56746/existing/c4444ec6a340429ef03b7679f098367f.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"jdjt63xsb_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.887325"], ["updated_at", "2020-05-28 13:27:08.887325"], ["file_data", "{\"id\":\"asset/976f7e9696961e001fa1f8d2c320d81f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Performing Kithe::AssetPromoteJob (Job ID: bee9f102-c2b3-439c-a80d-c4cc6f6f4426) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b3cdce63-1624-4f10-bbef-a66f9de051cf", "file", {"id"=>"asset/976f7e9696961e001fa1f8d2c320d81f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[36mKithe::Asset Load (1.1ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.897884"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Performed Kithe::AssetPromoteJob (Job ID: bee9f102-c2b3-439c-a80d-c4cc6f6f4426) from Inline(default) in 9.08ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: bee9f102-c2b3-439c-a80d-c4cc6f6f4426) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b3cdce63-1624-4f10-bbef-a66f9de051cf", "file", {"id"=>"asset/976f7e9696961e001fa1f8d2c320d81f.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"b3cdce63-1624-4f10-bbef-a66f9de051cf/existing/5ba02da6a79430c1b5b7e1d42b3f392c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dnrg3ige1_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:08.942169"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/40badb6979c0e54a83b61ee4b12621dd.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:08.984877"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [aecfb0d5-e067-41cd-b302-0ef6fceb5d29] Performing Kithe::AssetDeleteJob (Job ID: aecfb0d5-e067-41cd-b302-0ef6fceb5d29) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"b3cdce63-1624-4f10-bbef-a66f9de051cf/existing/5ba02da6a79430c1b5b7e1d42b3f392c.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"dnrg3ige1_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [aecfb0d5-e067-41cd-b302-0ef6fceb5d29] Performed Kithe::AssetDeleteJob (Job ID: aecfb0d5-e067-41cd-b302-0ef6fceb5d29) from Inline(default) in 0.15ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: aecfb0d5-e067-41cd-b302-0ef6fceb5d29) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"b3cdce63-1624-4f10-bbef-a66f9de051cf/existing/5ba02da6a79430c1b5b7e1d42b3f392c.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"dnrg3ige1_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Performing Kithe::AssetPromoteJob (Job ID: f1eea42b-fd46-4ba6-b327-0ddc5cb13b76) from Inline(default) enqueued at 2020-05-28T13:27:08Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b3cdce63-1624-4f10-bbef-a66f9de051cf", "file", {"id"=>"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/40badb6979c0e54a83b61ee4b12621dd.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/abe9fad4d3ded94564513d6f422f5240.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-28 13:27:08.995850"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Performed Kithe::AssetPromoteJob (Job ID: f1eea42b-fd46-4ba6-b327-0ddc5cb13b76) from Inline(default) in 7.5ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f1eea42b-fd46-4ba6-b327-0ddc5cb13b76) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b3cdce63-1624-4f10-bbef-a66f9de051cf", "file", {"id"=>"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/40badb6979c0e54a83b61ee4b12621dd.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.002785"], ["updated_at", "2020-05-28 13:27:09.002785"], ["file_data", "{\"id\":\"asset/3173822f962a0ac9c9c15c38846073a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Performing Kithe::AssetPromoteJob (Job ID: 7c644b0e-a9bb-4c1b-9cfa-0b8353679db5) from Inline(default) enqueued at 2020-05-28T13:27:09Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "87ce534d-fede-4cbf-98e3-29031a7f1e8d", "file", {"id"=>"asset/3173822f962a0ac9c9c15c38846073a2.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/87ce534d-fede-4cbf-98e3-29031a7f1e8d/09de7a6e3d982394a84a072dd22fe2fb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:09.056863"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Performed Kithe::AssetPromoteJob (Job ID: 7c644b0e-a9bb-4c1b-9cfa-0b8353679db5) from Inline(default) in 52.81ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7c644b0e-a9bb-4c1b-9cfa-0b8353679db5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "87ce534d-fede-4cbf-98e3-29031a7f1e8d", "file", {"id"=>"asset/3173822f962a0ac9c9c15c38846073a2.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.2ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/87ce534d-fede-4cbf-98e3-29031a7f1e8d/09de7a6e3d982394a84a072dd22fe2fb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"87ce534d-fede-4cbf-98e3-29031a7f1e8d/existing/fb1b68d666279aa697a7355e07dbe98f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"au0xx7kqn_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:09.102697"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.106510"], ["updated_at", "2020-05-28 13:27:09.106510"], ["file_data", "{\"id\":\"asset/7d39dbf628f109681cd205b2bc301a9c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7d39dbf628f109681cd205b2bc301a9c.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"d4656db9-6f10-4f7a-b065-f06d0404f787/test/e5b299c9a45216b5299f0b3ffefd66a4.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tnvj0lrmp_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-28 13:27:09.117926"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.147296"], ["updated_at", "2020-05-28 13:27:09.147296"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (6.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (2.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.248424"], ["updated_at", "2020-05-28 13:27:09.248424"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b79ccd38-0ebf-4346-be2a-098846a01974"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.264602"], ["updated_at", "2020-05-28 13:27:09.264602"], ["kithe_model_type", 1]]
+ [1m[35m (4.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "be3f48b5-f805-4b9a-9c49-9e1378faa60d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.291228"], ["updated_at", "2020-05-28 13:27:09.291228"], ["kithe_model_type", 0]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.295407"], ["updated_at", "2020-05-28 13:27:09.295407"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.315308"], ["updated_at", "2020-05-28 13:27:09.315308"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
+ [1m[36mKithe::ModelContains Load (0.6ms)[0m [1m[34mSELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
+ [1m[36mKithe::ModelContains Destroy (0.4ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dfbbed7f-02d5-4eb2-8400-99f580aae0ce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dfbbed7f-02d5-4eb2-8400-99f580aae0ce'
+);
+[0m
+ [1m[36mKithe::Work Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
+ [1m[36mKithe::Collection Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.342121"], ["updated_at", "2020-05-28 13:27:09.342121"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[36mKithe::ModelContains Load (0.3ms)[0m [1m[34mSELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
+ [1m[36mKithe::ModelContains Destroy (0.4ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e7e545cf-c8c9-4d4e-baec-6cdfdc19a369'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e7e545cf-c8c9-4d4e-baec-6cdfdc19a369'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (2.0ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.395734"], ["updated_at", "2020-05-28 13:27:09.395734"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.399108"], ["updated_at", "2020-05-28 13:27:09.399108"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"]]
+ [1m[36mKithe::Work Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.407212"], ["representative_id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["leaf_representative_id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["id", "dcb6835d-9daa-4f5b-98f2-94c0dc1375d7"]]
+ [1m[35m (2.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f0205e78-a7f2-4368-9ccc-ac9aeb13d40d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dcb6835d-9daa-4f5b-98f2-94c0dc1375d7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dcb6835d-9daa-4f5b-98f2-94c0dc1375d7'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dcb6835d-9daa-4f5b-98f2-94c0dc1375d7"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.418722"], ["updated_at", "2020-05-28 13:27:09.418722"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.424048"], ["updated_at", "2020-05-28 13:27:09.424048"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"]]
+ [1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.428097"], ["updated_at", "2020-05-28 13:27:09.428097"], ["representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["leaf_representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'bb9bce9f-482a-4d16-8c18-90158bb1a9ce'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '359a1873-4f9d-41d9-9645-d7268741163e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '359a1873-4f9d-41d9-9645-d7268741163e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (3.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "359a1873-4f9d-41d9-9645-d7268741163e"]]
+ [1m[36mKithe::Work Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.439833"], ["updated_at", "2020-05-28 13:27:09.439833"], ["representative_id", "359a1873-4f9d-41d9-9645-d7268741163e"], ["leaf_representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'bb9bce9f-482a-4d16-8c18-90158bb1a9ce'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'eb051396-eae0-49ab-af52-a4a093294ad4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'eb051396-eae0-49ab-af52-a4a093294ad4'
+);
+[0m
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.447227"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "eb051396-eae0-49ab-af52-a4a093294ad4"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'eb051396-eae0-49ab-af52-a4a093294ad4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'eb051396-eae0-49ab-af52-a4a093294ad4'
+);
+[0m
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.453009"], ["updated_at", "2020-05-28 13:27:09.453009"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.0ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "8878a930-2149-4716-908e-48c3a34e04fe"]]
+ [1m[36mKithe::Work Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.479373"], ["updated_at", "2020-05-28 13:27:09.479373"], ["representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["leaf_representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8878a930-2149-4716-908e-48c3a34e04fe'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.1ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"]]
+ [1m[36mKithe::Work Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.486845"], ["updated_at", "2020-05-28 13:27:09.486845"], ["representative_id", "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"], ["leaf_representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8878a930-2149-4716-908e-48c3a34e04fe'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.491555"], ["representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["leaf_representative_id", "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"], ["id", "ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.498902"], ["updated_at", "2020-05-28 13:27:09.498902"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.504247"], ["updated_at", "2020-05-28 13:27:09.504247"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "579c128e-de70-45cf-8086-cd025b0ea45a"]]
+ [1m[36mKithe::Work Create (4.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.508663"], ["updated_at", "2020-05-28 13:27:09.508663"], ["representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["leaf_representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["kithe_model_type", 1]]
+ [1m[35m (5.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '579c128e-de70-45cf-8086-cd025b0ea45a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747'
+);
+[0m
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
+ [1m[36mKithe::Work Create (4.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.528953"], ["updated_at", "2020-05-28 13:27:09.528953"], ["representative_id", "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"], ["leaf_representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["kithe_model_type", 1]]
+ [1m[35m (3.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '579c128e-de70-45cf-8086-cd025b0ea45a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '46cb7c73-4981-449e-af89-07f8684ee919'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '46cb7c73-4981-449e-af89-07f8684ee919'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:09.539645"], ["leaf_representative_id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["id", "46cb7c73-4981-449e-af89-07f8684ee919"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '73f9849c-50d0-4e9a-a4bc-90dfcfec47e8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '46cb7c73-4981-449e-af89-07f8684ee919'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '46cb7c73-4981-449e-af89-07f8684ee919'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.551032"], ["updated_at", "2020-05-28 13:27:09.551032"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.555776"], ["updated_at", "2020-05-28 13:27:09.555776"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "66be62a1-54de-4035-ab32-6b7b88d04b98"]]
+ [1m[36mKithe::Work Update (2.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.558903"], ["representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["leaf_representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["id", "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"]]
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.565125"], ["representative_id", "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"], ["leaf_representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["id", "66be62a1-54de-4035-ab32-6b7b88d04b98"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '66be62a1-54de-4035-ab32-6b7b88d04b98'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.570421"], ["updated_at", "2020-05-28 13:27:09.570421"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.573317"], ["updated_at", "2020-05-28 13:27:09.573317"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1dcd3033-2243-43ac-8b66-b255f7efeadc"]]
+ [1m[36mKithe::Work Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.577954"], ["updated_at", "2020-05-28 13:27:09.577954"], ["representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e1b9faab-40a0-475c-8843-0f70d51e46db'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e1b9faab-40a0-475c-8843-0f70d51e46db'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.9ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "eb947234-5410-44ec-812f-1b97917e5163"]]
+ [1m[36mKithe::Work Create (1.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.586479"], ["updated_at", "2020-05-28 13:27:09.586479"], ["representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dc580c76-9db9-4c04-8887-e39b0e55479c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dc580c76-9db9-4c04-8887-e39b0e55479c'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
+ [1m[36mKithe::Work Create (2.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.592302"], ["updated_at", "2020-05-28 13:27:09.592302"], ["representative_id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dc24e734-fbf3-4464-826c-f567ea9527f8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dc24e734-fbf3-4464-826c-f567ea9527f8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.598466"], ["updated_at", "2020-05-28 13:27:09.598466"], ["representative_id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ea150d33-8322-446b-8b1d-ba9cb7327d60'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ea150d33-8322-446b-8b1d-ba9cb7327d60'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.602944"], ["updated_at", "2020-05-28 13:27:09.602944"], ["representative_id", "dc580c76-9db9-4c04-8887-e39b0e55479c"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ffc3ced1-8252-43ea-996f-3f9594e59859'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ffc3ced1-8252-43ea-996f-3f9594e59859'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "dc24e734-fbf3-4464-826c-f567ea9527f8"]]
+ [1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.607771"], ["updated_at", "2020-05-28 13:27:09.607771"], ["representative_id", "dc24e734-fbf3-4464-826c-f567ea9527f8"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1f9fb17c-5719-4358-bfd1-ad10e92c7208'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1f9fb17c-5719-4358-bfd1-ad10e92c7208'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.612520"], ["updated_at", "2020-05-28 13:27:09.612520"], ["representative_id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6df201a6-00b2-4031-b1c9-7cfcf5ebce58'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6df201a6-00b2-4031-b1c9-7cfcf5ebce58'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.617711"], ["updated_at", "2020-05-28 13:27:09.617711"], ["representative_id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '07fd4c28-5618-4f35-a71a-075de1217e0d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '07fd4c28-5618-4f35-a71a-075de1217e0d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.621756"], ["representative_id", "dc580c76-9db9-4c04-8887-e39b0e55479c"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["id", "dc24e734-fbf3-4464-826c-f567ea9527f8"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dc24e734-fbf3-4464-826c-f567ea9527f8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dc24e734-fbf3-4464-826c-f567ea9527f8'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "dc24e734-fbf3-4464-826c-f567ea9527f8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "6df201a6-00b2-4031-b1c9-7cfcf5ebce58"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "07fd4c28-5618-4f35-a71a-075de1217e0d"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "ea150d33-8322-446b-8b1d-ba9cb7327d60"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.636936"], ["updated_at", "2020-05-28 13:27:09.636936"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.639820"], ["updated_at", "2020-05-28 13:27:09.639820"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2a3bafee-568a-4789-9fb0-18ba8580ebdb"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.643249"], ["updated_at", "2020-05-28 13:27:09.643249"], ["representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd3c46495-2aab-434d-8bd2-f993d849db3d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd3c46495-2aab-434d-8bd2-f993d849db3d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
+ [1m[36mKithe::Work Create (4.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.647888"], ["updated_at", "2020-05-28 13:27:09.647888"], ["representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cec20540-1d95-4b79-b9c7-ba38e9ec5905'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cec20540-1d95-4b79-b9c7-ba38e9ec5905'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.656921"], ["updated_at", "2020-05-28 13:27:09.656921"], ["representative_id", "d3c46495-2aab-434d-8bd2-f993d849db3d"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0d195872-11ad-43c0-9a82-511439009819'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0d195872-11ad-43c0-9a82-511439009819'
+);
+[0m
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.662643"], ["updated_at", "2020-05-28 13:27:09.662643"], ["representative_id", "d3c46495-2aab-434d-8bd2-f993d849db3d"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b87d8772-deb7-45f9-8a8c-704d425c3c73'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b87d8772-deb7-45f9-8a8c-704d425c3c73'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cec20540-1d95-4b79-b9c7-ba38e9ec5905"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.667502"], ["updated_at", "2020-05-28 13:27:09.667502"], ["representative_id", "cec20540-1d95-4b79-b9c7-ba38e9ec5905"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7224b786-60ca-483b-97b1-b14f2fed8dce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7224b786-60ca-483b-97b1-b14f2fed8dce'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0d195872-11ad-43c0-9a82-511439009819"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.671891"], ["updated_at", "2020-05-28 13:27:09.671891"], ["representative_id", "0d195872-11ad-43c0-9a82-511439009819"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f306b045-f25b-4d56-8c68-93c7c9c5bea1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f306b045-f25b-4d56-8c68-93c7c9c5bea1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.676582"], ["updated_at", "2020-05-28 13:27:09.676582"], ["representative_id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '845809c1-5fae-49bf-bb19-7c1a3b4ed4c3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '845809c1-5fae-49bf-bb19-7c1a3b4ed4c3'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.680842"], ["updated_at", "2020-05-28 13:27:09.680842"], ["representative_id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9a9cc391-7034-48c3-944f-1cadd9bafe40'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9a9cc391-7034-48c3-944f-1cadd9bafe40'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.685295"], ["representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["id", "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd3c46495-2aab-434d-8bd2-f993d849db3d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd3c46495-2aab-434d-8bd2-f993d849db3d'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "0d195872-11ad-43c0-9a82-511439009819"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b87d8772-deb7-45f9-8a8c-704d425c3c73"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "845809c1-5fae-49bf-bb19-7c1a3b4ed4c3"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "9a9cc391-7034-48c3-944f-1cadd9bafe40"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.696953"], ["updated_at", "2020-05-28 13:27:09.696953"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
+ [1m[36mKithe::Work Create (1.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.701769"], ["updated_at", "2020-05-28 13:27:09.701769"], ["representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["leaf_representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1b99f6bb-f336-4e58-849d-486b2d591c85'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a2d6ebe6-8972-44e6-9a35-70871642686e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a2d6ebe6-8972-44e6-9a35-70871642686e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a2d6ebe6-8972-44e6-9a35-70871642686e"]]
+ [1m[36mKithe::Collection Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.707874"], ["updated_at", "2020-05-28 13:27:09.707874"], ["representative_id", "a2d6ebe6-8972-44e6-9a35-70871642686e"], ["leaf_representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["kithe_model_type", 0]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1b99f6bb-f336-4e58-849d-486b2d591c85'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '95d98bb1-a898-442d-9149-b1d2c3ba1d6e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '95d98bb1-a898-442d-9149-b1d2c3ba1d6e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
+ [1m[35m (2.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.744799"], ["updated_at", "2020-05-28 13:27:09.744799"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (22.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "071d1477-1105-4d70-b3c1-0927faf167a0"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.773880"], ["updated_at", "2020-05-28 13:27:09.773880"], ["representative_id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["leaf_representative_id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["kithe_model_type", 1]]
+ [1m[35m (86.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '071d1477-1105-4d70-b3c1-0927faf167a0'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7b8ba2f7-766d-4365-9d5e-1f441c98812e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7b8ba2f7-766d-4365-9d5e-1f441c98812e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '071d1477-1105-4d70-b3c1-0927faf167a0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '071d1477-1105-4d70-b3c1-0927faf167a0'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "7b8ba2f7-766d-4365-9d5e-1f441c98812e"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.887580"], ["updated_at", "2020-05-28 13:27:09.887580"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.892838"], ["updated_at", "2020-05-28 13:27:09.892838"], ["representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["leaf_representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd037d8f5-934e-4ba7-baec-e3571ab3d8cd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
+ [1m[36mKithe::Work Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.900139"], ["updated_at", "2020-05-28 13:27:09.900139"], ["representative_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"], ["leaf_representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd037d8f5-934e-4ba7-baec-e3571ab3d8cd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4c0b5951-09d5-4e35-8707-513e33e20fa2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4c0b5951-09d5-4e35-8707-513e33e20fa2'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "4c0b5951-09d5-4e35-8707-513e33e20fa2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.921503"], ["updated_at", "2020-05-28 13:27:09.921503"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.927222"], ["updated_at", "2020-05-28 13:27:09.927222"], ["representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["leaf_representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '975f2f40-71f6-453b-9828-52127f9f374a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '975f2f40-71f6-453b-9828-52127f9f374a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "975f2f40-71f6-453b-9828-52127f9f374a"]]
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.940356"], ["updated_at", "2020-05-28 13:27:09.940356"], ["representative_id", "975f2f40-71f6-453b-9828-52127f9f374a"], ["leaf_representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '57fa9785-a4b2-4465-9cee-a04f408123b1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '57fa9785-a4b2-4465-9cee-a04f408123b1'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "57fa9785-a4b2-4465-9cee-a04f408123b1"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "975f2f40-71f6-453b-9828-52127f9f374a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.960083"], ["updated_at", "2020-05-28 13:27:09.960083"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.972807"], ["updated_at", "2020-05-28 13:27:09.972807"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.977388"], ["updated_at", "2020-05-28 13:27:09.977388"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:09.981546"], ["parent_id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["id", "4c9e6bb1-92f8-41bb-8fcc-7d0d946315f1"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "4c9e6bb1-92f8-41bb-8fcc-7d0d946315f1"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.997250"], ["updated_at", "2020-05-28 13:27:09.997250"], ["kithe_model_type", 1]]
+ [1m[35m (2.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.004486"], ["updated_at", "2020-05-28 13:27:10.004486"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (1.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.008424"], ["parent_id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.035900"], ["updated_at", "2020-05-28 13:27:10.035900"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:10.039896"], ["updated_at", "2020-05-28 13:27:10.039896"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:10.046805"], ["updated_at", "2020-05-28 13:27:10.046805"], ["kithe_model_type", 0]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.059073"], ["updated_at", "2020-05-28 13:27:10.059073"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "d11d7a61-e5e0-4145-b44b-523ff5b0eec9"], ["container_id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "title"], ["type", "TestWorkSubclass"], ["json_attributes", "{\"authors\":[\"Bob\",\"Joe\"]}"], ["created_at", "2020-05-28 13:27:10.111698"], ["updated_at", "2020-05-28 13:27:10.111698"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "ae5bbcf9-1f86-44e0-a59a-5cb6992ca588"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "MyAsset"], ["created_at", "2020-05-28 13:27:10.144542"], ["updated_at", "2020-05-28 13:27:10.144542"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.147382"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] Performing Kithe::AssetPromoteJob (Job ID: 31590e91-2c82-450d-b524-b1da747709bb) from Inline(default) enqueued at 2020-05-28T13:27:10Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "ebe16715-c371-4788-8e20-42f65079a284", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[36mMyAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[36mMyAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[36mMyAsset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ebe16715-c371-4788-8e20-42f65079a284/5c6eefb90ff78df8b37c5ad0c1de1494.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:10.200298"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] Performed Kithe::AssetPromoteJob (Job ID: 31590e91-2c82-450d-b524-b1da747709bb) from Inline(default) in 52.39ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 31590e91-2c82-450d-b524-b1da747709bb) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "ebe16715-c371-4788-8e20-42f65079a284", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[36mMyAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "MyAsset"], ["created_at", "2020-05-28 13:27:10.223387"], ["updated_at", "2020-05-28 13:27:10.223387"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.226271"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] Performing Kithe::AssetPromoteJob (Job ID: 3882aebe-e90e-4501-8691-c9145dfa7c78) from Inline(default) enqueued at 2020-05-28T13:27:10Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "adf4ad07-09bd-46e1-b063-890e6dddc4c8", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[36mMyAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[36mMyAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[36mMyAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/adf4ad07-09bd-46e1-b063-890e6dddc4c8/25751ec40403eebcac45893feed710b2.html\",\"storage\":\"store\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"},\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:10.278005"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] Performed Kithe::AssetPromoteJob (Job ID: 3882aebe-e90e-4501-8691-c9145dfa7c78) from Inline(default) in 49.74ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3882aebe-e90e-4501-8691-c9145dfa7c78) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "adf4ad07-09bd-46e1-b063-890e6dddc4c8", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.333614"], ["updated_at", "2020-05-28 13:27:10.333614"], ["file_data", "{\"id\":\"asset/978fb964f07bb7754f6916857601cd65.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.374055"], ["file_data", "{\"id\":\"asset/a51cd0bd-ee0a-4cf8-b255-d52a55cabc52/767fe1686306a4cba301460f1b06c8d4.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "a51cd0bd-ee0a-4cf8-b255-d52a55cabc52"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "a51cd0bd-ee0a-4cf8-b255-d52a55cabc52"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.429838"], ["updated_at", "2020-05-28 13:27:10.429838"], ["file_data", "{\"id\":\"asset/4fa773de8f7cbff43beef22c3b3d686c.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "f458fe38-c3b4-4aaa-a5ec-12b51d6686b7"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.506417"], ["updated_at", "2020-05-28 13:27:10.506417"], ["file_data", "{\"id\":\"asset/d3b8ebe9c498c8c7e103823155569ea0.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.556401"], ["file_data", "{\"id\":\"asset/d2d50fd2-48cb-417c-ade4-50c34340f019/ce508cca386c153cd7607fef2f2055f9.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.596576"], ["file_data", "{\"id\":\"asset/d2d50fd2-48cb-417c-ade4-50c34340f019/ce508cca386c153cd7607fef2f2055f9.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"},\"derivatives\":{\"test\":{\"id\":\"d2d50fd2-48cb-417c-ade4-50c34340f019/test/3aff653efdaee0c0fef7a0395709617a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wnlqs7ox1_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.621446"], ["updated_at", "2020-05-28 13:27:10.621446"], ["file_data", "{\"id\":\"asset/ecc0ad7d0ac6616e3c34ba452347ab04.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.625272"], ["file_data", "{\"id\":\"asset/7b20d928-26f8-4418-bcaa-3ab20caa0450/1f0780646cd6aa5cf7958e53600cdda9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7b20d928-26f8-4418-bcaa-3ab20caa0450"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7b20d928-26f8-4418-bcaa-3ab20caa0450"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.680845"], ["updated_at", "2020-05-28 13:27:10.680845"], ["file_data", "{\"id\":\"asset/2921e60dcd52a5d394010e093e32b391.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.687606"], ["file_data", "{\"id\":\"asset/70c1dfbe-f25d-4f58-8030-96f848509b24/f6e2c9dd69ba4785872710a558bebc57.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "70c1dfbe-f25d-4f58-8030-96f848509b24"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.708225"], ["updated_at", "2020-05-28 13:27:10.708225"], ["file_data", "{\"id\":\"asset/c5a72d4142c98c70b12f36f3a4e95ae1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.712388"], ["file_data", "{\"id\":\"asset/ad8bae60-2705-4e20-85b8-724f46c76881/2a871c33ab95f5363ce1413700069a73.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ad8bae60-2705-4e20-85b8-724f46c76881"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (11.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (17.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.731220"], ["updated_at", "2020-05-28 13:27:10.731220"], ["file_data", "{\"id\":\"asset/2c3063c2b7e77cf9932c1de0ec7408b8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (138.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.903463"], ["file_data", "{\"id\":\"asset/4cc0b0e8-b925-4082-886b-17be1ce14e3f/c14163c742f377f30ad15a720fe082de.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4cc0b0e8-b925-4082-886b-17be1ce14e3f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.921005"], ["updated_at", "2020-05-28 13:27:10.921005"], ["file_data", "{\"id\":\"asset/e4469b8d4fa058e9e55a70bd0706f4f3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.924493"], ["file_data", "{\"id\":\"asset/33cdcc50-9cb3-403f-ad93-acf9066edba9/f03dc77d72a7e8d81f3a691f669af2cf.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "33cdcc50-9cb3-403f-ad93-acf9066edba9"]]
+ [1m[35m (1.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "33cdcc50-9cb3-403f-ad93-acf9066edba9"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.077116"], ["updated_at", "2020-05-28 13:27:11.077116"], ["file_data", "{\"id\":\"asset/e64b30ab675b51f32d08989c113c56f9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.080770"], ["file_data", "{\"id\":\"asset/963ca82d-a6ce-4035-b2ad-4da7a415d79a/c8eaaa921b42919b3fa352e661d0b9e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "963ca82d-a6ce-4035-b2ad-4da7a415d79a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "963ca82d-a6ce-4035-b2ad-4da7a415d79a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.149208"], ["updated_at", "2020-05-28 13:27:11.149208"], ["file_data", "{\"id\":\"asset/45a69747c7386e65c2d161484e0ddaed.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.153383"], ["file_data", "{\"id\":\"asset/5dca944a-6eea-49d7-bf80-29bd28c212f3/e00f8d7a9a7c20f47de3f05ba22012d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5dca944a-6eea-49d7-bf80-29bd28c212f3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5dca944a-6eea-49d7-bf80-29bd28c212f3"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.217021"], ["updated_at", "2020-05-28 13:27:11.217021"], ["file_data", "{\"id\":\"asset/379ff3810521f43877bb90b0f0b98720.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.221512"], ["file_data", "{\"id\":\"asset/f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d/639f03f9951be6a53e4353641b4d5416.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.323679"], ["updated_at", "2020-05-28 13:27:11.323679"], ["file_data", "{\"id\":\"asset/f2a5a3a53e898719e66d8141fbc49a40.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.327497"], ["file_data", "{\"id\":\"asset/d792593b-8d86-4e8b-8220-81710ca69ab9/dc9f94871cc8a01b48099366b2aaf27a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d792593b-8d86-4e8b-8220-81710ca69ab9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d792593b-8d86-4e8b-8220-81710ca69ab9"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.425126"], ["updated_at", "2020-05-28 13:27:11.425126"], ["file_data", "{\"id\":\"asset/93b8ba6acf5cccef2f68cf2f47907dbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.430482"], ["file_data", "{\"id\":\"asset/3ef4a2af-ace9-4d47-b4a3-6973883961b3/6d198cf5431c00515c96eb7366ce514e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3ef4a2af-ace9-4d47-b4a3-6973883961b3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "3ef4a2af-ace9-4d47-b4a3-6973883961b3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.546562"], ["updated_at", "2020-05-28 13:27:11.546562"], ["file_data", "{\"id\":\"asset/5488a458f79f80a7e6a4f00b8872fb3a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.552452"], ["file_data", "{\"id\":\"asset/84e8d651-b68d-4133-a4f5-dd70cdff52d3/e8f46a4d254da6010fdd291b8e27891a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "84e8d651-b68d-4133-a4f5-dd70cdff52d3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "84e8d651-b68d-4133-a4f5-dd70cdff52d3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.647949"], ["updated_at", "2020-05-28 13:27:11.647949"], ["file_data", "{\"id\":\"asset/5e40cf9f9e9099d76b689b4c9f19359a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.652877"], ["file_data", "{\"id\":\"asset/16d73334-cab4-4a12-8e82-53247f2df517/42c26c6ee20fc062be8ad006b797f4df.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "16d73334-cab4-4a12-8e82-53247f2df517"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "16d73334-cab4-4a12-8e82-53247f2df517"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.708064"], ["updated_at", "2020-05-28 13:27:11.708064"], ["file_data", "{\"id\":\"asset/7602308ddb8edb9ff9621e7699446fce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.713567"], ["file_data", "{\"id\":\"asset/526093c3-5503-423e-850d-a4dabf731bbc/682b6dccc123b200ce299651226832a1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "526093c3-5503-423e-850d-a4dabf731bbc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "526093c3-5503-423e-850d-a4dabf731bbc"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.790999"], ["updated_at", "2020-05-28 13:27:11.790999"], ["file_data", "{\"id\":\"asset/be55af18c88b8344c022f43febb85f09.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.797134"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.950268"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/some_data/739b4c0de0a64bf9839187d6893fd5d1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tmfmwkhhd_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.988544"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/some_data/739b4c0de0a64bf9839187d6893fd5d1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"tmfmwkhhd_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/a_jpg/8a9b46d82206821313ce54b57ffc45ed.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tmfmwkhhd_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.012327"], ["updated_at", "2020-05-28 13:27:12.012327"], ["file_data", "{\"id\":\"asset/b9e419bf83dfd6501de700bb2a5033af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.021579"], ["file_data", "{\"id\":\"asset/0f18258e-9361-4176-bda5-18aa17bff723/b83905e08189508a9bcf3b9861c25543.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.042174"], ["file_data", "{\"id\":\"asset/0f18258e-9361-4176-bda5-18aa17bff723/b83905e08189508a9bcf3b9861c25543.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"0f18258e-9361-4176-bda5-18aa17bff723/sample/c1b367152e4149d3aa6c3fa93b51c6b0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gvfec3noa_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.051072"], ["updated_at", "2020-05-28 13:27:12.051072"], ["file_data", "{\"id\":\"asset/3d682d5c0d503f797e039130313ace63.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.054471"], ["file_data", "{\"id\":\"asset/dc70febd-66c2-406d-9bbd-286c7646333f/fd97190a5f90f49a49c8649268865ebd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.063340"], ["file_data", "{\"id\":\"asset/dc70febd-66c2-406d-9bbd-286c7646333f/fd97190a5f90f49a49c8649268865ebd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"dc70febd-66c2-406d-9bbd-286c7646333f/sample/08ae8b8d39fc190a18a02b8247d4dffc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gwt3nspm4_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.071508"], ["updated_at", "2020-05-28 13:27:12.071508"], ["file_data", "{\"id\":\"asset/19480edcffd3f6c7704bf8e5539045a0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.074703"], ["file_data", "{\"id\":\"asset/7407c8fe-0d54-4b55-9d88-931d7aab4964/190be400093f0aca6993f3d599e6bbe9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.085149"], ["file_data", "{\"id\":\"asset/7407c8fe-0d54-4b55-9d88-931d7aab4964/190be400093f0aca6993f3d599e6bbe9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"7407c8fe-0d54-4b55-9d88-931d7aab4964/sample/6cb889b04c6dbf2c8efc21ba1b6a7e0a.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"injx2wxe5_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.093061"], ["updated_at", "2020-05-28 13:27:12.093061"], ["file_data", "{\"id\":\"asset/40466d80909697fa9f9045bbf385be45.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.100048"], ["file_data", "{\"id\":\"asset/9da437a9-9432-44ec-8aac-200fa0bef0e4/842d80856440f39b4848d883e3d3fac4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.108024"], ["file_data", "{\"id\":\"asset/9da437a9-9432-44ec-8aac-200fa0bef0e4/842d80856440f39b4848d883e3d3fac4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"9da437a9-9432-44ec-8aac-200fa0bef0e4/sample/efea577ecc22d68c75e6827a737b0e9f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"o5ir6bn06_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.116825"], ["updated_at", "2020-05-28 13:27:12.116825"], ["file_data", "{\"id\":\"asset/e7380443a7b9d96b014d7942fabfd452.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.120682"], ["file_data", "{\"id\":\"asset/f3b9745c-dcd2-4e97-bb92-9b0c10f0eec0/c02c2d5a315ee8edf53c11e1c2b28e90.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f3b9745c-dcd2-4e97-bb92-9b0c10f0eec0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.127478"], ["updated_at", "2020-05-28 13:27:12.127478"], ["file_data", "{\"id\":\"asset/bd9a62dc60a4e0b41862ff43feb6c676.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.136705"], ["file_data", "{\"id\":\"asset/e2a174d6-0ad3-428d-a41c-113c98038d5d/40b32afd95eae92d3aafe5558fdb294f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:12.145303"], ["file_data", "{\"id\":\"asset/e2a174d6-0ad3-428d-a41c-113c98038d5d/40b32afd95eae92d3aafe5558fdb294f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"e2a174d6-0ad3-428d-a41c-113c98038d5d/sample/9da1859b80e682728e0485a88e0c4c7e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"n8lwo0tzl_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
+ [1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.159152"], ["updated_at", "2020-05-28 13:27:12.159152"], ["file_data", "{\"id\":\"asset/5e997b7175ae7e05e78377654335b98f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.163480"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.204050"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/key/00f2cb081d0d961da7f2c491fe480558.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"extiqab26_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.241688"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/key/4ba16883320ef8c879d91a423a8da5b7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"extiqab26_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.247466"], ["updated_at", "2020-05-28 13:27:12.247466"], ["file_data", "{\"id\":\"asset/5572d2e0000d52dfc13d98b01650652f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.251346"], ["file_data", "{\"id\":\"asset/412eef86-8176-49d9-8a3a-89872059d127/deea35ae710082bd079c63e7aa726eab.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "412eef86-8176-49d9-8a3a-89872059d127"]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.265750"], ["updated_at", "2020-05-28 13:27:12.265750"], ["file_data", "{\"id\":\"asset/08690888d73e1d5cfe44c18fe79693d7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.270094"], ["file_data", "{\"id\":\"asset/c6ed2512-da22-454d-af8a-dd460d93d101/a0d9fe2aed578ad3335120b1efc58ac2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c6ed2512-da22-454d-af8a-dd460d93d101/9305d4fbd4f9677bf1a9360ae0100a29.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:12.275005"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: f9a37df2-d963-4984-b4d6-8e667e79fef5) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/c6ed2512-da22-454d-af8a-dd460d93d101/a0d9fe2aed578ad3335120b1efc58ac2.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4afbb0a4-7828-49bc-878c-f0a865ce02b8) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c6ed2512-da22-454d-af8a-dd460d93d101", "file", {"id"=>"asset/c6ed2512-da22-454d-af8a-dd460d93d101/9305d4fbd4f9677bf1a9360ae0100a29.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.293277"], ["updated_at", "2020-05-28 13:27:12.293277"], ["file_data", "{\"id\":\"asset/269f48b886cf92a36b7ccd3ad7028266.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.300206"], ["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/one/a0ca7d86a8649633b413b6991631c3ed.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/two/63427250e9ed85a1a16c7145d0141c46.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:12.307860"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.318430"], ["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/one/a0ca7d86a8649633b413b6991631c3ed.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"y2cmx8824_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/two/263580d90efdc12e23970c6adea1ab02.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/three/2643552a5705e6509cc4fa91f4d31dcf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.335816"], ["updated_at", "2020-05-28 13:27:12.335816"], ["file_data", "{\"id\":\"asset/62a4ae4a343568bddb67f28a5b55f62a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.339516"], ["file_data", "{\"id\":\"asset/aa42afe0-5254-4078-a0a8-3e544868c24f/12477b73be170daec4c29b483afc1e62.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.379237"], ["file_data", "{\"id\":\"asset/aa42afe0-5254-4078-a0a8-3e544868c24f/12477b73be170daec4c29b483afc1e62.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"aa42afe0-5254-4078-a0a8-3e544868c24f/one/4c8fef01f0607ec05e4ba6e03172e261.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"24j0jkebq_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"aa42afe0-5254-4078-a0a8-3e544868c24f/original_reflected/87c95cfa8ee6f8cd7b6a6c7b6d9ed570.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"24j0jkebq_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.398070"], ["updated_at", "2020-05-28 13:27:12.398070"], ["file_data", "{\"id\":\"asset/645a55d82718df4b5859ab262916374c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.401641"], ["file_data", "{\"id\":\"asset/f28afc4b-170c-4b28-8776-7aeec6ff7761/1e8ab408fc0375dddcaaeb8781c1f51e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.509352"], ["file_data", "{\"id\":\"asset/f28afc4b-170c-4b28-8776-7aeec6ff7761/1e8ab408fc0375dddcaaeb8781c1f51e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f28afc4b-170c-4b28-8776-7aeec6ff7761/options_one/bfa4363f43f0db7a80f0afa725d101db.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"16uzutlqc_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f28afc4b-170c-4b28-8776-7aeec6ff7761/options_reflected/9bc12781331216652734f904368d6b85.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"16uzutlqc_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.544703"], ["updated_at", "2020-05-28 13:27:12.544703"], ["file_data", "{\"id\":\"asset/193d162c19f6a0c57c09e14cf6763966.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.549896"], ["file_data", "{\"id\":\"asset/f9c798d8-0da8-4717-afcc-2c4e0db52e08/8429cfefce5db41c22a758e32cfa1e34.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.621619"], ["file_data", "{\"id\":\"asset/f9c798d8-0da8-4717-afcc-2c4e0db52e08/8429cfefce5db41c22a758e32cfa1e34.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f9c798d8-0da8-4717-afcc-2c4e0db52e08/options_one/23fb9480a2bffd4bda3f4195e21a8193.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dz1b6f38m_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f9c798d8-0da8-4717-afcc-2c4e0db52e08/options_reflected/6709c88dff3e72a2af2a52a62fddef67.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dz1b6f38m_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.640078"], ["updated_at", "2020-05-28 13:27:12.640078"], ["file_data", "{\"id\":\"asset/76551b3233ff2c491bb6c34b81cbbe12.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.643575"], ["file_data", "{\"id\":\"asset/6485dff2-79cb-403c-b851-0f8e369c5c34/f347cf80cf6e5d85023c2908171290e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.715922"], ["file_data", "{\"id\":\"asset/6485dff2-79cb-403c-b851-0f8e369c5c34/f347cf80cf6e5d85023c2908171290e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"6485dff2-79cb-403c-b851-0f8e369c5c34/options_one/fc3a70658fe0ee66da5c260ace5a0f2b.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"oey4kmb7s_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"6485dff2-79cb-403c-b851-0f8e369c5c34/options_reflected/1db665fc6803e1f20e6bde917b8e3e96.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"oey4kmb7s_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (5.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.738029"], ["updated_at", "2020-05-28 13:27:12.738029"], ["file_data", "{\"id\":\"asset/2d7722c7fab6a71d6c5e0b2220c3d539.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.748119"], ["file_data", "{\"id\":\"asset/758e30bf-22ff-4d90-8cee-9f57fa4a4b51/31496cd6afaf2bcfa2f7e6ecac3c7c5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
+ [1m[35m (65.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.894919"], ["file_data", "{\"id\":\"asset/758e30bf-22ff-4d90-8cee-9f57fa4a4b51/31496cd6afaf2bcfa2f7e6ecac3c7c5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"758e30bf-22ff-4d90-8cee-9f57fa4a4b51/options_one/9b115911147bff6c7dd1dcac2ed345a5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zmv4avrvs_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"758e30bf-22ff-4d90-8cee-9f57fa4a4b51/options_reflected/8ceb01af6388263a67b399f946c56d4d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zmv4avrvs_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (2.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.916000"], ["updated_at", "2020-05-28 13:27:12.916000"], ["file_data", "{\"id\":\"asset/4d0fc2ea79529df6ebba88e9e9092760.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.922039"], ["file_data", "{\"id\":\"asset/c8849a91-4d3c-4395-a9b3-6880569a37a9/49a450cb5975dcd73857f5d6ed89d458.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.000430"], ["file_data", "{\"id\":\"asset/c8849a91-4d3c-4395-a9b3-6880569a37a9/49a450cb5975dcd73857f5d6ed89d458.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"c8849a91-4d3c-4395-a9b3-6880569a37a9/one/b8514d5a4387af7a5727569fa79cd506.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qu8czzhtw_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"c8849a91-4d3c-4395-a9b3-6880569a37a9/original_reflected/0cafae724c010785c44423731991a7c9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qu8czzhtw_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.044557"], ["updated_at", "2020-05-28 13:27:13.044557"], ["kithe_model_type", 2]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.066003"], ["updated_at", "2020-05-28 13:27:13.066003"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.089001"], ["updated_at", "2020-05-28 13:27:13.089001"], ["file_data", "{\"id\":\"asset/238e6b6f8e02440feeba75a5b2c3bf7b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.092668"], ["file_data", "{\"id\":\"asset/0106fe3a-9451-4484-b990-b854f9e967d2/8b2d803f1f9267a5434328377320e4d2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0106fe3a-9451-4484-b990-b854f9e967d2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.114620"], ["updated_at", "2020-05-28 13:27:13.114620"], ["file_data", "{\"id\":\"asset/f5c13a21a6308095f84814a4f7d264e5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.118612"], ["file_data", "{\"id\":\"asset/23108f70-0e3d-45f5-98b8-3ee7bd22e066/a4e50e98d60f0a091c7db2653238bee2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:13.159434"], ["file_data", "{\"id\":\"asset/23108f70-0e3d-45f5-98b8-3ee7bd22e066/a4e50e98d60f0a091c7db2653238bee2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"23108f70-0e3d-45f5-98b8-3ee7bd22e066/one/4c8e1d578e3c157cc6d62b9ebdc4b5f1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fn8b1bw85_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"23108f70-0e3d-45f5-98b8-3ee7bd22e066/original_reflected/a063d8a66d552f3fd46399133e3ed8a7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fn8b1bw85_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.167427"], ["updated_at", "2020-05-28 13:27:13.167427"], ["file_data", "{\"id\":\"asset/c6a50c39c6af4e28e6c0c16a159f6152.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.174057"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.249601"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample1/9068ea4191aaee58cb2e494f9c79ca1c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ynn6np9sh_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample2/f89b50b2eda1c53b23f75ed5cf94217d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ynn6np9sh_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.1ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.256469"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample2/f89b50b2eda1c53b23f75ed5cf94217d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ynn6np9sh_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.264282"], ["updated_at", "2020-05-28 13:27:13.264282"], ["file_data", "{\"id\":\"asset/58a2a9c9d61616f3ef8d181ffbdc583c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (2.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.272551"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.346526"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample1/ff4e6f86e00858577e0b4b74cd6a373e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h06z45kl6_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h06z45kl6_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
+ [1m[35m (2.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"h06z45kl6_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-28 13:27:13.352095"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.360886"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"h06z45kl6_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.365982"], ["updated_at", "2020-05-28 13:27:13.365982"], ["file_data", "{\"id\":\"asset/257e0803b7e0b11ae19d8b154babf3a3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.374217"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.449920"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample1/c96bbf25e8072cf536be7edae956f701.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample1/c96bbf25e8072cf536be7edae956f701.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample3/767a19918ddc05cb31469a9e1d94e300.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:13.488900"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.495216"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample3/767a19918ddc05cb31469a9e1d94e300.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.504514"], ["updated_at", "2020-05-28 13:27:13.504514"], ["file_data", "{\"id\":\"asset/35affe7c5c742fbba6df6aa1b7481536.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.508041"], ["file_data", "{\"id\":\"asset/a30a5a47-eb8f-441f-a904-65f64772a3bc/4f8e69ea868b57a3281dbfb5b45d0b43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.591966"], ["file_data", "{\"id\":\"asset/a30a5a47-eb8f-441f-a904-65f64772a3bc/4f8e69ea868b57a3281dbfb5b45d0b43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample1/c74899d360d22f3e96d02e105683ddf4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5h2lijrkf_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample2/36217ca16950f0d9010885b3c4cf9f85.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5h2lijrkf_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a30a5a47-eb8f-441f-a904-65f64772a3bc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a30a5a47-eb8f-441f-a904-65f64772a3bc'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.0ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: e3290f14-ecd8-4835-97c6-feac52874e50) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/a30a5a47-eb8f-441f-a904-65f64772a3bc/4f8e69ea868b57a3281dbfb5b45d0b43.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample1/c74899d360d22f3e96d02e105683ddf4.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"5h2lijrkf_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample2/36217ca16950f0d9010885b3c4cf9f85.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"5h2lijrkf_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.609443"], ["updated_at", "2020-05-28 13:27:13.609443"], ["file_data", "{\"id\":\"asset/93dc4b66fec62f4f27ffb3716dd21fbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.612838"], ["file_data", "{\"id\":\"asset/6240fd11-b2bc-435e-9859-c4f927a91d43/1a8200ff303903c5c2b6f7ce2d18b0c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.687298"], ["file_data", "{\"id\":\"asset/6240fd11-b2bc-435e-9859-c4f927a91d43/1a8200ff303903c5c2b6f7ce2d18b0c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"6240fd11-b2bc-435e-9859-c4f927a91d43/sample1/2639c534dacbf294823ce72368a33517.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8mhoy8zrs_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"6240fd11-b2bc-435e-9859-c4f927a91d43/sample2/5942fb2cae9ee5680c070a04491883f8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8mhoy8zrs_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.726678"], ["updated_at", "2020-05-28 13:27:13.726678"], ["file_data", "{\"id\":\"asset/47bdd7195270009a822c47d7038a3951.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (15.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.731109"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
+ [1m[35m (9.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.978745"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample1/7522b826400527ff858c372af6282871.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4u5ixqylu_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample2/290397d4ba4922b6a63b89c86f67a9e5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4u5ixqylu_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
+ [1m[35m (5.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (3.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:13.997438"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample2/290397d4ba4922b6a63b89c86f67a9e5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"4u5ixqylu_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["json_attributes", "{\"multi_model\":[{\"value\":\"one\"},{\"value\":\"two\"}]}"], ["created_at", "2020-05-28 13:27:14.087200"], ["updated_at", "2020-05-28 13:27:14.087200"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.399423"], ["updated_at", "2020-05-28 13:27:14.399423"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.428654"], ["updated_at", "2020-05-28 13:27:14.428654"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.454806"], ["updated_at", "2020-05-28 13:27:14.454806"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.554361"], ["updated_at", "2020-05-28 13:27:14.554361"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m