kithe 2.0.0.pre.beta1 → 2.0.0.pre.rc1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1634373,3 +1634373,3369 @@ WHERE id IN (
1634373
1634373
   (0.2ms) ROLLBACK
1634374
1634374
   (0.1ms) BEGIN
1634375
1634375
   (0.2ms) ROLLBACK
1634376
+  (69.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
1634377
+  (6.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634378
+  (17.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1634379
+  (5.2ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634380
+  (6.3ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1634381
+  (155.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634382
+  (5.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "environment"]]
1634383
+  (424.5ms) DROP DATABASE IF EXISTS "kithe_test"
1634384
+  (672.4ms) CREATE DATABASE "kithe_test" ENCODING = 'unicode'
1634385
+ SQL (53.1ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
1634386
+ SQL (4.5ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"
1634387
+  (13.8ms) CREATE OR REPLACE FUNCTION public.kithe_models_friendlier_id_gen(min_value bigint, max_value bigint)
1634388
+ RETURNS text
1634389
+ LANGUAGE plpgsql
1634390
+ AS $function$
1634391
+ DECLARE
1634392
+ new_id_int bigint;
1634393
+ new_id_str character varying := '';
1634394
+ done bool;
1634395
+ tries integer;
1634396
+ alphabet char[] := ARRAY['0','1','2','3','4','5','6','7','8','9',
1634397
+ 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n',
1634398
+ 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z'];
1634399
+ alphabet_length integer := array_length(alphabet, 1);
1634400
+
1634401
+ BEGIN
1634402
+ done := false;
1634403
+ tries := 0;
1634404
+ WHILE (NOT done) LOOP
1634405
+ tries := tries + 1;
1634406
+ IF (tries > 3) THEN
1634407
+ RAISE 'Could not find non-conflicting friendlier_id in 3 tries';
1634408
+ END IF;
1634409
+
1634410
+ new_id_int := trunc(random() * (max_value - min_value) + min_value);
1634411
+
1634412
+ -- convert bigint to a Base-36 alphanumeric string
1634413
+ -- see https://web.archive.org/web/20130420084605/http://www.jamiebegin.com/base36-conversion-in-postgresql/
1634414
+ -- https://gist.github.com/btbytes/7159902
1634415
+ WHILE new_id_int != 0 LOOP
1634416
+ new_id_str := alphabet[(new_id_int % alphabet_length)+1] || new_id_str;
1634417
+ new_id_int := new_id_int / alphabet_length;
1634418
+ END LOOP;
1634419
+
1634420
+ done := NOT exists(SELECT 1 FROM kithe_models WHERE friendlier_id=new_id_str);
1634421
+ END LOOP;
1634422
+ RETURN new_id_str;
1634423
+ END;
1634424
+ $function$
1634425
+ 
1634426
+  (6.7ms) DROP TABLE IF EXISTS "kithe_derivatives" CASCADE
1634427
+  (60.5ms) CREATE 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)
1634428
+  (1859.7ms) CREATE UNIQUE INDEX "index_kithe_derivatives_on_asset_id_and_key" ON "kithe_derivatives" ("asset_id", "key")
1634429
+  (6.5ms) CREATE INDEX "index_kithe_derivatives_on_asset_id" ON "kithe_derivatives" ("asset_id")
1634430
+  (6.0ms) DROP TABLE IF EXISTS "kithe_model_contains" CASCADE
1634431
+  (6.4ms) CREATE TABLE "kithe_model_contains" ("containee_id" uuid, "container_id" uuid)
1634432
+  (7.3ms) CREATE INDEX "index_kithe_model_contains_on_containee_id" ON "kithe_model_contains" ("containee_id")
1634433
+  (5.2ms) CREATE INDEX "index_kithe_model_contains_on_container_id" ON "kithe_model_contains" ("container_id")
1634434
+  (3.9ms) DROP TABLE IF EXISTS "kithe_models" CASCADE
1634435
+  (9.1ms) CREATE 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)
1634436
+  (6.1ms) CREATE UNIQUE INDEX "index_kithe_models_on_friendlier_id" ON "kithe_models" ("friendlier_id")
1634437
+  (38.9ms) CREATE INDEX "index_kithe_models_on_leaf_representative_id" ON "kithe_models" ("leaf_representative_id")
1634438
+  (8.7ms) CREATE INDEX "index_kithe_models_on_parent_id" ON "kithe_models" ("parent_id")
1634439
+  (15.6ms) CREATE INDEX "index_kithe_models_on_representative_id" ON "kithe_models" ("representative_id")
1634440
+  (9.5ms) ALTER TABLE "kithe_derivatives" ADD CONSTRAINT "fk_rails_3dac8b4201"
1634441
+ FOREIGN KEY ("asset_id")
1634442
+ REFERENCES "kithe_models" ("id")
1634443
+ 
1634444
+  (9.4ms) ALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_490c1158f7"
1634445
+ FOREIGN KEY ("containee_id")
1634446
+ REFERENCES "kithe_models" ("id")
1634447
+ 
1634448
+  (22.3ms) ALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_091010187b"
1634449
+ FOREIGN KEY ("container_id")
1634450
+ REFERENCES "kithe_models" ("id")
1634451
+ 
1634452
+  (6.9ms) ALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_403cce5c0d"
1634453
+ FOREIGN KEY ("leaf_representative_id")
1634454
+ REFERENCES "kithe_models" ("id")
1634455
+ 
1634456
+  (7.8ms) ALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_90130a9780"
1634457
+ FOREIGN KEY ("parent_id")
1634458
+ REFERENCES "kithe_models" ("id")
1634459
+ 
1634460
+  (110.3ms) ALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_afa93b7b5d"
1634461
+ FOREIGN KEY ("representative_id")
1634462
+ REFERENCES "kithe_models" ("id")
1634463
+ 
1634464
+  (47.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)
1634465
+  (5.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634466
+  (226.7ms) INSERT INTO "schema_migrations" (version) VALUES (20190404144551)
1634467
+  (9.6ms) CREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)
1634468
+ ActiveRecord::InternalMetadata Load (9.9ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1634469
+  (6.4ms) BEGIN
1634470
+ ActiveRecord::InternalMetadata Create (18.2ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "environment"], ["value", "test"], ["created_at", "2020-05-27 20:44:01.903000"], ["updated_at", "2020-05-27 20:44:01.903000"]]
1634471
+  (4.9ms) COMMIT
1634472
+ ActiveRecord::InternalMetadata Load (22.0ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "environment"], ["LIMIT", 1]]
1634473
+ ActiveRecord::InternalMetadata Load (6.8ms) SELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2 [["key", "schema_sha1"], ["LIMIT", 1]]
1634474
+  (5.0ms) BEGIN
1634475
+ ActiveRecord::InternalMetadata Create (16.1ms) INSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key" [["key", "schema_sha1"], ["value", "0e24e2caa948e64f3be11233d707b8abffa0f356"], ["created_at", "2020-05-27 20:44:02.120000"], ["updated_at", "2020-05-27 20:44:02.120000"]]
1634476
+  (18.1ms) COMMIT
1634477
+  (5.3ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634478
+  (19.0ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
1634479
+  (13.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634480
+  (0.5ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
1634481
+  (1.0ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634482
+  (2.5ms) SELECT pg_try_advisory_lock(6108574782232541745)
1634483
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634484
+ Migrating to EnablePgcryptoExtension (20181015143259)
1634485
+  (0.2ms) BEGIN
1634486
+ SQL (6.7ms) CREATE EXTENSION IF NOT EXISTS "pgcrypto"
1634487
+ primary::SchemaMigration Create (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version" [["version", "20181015143259"]]
1634488
+  (0.4ms) COMMIT
1634489
+ Migrating to CreateKitheModels (20181015143413)
1634490
+  (0.2ms) BEGIN
1634491
+  (13.0ms) CREATE 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)
1634492
+  (0.1ms) ROLLBACK
1634493
+  (0.3ms) SELECT pg_advisory_unlock(6108574782232541745)
1634494
+  (0.6ms) SELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 [["key", "schema_sha1"]]
1634495
+  (0.9ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
1634496
+  (0.2ms) BEGIN
1634497
+  (0.2ms) ROLLBACK
1634498
+  (0.4ms) BEGIN
1634499
+  (0.3ms) ROLLBACK
1634500
+  (0.6ms) BEGIN
1634501
+  (0.4ms) ROLLBACK
1634502
+  (0.2ms) BEGIN
1634503
+  (0.4ms) ROLLBACK
1634504
+  (0.3ms) BEGIN
1634505
+  (0.2ms) ROLLBACK
1634506
+  (0.2ms) BEGIN
1634507
+  (0.2ms) ROLLBACK
1634508
+  (0.1ms) BEGIN
1634509
+  (0.1ms) ROLLBACK
1634510
+  (0.1ms) BEGIN
1634511
+  (0.1ms) ROLLBACK
1634512
+  (0.1ms) BEGIN
1634513
+  (0.2ms) ROLLBACK
1634514
+  (0.2ms) BEGIN
1634515
+  (0.2ms) ROLLBACK
1634516
+  (0.2ms) BEGIN
1634517
+  (0.2ms) ROLLBACK
1634518
+  (0.1ms) BEGIN
1634519
+  (0.2ms) ROLLBACK
1634520
+  (0.1ms) BEGIN
1634521
+  (0.3ms) ROLLBACK
1634522
+  (0.1ms) BEGIN
1634523
+  (0.1ms) ROLLBACK
1634524
+  (0.1ms) BEGIN
1634525
+  (0.3ms) ROLLBACK
1634526
+  (0.1ms) BEGIN
1634527
+  (0.2ms) ROLLBACK
1634528
+  (0.3ms) BEGIN
1634529
+  (0.2ms) ROLLBACK
1634530
+  (0.3ms) BEGIN
1634531
+  (0.2ms) SAVEPOINT active_record_1
1634532
+ TestWork Create (42.3ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634533
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634534
+  (0.3ms) ROLLBACK
1634535
+  (0.1ms) BEGIN
1634536
+  (0.2ms) SAVEPOINT active_record_1
1634537
+ TestWork Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634538
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634539
+  (0.2ms) SAVEPOINT active_record_1
1634540
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
1634541
+ Kithe::Model Load (0.9ms) SELECT "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 [["containee_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
1634542
+ Kithe::Model Load (0.7ms) SELECT "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 [["container_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
1634543
+  (1.4ms) UPDATE kithe_models
1634544
+ SET leaf_representative_id = NULL, representative_id = NULL
1634545
+ WHERE id IN (
1634546
+ WITH RECURSIVE search_graph(id, link) AS (
1634547
+ SELECT m.id, m.representative_id
1634548
+ FROM kithe_models m
1634549
+ WHERE m.id = '22e9e9f5-9a84-4aa1-8c38-f157c93ba832'
1634550
+ UNION
1634551
+ SELECT m.id, m.representative_id
1634552
+ FROM kithe_models m, search_graph sg
1634553
+ WHERE m.representative_id = sg.id
1634554
+ )
1634555
+ SELECT id
1634556
+ FROM search_graph
1634557
+ WHERE id != '22e9e9f5-9a84-4aa1-8c38-f157c93ba832'
1634558
+ );
1634559
+ 
1634560
+ TestWork Destroy (2.4ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
1634561
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634562
+  (0.2ms) ROLLBACK
1634563
+  (0.1ms) BEGIN
1634564
+  (0.2ms) SAVEPOINT active_record_1
1634565
+ TestWork Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634566
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634567
+  (0.2ms) ROLLBACK
1634568
+  (0.1ms) BEGIN
1634569
+  (0.2ms) SAVEPOINT active_record_1
1634570
+ TestWork Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634571
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634572
+  (0.1ms) ROLLBACK
1634573
+  (0.1ms) BEGIN
1634574
+  (0.2ms) SAVEPOINT active_record_1
1634575
+ TestWork Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634576
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634577
+  (0.2ms) SAVEPOINT active_record_1
1634578
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "fa36609d-4843-414b-934b-863543583ec2"]]
1634579
+ Kithe::Model Load (0.7ms) SELECT "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 [["containee_id", "fa36609d-4843-414b-934b-863543583ec2"]]
1634580
+ Kithe::Model Load (0.6ms) SELECT "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 [["container_id", "fa36609d-4843-414b-934b-863543583ec2"]]
1634581
+  (1.0ms) UPDATE kithe_models
1634582
+ SET leaf_representative_id = NULL, representative_id = NULL
1634583
+ WHERE id IN (
1634584
+ WITH RECURSIVE search_graph(id, link) AS (
1634585
+ SELECT m.id, m.representative_id
1634586
+ FROM kithe_models m
1634587
+ WHERE m.id = 'fa36609d-4843-414b-934b-863543583ec2'
1634588
+ UNION
1634589
+ SELECT m.id, m.representative_id
1634590
+ FROM kithe_models m, search_graph sg
1634591
+ WHERE m.representative_id = sg.id
1634592
+ )
1634593
+ SELECT id
1634594
+ FROM search_graph
1634595
+ WHERE id != 'fa36609d-4843-414b-934b-863543583ec2'
1634596
+ );
1634597
+ 
1634598
+ TestWork Destroy (1.9ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "fa36609d-4843-414b-934b-863543583ec2"]]
1634599
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634600
+  (0.2ms) ROLLBACK
1634601
+  (0.1ms) BEGIN
1634602
+  (0.5ms) SAVEPOINT active_record_1
1634603
+ TestWork Create (1.0ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634604
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634605
+  (0.2ms) ROLLBACK
1634606
+  (0.1ms) BEGIN
1634607
+  (0.2ms) SAVEPOINT active_record_1
1634608
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634609
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634610
+  (0.3ms) SAVEPOINT active_record_1
1634611
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634612
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634613
+  (0.2ms) ROLLBACK
1634614
+  (0.2ms) BEGIN
1634615
+  (0.2ms) ROLLBACK
1634616
+  (0.1ms) BEGIN
1634617
+  (0.2ms) SAVEPOINT active_record_1
1634618
+ TestWork Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634619
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634620
+  (0.2ms) SAVEPOINT active_record_1
1634621
+ TestWork Create (1.0ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634622
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1634623
+  (0.2ms) ROLLBACK
1634624
+  (0.1ms) BEGIN
1634625
+  (0.1ms) ROLLBACK
1634626
+  (0.1ms) BEGIN
1634627
+  (0.2ms) SAVEPOINT active_record_1
1634628
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634629
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634630
+  (0.2ms) SAVEPOINT active_record_1
1634631
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634632
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634633
+  (0.3ms) ROLLBACK
1634634
+  (0.1ms) BEGIN
1634635
+  (0.2ms) SAVEPOINT active_record_1
1634636
+ TestWork Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634637
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634638
+  (0.4ms) ROLLBACK
1634639
+  (0.1ms) BEGIN
1634640
+  (0.2ms) ROLLBACK
1634641
+  (0.1ms) BEGIN
1634642
+  (0.2ms) SAVEPOINT active_record_1
1634643
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634644
+  (1.2ms) RELEASE SAVEPOINT active_record_1
1634645
+  (0.2ms) SAVEPOINT active_record_1
1634646
+ TestWork Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634647
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634648
+  (0.2ms) ROLLBACK
1634649
+  (0.2ms) BEGIN
1634650
+  (0.5ms) SAVEPOINT active_record_1
1634651
+ TestWork Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634652
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634653
+  (0.1ms) SAVEPOINT active_record_1
1634654
+ TestWork Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1634655
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634656
+  (0.2ms) ROLLBACK
1634657
+  (0.1ms) BEGIN
1634658
+  (0.2ms) SAVEPOINT active_record_1
1634659
+ TestWork Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634660
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634661
+  (0.2ms) ROLLBACK
1634662
+  (0.1ms) BEGIN
1634663
+  (0.2ms) SAVEPOINT active_record_1
1634664
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634665
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634666
+  (0.2ms) ROLLBACK
1634667
+  (0.1ms) BEGIN
1634668
+  (0.2ms) SAVEPOINT active_record_1
1634669
+ TestWork Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634670
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634671
+  (0.3ms) ROLLBACK
1634672
+  (0.1ms) BEGIN
1634673
+  (0.2ms) SAVEPOINT active_record_1
1634674
+ TestWork Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634675
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634676
+  (0.5ms) SELECT DISTINCT "kithe_models"."type" FROM "kithe_models"
1634677
+ Preloading Single-Table Inheritance type TestWork for Kithe::Model
1634678
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "TestWork"], ["id", "43bcc73f-f521-47fc-8b7e-f4a18742d452"], ["LIMIT", 1]]
1634679
+  (0.2ms) ROLLBACK
1634680
+  (0.1ms) BEGIN
1634681
+  (0.2ms) SAVEPOINT active_record_1
1634682
+ TestWork Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634683
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634684
+  (0.3ms) ROLLBACK
1634685
+  (0.1ms) BEGIN
1634686
+  (0.2ms) ROLLBACK
1634687
+  (0.1ms) BEGIN
1634688
+  (0.2ms) ROLLBACK
1634689
+  (0.1ms) BEGIN
1634690
+  (19.4ms) ROLLBACK
1634691
+  (0.1ms) BEGIN
1634692
+  (0.2ms) ROLLBACK
1634693
+  (0.5ms) BEGIN
1634694
+  (0.9ms) ROLLBACK
1634695
+  (0.1ms) BEGIN
1634696
+  (0.2ms) ROLLBACK
1634697
+  (0.1ms) BEGIN
1634698
+  (0.4ms) ROLLBACK
1634699
+  (0.1ms) BEGIN
1634700
+  (0.2ms) ROLLBACK
1634701
+  (0.1ms) BEGIN
1634702
+  (0.1ms) ROLLBACK
1634703
+  (0.1ms) BEGIN
1634704
+  (0.2ms) ROLLBACK
1634705
+  (0.1ms) BEGIN
1634706
+  (0.2ms) ROLLBACK
1634707
+  (0.3ms) BEGIN
1634708
+  (0.2ms) ROLLBACK
1634709
+  (0.1ms) BEGIN
1634710
+  (0.2ms) ROLLBACK
1634711
+  (0.2ms) BEGIN
1634712
+  (0.2ms) ROLLBACK
1634713
+  (0.2ms) BEGIN
1634714
+  (0.2ms) ROLLBACK
1634715
+  (0.1ms) BEGIN
1634716
+  (0.2ms) ROLLBACK
1634717
+  (0.1ms) BEGIN
1634718
+  (0.3ms) ROLLBACK
1634719
+  (0.2ms) BEGIN
1634720
+  (0.2ms) ROLLBACK
1634721
+  (0.1ms) BEGIN
1634722
+  (0.2ms) ROLLBACK
1634723
+  (0.1ms) BEGIN
1634724
+  (0.2ms) ROLLBACK
1634725
+  (0.1ms) BEGIN
1634726
+  (0.5ms) ROLLBACK
1634727
+  (0.2ms) BEGIN
1634728
+  (0.5ms) ROLLBACK
1634729
+  (0.4ms) BEGIN
1634730
+  (0.3ms) SAVEPOINT active_record_1
1634731
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634732
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634733
+ [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"}, {}
1634734
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
1634735
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c]  (0.2ms) SAVEPOINT active_record_1
1634736
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
1634737
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] CustomAsset Update (0.9ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634738
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634739
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] CustomAsset Load (0.9ms) SELECT "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 [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
1634740
+ [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>>
1634741
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78]  (0.2ms) SAVEPOINT active_record_1
1634742
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] CustomAsset Load (5.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
1634743
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] CustomAsset Update (0.7ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634744
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634745
+ [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
1634746
+ [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>>
1634747
+ [ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] Performed Kithe::AssetPromoteJob (Job ID: 6da9f0da-f5bc-4287-a5f9-b9062a11926c) from Inline(default) in 39.16ms
1634748
+ [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"}, {}
1634749
+ CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
1634750
+  (0.2ms) ROLLBACK
1634751
+  (0.1ms) BEGIN
1634752
+  (1.2ms) SAVEPOINT active_record_1
1634753
+ CustomAsset Create (4.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634754
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1634755
+ [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"}, {}
1634756
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634757
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da]  (0.2ms) SAVEPOINT active_record_1
1634758
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634759
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634760
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634761
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634762
+ [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>>
1634763
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd]  (0.2ms) SAVEPOINT active_record_1
1634764
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634765
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634766
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634767
+ [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
1634768
+ [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>>
1634769
+ [ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] Performed Kithe::AssetPromoteJob (Job ID: 3fac7961-acc6-4b86-9bcb-1fe0341116da) from Inline(default) in 15.53ms
1634770
+ [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"}, {}
1634771
+ CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634772
+  (0.2ms) SAVEPOINT active_record_1
1634773
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634774
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1634775
+ CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634776
+  (0.2ms) SAVEPOINT active_record_1
1634777
+ CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634778
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634779
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1634780
+ CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
1634781
+  (0.4ms) ROLLBACK
1634782
+  (0.1ms) BEGIN
1634783
+  (0.2ms) SAVEPOINT active_record_1
1634784
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634785
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634786
+ [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"}, {}
1634787
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634788
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43]  (0.2ms) SAVEPOINT active_record_1
1634789
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634790
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634791
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634792
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634793
+ [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>>
1634794
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0]  (0.2ms) SAVEPOINT active_record_1
1634795
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634796
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634797
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634798
+ [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
1634799
+ [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>>
1634800
+ [ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] Performed Kithe::AssetPromoteJob (Job ID: 789879fb-8814-4680-a945-71f587ec2e43) from Inline(default) in 14.25ms
1634801
+ [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"}, {}
1634802
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634803
+  (0.2ms) SAVEPOINT active_record_1
1634804
+ CustomAsset Load (1.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634805
+ CustomAsset Update (3.3ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634806
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634807
+ CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
1634808
+  (0.2ms) ROLLBACK
1634809
+  (0.1ms) BEGIN
1634810
+  (0.2ms) SAVEPOINT active_record_1
1634811
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634812
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634813
+ [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"}, {}
1634814
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634815
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc]  (0.2ms) SAVEPOINT active_record_1
1634816
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634817
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634818
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634819
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634820
+ [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>>
1634821
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3]  (0.2ms) SAVEPOINT active_record_1
1634822
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634823
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634824
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634825
+ [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
1634826
+ [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>>
1634827
+ [ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] Performed Kithe::AssetPromoteJob (Job ID: 7676a860-4ec0-4b80-9a80-2946c5eabecc) from Inline(default) in 14.99ms
1634828
+ [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"}, {}
1634829
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634830
+  (0.5ms) SAVEPOINT active_record_1
1634831
+ CustomAsset Load (0.7ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634832
+ CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634834
+ CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
1634835
+  (0.4ms) SAVEPOINT active_record_1
1634836
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
1634837
+ Kithe::Model Load (0.7ms) SELECT "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 [["containee_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
1634838
+ Kithe::Model Load (0.8ms) SELECT "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 [["container_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
1634839
+  (1.3ms) UPDATE kithe_models
1634840
+ SET leaf_representative_id = NULL, representative_id = NULL
1634841
+ WHERE id IN (
1634842
+ WITH RECURSIVE search_graph(id, link) AS (
1634843
+ SELECT m.id, m.representative_id
1634844
+ FROM kithe_models m
1634845
+ WHERE m.id = '7db2834e-f76d-42ee-bdaf-2a1951b9c360'
1634846
+ UNION
1634847
+ SELECT m.id, m.representative_id
1634848
+ FROM kithe_models m, search_graph sg
1634849
+ WHERE m.representative_id = sg.id
1634850
+ )
1634851
+ SELECT id
1634852
+ FROM search_graph
1634853
+ WHERE id != '7db2834e-f76d-42ee-bdaf-2a1951b9c360'
1634854
+ );
1634855
+ 
1634856
+ CustomAsset Destroy (2.4ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
1634857
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634858
+ [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"}}}}
1634859
+ [ActiveJob] [Kithe::AssetDeleteJob] [138315a4-a62d-4e80-a0e0-218e17aee7e4] Performed Kithe::AssetDeleteJob (Job ID: 138315a4-a62d-4e80-a0e0-218e17aee7e4) from Inline(default) in 0.18ms
1634860
+ [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"}}}}
1634861
+  (0.2ms) ROLLBACK
1634862
+  (0.3ms) BEGIN
1634863
+  (0.2ms) SAVEPOINT active_record_1
1634864
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634865
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634866
+ [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"}, {}
1634867
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634868
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2]  (0.2ms) SAVEPOINT active_record_1
1634869
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634870
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634871
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2]  (0.6ms) RELEASE SAVEPOINT active_record_1
1634872
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634873
+ [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>>
1634874
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5]  (0.2ms) SAVEPOINT active_record_1
1634875
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634876
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634877
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5]  (0.4ms) RELEASE SAVEPOINT active_record_1
1634878
+ [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
1634879
+ [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>>
1634880
+ [ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] Performed Kithe::AssetPromoteJob (Job ID: a6f9a398-f739-4fb5-ba94-1994ba2a0dc2) from Inline(default) in 17.13ms
1634881
+ [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"}, {}
1634882
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634883
+  (0.2ms) SAVEPOINT active_record_1
1634884
+ CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634885
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634886
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1634887
+ CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634888
+  (0.5ms) SAVEPOINT active_record_1
1634889
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634890
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634891
+ [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"}}}}
1634892
+ [ActiveJob] [Kithe::AssetDeleteJob] [f9d1090d-aa57-461e-85cf-7be9480d307c] Performed Kithe::AssetDeleteJob (Job ID: f9d1090d-aa57-461e-85cf-7be9480d307c) from Inline(default) in 0.11ms
1634893
+ [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"}}}}
1634894
+ [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"}, {}
1634895
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634896
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a]  (0.2ms) SAVEPOINT active_record_1
1634897
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634898
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634899
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634900
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634901
+ [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>>
1634902
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e]  (0.2ms) SAVEPOINT active_record_1
1634903
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634904
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] CustomAsset Update (1.2ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634905
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634906
+ [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
1634907
+ [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>>
1634908
+ [ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] Performed Kithe::AssetPromoteJob (Job ID: dccb7651-2d19-45e6-b6c5-f0cb0022f91a) from Inline(default) in 14.52ms
1634909
+ [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"}, {}
1634910
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
1634911
+  (0.2ms) ROLLBACK
1634912
+  (0.1ms) BEGIN
1634913
+  (0.2ms) SAVEPOINT active_record_1
1634914
+ CustomAsset Create (1.2ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634915
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634916
+ [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"}, {}
1634917
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634918
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c]  (0.2ms) SAVEPOINT active_record_1
1634919
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634920
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634921
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634922
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] CustomAsset Load (1.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634923
+ [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>>
1634924
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b]  (0.2ms) SAVEPOINT active_record_1
1634925
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634926
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634927
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634928
+ [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
1634929
+ [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>>
1634930
+ [ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] Performed Kithe::AssetPromoteJob (Job ID: 28f751db-820f-4bee-9f14-e2c433d2f64c) from Inline(default) in 15.99ms
1634931
+ [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"}, {}
1634932
+ CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634933
+  (0.2ms) SAVEPOINT active_record_1
1634934
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634935
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634936
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634937
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634938
+  (0.2ms) SAVEPOINT active_record_1
1634939
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
1634940
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634941
+  (0.3ms) ROLLBACK
1634942
+  (0.1ms) BEGIN
1634943
+  (0.2ms) SAVEPOINT active_record_1
1634944
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634945
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634946
+ [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"}, {}
1634947
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] CustomAsset Load (0.4ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634948
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563]  (0.2ms) SAVEPOINT active_record_1
1634949
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634950
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634951
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634952
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634953
+ [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>>
1634954
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a]  (0.3ms) SAVEPOINT active_record_1
1634955
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634956
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634957
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634958
+ [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
1634959
+ [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>>
1634960
+ [ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] Performed Kithe::AssetPromoteJob (Job ID: 905b0e45-aa22-4935-b3e0-13edbebd8563) from Inline(default) in 16.57ms
1634961
+ [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"}, {}
1634962
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634963
+  (1.0ms) SAVEPOINT active_record_1
1634964
+ CustomAsset Load (3.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634965
+ CustomAsset Update (2.3ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634966
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634967
+ CustomAsset Load (1.9ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634968
+  (0.2ms) SAVEPOINT active_record_1
1634969
+ CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
1634970
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634971
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1634972
+  (0.2ms) ROLLBACK
1634973
+  (0.1ms) BEGIN
1634974
+  (0.2ms) SAVEPOINT active_record_1
1634975
+ CustomAsset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1634976
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1634977
+ [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"}, {}
1634978
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634979
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb]  (0.2ms) SAVEPOINT active_record_1
1634980
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] CustomAsset Load (0.6ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634981
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634982
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb]  (0.1ms) RELEASE SAVEPOINT active_record_1
1634983
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634984
+ [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>>
1634985
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b]  (0.2ms) SAVEPOINT active_record_1
1634986
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634987
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634988
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b]  (0.2ms) RELEASE SAVEPOINT active_record_1
1634989
+ [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
1634990
+ [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>>
1634991
+ [ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] Performed Kithe::AssetPromoteJob (Job ID: 165f71b8-2b7f-43f8-ac87-5bb2f1a050bb) from Inline(default) in 15.86ms
1634992
+ [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"}, {}
1634993
+ CustomAsset Load (0.3ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634994
+  (0.2ms) SAVEPOINT active_record_1
1634995
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634996
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1634997
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1634998
+ CustomAsset Load (0.2ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1634999
+  (0.2ms) SAVEPOINT active_record_1
1635000
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
1635001
+ CustomAsset Update (0.7ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635002
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635003
+  (0.2ms) ROLLBACK
1635004
+  (0.1ms) BEGIN
1635005
+  (0.2ms) SAVEPOINT active_record_1
1635006
+ TestAsset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635007
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635008
+ [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"}, {}
1635009
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] TestAsset Load (0.4ms) SELECT "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 [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
1635010
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49]  (0.2ms) SAVEPOINT active_record_1
1635011
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] TestAsset Load (0.5ms) SELECT "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 [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
1635012
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] TestAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635013
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635014
+ [ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] Performed Kithe::AssetPromoteJob (Job ID: f75c20ef-767e-4d52-ac24-8ecd641bcf49) from Inline(default) in 6.72ms
1635015
+ [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"}, {}
1635016
+  (0.3ms) ROLLBACK
1635017
+  (0.1ms) BEGIN
1635018
+  (2.1ms) SAVEPOINT active_record_1
1635019
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635020
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635021
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
1635022
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
1635023
+  (0.2ms) ROLLBACK
1635024
+  (0.1ms) BEGIN
1635025
+  (0.4ms) SAVEPOINT active_record_1
1635026
+ TestAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635027
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635028
+  (0.2ms) SAVEPOINT active_record_1
1635029
+ TestAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635030
+  (4.8ms) RELEASE SAVEPOINT active_record_1
1635031
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "d556c2c1-48cc-40ed-a73e-8def9a5adae0"], ["LIMIT", 1]]
1635032
+  (0.2ms) ROLLBACK
1635033
+  (0.1ms) BEGIN
1635034
+  (48.8ms) SAVEPOINT active_record_1
1635035
+ TestAsset Create (1.3ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635036
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635037
+ [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"}, {}
1635038
+ [ActiveJob] [Kithe::AssetPromoteJob] [12f81d29-f421-4a4c-b49c-9180216ea842] TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
1635039
+ [ActiveJob] [Kithe::AssetPromoteJob] [12f81d29-f421-4a4c-b49c-9180216ea842] Performed Kithe::AssetPromoteJob (Job ID: 12f81d29-f421-4a4c-b49c-9180216ea842) from Inline(default) in 2.73ms
1635040
+ [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"}, {}
1635041
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
1635042
+  (0.3ms) ROLLBACK
1635043
+  (0.1ms) BEGIN
1635044
+  (0.2ms) SAVEPOINT active_record_1
1635045
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635046
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635047
+ [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"}
1635048
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
1635049
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136]  (0.5ms) SAVEPOINT active_record_1
1635050
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] TestAsset Load (0.7ms) SELECT "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 [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
1635051
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] TestAsset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635052
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635053
+ [ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] Performed Kithe::AssetPromoteJob (Job ID: 76fef830-80f2-4856-881e-12697f91f136) from Inline(default) in 6.82ms
1635054
+ [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"}
1635055
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
1635056
+  (0.2ms) ROLLBACK
1635057
+  (0.1ms) BEGIN
1635058
+  (0.2ms) SAVEPOINT active_record_1
1635059
+ TestAsset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635060
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635061
+  (0.3ms) SAVEPOINT active_record_1
1635062
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635063
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635064
+ TestAsset Load (0.2ms) SELECT "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 [["type", "TestAsset"], ["id", "c2a1306d-b8e1-45fa-8134-3be3794fee9f"], ["LIMIT", 1]]
1635065
+  (0.2ms) ROLLBACK
1635066
+  (0.2ms) BEGIN
1635067
+  (0.2ms) SAVEPOINT active_record_1
1635068
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635069
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635070
+  (0.2ms) SAVEPOINT active_record_1
1635071
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635072
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635073
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "731bd6b6-4306-41be-a7da-99df08a820db"], ["LIMIT", 1]]
1635074
+  (0.3ms) ROLLBACK
1635075
+  (0.1ms) BEGIN
1635076
+  (0.2ms) SAVEPOINT active_record_1
1635077
+ TestAsset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635078
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635079
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
1635080
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
1635081
+  (0.2ms) ROLLBACK
1635082
+  (0.1ms) BEGIN
1635083
+  (0.2ms) SAVEPOINT active_record_1
1635084
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635085
+  (0.9ms) RELEASE SAVEPOINT active_record_1
1635086
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
1635087
+  (0.2ms) SAVEPOINT active_record_1
1635088
+ TestAsset Load (0.5ms) SELECT "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 [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
1635089
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635090
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635091
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
1635092
+  (0.3ms) ROLLBACK
1635093
+  (0.1ms) BEGIN
1635094
+  (0.2ms) SAVEPOINT active_record_1
1635095
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635097
+ [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"}, {}
1635098
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
1635099
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9]  (0.2ms) SAVEPOINT active_record_1
1635100
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] TestAsset Load (0.5ms) SELECT "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 [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
1635101
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] TestAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635102
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635103
+ [ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] Performed Kithe::AssetPromoteJob (Job ID: dd6ddfe3-9193-4e67-84f5-76d3b48882c9) from Inline(default) in 6.63ms
1635104
+ [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"}, {}
1635105
+  (0.2ms) ROLLBACK
1635106
+  (0.1ms) BEGIN
1635107
+  (0.2ms) SAVEPOINT active_record_1
1635108
+ TestAsset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635109
+  (1.5ms) RELEASE SAVEPOINT active_record_1
1635110
+  (0.2ms) SAVEPOINT active_record_1
1635111
+ TestAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635112
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635113
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "f0cd1b4e-c057-45da-aab3-7f4b54eb44c3"], ["LIMIT", 1]]
1635114
+  (0.4ms) ROLLBACK
1635115
+  (0.1ms) BEGIN
1635116
+  (0.2ms) SAVEPOINT active_record_1
1635117
+ TestAsset Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635118
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635119
+ [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"}
1635120
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
1635121
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9]  (0.2ms) SAVEPOINT active_record_1
1635122
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] TestAsset Load (0.5ms) SELECT "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 [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
1635123
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] TestAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635124
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635125
+ [ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] Performed Kithe::AssetPromoteJob (Job ID: 1c804810-90a6-4eb4-a312-d3e789dfcab9) from Inline(default) in 6.15ms
1635126
+ [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"}
1635127
+  (0.2ms) ROLLBACK
1635128
+  (0.1ms) BEGIN
1635129
+  (0.2ms) SAVEPOINT active_record_1
1635130
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635131
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635132
+ [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"}, {}
1635133
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
1635134
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe]  (0.2ms) SAVEPOINT active_record_1
1635135
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] TestAsset Load (0.5ms) SELECT "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 [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
1635136
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] TestAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635137
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe]  (0.2ms) RELEASE SAVEPOINT active_record_1
1635138
+ [ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] Performed Kithe::AssetPromoteJob (Job ID: 046d649e-ea38-41ff-99cd-8e34eaecfffe) from Inline(default) in 8.54ms
1635139
+ [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"}, {}
1635140
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
1635141
+  (0.2ms) ROLLBACK
1635142
+  (0.1ms) BEGIN
1635143
+  (0.2ms) SAVEPOINT active_record_1
1635144
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635145
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635146
+ TestAsset Load (0.2ms) SELECT "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 [["type", "TestAsset"], ["id", "3540c832-bc3a-4c79-8ccb-118455cfff1c"], ["LIMIT", 1]]
1635147
+  (0.3ms) ROLLBACK
1635148
+  (0.1ms) BEGIN
1635149
+  (0.2ms) SAVEPOINT active_record_1
1635150
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635151
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635152
+  (0.2ms) SAVEPOINT active_record_1
1635153
+ TestAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635155
+ [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>>
1635156
+ TestAsset Load (0.4ms) SELECT "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 [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
1635157
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
1635158
+  (0.2ms) ROLLBACK
1635159
+  (0.1ms) BEGIN
1635160
+  (0.2ms) SAVEPOINT active_record_1
1635161
+ TestAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635163
+  (0.2ms) ROLLBACK
1635164
+  (0.1ms) BEGIN
1635165
+  (0.2ms) SAVEPOINT active_record_1
1635166
+ TestAsset Create (1.2ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635167
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635168
+  (0.2ms) SAVEPOINT active_record_1
1635169
+ TestAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635170
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635171
+ TestAsset Load (0.2ms) SELECT "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 [["type", "TestAsset"], ["id", "d0d19638-a972-4f4c-a69e-a8d3357d394f"], ["LIMIT", 1]]
1635172
+  (0.2ms) ROLLBACK
1635173
+  (0.1ms) BEGIN
1635174
+  (0.2ms) SAVEPOINT active_record_1
1635175
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635177
+  (0.1ms) SAVEPOINT active_record_1
1635178
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635179
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635180
+ [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>>
1635181
+ [ActiveJob] [Kithe::CreateDerivativesJob] [23865f98-a875-4da3-887f-1c3d0e7f5f08] Performed Kithe::CreateDerivativesJob (Job ID: 23865f98-a875-4da3-887f-1c3d0e7f5f08) from Test(default) in 0.55ms
1635182
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "5e7d9d2e-876d-421f-b17c-3b1c31e4934b"], ["LIMIT", 1]]
1635183
+  (0.2ms) ROLLBACK
1635184
+  (0.2ms) BEGIN
1635185
+  (0.2ms) SAVEPOINT active_record_1
1635186
+ TestAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635187
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635188
+  (0.4ms) SAVEPOINT active_record_1
1635189
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635190
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635191
+ TestAsset Load (0.2ms) SELECT "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 [["type", "TestAsset"], ["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"], ["LIMIT", 1]]
1635192
+  (0.2ms) SAVEPOINT active_record_1
1635193
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
1635194
+ Kithe::Model Load (0.6ms) SELECT "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 [["containee_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
1635195
+ Kithe::Model Load (0.5ms) SELECT "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 [["container_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
1635196
+  (1.0ms) UPDATE kithe_models
1635197
+ SET leaf_representative_id = NULL, representative_id = NULL
1635198
+ WHERE id IN (
1635199
+ WITH RECURSIVE search_graph(id, link) AS (
1635200
+ SELECT m.id, m.representative_id
1635201
+ FROM kithe_models m
1635202
+ WHERE m.id = 'd0201c0b-1ec2-45e3-8621-6ebae6317add'
1635203
+ UNION
1635204
+ SELECT m.id, m.representative_id
1635205
+ FROM kithe_models m, search_graph sg
1635206
+ WHERE m.representative_id = sg.id
1635207
+ )
1635208
+ SELECT id
1635209
+ FROM search_graph
1635210
+ WHERE id != 'd0201c0b-1ec2-45e3-8621-6ebae6317add'
1635211
+ );
1635212
+ 
1635213
+ TestAsset Destroy (1.5ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
1635214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635215
+  (0.1ms) ROLLBACK
1635216
+  (0.1ms) BEGIN
1635217
+  (0.2ms) SAVEPOINT active_record_1
1635218
+ TestAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635219
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635220
+  (0.2ms) SAVEPOINT active_record_1
1635221
+ TestAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635222
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635223
+ TestAsset Load (0.3ms) SELECT "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 [["type", "TestAsset"], ["id", "85115cf7-afb7-4577-a59d-463810ff4299"], ["LIMIT", 1]]
1635224
+  (0.2ms) SAVEPOINT active_record_1
1635225
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
1635226
+ Kithe::Model Load (0.8ms) SELECT "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 [["containee_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
1635227
+ Kithe::Model Load (0.5ms) SELECT "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 [["container_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
1635228
+  (0.9ms) UPDATE kithe_models
1635229
+ SET leaf_representative_id = NULL, representative_id = NULL
1635230
+ WHERE id IN (
1635231
+ WITH RECURSIVE search_graph(id, link) AS (
1635232
+ SELECT m.id, m.representative_id
1635233
+ FROM kithe_models m
1635234
+ WHERE m.id = '85115cf7-afb7-4577-a59d-463810ff4299'
1635235
+ UNION
1635236
+ SELECT m.id, m.representative_id
1635237
+ FROM kithe_models m, search_graph sg
1635238
+ WHERE m.representative_id = sg.id
1635239
+ )
1635240
+ SELECT id
1635241
+ FROM search_graph
1635242
+ WHERE id != '85115cf7-afb7-4577-a59d-463810ff4299'
1635243
+ );
1635244
+ 
1635245
+ TestAsset Destroy (1.6ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
1635246
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635247
+  (0.2ms) ROLLBACK
1635248
+  (0.1ms) BEGIN
1635249
+  (0.2ms) ROLLBACK
1635250
+  (0.1ms) BEGIN
1635251
+  (0.2ms) ROLLBACK
1635252
+  (0.1ms) BEGIN
1635253
+  (0.2ms) ROLLBACK
1635254
+  (0.2ms) BEGIN
1635255
+  (0.2ms) ROLLBACK
1635256
+  (0.2ms) BEGIN
1635257
+  (0.2ms) SAVEPOINT active_record_1
1635258
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635259
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1635260
+ Kithe::Asset Load (0.9ms) SELECT "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 [["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]]
1635261
+  (0.4ms) ROLLBACK
1635262
+  (0.1ms) BEGIN
1635263
+  (0.3ms) ROLLBACK
1635264
+  (0.2ms) BEGIN
1635265
+  (0.2ms) SAVEPOINT active_record_1
1635266
+ AssetSubclass Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635267
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635268
+  (0.2ms) ROLLBACK
1635269
+  (0.3ms) BEGIN
1635270
+  (0.3ms) SAVEPOINT active_record_1
1635271
+ AssetSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635272
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635273
+  (0.2ms) SAVEPOINT active_record_1
1635274
+ AssetSubclass Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635276
+  (0.2ms) SAVEPOINT active_record_1
1635277
+ AssetSubclass Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635278
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635279
+ AssetSubclass Load (0.2ms) SELECT "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 [["type", "AssetSubclass"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"], ["LIMIT", 1]]
1635280
+  (0.2ms) ROLLBACK
1635281
+  (0.3ms) BEGIN
1635282
+  (0.2ms) SAVEPOINT active_record_1
1635283
+ Kithe::Asset Create (1.4ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635284
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635285
+  (0.2ms) ROLLBACK
1635286
+  (0.1ms) BEGIN
1635287
+  (0.2ms) ROLLBACK
1635288
+  (0.2ms) BEGIN
1635289
+  (0.2ms) SAVEPOINT active_record_1
1635290
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635291
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635292
+  (0.1ms) SAVEPOINT active_record_1
1635293
+ Kithe::Asset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635294
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635295
+  (0.3ms) ROLLBACK
1635296
+  (0.2ms) BEGIN
1635297
+  (0.3ms) SAVEPOINT active_record_1
1635298
+ Kithe::Asset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635299
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635300
+ [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"}, {}
1635301
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635302
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe]  (0.2ms) SAVEPOINT active_record_1
1635303
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635304
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Kithe::Asset Update (0.8ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635305
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe]  (0.7ms) RELEASE SAVEPOINT active_record_1
1635306
+ [ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] Performed Kithe::AssetPromoteJob (Job ID: 1e5545f3-353e-42b0-abe7-4e5551d42bfe) from Inline(default) in 9.33ms
1635307
+ [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"}, {}
1635308
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635309
+  (0.2ms) ROLLBACK
1635310
+  (0.2ms) BEGIN
1635311
+  (0.2ms) ROLLBACK
1635312
+  (0.2ms) BEGIN
1635313
+  (0.1ms) SAVEPOINT active_record_1
1635314
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635315
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635316
+  (0.3ms) SAVEPOINT active_record_1
1635317
+ Kithe::Asset Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635318
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635319
+ [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"}, {}
1635320
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635321
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658]  (0.2ms) SAVEPOINT active_record_1
1635322
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635323
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635324
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658]  (0.2ms) RELEASE SAVEPOINT active_record_1
1635325
+ [ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] Performed Kithe::AssetPromoteJob (Job ID: 3b151f50-92e0-4492-ae64-a646b025a658) from Inline(default) in 8.07ms
1635326
+ [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"}, {}
1635327
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635328
+  (0.2ms) ROLLBACK
1635329
+  (0.3ms) BEGIN
1635330
+  (0.4ms) SAVEPOINT active_record_1
1635331
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635332
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635333
+ [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"}, {}
1635334
+  (0.2ms) SAVEPOINT active_record_1
1635335
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635336
+ Kithe::Asset Update (1.0ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635337
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635338
+  (0.2ms) ROLLBACK
1635339
+  (0.1ms) BEGIN
1635340
+  (1.0ms) SAVEPOINT active_record_1
1635341
+ Kithe::Asset Create (1.3ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635342
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635343
+ [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"}, {}
1635344
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635345
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24]  (0.2ms) SAVEPOINT active_record_1
1635346
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635347
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635348
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635349
+ [ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] Performed Kithe::AssetPromoteJob (Job ID: 722e50e7-6305-4857-a8d4-6915fa748d24) from Inline(default) in 8.01ms
1635350
+ [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"}, {}
1635351
+  (0.2ms) SAVEPOINT active_record_1
1635352
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635353
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635354
+ [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"}, {}
1635355
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635356
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049]  (0.2ms) SAVEPOINT active_record_1
1635357
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635358
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635359
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635360
+ [ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] Performed Kithe::AssetPromoteJob (Job ID: 42049985-85a7-46d0-9e51-710695626049) from Inline(default) in 6.75ms
1635361
+ [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"}, {}
1635362
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635363
+  (0.3ms) ROLLBACK
1635364
+  (0.2ms) BEGIN
1635365
+  (0.2ms) SAVEPOINT active_record_1
1635366
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635367
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635368
+ [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"}, {}
1635369
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Kithe::Asset Load (2.3ms) SELECT "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 [["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]]
1635370
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e]  (0.2ms) SAVEPOINT active_record_1
1635371
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635372
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635373
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e]  (0.2ms) RELEASE SAVEPOINT active_record_1
1635374
+ [ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] Performed Kithe::AssetPromoteJob (Job ID: d3a86fe3-b8f0-4dde-8e94-52c3ee33517e) from Inline(default) in 9.32ms
1635375
+ [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"}, {}
1635376
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635377
+  (93.3ms) SAVEPOINT active_record_1
1635378
+ Kithe::Asset Load (0.9ms) SELECT "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 [["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]]
1635379
+ Kithe::Asset Update (1.0ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635380
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635381
+  (0.3ms) SAVEPOINT active_record_1
1635382
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
1635383
+ Kithe::Model Load (0.6ms) SELECT "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 [["containee_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
1635384
+ Kithe::Model Load (0.5ms) SELECT "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 [["container_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
1635385
+  (0.9ms) UPDATE kithe_models
1635386
+ SET leaf_representative_id = NULL, representative_id = NULL
1635387
+ WHERE id IN (
1635388
+ WITH RECURSIVE search_graph(id, link) AS (
1635389
+ SELECT m.id, m.representative_id
1635390
+ FROM kithe_models m
1635391
+ WHERE m.id = '08d672b8-84ad-4ba3-8cd3-09ad7bb56746'
1635392
+ UNION
1635393
+ SELECT m.id, m.representative_id
1635394
+ FROM kithe_models m, search_graph sg
1635395
+ WHERE m.representative_id = sg.id
1635396
+ )
1635397
+ SELECT id
1635398
+ FROM search_graph
1635399
+ WHERE id != '08d672b8-84ad-4ba3-8cd3-09ad7bb56746'
1635400
+ );
1635401
+ 
1635402
+ Kithe::Asset Destroy (1.4ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
1635403
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635404
+ [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}}}}
1635405
+ [ActiveJob] [Kithe::AssetDeleteJob] [eeeef3d6-7f8c-4392-970f-408a26989c6d] Performed Kithe::AssetDeleteJob (Job ID: eeeef3d6-7f8c-4392-970f-408a26989c6d) from Inline(default) in 0.13ms
1635406
+ [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}}}}
1635407
+  (0.2ms) ROLLBACK
1635408
+  (0.2ms) BEGIN
1635409
+  (0.2ms) SAVEPOINT active_record_1
1635410
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635411
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635412
+ [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"}, {}
1635413
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Kithe::Asset Load (1.1ms) SELECT "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 [["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]]
1635414
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426]  (0.2ms) SAVEPOINT active_record_1
1635415
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635416
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Kithe::Asset Update (0.8ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635417
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426]  (0.2ms) RELEASE SAVEPOINT active_record_1
1635418
+ [ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] Performed Kithe::AssetPromoteJob (Job ID: bee9f102-c2b3-439c-a80d-c4cc6f6f4426) from Inline(default) in 9.08ms
1635419
+ [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"}, {}
1635420
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635421
+  (0.2ms) SAVEPOINT active_record_1
1635422
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635423
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635424
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635425
+  (0.2ms) SAVEPOINT active_record_1
1635426
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635427
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635428
+ [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}}}}
1635429
+ [ActiveJob] [Kithe::AssetDeleteJob] [aecfb0d5-e067-41cd-b302-0ef6fceb5d29] Performed Kithe::AssetDeleteJob (Job ID: aecfb0d5-e067-41cd-b302-0ef6fceb5d29) from Inline(default) in 0.15ms
1635430
+ [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}}}}
1635431
+ [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"}
1635432
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635433
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76]  (0.3ms) SAVEPOINT active_record_1
1635434
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635435
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635436
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635437
+ [ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] Performed Kithe::AssetPromoteJob (Job ID: f1eea42b-fd46-4ba6-b327-0ddc5cb13b76) from Inline(default) in 7.5ms
1635438
+ [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"}
1635439
+  (0.2ms) ROLLBACK
1635440
+  (0.2ms) BEGIN
1635441
+  (0.2ms) SAVEPOINT active_record_1
1635442
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635443
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635444
+ [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"}, {}
1635445
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635446
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5]  (0.5ms) SAVEPOINT active_record_1
1635447
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635448
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635449
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5]  (0.1ms) RELEASE SAVEPOINT active_record_1
1635450
+ [ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] Performed Kithe::AssetPromoteJob (Job ID: 7c644b0e-a9bb-4c1b-9cfa-0b8353679db5) from Inline(default) in 52.81ms
1635451
+ [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"}, {}
1635452
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1635453
+  (0.2ms) SAVEPOINT active_record_1
1635454
+ Kithe::Asset Load (1.2ms) SELECT "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 [["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]]
1635455
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635456
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635457
+  (0.3ms) SAVEPOINT active_record_1
1635458
+ Kithe::Asset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1635459
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635460
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1635461
+  (0.4ms) SAVEPOINT active_record_1
1635462
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1635463
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1635464
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1635465
+  (0.2ms) ROLLBACK
1635466
+  (0.1ms) BEGIN
1635467
+  (0.5ms) SAVEPOINT active_record_1
1635468
+ Kithe::Collection Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635469
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635470
+  (0.5ms) ROLLBACK
1635471
+  (0.1ms) BEGIN
1635472
+  (0.2ms) ROLLBACK
1635473
+  (0.1ms) BEGIN
1635474
+  (0.2ms) ROLLBACK
1635475
+  (0.2ms) BEGIN
1635476
+  (0.3ms) ROLLBACK
1635477
+  (0.1ms) BEGIN
1635478
+  (0.2ms) ROLLBACK
1635479
+  (0.1ms) BEGIN
1635480
+  (0.1ms) ROLLBACK
1635481
+  (0.2ms) BEGIN
1635482
+  (0.6ms) ROLLBACK
1635483
+  (0.1ms) BEGIN
1635484
+  (0.2ms) ROLLBACK
1635485
+  (0.2ms) BEGIN
1635486
+  (0.2ms) ROLLBACK
1635487
+  (0.1ms) BEGIN
1635488
+  (0.3ms) ROLLBACK
1635489
+  (0.8ms) BEGIN
1635490
+  (0.2ms) ROLLBACK
1635491
+  (0.1ms) BEGIN
1635492
+  (0.2ms) ROLLBACK
1635493
+  (0.1ms) BEGIN
1635494
+  (0.2ms) ROLLBACK
1635495
+  (0.2ms) BEGIN
1635496
+  (0.2ms) ROLLBACK
1635497
+  (0.2ms) BEGIN
1635498
+  (0.2ms) ROLLBACK
1635499
+  (0.1ms) BEGIN
1635500
+  (0.1ms) ROLLBACK
1635501
+  (0.3ms) BEGIN
1635502
+  (0.2ms) ROLLBACK
1635503
+  (0.2ms) BEGIN
1635504
+  (0.1ms) ROLLBACK
1635505
+  (0.1ms) BEGIN
1635506
+  (0.1ms) ROLLBACK
1635507
+  (0.9ms) BEGIN
1635508
+  (0.2ms) ROLLBACK
1635509
+  (0.4ms) BEGIN
1635510
+  (0.2ms) ROLLBACK
1635511
+  (0.4ms) BEGIN
1635512
+  (0.5ms) ROLLBACK
1635513
+  (0.2ms) BEGIN
1635514
+  (0.1ms) ROLLBACK
1635515
+  (0.1ms) BEGIN
1635516
+  (0.2ms) ROLLBACK
1635517
+  (0.2ms) BEGIN
1635518
+  (0.2ms) ROLLBACK
1635519
+  (0.1ms) BEGIN
1635520
+  (0.6ms) ROLLBACK
1635521
+  (0.1ms) BEGIN
1635522
+  (0.1ms) ROLLBACK
1635523
+  (0.1ms) BEGIN
1635524
+  (6.1ms) SAVEPOINT active_record_1
1635525
+ Kithe::Work Create (2.0ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635526
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635527
+  (0.5ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "b79ccd38-0ebf-4346-be2a-098846a01974"], ["LIMIT", 1]]
1635528
+  (0.2ms) ROLLBACK
1635529
+  (0.2ms) BEGIN
1635530
+  (1.1ms) SAVEPOINT active_record_1
1635531
+ Kithe::Work Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635532
+  (4.9ms) RELEASE SAVEPOINT active_record_1
1635533
+  (0.7ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "be3f48b5-f805-4b9a-9c49-9e1378faa60d"], ["LIMIT", 1]]
1635534
+  (0.2ms) ROLLBACK
1635535
+  (0.1ms) BEGIN
1635536
+  (0.2ms) ROLLBACK
1635537
+  (0.1ms) BEGIN
1635538
+  (0.1ms) SAVEPOINT active_record_1
1635539
+ Kithe::Collection Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635540
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1635541
+  (0.1ms) SAVEPOINT active_record_1
1635542
+ Kithe::Work Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635543
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635544
+  (0.1ms) SAVEPOINT active_record_1
1635545
+ Kithe::ModelContains Create (1.2ms) INSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2) [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635546
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1635547
+ Kithe::Model Exists? (0.6ms) SELECT 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 [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["LIMIT", 1]]
1635548
+ Kithe::Model Exists? (0.5ms) SELECT 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 [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
1635549
+  (0.2ms) SAVEPOINT active_record_1
1635550
+ Kithe::Collection Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635551
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635552
+  (0.1ms) SAVEPOINT active_record_1
1635553
+ Kithe::ModelContains Create (0.5ms) INSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2) [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
1635554
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635555
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
1635556
+ Kithe::Model Load (0.3ms) SELECT "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 [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
1635557
+  (0.2ms) SAVEPOINT active_record_1
1635558
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
1635559
+ Kithe::ModelContains Load (0.6ms) SELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3) [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
1635560
+ Kithe::ModelContains Destroy (0.4ms) DELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3) [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
1635561
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
1635562
+  (1.0ms) UPDATE kithe_models
1635563
+ SET leaf_representative_id = NULL, representative_id = NULL
1635564
+ WHERE id IN (
1635565
+ WITH RECURSIVE search_graph(id, link) AS (
1635566
+ SELECT m.id, m.representative_id
1635567
+ FROM kithe_models m
1635568
+ WHERE m.id = 'dfbbed7f-02d5-4eb2-8400-99f580aae0ce'
1635569
+ UNION
1635570
+ SELECT m.id, m.representative_id
1635571
+ FROM kithe_models m, search_graph sg
1635572
+ WHERE m.representative_id = sg.id
1635573
+ )
1635574
+ SELECT id
1635575
+ FROM search_graph
1635576
+ WHERE id != 'dfbbed7f-02d5-4eb2-8400-99f580aae0ce'
1635577
+ );
1635578
+ 
1635579
+ Kithe::Work Destroy (1.1ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
1635580
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635581
+ Kithe::Collection Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Collection"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
1635582
+ Kithe::Collection Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Collection"], ["id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"], ["LIMIT", 1]]
1635583
+  (1.0ms) SELECT 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 [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635584
+  (0.7ms) SELECT 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 [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
1635585
+  (0.2ms) SAVEPOINT active_record_1
1635586
+ Kithe::Work Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635588
+  (0.1ms) SAVEPOINT active_record_1
1635589
+ Kithe::ModelContains Create (0.5ms) INSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2) [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635590
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635591
+  (0.3ms) SAVEPOINT active_record_1
1635592
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635593
+ Kithe::Model Load (0.3ms) SELECT "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 [["containee_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635594
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635595
+ Kithe::ModelContains Load (0.3ms) SELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2 [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
1635596
+ Kithe::ModelContains Destroy (0.4ms) DELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2 [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
1635597
+  (1.1ms) UPDATE kithe_models
1635598
+ SET leaf_representative_id = NULL, representative_id = NULL
1635599
+ WHERE id IN (
1635600
+ WITH RECURSIVE search_graph(id, link) AS (
1635601
+ SELECT m.id, m.representative_id
1635602
+ FROM kithe_models m
1635603
+ WHERE m.id = 'e7e545cf-c8c9-4d4e-baec-6cdfdc19a369'
1635604
+ UNION
1635605
+ SELECT m.id, m.representative_id
1635606
+ FROM kithe_models m, search_graph sg
1635607
+ WHERE m.representative_id = sg.id
1635608
+ )
1635609
+ SELECT id
1635610
+ FROM search_graph
1635611
+ WHERE id != 'e7e545cf-c8c9-4d4e-baec-6cdfdc19a369'
1635612
+ );
1635613
+ 
1635614
+ Kithe::Collection Destroy (0.6ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
1635615
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635616
+ Kithe::Work Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["LIMIT", 1]]
1635617
+  (0.6ms) SELECT 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 [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
1635618
+  (0.2ms) ROLLBACK
1635619
+  (0.1ms) BEGIN
1635620
+ Unpermitted parameter: :zot
1635621
+  (0.1ms) ROLLBACK
1635622
+  (0.1ms) BEGIN
1635623
+ Unpermitted parameter: :unselected
1635624
+  (0.2ms) ROLLBACK
1635625
+  (0.2ms) BEGIN
1635626
+ Unpermitted parameter: :unselected
1635627
+  (0.5ms) ROLLBACK
1635628
+  (0.2ms) BEGIN
1635629
+ Unpermitted parameter: :unselected
1635630
+  (0.2ms) ROLLBACK
1635631
+  (2.0ms) BEGIN
1635632
+ Unpermitted parameter: :unselected
1635633
+  (0.2ms) ROLLBACK
1635634
+  (0.1ms) BEGIN
1635635
+ Unpermitted parameters: :unselected, :other_value
1635636
+  (0.2ms) ROLLBACK
1635637
+  (0.2ms) BEGIN
1635638
+ Unpermitted parameters: :unselected, :str_array, :other_value
1635639
+  (0.2ms) ROLLBACK
1635640
+  (0.3ms) BEGIN
1635641
+ Unpermitted parameter: :unselected
1635642
+  (0.2ms) ROLLBACK
1635643
+  (0.8ms) BEGIN
1635644
+  (0.2ms) SAVEPOINT active_record_1
1635645
+ Kithe::Work Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635647
+  (2.2ms) SAVEPOINT active_record_1
1635648
+ Kithe::Asset Create (1.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635649
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635650
+  (0.1ms) SAVEPOINT active_record_1
1635651
+ set_leaf_representative (0.5ms) WITH RECURSIVE find_terminal(id, link) AS (
1635652
+ SELECT m.id, m.representative_id
1635653
+ FROM kithe_models m
1635654
+ WHERE m.id = $1
1635655
+ UNION
1635656
+ SELECT m.id, m.representative_id
1635657
+ FROM kithe_models m, find_terminal ft
1635658
+ WHERE m.id = ft.link
1635659
+ ) SELECT id
1635660
+ FROM find_terminal
1635661
+ WHERE link IS NULL
1635662
+ LIMIT 1;
1635663
+  [[nil, "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"]]
1635664
+ Kithe::Work Update (0.8ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1635665
+  (2.5ms) UPDATE kithe_models
1635666
+ SET leaf_representative_id = 'f0205e78-a7f2-4368-9ccc-ac9aeb13d40d'
1635667
+ WHERE id IN (
1635668
+ WITH RECURSIVE search_graph(id, link) AS (
1635669
+ SELECT m.id, m.representative_id
1635670
+ FROM kithe_models m
1635671
+ WHERE m.id = 'dcb6835d-9daa-4f5b-98f2-94c0dc1375d7'
1635672
+ UNION
1635673
+ SELECT m.id, m.representative_id
1635674
+ FROM kithe_models m, search_graph sg
1635675
+ WHERE m.representative_id = sg.id
1635676
+ )
1635677
+ SELECT id
1635678
+ FROM search_graph
1635679
+ WHERE id != 'dcb6835d-9daa-4f5b-98f2-94c0dc1375d7'
1635680
+ );
1635681
+ 
1635682
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635683
+ Kithe::Work Load (0.5ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dcb6835d-9daa-4f5b-98f2-94c0dc1375d7"], ["LIMIT", 1]]
1635684
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["LIMIT", 1]]
1635685
+  (0.2ms) ROLLBACK
1635686
+  (0.1ms) BEGIN
1635687
+  (0.9ms) SAVEPOINT active_record_1
1635688
+ Kithe::Asset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635689
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635690
+  (0.1ms) ROLLBACK
1635691
+  (0.1ms) BEGIN
1635692
+  (0.1ms) SAVEPOINT active_record_1
1635693
+ Kithe::Asset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635694
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635695
+  (0.1ms) SAVEPOINT active_record_1
1635696
+ set_leaf_representative (0.6ms) WITH RECURSIVE find_terminal(id, link) AS (
1635697
+ SELECT m.id, m.representative_id
1635698
+ FROM kithe_models m
1635699
+ WHERE m.id = $1
1635700
+ UNION
1635701
+ SELECT m.id, m.representative_id
1635702
+ FROM kithe_models m, find_terminal ft
1635703
+ WHERE m.id = ft.link
1635704
+ ) SELECT id
1635705
+ FROM find_terminal
1635706
+ WHERE link IS NULL
1635707
+ LIMIT 1;
1635708
+  [[nil, "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"]]
1635709
+ Kithe::Work Create (0.9ms) INSERT 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" [["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]]
1635710
+  (0.9ms) UPDATE kithe_models
1635711
+ SET leaf_representative_id = 'bb9bce9f-482a-4d16-8c18-90158bb1a9ce'
1635712
+ WHERE id IN (
1635713
+ WITH RECURSIVE search_graph(id, link) AS (
1635714
+ SELECT m.id, m.representative_id
1635715
+ FROM kithe_models m
1635716
+ WHERE m.id = '359a1873-4f9d-41d9-9645-d7268741163e'
1635717
+ UNION
1635718
+ SELECT m.id, m.representative_id
1635719
+ FROM kithe_models m, search_graph sg
1635720
+ WHERE m.representative_id = sg.id
1635721
+ )
1635722
+ SELECT id
1635723
+ FROM search_graph
1635724
+ WHERE id != '359a1873-4f9d-41d9-9645-d7268741163e'
1635725
+ );
1635726
+ 
1635727
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635728
+ Kithe::Model Load (3.1ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
1635729
+  (0.9ms) SAVEPOINT active_record_1
1635730
+ set_leaf_representative (0.6ms) WITH RECURSIVE find_terminal(id, link) AS (
1635731
+ SELECT m.id, m.representative_id
1635732
+ FROM kithe_models m
1635733
+ WHERE m.id = $1
1635734
+ UNION
1635735
+ SELECT m.id, m.representative_id
1635736
+ FROM kithe_models m, find_terminal ft
1635737
+ WHERE m.id = ft.link
1635738
+ ) SELECT id
1635739
+ FROM find_terminal
1635740
+ WHERE link IS NULL
1635741
+ LIMIT 1;
1635742
+  [[nil, "359a1873-4f9d-41d9-9645-d7268741163e"]]
1635743
+ Kithe::Work Create (0.8ms) INSERT 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" [["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]]
1635744
+  (0.9ms) UPDATE kithe_models
1635745
+ SET leaf_representative_id = 'bb9bce9f-482a-4d16-8c18-90158bb1a9ce'
1635746
+ WHERE id IN (
1635747
+ WITH RECURSIVE search_graph(id, link) AS (
1635748
+ SELECT m.id, m.representative_id
1635749
+ FROM kithe_models m
1635750
+ WHERE m.id = 'eb051396-eae0-49ab-af52-a4a093294ad4'
1635751
+ UNION
1635752
+ SELECT m.id, m.representative_id
1635753
+ FROM kithe_models m, search_graph sg
1635754
+ WHERE m.representative_id = sg.id
1635755
+ )
1635756
+ SELECT id
1635757
+ FROM search_graph
1635758
+ WHERE id != 'eb051396-eae0-49ab-af52-a4a093294ad4'
1635759
+ );
1635760
+ 
1635761
+  (1.1ms) RELEASE SAVEPOINT active_record_1
1635762
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
1635763
+  (0.1ms) SAVEPOINT active_record_1
1635764
+ set_leaf_representative (0.4ms) WITH RECURSIVE find_terminal(id, link) AS (
1635765
+ SELECT m.id, m.representative_id
1635766
+ FROM kithe_models m
1635767
+ WHERE m.id = $1
1635768
+ UNION
1635769
+ SELECT m.id, m.representative_id
1635770
+ FROM kithe_models m, find_terminal ft
1635771
+ WHERE m.id = ft.link
1635772
+ ) SELECT id
1635773
+ FROM find_terminal
1635774
+ WHERE link IS NULL
1635775
+ LIMIT 1;
1635776
+  [[nil, nil]]
1635777
+ Kithe::Work Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["updated_at", "2020-05-28 13:27:09.447227"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "eb051396-eae0-49ab-af52-a4a093294ad4"]]
1635778
+  (1.0ms) UPDATE kithe_models
1635779
+ SET leaf_representative_id = NULL
1635780
+ WHERE id IN (
1635781
+ WITH RECURSIVE search_graph(id, link) AS (
1635782
+ SELECT m.id, m.representative_id
1635783
+ FROM kithe_models m
1635784
+ WHERE m.id = 'eb051396-eae0-49ab-af52-a4a093294ad4'
1635785
+ UNION
1635786
+ SELECT m.id, m.representative_id
1635787
+ FROM kithe_models m, search_graph sg
1635788
+ WHERE m.representative_id = sg.id
1635789
+ )
1635790
+ SELECT id
1635791
+ FROM search_graph
1635792
+ WHERE id != 'eb051396-eae0-49ab-af52-a4a093294ad4'
1635793
+ );
1635794
+ 
1635795
+  (0.5ms) RELEASE SAVEPOINT active_record_1
1635796
+  (0.2ms) ROLLBACK
1635797
+  (0.1ms) BEGIN
1635798
+  (0.2ms) SAVEPOINT active_record_1
1635799
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635800
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635801
+  (0.4ms) SAVEPOINT active_record_1
1635802
+ set_leaf_representative (1.0ms) WITH RECURSIVE find_terminal(id, link) AS (
1635803
+ SELECT m.id, m.representative_id
1635804
+ FROM kithe_models m
1635805
+ WHERE m.id = $1
1635806
+ UNION
1635807
+ SELECT m.id, m.representative_id
1635808
+ FROM kithe_models m, find_terminal ft
1635809
+ WHERE m.id = ft.link
1635810
+ ) SELECT id
1635811
+ FROM find_terminal
1635812
+ WHERE link IS NULL
1635813
+ LIMIT 1;
1635814
+  [[nil, "8878a930-2149-4716-908e-48c3a34e04fe"]]
1635815
+ Kithe::Work Create (1.0ms) INSERT 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" [["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]]
1635816
+  (0.9ms) UPDATE kithe_models
1635817
+ SET leaf_representative_id = '8878a930-2149-4716-908e-48c3a34e04fe'
1635818
+ WHERE id IN (
1635819
+ WITH RECURSIVE search_graph(id, link) AS (
1635820
+ SELECT m.id, m.representative_id
1635821
+ FROM kithe_models m
1635822
+ WHERE m.id = '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
1635823
+ UNION
1635824
+ SELECT m.id, m.representative_id
1635825
+ FROM kithe_models m, search_graph sg
1635826
+ WHERE m.representative_id = sg.id
1635827
+ )
1635828
+ SELECT id
1635829
+ FROM search_graph
1635830
+ WHERE id != '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
1635831
+ );
1635832
+ 
1635833
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635834
+  (1.0ms) SAVEPOINT active_record_1
1635835
+ set_leaf_representative (1.1ms) WITH RECURSIVE find_terminal(id, link) AS (
1635836
+ SELECT m.id, m.representative_id
1635837
+ FROM kithe_models m
1635838
+ WHERE m.id = $1
1635839
+ UNION
1635840
+ SELECT m.id, m.representative_id
1635841
+ FROM kithe_models m, find_terminal ft
1635842
+ WHERE m.id = ft.link
1635843
+ ) SELECT id
1635844
+ FROM find_terminal
1635845
+ WHERE link IS NULL
1635846
+ LIMIT 1;
1635847
+  [[nil, "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"]]
1635848
+ Kithe::Work Create (1.0ms) INSERT 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" [["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]]
1635849
+  (1.3ms) UPDATE kithe_models
1635850
+ SET leaf_representative_id = '8878a930-2149-4716-908e-48c3a34e04fe'
1635851
+ WHERE id IN (
1635852
+ WITH RECURSIVE search_graph(id, link) AS (
1635853
+ SELECT m.id, m.representative_id
1635854
+ FROM kithe_models m
1635855
+ WHERE m.id = 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
1635856
+ UNION
1635857
+ SELECT m.id, m.representative_id
1635858
+ FROM kithe_models m, search_graph sg
1635859
+ WHERE m.representative_id = sg.id
1635860
+ )
1635861
+ SELECT id
1635862
+ FROM search_graph
1635863
+ WHERE id != 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
1635864
+ );
1635865
+ 
1635866
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635867
+  (0.3ms) SAVEPOINT active_record_1
1635868
+ Kithe::Work Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1635869
+  (1.2ms) UPDATE kithe_models
1635870
+ SET leaf_representative_id = '7c7f9633-9328-42cf-bbd8-af8fe132cbb2'
1635871
+ WHERE id IN (
1635872
+ WITH RECURSIVE search_graph(id, link) AS (
1635873
+ SELECT m.id, m.representative_id
1635874
+ FROM kithe_models m
1635875
+ WHERE m.id = 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
1635876
+ UNION
1635877
+ SELECT m.id, m.representative_id
1635878
+ FROM kithe_models m, search_graph sg
1635879
+ WHERE m.representative_id = sg.id
1635880
+ )
1635881
+ SELECT id
1635882
+ FROM search_graph
1635883
+ WHERE id != 'ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c'
1635884
+ );
1635885
+ 
1635886
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635887
+  (0.2ms) ROLLBACK
1635888
+  (0.1ms) BEGIN
1635889
+  (0.2ms) SAVEPOINT active_record_1
1635890
+ Kithe::Asset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635891
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1635892
+  (0.7ms) SAVEPOINT active_record_1
1635893
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1635894
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1635895
+  (0.1ms) SAVEPOINT active_record_1
1635896
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1635897
+ SELECT m.id, m.representative_id
1635898
+ FROM kithe_models m
1635899
+ WHERE m.id = $1
1635900
+ UNION
1635901
+ SELECT m.id, m.representative_id
1635902
+ FROM kithe_models m, find_terminal ft
1635903
+ WHERE m.id = ft.link
1635904
+ ) SELECT id
1635905
+ FROM find_terminal
1635906
+ WHERE link IS NULL
1635907
+ LIMIT 1;
1635908
+  [[nil, "579c128e-de70-45cf-8086-cd025b0ea45a"]]
1635909
+ Kithe::Work Create (4.0ms) INSERT 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" [["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]]
1635910
+  (5.3ms) UPDATE kithe_models
1635911
+ SET leaf_representative_id = '579c128e-de70-45cf-8086-cd025b0ea45a'
1635912
+ WHERE id IN (
1635913
+ WITH RECURSIVE search_graph(id, link) AS (
1635914
+ SELECT m.id, m.representative_id
1635915
+ FROM kithe_models m
1635916
+ WHERE m.id = 'a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747'
1635917
+ UNION
1635918
+ SELECT m.id, m.representative_id
1635919
+ FROM kithe_models m, search_graph sg
1635920
+ WHERE m.representative_id = sg.id
1635921
+ )
1635922
+ SELECT id
1635923
+ FROM search_graph
1635924
+ WHERE id != 'a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747'
1635925
+ );
1635926
+ 
1635927
+  (0.6ms) RELEASE SAVEPOINT active_record_1
1635928
+  (0.5ms) SAVEPOINT active_record_1
1635929
+ set_leaf_representative (1.4ms) WITH RECURSIVE find_terminal(id, link) AS (
1635930
+ SELECT m.id, m.representative_id
1635931
+ FROM kithe_models m
1635932
+ WHERE m.id = $1
1635933
+ UNION
1635934
+ SELECT m.id, m.representative_id
1635935
+ FROM kithe_models m, find_terminal ft
1635936
+ WHERE m.id = ft.link
1635937
+ ) SELECT id
1635938
+ FROM find_terminal
1635939
+ WHERE link IS NULL
1635940
+ LIMIT 1;
1635941
+  [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
1635942
+ Kithe::Work Create (4.2ms) INSERT 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" [["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]]
1635943
+  (3.4ms) UPDATE kithe_models
1635944
+ SET leaf_representative_id = '579c128e-de70-45cf-8086-cd025b0ea45a'
1635945
+ WHERE id IN (
1635946
+ WITH RECURSIVE search_graph(id, link) AS (
1635947
+ SELECT m.id, m.representative_id
1635948
+ FROM kithe_models m
1635949
+ WHERE m.id = '46cb7c73-4981-449e-af89-07f8684ee919'
1635950
+ UNION
1635951
+ SELECT m.id, m.representative_id
1635952
+ FROM kithe_models m, search_graph sg
1635953
+ WHERE m.representative_id = sg.id
1635954
+ )
1635955
+ SELECT id
1635956
+ FROM search_graph
1635957
+ WHERE id != '46cb7c73-4981-449e-af89-07f8684ee919'
1635958
+ );
1635959
+ 
1635960
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1635961
+  (0.2ms) SAVEPOINT active_record_1
1635962
+ Kithe::Work Update (1.1ms) UPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3 [["updated_at", "2020-05-28 13:27:09.539645"], ["leaf_representative_id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["id", "46cb7c73-4981-449e-af89-07f8684ee919"]]
1635963
+  (1.3ms) UPDATE kithe_models
1635964
+ SET leaf_representative_id = '73f9849c-50d0-4e9a-a4bc-90dfcfec47e8'
1635965
+ WHERE id IN (
1635966
+ WITH RECURSIVE search_graph(id, link) AS (
1635967
+ SELECT m.id, m.representative_id
1635968
+ FROM kithe_models m
1635969
+ WHERE m.id = '46cb7c73-4981-449e-af89-07f8684ee919'
1635970
+ UNION
1635971
+ SELECT m.id, m.representative_id
1635972
+ FROM kithe_models m, search_graph sg
1635973
+ WHERE m.representative_id = sg.id
1635974
+ )
1635975
+ SELECT id
1635976
+ FROM search_graph
1635977
+ WHERE id != '46cb7c73-4981-449e-af89-07f8684ee919'
1635978
+ );
1635979
+ 
1635980
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1635981
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["LIMIT", 1]]
1635982
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1635983
+ SELECT m.id, m.representative_id
1635984
+ FROM kithe_models m
1635985
+ WHERE m.id = $1
1635986
+ UNION
1635987
+ SELECT m.id, m.representative_id
1635988
+ FROM kithe_models m, find_terminal ft
1635989
+ WHERE m.id = ft.link
1635990
+ ) SELECT id
1635991
+ FROM find_terminal
1635992
+ WHERE link IS NULL
1635993
+ LIMIT 1;
1635994
+  [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
1635995
+ Kithe::Model Load (0.5ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["LIMIT", 1]]
1635996
+  (0.2ms) ROLLBACK
1635997
+  (0.2ms) BEGIN
1635998
+  (0.4ms) SAVEPOINT active_record_1
1635999
+ Kithe::Work Create (1.4ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636000
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636001
+  (0.2ms) SAVEPOINT active_record_1
1636002
+ Kithe::Work Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636003
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636004
+  (0.1ms) SAVEPOINT active_record_1
1636005
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636006
+ SELECT m.id, m.representative_id
1636007
+ FROM kithe_models m
1636008
+ WHERE m.id = $1
1636009
+ UNION
1636010
+ SELECT m.id, m.representative_id
1636011
+ FROM kithe_models m, find_terminal ft
1636012
+ WHERE m.id = ft.link
1636013
+ ) SELECT id
1636014
+ FROM find_terminal
1636015
+ WHERE link IS NULL
1636016
+ LIMIT 1;
1636017
+  [[nil, "66be62a1-54de-4035-ab32-6b7b88d04b98"]]
1636018
+ Kithe::Work Update (2.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1636019
+  (1.0ms) UPDATE kithe_models
1636020
+ SET leaf_representative_id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
1636021
+ WHERE id IN (
1636022
+ WITH RECURSIVE search_graph(id, link) AS (
1636023
+ SELECT m.id, m.representative_id
1636024
+ FROM kithe_models m
1636025
+ WHERE m.id = '6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1'
1636026
+ UNION
1636027
+ SELECT m.id, m.representative_id
1636028
+ FROM kithe_models m, search_graph sg
1636029
+ WHERE m.representative_id = sg.id
1636030
+ )
1636031
+ SELECT id
1636032
+ FROM search_graph
1636033
+ WHERE id != '6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1'
1636034
+ );
1636035
+ 
1636036
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636037
+  (0.1ms) SAVEPOINT active_record_1
1636038
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636039
+ SELECT m.id, m.representative_id
1636040
+ FROM kithe_models m
1636041
+ WHERE m.id = $1
1636042
+ UNION
1636043
+ SELECT m.id, m.representative_id
1636044
+ FROM kithe_models m, find_terminal ft
1636045
+ WHERE m.id = ft.link
1636046
+ ) SELECT id
1636047
+ FROM find_terminal
1636048
+ WHERE link IS NULL
1636049
+ LIMIT 1;
1636050
+  [[nil, "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"]]
1636051
+ Kithe::Work Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1636052
+  (1.2ms) UPDATE kithe_models
1636053
+ SET leaf_representative_id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
1636054
+ WHERE id IN (
1636055
+ WITH RECURSIVE search_graph(id, link) AS (
1636056
+ SELECT m.id, m.representative_id
1636057
+ FROM kithe_models m
1636058
+ WHERE m.id = '66be62a1-54de-4035-ab32-6b7b88d04b98'
1636059
+ UNION
1636060
+ SELECT m.id, m.representative_id
1636061
+ FROM kithe_models m, search_graph sg
1636062
+ WHERE m.representative_id = sg.id
1636063
+ )
1636064
+ SELECT id
1636065
+ FROM search_graph
1636066
+ WHERE id != '66be62a1-54de-4035-ab32-6b7b88d04b98'
1636067
+ );
1636068
+ 
1636069
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636070
+  (0.2ms) ROLLBACK
1636071
+  (0.1ms) BEGIN
1636072
+  (0.1ms) SAVEPOINT active_record_1
1636073
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636074
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636075
+  (0.1ms) SAVEPOINT active_record_1
1636076
+ Kithe::Asset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636077
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636078
+  (0.6ms) SAVEPOINT active_record_1
1636079
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636080
+ SELECT m.id, m.representative_id
1636081
+ FROM kithe_models m
1636082
+ WHERE m.id = $1
1636083
+ UNION
1636084
+ SELECT m.id, m.representative_id
1636085
+ FROM kithe_models m, find_terminal ft
1636086
+ WHERE m.id = ft.link
1636087
+ ) SELECT id
1636088
+ FROM find_terminal
1636089
+ WHERE link IS NULL
1636090
+ LIMIT 1;
1636091
+  [[nil, "1dcd3033-2243-43ac-8b66-b255f7efeadc"]]
1636092
+ Kithe::Work Create (0.8ms) INSERT 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" [["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]]
1636093
+  (0.9ms) UPDATE kithe_models
1636094
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636095
+ WHERE id IN (
1636096
+ WITH RECURSIVE search_graph(id, link) AS (
1636097
+ SELECT m.id, m.representative_id
1636098
+ FROM kithe_models m
1636099
+ WHERE m.id = 'e1b9faab-40a0-475c-8843-0f70d51e46db'
1636100
+ UNION
1636101
+ SELECT m.id, m.representative_id
1636102
+ FROM kithe_models m, search_graph sg
1636103
+ WHERE m.representative_id = sg.id
1636104
+ )
1636105
+ SELECT id
1636106
+ FROM search_graph
1636107
+ WHERE id != 'e1b9faab-40a0-475c-8843-0f70d51e46db'
1636108
+ );
1636109
+ 
1636110
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636111
+  (2.3ms) SAVEPOINT active_record_1
1636112
+ set_leaf_representative (0.9ms) WITH RECURSIVE find_terminal(id, link) AS (
1636113
+ SELECT m.id, m.representative_id
1636114
+ FROM kithe_models m
1636115
+ WHERE m.id = $1
1636116
+ UNION
1636117
+ SELECT m.id, m.representative_id
1636118
+ FROM kithe_models m, find_terminal ft
1636119
+ WHERE m.id = ft.link
1636120
+ ) SELECT id
1636121
+ FROM find_terminal
1636122
+ WHERE link IS NULL
1636123
+ LIMIT 1;
1636124
+  [[nil, "eb947234-5410-44ec-812f-1b97917e5163"]]
1636125
+ Kithe::Work Create (1.8ms) INSERT 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" [["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]]
1636126
+  (0.9ms) UPDATE kithe_models
1636127
+ SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
1636128
+ WHERE id IN (
1636129
+ WITH RECURSIVE search_graph(id, link) AS (
1636130
+ SELECT m.id, m.representative_id
1636131
+ FROM kithe_models m
1636132
+ WHERE m.id = 'dc580c76-9db9-4c04-8887-e39b0e55479c'
1636133
+ UNION
1636134
+ SELECT m.id, m.representative_id
1636135
+ FROM kithe_models m, search_graph sg
1636136
+ WHERE m.representative_id = sg.id
1636137
+ )
1636138
+ SELECT id
1636139
+ FROM search_graph
1636140
+ WHERE id != 'dc580c76-9db9-4c04-8887-e39b0e55479c'
1636141
+ );
1636142
+ 
1636143
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636144
+  (0.1ms) SAVEPOINT active_record_1
1636145
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636146
+ SELECT m.id, m.representative_id
1636147
+ FROM kithe_models m
1636148
+ WHERE m.id = $1
1636149
+ UNION
1636150
+ SELECT m.id, m.representative_id
1636151
+ FROM kithe_models m, find_terminal ft
1636152
+ WHERE m.id = ft.link
1636153
+ ) SELECT id
1636154
+ FROM find_terminal
1636155
+ WHERE link IS NULL
1636156
+ LIMIT 1;
1636157
+  [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
1636158
+ Kithe::Work Create (2.2ms) INSERT 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" [["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]]
1636159
+  (0.9ms) UPDATE kithe_models
1636160
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636161
+ WHERE id IN (
1636162
+ WITH RECURSIVE search_graph(id, link) AS (
1636163
+ SELECT m.id, m.representative_id
1636164
+ FROM kithe_models m
1636165
+ WHERE m.id = 'dc24e734-fbf3-4464-826c-f567ea9527f8'
1636166
+ UNION
1636167
+ SELECT m.id, m.representative_id
1636168
+ FROM kithe_models m, search_graph sg
1636169
+ WHERE m.representative_id = sg.id
1636170
+ )
1636171
+ SELECT id
1636172
+ FROM search_graph
1636173
+ WHERE id != 'dc24e734-fbf3-4464-826c-f567ea9527f8'
1636174
+ );
1636175
+ 
1636176
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636177
+  (0.1ms) SAVEPOINT active_record_1
1636178
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636179
+ SELECT m.id, m.representative_id
1636180
+ FROM kithe_models m
1636181
+ WHERE m.id = $1
1636182
+ UNION
1636183
+ SELECT m.id, m.representative_id
1636184
+ FROM kithe_models m, find_terminal ft
1636185
+ WHERE m.id = ft.link
1636186
+ ) SELECT id
1636187
+ FROM find_terminal
1636188
+ WHERE link IS NULL
1636189
+ LIMIT 1;
1636190
+  [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
1636191
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636192
+  (0.9ms) UPDATE kithe_models
1636193
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636194
+ WHERE id IN (
1636195
+ WITH RECURSIVE search_graph(id, link) AS (
1636196
+ SELECT m.id, m.representative_id
1636197
+ FROM kithe_models m
1636198
+ WHERE m.id = 'ea150d33-8322-446b-8b1d-ba9cb7327d60'
1636199
+ UNION
1636200
+ SELECT m.id, m.representative_id
1636201
+ FROM kithe_models m, search_graph sg
1636202
+ WHERE m.representative_id = sg.id
1636203
+ )
1636204
+ SELECT id
1636205
+ FROM search_graph
1636206
+ WHERE id != 'ea150d33-8322-446b-8b1d-ba9cb7327d60'
1636207
+ );
1636208
+ 
1636209
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636210
+  (0.1ms) SAVEPOINT active_record_1
1636211
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636212
+ SELECT m.id, m.representative_id
1636213
+ FROM kithe_models m
1636214
+ WHERE m.id = $1
1636215
+ UNION
1636216
+ SELECT m.id, m.representative_id
1636217
+ FROM kithe_models m, find_terminal ft
1636218
+ WHERE m.id = ft.link
1636219
+ ) SELECT id
1636220
+ FROM find_terminal
1636221
+ WHERE link IS NULL
1636222
+ LIMIT 1;
1636223
+  [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
1636224
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636225
+  (1.0ms) UPDATE kithe_models
1636226
+ SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
1636227
+ WHERE id IN (
1636228
+ WITH RECURSIVE search_graph(id, link) AS (
1636229
+ SELECT m.id, m.representative_id
1636230
+ FROM kithe_models m
1636231
+ WHERE m.id = 'ffc3ced1-8252-43ea-996f-3f9594e59859'
1636232
+ UNION
1636233
+ SELECT m.id, m.representative_id
1636234
+ FROM kithe_models m, search_graph sg
1636235
+ WHERE m.representative_id = sg.id
1636236
+ )
1636237
+ SELECT id
1636238
+ FROM search_graph
1636239
+ WHERE id != 'ffc3ced1-8252-43ea-996f-3f9594e59859'
1636240
+ );
1636241
+ 
1636242
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636243
+  (0.2ms) SAVEPOINT active_record_1
1636244
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636245
+ SELECT m.id, m.representative_id
1636246
+ FROM kithe_models m
1636247
+ WHERE m.id = $1
1636248
+ UNION
1636249
+ SELECT m.id, m.representative_id
1636250
+ FROM kithe_models m, find_terminal ft
1636251
+ WHERE m.id = ft.link
1636252
+ ) SELECT id
1636253
+ FROM find_terminal
1636254
+ WHERE link IS NULL
1636255
+ LIMIT 1;
1636256
+  [[nil, "dc24e734-fbf3-4464-826c-f567ea9527f8"]]
1636257
+ Kithe::Work Create (0.9ms) INSERT 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" [["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]]
1636258
+  (0.8ms) UPDATE kithe_models
1636259
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636260
+ WHERE id IN (
1636261
+ WITH RECURSIVE search_graph(id, link) AS (
1636262
+ SELECT m.id, m.representative_id
1636263
+ FROM kithe_models m
1636264
+ WHERE m.id = '1f9fb17c-5719-4358-bfd1-ad10e92c7208'
1636265
+ UNION
1636266
+ SELECT m.id, m.representative_id
1636267
+ FROM kithe_models m, search_graph sg
1636268
+ WHERE m.representative_id = sg.id
1636269
+ )
1636270
+ SELECT id
1636271
+ FROM search_graph
1636272
+ WHERE id != '1f9fb17c-5719-4358-bfd1-ad10e92c7208'
1636273
+ );
1636274
+ 
1636275
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636276
+  (0.1ms) SAVEPOINT active_record_1
1636277
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636278
+ SELECT m.id, m.representative_id
1636279
+ FROM kithe_models m
1636280
+ WHERE m.id = $1
1636281
+ UNION
1636282
+ SELECT m.id, m.representative_id
1636283
+ FROM kithe_models m, find_terminal ft
1636284
+ WHERE m.id = ft.link
1636285
+ ) SELECT id
1636286
+ FROM find_terminal
1636287
+ WHERE link IS NULL
1636288
+ LIMIT 1;
1636289
+  [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
1636290
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636291
+  (0.9ms) UPDATE kithe_models
1636292
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636293
+ WHERE id IN (
1636294
+ WITH RECURSIVE search_graph(id, link) AS (
1636295
+ SELECT m.id, m.representative_id
1636296
+ FROM kithe_models m
1636297
+ WHERE m.id = '6df201a6-00b2-4031-b1c9-7cfcf5ebce58'
1636298
+ UNION
1636299
+ SELECT m.id, m.representative_id
1636300
+ FROM kithe_models m, search_graph sg
1636301
+ WHERE m.representative_id = sg.id
1636302
+ )
1636303
+ SELECT id
1636304
+ FROM search_graph
1636305
+ WHERE id != '6df201a6-00b2-4031-b1c9-7cfcf5ebce58'
1636306
+ );
1636307
+ 
1636308
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1636309
+  (0.3ms) SAVEPOINT active_record_1
1636310
+ set_leaf_representative (0.4ms) WITH RECURSIVE find_terminal(id, link) AS (
1636311
+ SELECT m.id, m.representative_id
1636312
+ FROM kithe_models m
1636313
+ WHERE m.id = $1
1636314
+ UNION
1636315
+ SELECT m.id, m.representative_id
1636316
+ FROM kithe_models m, find_terminal ft
1636317
+ WHERE m.id = ft.link
1636318
+ ) SELECT id
1636319
+ FROM find_terminal
1636320
+ WHERE link IS NULL
1636321
+ LIMIT 1;
1636322
+  [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
1636323
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636324
+  (0.9ms) UPDATE kithe_models
1636325
+ SET leaf_representative_id = '1dcd3033-2243-43ac-8b66-b255f7efeadc'
1636326
+ WHERE id IN (
1636327
+ WITH RECURSIVE search_graph(id, link) AS (
1636328
+ SELECT m.id, m.representative_id
1636329
+ FROM kithe_models m
1636330
+ WHERE m.id = '07fd4c28-5618-4f35-a71a-075de1217e0d'
1636331
+ UNION
1636332
+ SELECT m.id, m.representative_id
1636333
+ FROM kithe_models m, search_graph sg
1636334
+ WHERE m.representative_id = sg.id
1636335
+ )
1636336
+ SELECT id
1636337
+ FROM search_graph
1636338
+ WHERE id != '07fd4c28-5618-4f35-a71a-075de1217e0d'
1636339
+ );
1636340
+ 
1636341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636342
+  (0.2ms) SAVEPOINT active_record_1
1636343
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636344
+ SELECT m.id, m.representative_id
1636345
+ FROM kithe_models m
1636346
+ WHERE m.id = $1
1636347
+ UNION
1636348
+ SELECT m.id, m.representative_id
1636349
+ FROM kithe_models m, find_terminal ft
1636350
+ WHERE m.id = ft.link
1636351
+ ) SELECT id
1636352
+ FROM find_terminal
1636353
+ WHERE link IS NULL
1636354
+ LIMIT 1;
1636355
+  [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
1636356
+ Kithe::Work Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1636357
+  (1.2ms) UPDATE kithe_models
1636358
+ SET leaf_representative_id = 'eb947234-5410-44ec-812f-1b97917e5163'
1636359
+ WHERE id IN (
1636360
+ WITH RECURSIVE search_graph(id, link) AS (
1636361
+ SELECT m.id, m.representative_id
1636362
+ FROM kithe_models m
1636363
+ WHERE m.id = 'dc24e734-fbf3-4464-826c-f567ea9527f8'
1636364
+ UNION
1636365
+ SELECT m.id, m.representative_id
1636366
+ FROM kithe_models m, search_graph sg
1636367
+ WHERE m.representative_id = sg.id
1636368
+ )
1636369
+ SELECT id
1636370
+ FROM search_graph
1636371
+ WHERE id != 'dc24e734-fbf3-4464-826c-f567ea9527f8'
1636372
+ );
1636373
+ 
1636374
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1636375
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "dc24e734-fbf3-4464-826c-f567ea9527f8"], ["LIMIT", 1]]
1636376
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["LIMIT", 1]]
1636377
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "6df201a6-00b2-4031-b1c9-7cfcf5ebce58"], ["LIMIT", 1]]
1636378
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "07fd4c28-5618-4f35-a71a-075de1217e0d"], ["LIMIT", 1]]
1636379
+ Kithe::Work Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "ea150d33-8322-446b-8b1d-ba9cb7327d60"], ["LIMIT", 1]]
1636380
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["LIMIT", 1]]
1636381
+  (0.7ms) ROLLBACK
1636382
+  (0.1ms) BEGIN
1636383
+  (0.2ms) SAVEPOINT active_record_1
1636384
+ Kithe::Asset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636385
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636386
+  (0.2ms) SAVEPOINT active_record_1
1636387
+ Kithe::Asset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636388
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636389
+  (0.2ms) SAVEPOINT active_record_1
1636390
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636391
+ SELECT m.id, m.representative_id
1636392
+ FROM kithe_models m
1636393
+ WHERE m.id = $1
1636394
+ UNION
1636395
+ SELECT m.id, m.representative_id
1636396
+ FROM kithe_models m, find_terminal ft
1636397
+ WHERE m.id = ft.link
1636398
+ ) SELECT id
1636399
+ FROM find_terminal
1636400
+ WHERE link IS NULL
1636401
+ LIMIT 1;
1636402
+  [[nil, "2a3bafee-568a-4789-9fb0-18ba8580ebdb"]]
1636403
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636404
+  (1.2ms) UPDATE kithe_models
1636405
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636406
+ WHERE id IN (
1636407
+ WITH RECURSIVE search_graph(id, link) AS (
1636408
+ SELECT m.id, m.representative_id
1636409
+ FROM kithe_models m
1636410
+ WHERE m.id = 'd3c46495-2aab-434d-8bd2-f993d849db3d'
1636411
+ UNION
1636412
+ SELECT m.id, m.representative_id
1636413
+ FROM kithe_models m, search_graph sg
1636414
+ WHERE m.representative_id = sg.id
1636415
+ )
1636416
+ SELECT id
1636417
+ FROM search_graph
1636418
+ WHERE id != 'd3c46495-2aab-434d-8bd2-f993d849db3d'
1636419
+ );
1636420
+ 
1636421
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636422
+  (0.1ms) SAVEPOINT active_record_1
1636423
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636424
+ SELECT m.id, m.representative_id
1636425
+ FROM kithe_models m
1636426
+ WHERE m.id = $1
1636427
+ UNION
1636428
+ SELECT m.id, m.representative_id
1636429
+ FROM kithe_models m, find_terminal ft
1636430
+ WHERE m.id = ft.link
1636431
+ ) SELECT id
1636432
+ FROM find_terminal
1636433
+ WHERE link IS NULL
1636434
+ LIMIT 1;
1636435
+  [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
1636436
+ Kithe::Work Create (4.5ms) INSERT 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" [["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]]
1636437
+  (1.3ms) UPDATE kithe_models
1636438
+ SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
1636439
+ WHERE id IN (
1636440
+ WITH RECURSIVE search_graph(id, link) AS (
1636441
+ SELECT m.id, m.representative_id
1636442
+ FROM kithe_models m
1636443
+ WHERE m.id = 'cec20540-1d95-4b79-b9c7-ba38e9ec5905'
1636444
+ UNION
1636445
+ SELECT m.id, m.representative_id
1636446
+ FROM kithe_models m, search_graph sg
1636447
+ WHERE m.representative_id = sg.id
1636448
+ )
1636449
+ SELECT id
1636450
+ FROM search_graph
1636451
+ WHERE id != 'cec20540-1d95-4b79-b9c7-ba38e9ec5905'
1636452
+ );
1636453
+ 
1636454
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636455
+  (0.1ms) SAVEPOINT active_record_1
1636456
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636457
+ SELECT m.id, m.representative_id
1636458
+ FROM kithe_models m
1636459
+ WHERE m.id = $1
1636460
+ UNION
1636461
+ SELECT m.id, m.representative_id
1636462
+ FROM kithe_models m, find_terminal ft
1636463
+ WHERE m.id = ft.link
1636464
+ ) SELECT id
1636465
+ FROM find_terminal
1636466
+ WHERE link IS NULL
1636467
+ LIMIT 1;
1636468
+  [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
1636469
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636470
+  (1.0ms) UPDATE kithe_models
1636471
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636472
+ WHERE id IN (
1636473
+ WITH RECURSIVE search_graph(id, link) AS (
1636474
+ SELECT m.id, m.representative_id
1636475
+ FROM kithe_models m
1636476
+ WHERE m.id = '0d195872-11ad-43c0-9a82-511439009819'
1636477
+ UNION
1636478
+ SELECT m.id, m.representative_id
1636479
+ FROM kithe_models m, search_graph sg
1636480
+ WHERE m.representative_id = sg.id
1636481
+ )
1636482
+ SELECT id
1636483
+ FROM search_graph
1636484
+ WHERE id != '0d195872-11ad-43c0-9a82-511439009819'
1636485
+ );
1636486
+ 
1636487
+  (1.3ms) RELEASE SAVEPOINT active_record_1
1636488
+  (0.1ms) SAVEPOINT active_record_1
1636489
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636490
+ SELECT m.id, m.representative_id
1636491
+ FROM kithe_models m
1636492
+ WHERE m.id = $1
1636493
+ UNION
1636494
+ SELECT m.id, m.representative_id
1636495
+ FROM kithe_models m, find_terminal ft
1636496
+ WHERE m.id = ft.link
1636497
+ ) SELECT id
1636498
+ FROM find_terminal
1636499
+ WHERE link IS NULL
1636500
+ LIMIT 1;
1636501
+  [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
1636502
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636503
+  (0.8ms) UPDATE kithe_models
1636504
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636505
+ WHERE id IN (
1636506
+ WITH RECURSIVE search_graph(id, link) AS (
1636507
+ SELECT m.id, m.representative_id
1636508
+ FROM kithe_models m
1636509
+ WHERE m.id = 'b87d8772-deb7-45f9-8a8c-704d425c3c73'
1636510
+ UNION
1636511
+ SELECT m.id, m.representative_id
1636512
+ FROM kithe_models m, search_graph sg
1636513
+ WHERE m.representative_id = sg.id
1636514
+ )
1636515
+ SELECT id
1636516
+ FROM search_graph
1636517
+ WHERE id != 'b87d8772-deb7-45f9-8a8c-704d425c3c73'
1636518
+ );
1636519
+ 
1636520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636521
+  (0.1ms) SAVEPOINT active_record_1
1636522
+ set_leaf_representative (0.5ms) WITH RECURSIVE find_terminal(id, link) AS (
1636523
+ SELECT m.id, m.representative_id
1636524
+ FROM kithe_models m
1636525
+ WHERE m.id = $1
1636526
+ UNION
1636527
+ SELECT m.id, m.representative_id
1636528
+ FROM kithe_models m, find_terminal ft
1636529
+ WHERE m.id = ft.link
1636530
+ ) SELECT id
1636531
+ FROM find_terminal
1636532
+ WHERE link IS NULL
1636533
+ LIMIT 1;
1636534
+  [[nil, "cec20540-1d95-4b79-b9c7-ba38e9ec5905"]]
1636535
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636536
+  (0.9ms) UPDATE kithe_models
1636537
+ SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
1636538
+ WHERE id IN (
1636539
+ WITH RECURSIVE search_graph(id, link) AS (
1636540
+ SELECT m.id, m.representative_id
1636541
+ FROM kithe_models m
1636542
+ WHERE m.id = '7224b786-60ca-483b-97b1-b14f2fed8dce'
1636543
+ UNION
1636544
+ SELECT m.id, m.representative_id
1636545
+ FROM kithe_models m, search_graph sg
1636546
+ WHERE m.representative_id = sg.id
1636547
+ )
1636548
+ SELECT id
1636549
+ FROM search_graph
1636550
+ WHERE id != '7224b786-60ca-483b-97b1-b14f2fed8dce'
1636551
+ );
1636552
+ 
1636553
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636554
+  (0.2ms) SAVEPOINT active_record_1
1636555
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636556
+ SELECT m.id, m.representative_id
1636557
+ FROM kithe_models m
1636558
+ WHERE m.id = $1
1636559
+ UNION
1636560
+ SELECT m.id, m.representative_id
1636561
+ FROM kithe_models m, find_terminal ft
1636562
+ WHERE m.id = ft.link
1636563
+ ) SELECT id
1636564
+ FROM find_terminal
1636565
+ WHERE link IS NULL
1636566
+ LIMIT 1;
1636567
+  [[nil, "0d195872-11ad-43c0-9a82-511439009819"]]
1636568
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636569
+  (0.9ms) UPDATE kithe_models
1636570
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636571
+ WHERE id IN (
1636572
+ WITH RECURSIVE search_graph(id, link) AS (
1636573
+ SELECT m.id, m.representative_id
1636574
+ FROM kithe_models m
1636575
+ WHERE m.id = 'f306b045-f25b-4d56-8c68-93c7c9c5bea1'
1636576
+ UNION
1636577
+ SELECT m.id, m.representative_id
1636578
+ FROM kithe_models m, search_graph sg
1636579
+ WHERE m.representative_id = sg.id
1636580
+ )
1636581
+ SELECT id
1636582
+ FROM search_graph
1636583
+ WHERE id != 'f306b045-f25b-4d56-8c68-93c7c9c5bea1'
1636584
+ );
1636585
+ 
1636586
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636587
+  (0.2ms) SAVEPOINT active_record_1
1636588
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636589
+ SELECT m.id, m.representative_id
1636590
+ FROM kithe_models m
1636591
+ WHERE m.id = $1
1636592
+ UNION
1636593
+ SELECT m.id, m.representative_id
1636594
+ FROM kithe_models m, find_terminal ft
1636595
+ WHERE m.id = ft.link
1636596
+ ) SELECT id
1636597
+ FROM find_terminal
1636598
+ WHERE link IS NULL
1636599
+ LIMIT 1;
1636600
+  [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
1636601
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636602
+  (0.9ms) UPDATE kithe_models
1636603
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636604
+ WHERE id IN (
1636605
+ WITH RECURSIVE search_graph(id, link) AS (
1636606
+ SELECT m.id, m.representative_id
1636607
+ FROM kithe_models m
1636608
+ WHERE m.id = '845809c1-5fae-49bf-bb19-7c1a3b4ed4c3'
1636609
+ UNION
1636610
+ SELECT m.id, m.representative_id
1636611
+ FROM kithe_models m, search_graph sg
1636612
+ WHERE m.representative_id = sg.id
1636613
+ )
1636614
+ SELECT id
1636615
+ FROM search_graph
1636616
+ WHERE id != '845809c1-5fae-49bf-bb19-7c1a3b4ed4c3'
1636617
+ );
1636618
+ 
1636619
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636620
+  (0.1ms) SAVEPOINT active_record_1
1636621
+ set_leaf_representative (0.3ms) WITH RECURSIVE find_terminal(id, link) AS (
1636622
+ SELECT m.id, m.representative_id
1636623
+ FROM kithe_models m
1636624
+ WHERE m.id = $1
1636625
+ UNION
1636626
+ SELECT m.id, m.representative_id
1636627
+ FROM kithe_models m, find_terminal ft
1636628
+ WHERE m.id = ft.link
1636629
+ ) SELECT id
1636630
+ FROM find_terminal
1636631
+ WHERE link IS NULL
1636632
+ LIMIT 1;
1636633
+  [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
1636634
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636635
+  (0.9ms) UPDATE kithe_models
1636636
+ SET leaf_representative_id = '2a3bafee-568a-4789-9fb0-18ba8580ebdb'
1636637
+ WHERE id IN (
1636638
+ WITH RECURSIVE search_graph(id, link) AS (
1636639
+ SELECT m.id, m.representative_id
1636640
+ FROM kithe_models m
1636641
+ WHERE m.id = '9a9cc391-7034-48c3-944f-1cadd9bafe40'
1636642
+ UNION
1636643
+ SELECT m.id, m.representative_id
1636644
+ FROM kithe_models m, search_graph sg
1636645
+ WHERE m.representative_id = sg.id
1636646
+ )
1636647
+ SELECT id
1636648
+ FROM search_graph
1636649
+ WHERE id != '9a9cc391-7034-48c3-944f-1cadd9bafe40'
1636650
+ );
1636651
+ 
1636652
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1636653
+  (0.1ms) SAVEPOINT active_record_1
1636654
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636655
+ SELECT m.id, m.representative_id
1636656
+ FROM kithe_models m
1636657
+ WHERE m.id = $1
1636658
+ UNION
1636659
+ SELECT m.id, m.representative_id
1636660
+ FROM kithe_models m, find_terminal ft
1636661
+ WHERE m.id = ft.link
1636662
+ ) SELECT id
1636663
+ FROM find_terminal
1636664
+ WHERE link IS NULL
1636665
+ LIMIT 1;
1636666
+  [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
1636667
+ Kithe::Work Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1636668
+  (1.4ms) UPDATE kithe_models
1636669
+ SET leaf_representative_id = '5ff79c01-ec05-497f-8dd4-c6a9673684ff'
1636670
+ WHERE id IN (
1636671
+ WITH RECURSIVE search_graph(id, link) AS (
1636672
+ SELECT m.id, m.representative_id
1636673
+ FROM kithe_models m
1636674
+ WHERE m.id = 'd3c46495-2aab-434d-8bd2-f993d849db3d'
1636675
+ UNION
1636676
+ SELECT m.id, m.representative_id
1636677
+ FROM kithe_models m, search_graph sg
1636678
+ WHERE m.representative_id = sg.id
1636679
+ )
1636680
+ SELECT id
1636681
+ FROM search_graph
1636682
+ WHERE id != 'd3c46495-2aab-434d-8bd2-f993d849db3d'
1636683
+ );
1636684
+ 
1636685
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636686
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "0d195872-11ad-43c0-9a82-511439009819"], ["LIMIT", 1]]
1636687
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "b87d8772-deb7-45f9-8a8c-704d425c3c73"], ["LIMIT", 1]]
1636688
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["LIMIT", 1]]
1636689
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "845809c1-5fae-49bf-bb19-7c1a3b4ed4c3"], ["LIMIT", 1]]
1636690
+ Kithe::Work Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "9a9cc391-7034-48c3-944f-1cadd9bafe40"], ["LIMIT", 1]]
1636691
+  (0.2ms) ROLLBACK
1636692
+  (0.1ms) BEGIN
1636693
+  (0.2ms) SAVEPOINT active_record_1
1636694
+ Kithe::Asset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636695
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1636696
+  (0.5ms) SAVEPOINT active_record_1
1636697
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636698
+ SELECT m.id, m.representative_id
1636699
+ FROM kithe_models m
1636700
+ WHERE m.id = $1
1636701
+ UNION
1636702
+ SELECT m.id, m.representative_id
1636703
+ FROM kithe_models m, find_terminal ft
1636704
+ WHERE m.id = ft.link
1636705
+ ) SELECT id
1636706
+ FROM find_terminal
1636707
+ WHERE link IS NULL
1636708
+ LIMIT 1;
1636709
+  [[nil, "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
1636710
+ Kithe::Work Create (1.8ms) INSERT 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" [["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]]
1636711
+  (1.0ms) UPDATE kithe_models
1636712
+ SET leaf_representative_id = '1b99f6bb-f336-4e58-849d-486b2d591c85'
1636713
+ WHERE id IN (
1636714
+ WITH RECURSIVE search_graph(id, link) AS (
1636715
+ SELECT m.id, m.representative_id
1636716
+ FROM kithe_models m
1636717
+ WHERE m.id = 'a2d6ebe6-8972-44e6-9a35-70871642686e'
1636718
+ UNION
1636719
+ SELECT m.id, m.representative_id
1636720
+ FROM kithe_models m, search_graph sg
1636721
+ WHERE m.representative_id = sg.id
1636722
+ )
1636723
+ SELECT id
1636724
+ FROM search_graph
1636725
+ WHERE id != 'a2d6ebe6-8972-44e6-9a35-70871642686e'
1636726
+ );
1636727
+ 
1636728
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636729
+  (0.2ms) SAVEPOINT active_record_1
1636730
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636731
+ SELECT m.id, m.representative_id
1636732
+ FROM kithe_models m
1636733
+ WHERE m.id = $1
1636734
+ UNION
1636735
+ SELECT m.id, m.representative_id
1636736
+ FROM kithe_models m, find_terminal ft
1636737
+ WHERE m.id = ft.link
1636738
+ ) SELECT id
1636739
+ FROM find_terminal
1636740
+ WHERE link IS NULL
1636741
+ LIMIT 1;
1636742
+  [[nil, "a2d6ebe6-8972-44e6-9a35-70871642686e"]]
1636743
+ Kithe::Collection Create (0.6ms) INSERT 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" [["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]]
1636744
+  (1.3ms) UPDATE kithe_models
1636745
+ SET leaf_representative_id = '1b99f6bb-f336-4e58-849d-486b2d591c85'
1636746
+ WHERE id IN (
1636747
+ WITH RECURSIVE search_graph(id, link) AS (
1636748
+ SELECT m.id, m.representative_id
1636749
+ FROM kithe_models m
1636750
+ WHERE m.id = '95d98bb1-a898-442d-9149-b1d2c3ba1d6e'
1636751
+ UNION
1636752
+ SELECT m.id, m.representative_id
1636753
+ FROM kithe_models m, search_graph sg
1636754
+ WHERE m.representative_id = sg.id
1636755
+ )
1636756
+ SELECT id
1636757
+ FROM search_graph
1636758
+ WHERE id != '95d98bb1-a898-442d-9149-b1d2c3ba1d6e'
1636759
+ );
1636760
+ 
1636761
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636762
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models"
1636763
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
1636764
+  (2.4ms) ROLLBACK
1636765
+  (0.3ms) BEGIN
1636766
+  (0.2ms) SAVEPOINT active_record_1
1636767
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636768
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636769
+  (22.4ms) SAVEPOINT active_record_1
1636770
+ set_leaf_representative (0.5ms) WITH RECURSIVE find_terminal(id, link) AS (
1636771
+ SELECT m.id, m.representative_id
1636772
+ FROM kithe_models m
1636773
+ WHERE m.id = $1
1636774
+ UNION
1636775
+ SELECT m.id, m.representative_id
1636776
+ FROM kithe_models m, find_terminal ft
1636777
+ WHERE m.id = ft.link
1636778
+ ) SELECT id
1636779
+ FROM find_terminal
1636780
+ WHERE link IS NULL
1636781
+ LIMIT 1;
1636782
+  [[nil, "071d1477-1105-4d70-b3c1-0927faf167a0"]]
1636783
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636784
+  (86.8ms) UPDATE kithe_models
1636785
+ SET leaf_representative_id = '071d1477-1105-4d70-b3c1-0927faf167a0'
1636786
+ WHERE id IN (
1636787
+ WITH RECURSIVE search_graph(id, link) AS (
1636788
+ SELECT m.id, m.representative_id
1636789
+ FROM kithe_models m
1636790
+ WHERE m.id = '7b8ba2f7-766d-4365-9d5e-1f441c98812e'
1636791
+ UNION
1636792
+ SELECT m.id, m.representative_id
1636793
+ FROM kithe_models m, search_graph sg
1636794
+ WHERE m.representative_id = sg.id
1636795
+ )
1636796
+ SELECT id
1636797
+ FROM search_graph
1636798
+ WHERE id != '7b8ba2f7-766d-4365-9d5e-1f441c98812e'
1636799
+ );
1636800
+ 
1636801
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636802
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["LIMIT", 1]]
1636803
+  (0.2ms) SAVEPOINT active_record_1
1636804
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
1636805
+ Kithe::Model Load (0.3ms) SELECT "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 [["containee_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
1636806
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
1636807
+  (1.2ms) UPDATE kithe_models
1636808
+ SET leaf_representative_id = NULL, representative_id = NULL
1636809
+ WHERE id IN (
1636810
+ WITH RECURSIVE search_graph(id, link) AS (
1636811
+ SELECT m.id, m.representative_id
1636812
+ FROM kithe_models m
1636813
+ WHERE m.id = '071d1477-1105-4d70-b3c1-0927faf167a0'
1636814
+ UNION
1636815
+ SELECT m.id, m.representative_id
1636816
+ FROM kithe_models m, search_graph sg
1636817
+ WHERE m.representative_id = sg.id
1636818
+ )
1636819
+ SELECT id
1636820
+ FROM search_graph
1636821
+ WHERE id != '071d1477-1105-4d70-b3c1-0927faf167a0'
1636822
+ );
1636823
+ 
1636824
+ Kithe::Asset Destroy (0.7ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
1636825
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636826
+ Kithe::Work Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "7b8ba2f7-766d-4365-9d5e-1f441c98812e"], ["LIMIT", 1]]
1636827
+  (0.3ms) ROLLBACK
1636828
+  (0.1ms) BEGIN
1636829
+  (0.2ms) SAVEPOINT active_record_1
1636830
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636831
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636832
+  (0.2ms) SAVEPOINT active_record_1
1636833
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636834
+ SELECT m.id, m.representative_id
1636835
+ FROM kithe_models m
1636836
+ WHERE m.id = $1
1636837
+ UNION
1636838
+ SELECT m.id, m.representative_id
1636839
+ FROM kithe_models m, find_terminal ft
1636840
+ WHERE m.id = ft.link
1636841
+ ) SELECT id
1636842
+ FROM find_terminal
1636843
+ WHERE link IS NULL
1636844
+ LIMIT 1;
1636845
+  [[nil, "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"]]
1636846
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636847
+  (0.9ms) UPDATE kithe_models
1636848
+ SET leaf_representative_id = 'd037d8f5-934e-4ba7-baec-e3571ab3d8cd'
1636849
+ WHERE id IN (
1636850
+ WITH RECURSIVE search_graph(id, link) AS (
1636851
+ SELECT m.id, m.representative_id
1636852
+ FROM kithe_models m
1636853
+ WHERE m.id = '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
1636854
+ UNION
1636855
+ SELECT m.id, m.representative_id
1636856
+ FROM kithe_models m, search_graph sg
1636857
+ WHERE m.representative_id = sg.id
1636858
+ )
1636859
+ SELECT id
1636860
+ FROM search_graph
1636861
+ WHERE id != '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
1636862
+ );
1636863
+ 
1636864
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636865
+  (0.2ms) SAVEPOINT active_record_1
1636866
+ set_leaf_representative (0.5ms) WITH RECURSIVE find_terminal(id, link) AS (
1636867
+ SELECT m.id, m.representative_id
1636868
+ FROM kithe_models m
1636869
+ WHERE m.id = $1
1636870
+ UNION
1636871
+ SELECT m.id, m.representative_id
1636872
+ FROM kithe_models m, find_terminal ft
1636873
+ WHERE m.id = ft.link
1636874
+ ) SELECT id
1636875
+ FROM find_terminal
1636876
+ WHERE link IS NULL
1636877
+ LIMIT 1;
1636878
+  [[nil, "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
1636879
+ Kithe::Work Create (1.3ms) INSERT 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" [["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]]
1636880
+  (1.0ms) UPDATE kithe_models
1636881
+ SET leaf_representative_id = 'd037d8f5-934e-4ba7-baec-e3571ab3d8cd'
1636882
+ WHERE id IN (
1636883
+ WITH RECURSIVE search_graph(id, link) AS (
1636884
+ SELECT m.id, m.representative_id
1636885
+ FROM kithe_models m
1636886
+ WHERE m.id = '4c0b5951-09d5-4e35-8707-513e33e20fa2'
1636887
+ UNION
1636888
+ SELECT m.id, m.representative_id
1636889
+ FROM kithe_models m, search_graph sg
1636890
+ WHERE m.representative_id = sg.id
1636891
+ )
1636892
+ SELECT id
1636893
+ FROM search_graph
1636894
+ WHERE id != '4c0b5951-09d5-4e35-8707-513e33e20fa2'
1636895
+ );
1636896
+ 
1636897
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636898
+  (0.2ms) SAVEPOINT active_record_1
1636899
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
1636900
+ Kithe::Model Load (0.3ms) SELECT "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 [["containee_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
1636901
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
1636902
+  (1.0ms) UPDATE kithe_models
1636903
+ SET leaf_representative_id = NULL, representative_id = NULL
1636904
+ WHERE id IN (
1636905
+ WITH RECURSIVE search_graph(id, link) AS (
1636906
+ SELECT m.id, m.representative_id
1636907
+ FROM kithe_models m
1636908
+ WHERE m.id = '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
1636909
+ UNION
1636910
+ SELECT m.id, m.representative_id
1636911
+ FROM kithe_models m, search_graph sg
1636912
+ WHERE m.representative_id = sg.id
1636913
+ )
1636914
+ SELECT id
1636915
+ FROM search_graph
1636916
+ WHERE id != '4046e7aa-b7ca-406f-ad14-0ea8f46aad55'
1636917
+ );
1636918
+ 
1636919
+ Kithe::Work Destroy (0.6ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
1636920
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636921
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "4c0b5951-09d5-4e35-8707-513e33e20fa2"], ["LIMIT", 1]]
1636922
+  (0.2ms) ROLLBACK
1636923
+  (0.1ms) BEGIN
1636924
+  (0.2ms) SAVEPOINT active_record_1
1636925
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1636926
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636927
+  (0.2ms) SAVEPOINT active_record_1
1636928
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636929
+ SELECT m.id, m.representative_id
1636930
+ FROM kithe_models m
1636931
+ WHERE m.id = $1
1636932
+ UNION
1636933
+ SELECT m.id, m.representative_id
1636934
+ FROM kithe_models m, find_terminal ft
1636935
+ WHERE m.id = ft.link
1636936
+ ) SELECT id
1636937
+ FROM find_terminal
1636938
+ WHERE link IS NULL
1636939
+ LIMIT 1;
1636940
+  [[nil, "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
1636941
+ Kithe::Work Create (0.6ms) INSERT 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" [["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]]
1636942
+  (0.9ms) UPDATE kithe_models
1636943
+ SET leaf_representative_id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
1636944
+ WHERE id IN (
1636945
+ WITH RECURSIVE search_graph(id, link) AS (
1636946
+ SELECT m.id, m.representative_id
1636947
+ FROM kithe_models m
1636948
+ WHERE m.id = '975f2f40-71f6-453b-9828-52127f9f374a'
1636949
+ UNION
1636950
+ SELECT m.id, m.representative_id
1636951
+ FROM kithe_models m, search_graph sg
1636952
+ WHERE m.representative_id = sg.id
1636953
+ )
1636954
+ SELECT id
1636955
+ FROM search_graph
1636956
+ WHERE id != '975f2f40-71f6-453b-9828-52127f9f374a'
1636957
+ );
1636958
+ 
1636959
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1636960
+  (1.1ms) SAVEPOINT active_record_1
1636961
+ set_leaf_representative (0.2ms) WITH RECURSIVE find_terminal(id, link) AS (
1636962
+ SELECT m.id, m.representative_id
1636963
+ FROM kithe_models m
1636964
+ WHERE m.id = $1
1636965
+ UNION
1636966
+ SELECT m.id, m.representative_id
1636967
+ FROM kithe_models m, find_terminal ft
1636968
+ WHERE m.id = ft.link
1636969
+ ) SELECT id
1636970
+ FROM find_terminal
1636971
+ WHERE link IS NULL
1636972
+ LIMIT 1;
1636973
+  [[nil, "975f2f40-71f6-453b-9828-52127f9f374a"]]
1636974
+ Kithe::Work Create (0.7ms) INSERT 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" [["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]]
1636975
+  (0.9ms) UPDATE kithe_models
1636976
+ SET leaf_representative_id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
1636977
+ WHERE id IN (
1636978
+ WITH RECURSIVE search_graph(id, link) AS (
1636979
+ SELECT m.id, m.representative_id
1636980
+ FROM kithe_models m
1636981
+ WHERE m.id = '57fa9785-a4b2-4465-9cee-a04f408123b1'
1636982
+ UNION
1636983
+ SELECT m.id, m.representative_id
1636984
+ FROM kithe_models m, search_graph sg
1636985
+ WHERE m.representative_id = sg.id
1636986
+ )
1636987
+ SELECT id
1636988
+ FROM search_graph
1636989
+ WHERE id != '57fa9785-a4b2-4465-9cee-a04f408123b1'
1636990
+ );
1636991
+ 
1636992
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1636993
+  (0.2ms) SAVEPOINT active_record_1
1636994
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
1636995
+ Kithe::Model Load (0.3ms) SELECT "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 [["containee_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
1636996
+ Kithe::Model Load (0.5ms) SELECT "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 [["container_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
1636997
+  (1.2ms) UPDATE kithe_models
1636998
+ SET leaf_representative_id = NULL, representative_id = NULL
1636999
+ WHERE id IN (
1637000
+ WITH RECURSIVE search_graph(id, link) AS (
1637001
+ SELECT m.id, m.representative_id
1637002
+ FROM kithe_models m
1637003
+ WHERE m.id = 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
1637004
+ UNION
1637005
+ SELECT m.id, m.representative_id
1637006
+ FROM kithe_models m, search_graph sg
1637007
+ WHERE m.representative_id = sg.id
1637008
+ )
1637009
+ SELECT id
1637010
+ FROM search_graph
1637011
+ WHERE id != 'cbb72ee8-15f9-4471-8101-b2327a8d1c09'
1637012
+ );
1637013
+ 
1637014
+ Kithe::Asset Destroy (0.6ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
1637015
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637016
+ Kithe::Work Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "57fa9785-a4b2-4465-9cee-a04f408123b1"], ["LIMIT", 1]]
1637017
+ Kithe::Work Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "975f2f40-71f6-453b-9828-52127f9f374a"], ["LIMIT", 1]]
1637018
+  (0.2ms) ROLLBACK
1637019
+  (0.1ms) BEGIN
1637020
+  (0.2ms) SAVEPOINT active_record_1
1637021
+ Kithe::Work Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637022
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637023
+  (0.1ms) ROLLBACK
1637024
+  (0.1ms) BEGIN
1637025
+  (0.2ms) ROLLBACK
1637026
+  (0.2ms) BEGIN
1637027
+  (0.2ms) SAVEPOINT active_record_1
1637028
+ Kithe::Work Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637029
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637030
+  (0.2ms) SAVEPOINT active_record_1
1637031
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637032
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637033
+  (0.2ms) SAVEPOINT active_record_1
1637034
+ Kithe::Asset Update (0.8ms) UPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3 [["updated_at", "2020-05-28 13:27:09.981546"], ["parent_id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["id", "4c9e6bb1-92f8-41bb-8fcc-7d0d946315f1"]]
1637035
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1637036
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637037
+ Kithe::Model Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["LIMIT", 1]]
1637038
+  (0.5ms) ROLLBACK
1637039
+  (0.1ms) BEGIN
1637040
+  (0.2ms) SAVEPOINT active_record_1
1637041
+ Kithe::Work Create (1.4ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637042
+  (2.3ms) RELEASE SAVEPOINT active_record_1
1637043
+  (1.4ms) SAVEPOINT active_record_1
1637044
+ Kithe::Work Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637045
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637046
+  (0.3ms) SAVEPOINT active_record_1
1637047
+ Kithe::Work Update (1.9ms) UPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3 [["updated_at", "2020-05-28 13:27:10.008424"], ["parent_id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"]]
1637048
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637049
+ Kithe::Work Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "Kithe::Work"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"], ["LIMIT", 1]]
1637050
+ Kithe::Model Load (0.7ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2 [["id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["LIMIT", 1]]
1637051
+  (0.3ms) ROLLBACK
1637052
+  (0.1ms) BEGIN
1637053
+  (0.2ms) SAVEPOINT active_record_1
1637054
+ Kithe::Work Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637055
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637056
+  (0.2ms) SAVEPOINT active_record_1
1637057
+ Kithe::Collection Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637058
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637059
+  (0.2ms) ROLLBACK
1637060
+  (0.1ms) BEGIN
1637061
+  (0.2ms) SAVEPOINT active_record_1
1637062
+ Kithe::Collection Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637063
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1637064
+ Kithe::Model Load (0.4ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
1637065
+  (0.3ms) SAVEPOINT active_record_1
1637066
+ Kithe::Work Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637067
+ Kithe::ModelContains Create (0.6ms) INSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2) [["containee_id", "d11d7a61-e5e0-4145-b44b-523ff5b0eec9"], ["container_id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
1637068
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637069
+  (0.2ms) ROLLBACK
1637070
+  (0.1ms) BEGIN
1637071
+  (0.2ms) SAVEPOINT active_record_1
1637072
+ TestWorkSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637073
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637074
+ TestWorkSubclass Load (0.3ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "TestWorkSubclass"], ["id", "ae5bbcf9-1f86-44e0-a59a-5cb6992ca588"], ["LIMIT", 1]]
1637075
+  (0.2ms) ROLLBACK
1637076
+  (0.2ms) BEGIN
1637077
+  (0.2ms) SAVEPOINT active_record_1
1637078
+ MyAsset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637079
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637080
+  (0.2ms) SAVEPOINT active_record_1
1637081
+ MyAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637082
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637083
+ [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"}, {}
1637084
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] MyAsset Load (0.4ms) SELECT "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 [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
1637085
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb]  (0.3ms) SAVEPOINT active_record_1
1637086
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] MyAsset Load (0.5ms) SELECT "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 [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
1637087
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] MyAsset Update (1.0ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637088
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb]  (0.2ms) RELEASE SAVEPOINT active_record_1
1637089
+ [ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] Performed Kithe::AssetPromoteJob (Job ID: 31590e91-2c82-450d-b524-b1da747709bb) from Inline(default) in 52.39ms
1637090
+ [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"}, {}
1637091
+ MyAsset Load (0.3ms) SELECT "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 [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
1637092
+  (0.2ms) ROLLBACK
1637093
+  (0.1ms) BEGIN
1637094
+  (0.2ms) SAVEPOINT active_record_1
1637095
+ MyAsset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637096
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637097
+  (0.2ms) SAVEPOINT active_record_1
1637098
+ MyAsset Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637099
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637100
+ [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"}, {}
1637101
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] MyAsset Load (0.4ms) SELECT "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 [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
1637102
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78]  (0.2ms) SAVEPOINT active_record_1
1637103
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] MyAsset Load (0.5ms) SELECT "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 [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
1637104
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] MyAsset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637105
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78]  (0.2ms) RELEASE SAVEPOINT active_record_1
1637106
+ [ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] Performed Kithe::AssetPromoteJob (Job ID: 3882aebe-e90e-4501-8691-c9145dfa7c78) from Inline(default) in 49.74ms
1637107
+ [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"}, {}
1637108
+  (0.3ms) ROLLBACK
1637109
+  (0.1ms) BEGIN
1637110
+  (0.3ms) SAVEPOINT active_record_1
1637111
+ ChecksumAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637112
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637113
+  (0.2ms) SAVEPOINT active_record_1
1637114
+ ChecksumAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637115
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637116
+ ChecksumAsset Load (0.3ms) SELECT "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 [["type", "ChecksumAsset"], ["id", "a51cd0bd-ee0a-4cf8-b255-d52a55cabc52"], ["LIMIT", 1]]
1637117
+  (0.3ms) ROLLBACK
1637118
+  (0.2ms) BEGIN
1637119
+  (0.2ms) SAVEPOINT active_record_1
1637120
+ ChecksumAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637121
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637122
+ ChecksumAsset Load (0.3ms) SELECT "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 [["type", "ChecksumAsset"], ["id", "f458fe38-c3b4-4aaa-a5ec-12b51d6686b7"], ["LIMIT", 1]]
1637123
+  (0.3ms) ROLLBACK
1637124
+  (0.1ms) BEGIN
1637125
+  (0.3ms) SAVEPOINT active_record_1
1637126
+ ChecksumAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637127
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637128
+  (0.3ms) SAVEPOINT active_record_1
1637129
+ ChecksumAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637130
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637131
+  (0.5ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
1637132
+  (0.2ms) SAVEPOINT active_record_1
1637133
+ ChecksumAsset Load (0.5ms) SELECT "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 [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
1637134
+ ChecksumAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637135
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637136
+  (0.3ms) ROLLBACK
1637137
+  (0.2ms) BEGIN
1637138
+  (0.2ms) ROLLBACK
1637139
+  (0.2ms) BEGIN
1637140
+  (0.2ms) SAVEPOINT active_record_1
1637141
+ CustomAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637142
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637143
+  (0.2ms) SAVEPOINT active_record_1
1637144
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637145
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637146
+  (0.4ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "7b20d928-26f8-4418-bcaa-3ab20caa0450"], ["LIMIT", 1]]
1637147
+  (0.2ms) ROLLBACK
1637148
+  (0.2ms) BEGIN
1637149
+  (0.2ms) SAVEPOINT active_record_1
1637150
+ CustomAsset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637151
+  (1.5ms) RELEASE SAVEPOINT active_record_1
1637152
+  (0.2ms) SAVEPOINT active_record_1
1637153
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637154
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637155
+  (0.2ms) ROLLBACK
1637156
+  (0.1ms) BEGIN
1637157
+  (0.2ms) SAVEPOINT active_record_1
1637158
+ CustomAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637159
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637160
+  (0.2ms) SAVEPOINT active_record_1
1637161
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637162
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637163
+  (0.2ms) ROLLBACK
1637164
+  (0.1ms) BEGIN
1637165
+  (11.3ms) SAVEPOINT active_record_1
1637166
+ CustomAsset Create (17.2ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637167
+  (138.2ms) RELEASE SAVEPOINT active_record_1
1637168
+  (0.2ms) SAVEPOINT active_record_1
1637169
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637170
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637171
+  (0.3ms) ROLLBACK
1637172
+  (0.1ms) BEGIN
1637173
+  (0.2ms) SAVEPOINT active_record_1
1637174
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637175
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637176
+  (0.2ms) SAVEPOINT active_record_1
1637177
+ CustomAsset Update (1.0ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637178
+  (1.9ms) RELEASE SAVEPOINT active_record_1
1637179
+  (0.5ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "33cdcc50-9cb3-403f-ad93-acf9066edba9"], ["LIMIT", 1]]
1637180
+  (0.4ms) ROLLBACK
1637181
+  (1.5ms) BEGIN
1637182
+  (0.2ms) SAVEPOINT active_record_1
1637183
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637184
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637185
+  (0.2ms) SAVEPOINT active_record_1
1637186
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637187
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637188
+  (1.4ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "963ca82d-a6ce-4035-b2ad-4da7a415d79a"], ["LIMIT", 1]]
1637189
+  (0.2ms) ROLLBACK
1637190
+  (0.2ms) BEGIN
1637191
+  (0.2ms) SAVEPOINT active_record_1
1637192
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637193
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637194
+  (0.1ms) SAVEPOINT active_record_1
1637195
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637196
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637197
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "5dca944a-6eea-49d7-bf80-29bd28c212f3"], ["LIMIT", 1]]
1637198
+  (0.4ms) ROLLBACK
1637199
+  (0.1ms) BEGIN
1637200
+  (0.2ms) SAVEPOINT active_record_1
1637201
+ CustomAsset Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637202
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637203
+  (0.1ms) SAVEPOINT active_record_1
1637204
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637205
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637206
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d"], ["LIMIT", 1]]
1637207
+  (0.4ms) ROLLBACK
1637208
+  (0.2ms) BEGIN
1637209
+  (0.2ms) SAVEPOINT active_record_1
1637210
+ CustomAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637211
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637212
+  (0.2ms) SAVEPOINT active_record_1
1637213
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637214
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637215
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "d792593b-8d86-4e8b-8220-81710ca69ab9"], ["LIMIT", 1]]
1637216
+  (0.3ms) ROLLBACK
1637217
+  (0.1ms) BEGIN
1637218
+  (0.2ms) SAVEPOINT active_record_1
1637219
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637220
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637221
+  (0.1ms) SAVEPOINT active_record_1
1637222
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637223
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637224
+  (0.6ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "3ef4a2af-ace9-4d47-b4a3-6973883961b3"], ["LIMIT", 1]]
1637225
+  (0.2ms) ROLLBACK
1637226
+  (0.1ms) BEGIN
1637227
+  (0.2ms) SAVEPOINT active_record_1
1637228
+ CustomAsset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637229
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637230
+  (0.2ms) SAVEPOINT active_record_1
1637231
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637232
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637233
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "84e8d651-b68d-4133-a4f5-dd70cdff52d3"], ["LIMIT", 1]]
1637234
+  (0.2ms) ROLLBACK
1637235
+  (0.1ms) BEGIN
1637236
+  (0.3ms) SAVEPOINT active_record_1
1637237
+ CustomAsset Create (0.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637238
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637239
+  (0.2ms) SAVEPOINT active_record_1
1637240
+ CustomAsset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637241
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637242
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "16d73334-cab4-4a12-8e82-53247f2df517"], ["LIMIT", 1]]
1637243
+  (0.2ms) ROLLBACK
1637244
+  (0.1ms) BEGIN
1637245
+  (0.3ms) SAVEPOINT active_record_1
1637246
+ CustomAsset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637247
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637248
+  (0.2ms) SAVEPOINT active_record_1
1637249
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637250
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637251
+  (0.4ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "526093c3-5503-423e-850d-a4dabf731bbc"], ["LIMIT", 1]]
1637252
+  (0.3ms) ROLLBACK
1637253
+  (0.1ms) BEGIN
1637254
+  (0.2ms) SAVEPOINT active_record_1
1637255
+ CustomAsset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637256
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637257
+  (0.5ms) SAVEPOINT active_record_1
1637258
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637259
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637260
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
1637261
+  (0.2ms) SAVEPOINT active_record_1
1637262
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
1637263
+ CustomAsset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637264
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637265
+  (0.2ms) SAVEPOINT active_record_1
1637266
+ CustomAsset Load (0.5ms) SELECT "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 [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
1637267
+ CustomAsset Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637268
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637269
+  (0.2ms) ROLLBACK
1637270
+  (0.1ms) BEGIN
1637271
+  (0.2ms) ROLLBACK
1637272
+  (0.1ms) BEGIN
1637273
+  (0.1ms) ROLLBACK
1637274
+  (0.1ms) BEGIN
1637275
+  (0.2ms) ROLLBACK
1637276
+  (0.1ms) BEGIN
1637277
+  (0.1ms) ROLLBACK
1637278
+  (0.1ms) BEGIN
1637279
+  (0.2ms) ROLLBACK
1637280
+  (0.2ms) BEGIN
1637281
+  (0.5ms) SAVEPOINT active_record_1
1637282
+ Kithe::Asset Create (1.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637283
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637284
+  (0.3ms) SAVEPOINT active_record_1
1637285
+ Kithe::Asset Update (1.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637286
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637287
+  (0.5ms) SELECT "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 [["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]]
1637288
+  (0.2ms) SAVEPOINT active_record_1
1637289
+ Kithe::Asset Load (0.8ms) SELECT "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 [["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]]
1637290
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637291
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637292
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637293
+  (0.2ms) ROLLBACK
1637294
+  (0.1ms) BEGIN
1637295
+  (0.2ms) SAVEPOINT active_record_1
1637296
+ Kithe::Asset Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637297
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637298
+  (0.1ms) SAVEPOINT active_record_1
1637299
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637300
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637301
+  (0.5ms) SELECT "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 [["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]]
1637302
+  (0.2ms) SAVEPOINT active_record_1
1637303
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637304
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637305
+  (0.7ms) RELEASE SAVEPOINT active_record_1
1637306
+  (0.2ms) ROLLBACK
1637307
+  (0.8ms) BEGIN
1637308
+  (0.2ms) SAVEPOINT active_record_1
1637309
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637310
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637311
+  (0.1ms) SAVEPOINT active_record_1
1637312
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637313
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637314
+  (0.8ms) SELECT "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 [["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]]
1637315
+  (0.4ms) SAVEPOINT active_record_1
1637316
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637317
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637318
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637319
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637320
+  (0.2ms) ROLLBACK
1637321
+  (0.2ms) BEGIN
1637322
+  (0.2ms) SAVEPOINT active_record_1
1637323
+ Kithe::Asset Create (1.4ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637324
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637325
+  (0.2ms) SAVEPOINT active_record_1
1637326
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637327
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637328
+  (0.5ms) SELECT "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 [["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]]
1637329
+  (0.2ms) SAVEPOINT active_record_1
1637330
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637331
+ Kithe::Asset Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637332
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637333
+ Kithe::Asset Load (0.9ms) SELECT "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 [["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]]
1637334
+  (0.2ms) ROLLBACK
1637335
+  (0.1ms) BEGIN
1637336
+  (0.2ms) SAVEPOINT active_record_1
1637337
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637338
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637339
+  (0.1ms) SAVEPOINT active_record_1
1637340
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637341
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637342
+  (0.2ms) ROLLBACK
1637343
+  (0.1ms) BEGIN
1637344
+  (0.3ms) SAVEPOINT active_record_1
1637345
+ Kithe::Asset Create (2.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637346
+  (0.4ms) RELEASE SAVEPOINT active_record_1
1637347
+  (1.0ms) SAVEPOINT active_record_1
1637348
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637349
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637350
+  (0.5ms) SELECT "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 [["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]]
1637351
+  (0.2ms) SAVEPOINT active_record_1
1637352
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637353
+ Kithe::Asset Update (0.7ms) UPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1637354
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637355
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637356
+  (1.6ms) ROLLBACK
1637357
+  (0.1ms) BEGIN
1637358
+  (0.2ms) ROLLBACK
1637359
+  (0.1ms) BEGIN
1637360
+  (0.2ms) SAVEPOINT active_record_1
1637361
+ Kithe::Asset Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637362
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637363
+  (0.3ms) SAVEPOINT active_record_1
1637364
+ Kithe::Asset Update (1.1ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637365
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637366
+  (0.6ms) SELECT "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 [["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]]
1637367
+  (0.2ms) SAVEPOINT active_record_1
1637368
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637369
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637370
+  (0.2ms) SAVEPOINT active_record_1
1637371
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637372
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637373
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637374
+  (0.1ms) ROLLBACK
1637375
+  (0.1ms) BEGIN
1637376
+  (0.2ms) SAVEPOINT active_record_1
1637377
+ Kithe::Asset Create (1.1ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637378
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637379
+  (0.2ms) SAVEPOINT active_record_1
1637380
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637381
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637382
+ Kithe::Model Destroy (0.7ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "412eef86-8176-49d9-8a3a-89872059d127"]]
1637383
+  (0.5ms) SELECT "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 [["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]]
1637384
+  (0.2ms) SAVEPOINT active_record_1
1637385
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637386
+  (0.5ms) ROLLBACK TO SAVEPOINT active_record_1
1637387
+  (0.4ms) ROLLBACK
1637388
+  (0.1ms) BEGIN
1637389
+  (0.2ms) SAVEPOINT active_record_1
1637390
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637391
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637392
+  (0.2ms) SAVEPOINT active_record_1
1637393
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637394
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637395
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637396
+  (0.3ms) SAVEPOINT active_record_1
1637397
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637398
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637399
+ [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"}}
1637400
+ [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"}, {}
1637401
+  (0.5ms) SELECT "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 [["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]]
1637402
+  (0.2ms) SAVEPOINT active_record_1
1637403
+ Kithe::Asset Load (0.8ms) SELECT "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 [["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]]
1637404
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1637405
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637406
+  (0.2ms) ROLLBACK
1637407
+  (0.1ms) BEGIN
1637408
+  (0.3ms) SAVEPOINT active_record_1
1637409
+ Kithe::Asset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637410
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637411
+  (0.2ms) SAVEPOINT active_record_1
1637412
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637413
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637414
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637415
+  (0.2ms) SAVEPOINT active_record_1
1637416
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637417
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637418
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637419
+  (0.5ms) SELECT "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 [["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]]
1637420
+  (0.2ms) SAVEPOINT active_record_1
1637421
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637422
+ Kithe::Asset Update (0.8ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637423
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637424
+  (0.2ms) ROLLBACK
1637425
+  (0.1ms) BEGIN
1637426
+  (0.2ms) SAVEPOINT active_record_1
1637427
+ AssetSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637428
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637429
+  (0.1ms) SAVEPOINT active_record_1
1637430
+ AssetSubclass Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637431
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637432
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
1637433
+  (0.2ms) SAVEPOINT active_record_1
1637434
+ AssetSubclass Load (0.6ms) SELECT "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 [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
1637435
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637436
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637437
+ AssetSubclass Load (0.2ms) SELECT "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 [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
1637438
+  (0.2ms) ROLLBACK
1637439
+  (0.1ms) BEGIN
1637440
+  (0.2ms) SAVEPOINT active_record_1
1637441
+ AssetSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637442
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637443
+  (0.1ms) SAVEPOINT active_record_1
1637444
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637445
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637446
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
1637447
+  (0.2ms) SAVEPOINT active_record_1
1637448
+ AssetSubclass Load (0.5ms) SELECT "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 [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
1637449
+ AssetSubclass Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637450
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637451
+  (0.3ms) ROLLBACK
1637452
+  (0.1ms) BEGIN
1637453
+  (0.2ms) SAVEPOINT active_record_1
1637454
+ AssetSubclass Create (1.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637455
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637456
+  (0.2ms) SAVEPOINT active_record_1
1637457
+ AssetSubclass Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637458
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637459
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
1637460
+  (0.2ms) SAVEPOINT active_record_1
1637461
+ AssetSubclass Load (0.6ms) SELECT "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 [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
1637462
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637463
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637464
+  (0.2ms) ROLLBACK
1637465
+  (0.1ms) BEGIN
1637466
+  (0.2ms) SAVEPOINT active_record_1
1637467
+ AssetSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637468
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637469
+  (0.2ms) SAVEPOINT active_record_1
1637470
+ AssetSubclass Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637471
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637472
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
1637473
+  (0.2ms) SAVEPOINT active_record_1
1637474
+ AssetSubclass Load (0.5ms) SELECT "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 [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
1637475
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637476
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637477
+  (0.2ms) ROLLBACK
1637478
+  (0.1ms) BEGIN
1637479
+  (5.1ms) SAVEPOINT active_record_1
1637480
+ AssetSubclass Create (1.2ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637481
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637482
+  (1.0ms) SAVEPOINT active_record_1
1637483
+ AssetSubclass Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637484
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637485
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
1637486
+  (65.5ms) SAVEPOINT active_record_1
1637487
+ AssetSubclass Load (0.8ms) SELECT "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 [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
1637488
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637489
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637490
+  (0.1ms) ROLLBACK
1637491
+  (0.1ms) BEGIN
1637492
+  (0.2ms) SAVEPOINT active_record_1
1637493
+ AssetSubclass Create (2.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637494
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637495
+  (0.2ms) SAVEPOINT active_record_1
1637496
+ AssetSubclass Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637497
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637498
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
1637499
+  (0.2ms) SAVEPOINT active_record_1
1637500
+ AssetSubclass Load (0.6ms) SELECT "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 [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
1637501
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637502
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637503
+  (0.3ms) ROLLBACK
1637504
+  (0.1ms) BEGIN
1637505
+  (0.4ms) SAVEPOINT active_record_1
1637506
+ AssetSubclass Create (1.0ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id" [["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]]
1637507
+  (1.1ms) RELEASE SAVEPOINT active_record_1
1637508
+  (0.4ms) ROLLBACK
1637509
+  (0.3ms) BEGIN
1637510
+  (0.4ms) SAVEPOINT active_record_1
1637511
+ AssetSubclass Create (0.8ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637512
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637513
+  (0.6ms) ROLLBACK
1637514
+  (0.1ms) BEGIN
1637515
+  (0.2ms) SAVEPOINT active_record_1
1637516
+ AssetSubclass Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637517
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637518
+  (0.2ms) SAVEPOINT active_record_1
1637519
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637520
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637521
+  (0.3ms) ROLLBACK
1637522
+  (0.3ms) BEGIN
1637523
+  (0.7ms) SAVEPOINT active_record_1
1637524
+ AssetSubclass Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637525
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637526
+  (0.2ms) SAVEPOINT active_record_1
1637527
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637528
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637529
+  (0.3ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
1637530
+  (0.2ms) SAVEPOINT active_record_1
1637531
+ AssetSubclass Load (0.5ms) SELECT "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 [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
1637532
+ AssetSubclass Update (0.5ms) UPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1637533
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637534
+ AssetSubclass Load (0.2ms) SELECT "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 [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
1637535
+  (0.2ms) ROLLBACK
1637536
+  (0.1ms) BEGIN
1637537
+  (0.2ms) SAVEPOINT active_record_1
1637538
+ Kithe::Asset Create (1.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637539
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637540
+  (0.2ms) SAVEPOINT active_record_1
1637541
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637542
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637543
+  (0.5ms) SELECT "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 [["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]]
1637544
+  (0.2ms) SAVEPOINT active_record_1
1637545
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637546
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637547
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637548
+  (0.2ms) SAVEPOINT active_record_1
1637549
+ Kithe::Asset Load (1.1ms) SELECT "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 [["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]]
1637550
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637551
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637552
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637553
+  (0.2ms) ROLLBACK
1637554
+  (0.1ms) BEGIN
1637555
+  (0.2ms) SAVEPOINT active_record_1
1637556
+ Kithe::Asset Create (1.5ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637557
+  (2.6ms) RELEASE SAVEPOINT active_record_1
1637558
+  (0.2ms) SAVEPOINT active_record_1
1637559
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637560
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637561
+  (0.6ms) SELECT "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 [["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]]
1637562
+  (0.2ms) SAVEPOINT active_record_1
1637563
+ Kithe::Asset Load (0.8ms) SELECT "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 [["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]]
1637564
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637565
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637566
+ Kithe::Asset Load (0.6ms) SELECT "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 [["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]]
1637567
+  (2.7ms) SAVEPOINT active_record_1
1637568
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637569
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637570
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637571
+  (0.2ms) SAVEPOINT active_record_1
1637572
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637573
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637574
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637575
+  (0.1ms) ROLLBACK
1637576
+  (0.1ms) BEGIN
1637577
+  (0.3ms) SAVEPOINT active_record_1
1637578
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637579
+  (0.3ms) RELEASE SAVEPOINT active_record_1
1637580
+  (0.2ms) SAVEPOINT active_record_1
1637581
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637582
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637583
+  (0.5ms) SELECT "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 [["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]]
1637584
+  (0.3ms) SAVEPOINT active_record_1
1637585
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637586
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637587
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637588
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637589
+  (0.2ms) SAVEPOINT active_record_1
1637590
+ Kithe::Asset Load (0.8ms) SELECT "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 [["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]]
1637591
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637592
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637593
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637594
+  (0.2ms) SAVEPOINT active_record_1
1637595
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637596
+ Kithe::Asset Update (1.1ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637597
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637598
+  (0.2ms) ROLLBACK
1637599
+  (0.1ms) BEGIN
1637600
+  (0.2ms) SAVEPOINT active_record_1
1637601
+ Kithe::Asset Create (0.6ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637602
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637603
+  (0.1ms) SAVEPOINT active_record_1
1637604
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637605
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637606
+  (0.6ms) SELECT "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 [["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]]
1637607
+  (0.2ms) SAVEPOINT active_record_1
1637608
+ Kithe::Asset Load (0.5ms) SELECT "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 [["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]]
1637609
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637610
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637611
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637612
+  (0.2ms) SAVEPOINT active_record_1
1637613
+ Kithe::Model Load (0.2ms) SELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1 [["parent_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
1637614
+ Kithe::Model Load (0.2ms) SELECT "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 [["containee_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
1637615
+ Kithe::Model Load (0.3ms) SELECT "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 [["container_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
1637616
+  (1.5ms) UPDATE kithe_models
1637617
+ SET leaf_representative_id = NULL, representative_id = NULL
1637618
+ WHERE id IN (
1637619
+ WITH RECURSIVE search_graph(id, link) AS (
1637620
+ SELECT m.id, m.representative_id
1637621
+ FROM kithe_models m
1637622
+ WHERE m.id = 'a30a5a47-eb8f-441f-a904-65f64772a3bc'
1637623
+ UNION
1637624
+ SELECT m.id, m.representative_id
1637625
+ FROM kithe_models m, search_graph sg
1637626
+ WHERE m.representative_id = sg.id
1637627
+ )
1637628
+ SELECT id
1637629
+ FROM search_graph
1637630
+ WHERE id != 'a30a5a47-eb8f-441f-a904-65f64772a3bc'
1637631
+ );
1637632
+ 
1637633
+ Kithe::Asset Destroy (1.0ms) DELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1 [["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
1637634
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637635
+ [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"}}}}
1637636
+  (0.2ms) SAVEPOINT active_record_1
1637637
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637638
+  (0.2ms) ROLLBACK TO SAVEPOINT active_record_1
1637639
+  (0.2ms) ROLLBACK
1637640
+  (0.1ms) BEGIN
1637641
+  (0.2ms) SAVEPOINT active_record_1
1637642
+ Kithe::Asset Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637643
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637644
+  (0.2ms) SAVEPOINT active_record_1
1637645
+ Kithe::Asset Update (0.4ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637646
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637647
+  (0.5ms) SELECT "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 [["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]]
1637648
+  (0.2ms) SAVEPOINT active_record_1
1637649
+ Kithe::Asset Load (0.7ms) SELECT "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 [["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]]
1637650
+ Kithe::Asset Update (0.5ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637651
+  (0.1ms) RELEASE SAVEPOINT active_record_1
1637652
+  (0.1ms) ROLLBACK
1637653
+  (0.1ms) BEGIN
1637654
+  (0.2ms) SAVEPOINT active_record_1
1637655
+ Kithe::Asset Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637656
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637657
+  (0.2ms) SAVEPOINT active_record_1
1637658
+ Kithe::Asset Update (15.0ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637659
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637660
+  (0.8ms) SELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
1637661
+  (9.5ms) SAVEPOINT active_record_1
1637662
+ Kithe::Asset Load (0.7ms) SELECT "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 [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
1637663
+ Kithe::Asset Update (0.7ms) UPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3 [["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"]]
1637664
+  (5.6ms) RELEASE SAVEPOINT active_record_1
1637665
+  (0.3ms) SAVEPOINT active_record_1
1637666
+ Kithe::Asset Load (3.7ms) SELECT "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 [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
1637667
+ Kithe::Asset Update (0.6ms) UPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4 [["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"]]
1637668
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637669
+ Kithe::Asset Load (0.7ms) SELECT "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 [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
1637670
+  (0.3ms) ROLLBACK
1637671
+  (0.2ms) BEGIN
1637672
+  (0.2ms) ROLLBACK
1637673
+  (0.2ms) BEGIN
1637674
+  (0.2ms) ROLLBACK
1637675
+  (0.2ms) BEGIN
1637676
+  (0.2ms) ROLLBACK
1637677
+  (0.2ms) BEGIN
1637678
+  (0.2ms) ROLLBACK
1637679
+  (0.2ms) BEGIN
1637680
+  (0.3ms) ROLLBACK
1637681
+  (0.4ms) BEGIN
1637682
+  (0.6ms) ROLLBACK
1637683
+  (0.3ms) BEGIN
1637684
+  (0.7ms) ROLLBACK
1637685
+  (0.3ms) BEGIN
1637686
+  (2.6ms) SAVEPOINT active_record_1
1637687
+ TestWork Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637688
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637689
+  (0.3ms) ROLLBACK
1637690
+  (0.1ms) BEGIN
1637691
+  (0.2ms) ROLLBACK
1637692
+  (3.4ms) BEGIN
1637693
+  (0.2ms) ROLLBACK
1637694
+  (0.1ms) BEGIN
1637695
+  (0.2ms) ROLLBACK
1637696
+  (0.1ms) BEGIN
1637697
+  (0.2ms) ROLLBACK
1637698
+  (0.2ms) BEGIN
1637699
+  (0.2ms) ROLLBACK
1637700
+  (0.1ms) BEGIN
1637701
+  (0.2ms) SAVEPOINT active_record_1
1637702
+ TestWork Create (0.7ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637703
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637704
+  (0.2ms) ROLLBACK
1637705
+  (0.1ms) BEGIN
1637706
+  (0.3ms) SAVEPOINT active_record_1
1637707
+ TestWork Create (1.0ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637708
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637709
+  (0.2ms) ROLLBACK
1637710
+  (0.2ms) BEGIN
1637711
+  (0.2ms) SAVEPOINT active_record_1
1637712
+ TestWork Create (0.9ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637713
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637714
+  (0.2ms) ROLLBACK
1637715
+  (0.1ms) BEGIN
1637716
+  (0.2ms) ROLLBACK
1637717
+  (0.1ms) BEGIN
1637718
+  (0.2ms) ROLLBACK
1637719
+  (0.2ms) BEGIN
1637720
+  (0.3ms) ROLLBACK
1637721
+  (0.2ms) BEGIN
1637722
+  (0.2ms) SAVEPOINT active_record_1
1637723
+ TestWork Create (1.7ms) INSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["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]]
1637724
+  (0.2ms) RELEASE SAVEPOINT active_record_1
1637725
+  (0.3ms) ROLLBACK
1637726
+  (0.5ms) BEGIN
1637727
+  (0.2ms) ROLLBACK
1637728
+  (0.2ms) BEGIN
1637729
+  (0.2ms) ROLLBACK
1637730
+  (0.1ms) BEGIN
1637731
+  (0.7ms) ROLLBACK
1637732
+  (0.1ms) BEGIN
1637733
+  (0.3ms) ROLLBACK
1637734
+  (0.1ms) BEGIN
1637735
+  (0.3ms) ROLLBACK
1637736
+  (0.1ms) BEGIN
1637737
+  (0.2ms) ROLLBACK
1637738
+  (0.4ms) BEGIN
1637739
+  (0.6ms) ROLLBACK
1637740
+  (0.2ms) BEGIN
1637741
+  (0.3ms) ROLLBACK