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.
- checksums.yaml +4 -4
- data/lib/kithe/engine.rb +11 -3
- data/lib/kithe/patch_fx.rb +39 -0
- data/lib/kithe/version.rb +1 -1
- data/spec/dummy/db/schema.rb +102 -0
- data/spec/dummy/log/development.log +2003 -0
- data/spec/dummy/log/test.log +3366 -0
- metadata +26 -6
- data/spec/dummy/db/structure.sql +0 -309
data/spec/dummy/log/test.log
CHANGED
@@ -1634373,3 +1634373,3369 @@ WHERE id IN (
|
|
1634373
1634373
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634374
1634374
|
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634375
1634375
|
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634376
|
+
[1m[35m (69.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
1634377
|
+
[1m[35m (6.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634378
|
+
[1m[35m (17.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1634379
|
+
[1m[35m (5.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634380
|
+
[1m[35m (6.3ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1634381
|
+
[1m[35m (155.7ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634382
|
+
[1m[35m (5.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "environment"]]
|
1634383
|
+
[1m[35m (424.5ms)[0m [1m[35mDROP DATABASE IF EXISTS "kithe_test"[0m
|
1634384
|
+
[1m[35m (672.4ms)[0m [1m[35mCREATE DATABASE "kithe_test" ENCODING = 'unicode'[0m
|
1634385
|
+
[1m[35mSQL (53.1ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
1634386
|
+
[1m[35mSQL (4.5ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "plpgsql"[0m
|
1634387
|
+
[1m[35m (13.8ms)[0m [1m[35mCREATE 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
|
+
[0m
|
1634426
|
+
[1m[35m (6.7ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_derivatives" CASCADE[0m
|
1634427
|
+
[1m[35m (60.5ms)[0m [1m[35mCREATE TABLE "kithe_derivatives" ("id" bigserial primary key, "key" character varying NOT NULL, "file_data" jsonb, "asset_id" uuid NOT NULL, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1634428
|
+
[1m[35m (1859.7ms)[0m [1m[35mCREATE UNIQUE INDEX "index_kithe_derivatives_on_asset_id_and_key" ON "kithe_derivatives" ("asset_id", "key")[0m
|
1634429
|
+
[1m[35m (6.5ms)[0m [1m[35mCREATE INDEX "index_kithe_derivatives_on_asset_id" ON "kithe_derivatives" ("asset_id")[0m
|
1634430
|
+
[1m[35m (6.0ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_model_contains" CASCADE[0m
|
1634431
|
+
[1m[35m (6.4ms)[0m [1m[35mCREATE TABLE "kithe_model_contains" ("containee_id" uuid, "container_id" uuid)[0m
|
1634432
|
+
[1m[35m (7.3ms)[0m [1m[35mCREATE INDEX "index_kithe_model_contains_on_containee_id" ON "kithe_model_contains" ("containee_id")[0m
|
1634433
|
+
[1m[35m (5.2ms)[0m [1m[35mCREATE INDEX "index_kithe_model_contains_on_container_id" ON "kithe_model_contains" ("container_id")[0m
|
1634434
|
+
[1m[35m (3.9ms)[0m [1m[35mDROP TABLE IF EXISTS "kithe_models" CASCADE[0m
|
1634435
|
+
[1m[35m (9.1ms)[0m [1m[35mCREATE TABLE "kithe_models" ("id" uuid DEFAULT gen_random_uuid() NOT NULL PRIMARY KEY, "title" character varying NOT NULL, "type" character varying NOT NULL, "position" integer, "json_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "parent_id" uuid, "friendlier_id" character varying DEFAULT kithe_models_friendlier_id_gen('2821109907456'::bigint, '101559956668415'::bigint) NOT NULL, "file_data" jsonb, "representative_id" uuid, "leaf_representative_id" uuid, "kithe_model_type" integer NOT NULL)[0m
|
1634436
|
+
[1m[35m (6.1ms)[0m [1m[35mCREATE UNIQUE INDEX "index_kithe_models_on_friendlier_id" ON "kithe_models" ("friendlier_id")[0m
|
1634437
|
+
[1m[35m (38.9ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_leaf_representative_id" ON "kithe_models" ("leaf_representative_id")[0m
|
1634438
|
+
[1m[35m (8.7ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_parent_id" ON "kithe_models" ("parent_id")[0m
|
1634439
|
+
[1m[35m (15.6ms)[0m [1m[35mCREATE INDEX "index_kithe_models_on_representative_id" ON "kithe_models" ("representative_id")[0m
|
1634440
|
+
[1m[35m (9.5ms)[0m [1m[35mALTER TABLE "kithe_derivatives" ADD CONSTRAINT "fk_rails_3dac8b4201"
|
1634441
|
+
FOREIGN KEY ("asset_id")
|
1634442
|
+
REFERENCES "kithe_models" ("id")
|
1634443
|
+
[0m
|
1634444
|
+
[1m[35m (9.4ms)[0m [1m[35mALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_490c1158f7"
|
1634445
|
+
FOREIGN KEY ("containee_id")
|
1634446
|
+
REFERENCES "kithe_models" ("id")
|
1634447
|
+
[0m
|
1634448
|
+
[1m[35m (22.3ms)[0m [1m[35mALTER TABLE "kithe_model_contains" ADD CONSTRAINT "fk_rails_091010187b"
|
1634449
|
+
FOREIGN KEY ("container_id")
|
1634450
|
+
REFERENCES "kithe_models" ("id")
|
1634451
|
+
[0m
|
1634452
|
+
[1m[35m (6.9ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_403cce5c0d"
|
1634453
|
+
FOREIGN KEY ("leaf_representative_id")
|
1634454
|
+
REFERENCES "kithe_models" ("id")
|
1634455
|
+
[0m
|
1634456
|
+
[1m[35m (7.8ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_90130a9780"
|
1634457
|
+
FOREIGN KEY ("parent_id")
|
1634458
|
+
REFERENCES "kithe_models" ("id")
|
1634459
|
+
[0m
|
1634460
|
+
[1m[35m (110.3ms)[0m [1m[35mALTER TABLE "kithe_models" ADD CONSTRAINT "fk_rails_afa93b7b5d"
|
1634461
|
+
FOREIGN KEY ("representative_id")
|
1634462
|
+
REFERENCES "kithe_models" ("id")
|
1634463
|
+
[0m
|
1634464
|
+
[1m[35m (47.6ms)[0m [1m[35mCREATE TABLE "schema_migrations" ("version" character varying NOT NULL PRIMARY KEY)[0m
|
1634465
|
+
[1m[35m (5.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634466
|
+
[1m[35m (226.7ms)[0m [1m[32mINSERT INTO "schema_migrations" (version) VALUES (20190404144551)[0m
|
1634467
|
+
[1m[35m (9.6ms)[0m [1m[35mCREATE TABLE "ar_internal_metadata" ("key" character varying NOT NULL PRIMARY KEY, "value" character varying, "created_at" timestamp(6) NOT NULL, "updated_at" timestamp(6) NOT NULL)[0m
|
1634468
|
+
[1m[36mActiveRecord::InternalMetadata Load (9.9ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1634469
|
+
[1m[35m (6.4ms)[0m [1m[35mBEGIN[0m
|
1634470
|
+
[1m[36mActiveRecord::InternalMetadata Create (18.2ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "environment"], ["value", "test"], ["created_at", "2020-05-27 20:44:01.903000"], ["updated_at", "2020-05-27 20:44:01.903000"]]
|
1634471
|
+
[1m[35m (4.9ms)[0m [1m[35mCOMMIT[0m
|
1634472
|
+
[1m[36mActiveRecord::InternalMetadata Load (22.0ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "environment"], ["LIMIT", 1]]
|
1634473
|
+
[1m[36mActiveRecord::InternalMetadata Load (6.8ms)[0m [1m[34mSELECT "ar_internal_metadata".* FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1 LIMIT $2[0m [["key", "schema_sha1"], ["LIMIT", 1]]
|
1634474
|
+
[1m[35m (5.0ms)[0m [1m[35mBEGIN[0m
|
1634475
|
+
[1m[36mActiveRecord::InternalMetadata Create (16.1ms)[0m [1m[32mINSERT INTO "ar_internal_metadata" ("key", "value", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "key"[0m [["key", "schema_sha1"], ["value", "0e24e2caa948e64f3be11233d707b8abffa0f356"], ["created_at", "2020-05-27 20:44:02.120000"], ["updated_at", "2020-05-27 20:44:02.120000"]]
|
1634476
|
+
[1m[35m (18.1ms)[0m [1m[35mCOMMIT[0m
|
1634477
|
+
[1m[35m (5.3ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634478
|
+
[1m[35m (19.0ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
1634479
|
+
[1m[35m (13.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634480
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
1634481
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634482
|
+
[1m[35m (2.5ms)[0m [1m[34mSELECT pg_try_advisory_lock(6108574782232541745)[0m
|
1634483
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634484
|
+
Migrating to EnablePgcryptoExtension (20181015143259)
|
1634485
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634486
|
+
[1m[35mSQL (6.7ms)[0m [1m[35mCREATE EXTENSION IF NOT EXISTS "pgcrypto"[0m
|
1634487
|
+
[1m[36mprimary::SchemaMigration Create (0.5ms)[0m [1m[32mINSERT INTO "schema_migrations" ("version") VALUES ($1) RETURNING "version"[0m [["version", "20181015143259"]]
|
1634488
|
+
[1m[35m (0.4ms)[0m [1m[35mCOMMIT[0m
|
1634489
|
+
Migrating to CreateKitheModels (20181015143413)
|
1634490
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634491
|
+
[1m[35m (13.0ms)[0m [1m[35mCREATE TABLE "kithe_models" ("id" uuid DEFAULT gen_random_uuid() NOT NULL PRIMARY KEY, "title" character varying NOT NULL, "type" character varying NOT NULL, "position" integer, "json_attributes" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)[0m
|
1634492
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634493
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT pg_advisory_unlock(6108574782232541745)[0m
|
1634494
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
|
1634495
|
+
[1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
|
1634496
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634497
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634498
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1634499
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634500
|
+
[1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
|
1634501
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1634502
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634503
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1634504
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1634505
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634506
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634507
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634508
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634509
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634510
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634511
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634512
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634513
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634514
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634515
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634516
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634517
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634518
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634519
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634520
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634521
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634522
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634523
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634524
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634525
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634526
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634527
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634528
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1634529
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634530
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1634531
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634532
|
+
[1m[36mTestWork Create (42.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.055513"], ["updated_at", "2020-05-28 13:27:06.055513"], ["kithe_model_type", 1]]
|
1634533
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634534
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634535
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634536
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634537
|
+
[1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.125570"], ["updated_at", "2020-05-28 13:27:06.125570"], ["kithe_model_type", 1]]
|
1634538
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634539
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634540
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
|
1634541
|
+
[1m[36mKithe::Model Load (0.9ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
|
1634542
|
+
[1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
|
1634543
|
+
[1m[35m (1.4ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1634560
|
+
[1m[36mTestWork Destroy (2.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "22e9e9f5-9a84-4aa1-8c38-f157c93ba832"]]
|
1634561
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634562
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634563
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634564
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634565
|
+
[1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.193645"], ["updated_at", "2020-05-28 13:27:06.193645"], ["kithe_model_type", 1]]
|
1634566
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634567
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634568
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634569
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634570
|
+
[1m[36mTestWork Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.223048"], ["updated_at", "2020-05-28 13:27:06.223048"], ["kithe_model_type", 1]]
|
1634571
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634572
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634573
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634574
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634575
|
+
[1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.266268"], ["updated_at", "2020-05-28 13:27:06.266268"], ["kithe_model_type", 1]]
|
1634576
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634577
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634578
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "fa36609d-4843-414b-934b-863543583ec2"]]
|
1634579
|
+
[1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "fa36609d-4843-414b-934b-863543583ec2"]]
|
1634580
|
+
[1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "fa36609d-4843-414b-934b-863543583ec2"]]
|
1634581
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1634598
|
+
[1m[36mTestWork Destroy (1.9ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "fa36609d-4843-414b-934b-863543583ec2"]]
|
1634599
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634600
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634601
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634602
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634603
|
+
[1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.298925"], ["updated_at", "2020-05-28 13:27:06.298925"], ["kithe_model_type", 1]]
|
1634604
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634605
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634606
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634607
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634608
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.319337"], ["updated_at", "2020-05-28 13:27:06.319337"], ["kithe_model_type", 1]]
|
1634609
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634610
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634611
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.323620"], ["updated_at", "2020-05-28 13:27:06.323620"], ["kithe_model_type", 1]]
|
1634612
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634613
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634614
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634615
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634616
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634617
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634618
|
+
[1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.351584"], ["updated_at", "2020-05-28 13:27:06.351584"], ["kithe_model_type", 1]]
|
1634619
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634620
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634621
|
+
[1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.355716"], ["updated_at", "2020-05-28 13:27:06.355716"], ["kithe_model_type", 1]]
|
1634622
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634623
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634624
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634625
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634626
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634627
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634628
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.385181"], ["updated_at", "2020-05-28 13:27:06.385181"], ["kithe_model_type", 1]]
|
1634629
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634630
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634631
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.391525"], ["updated_at", "2020-05-28 13:27:06.391525"], ["kithe_model_type", 1]]
|
1634632
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634633
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634634
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634635
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634636
|
+
[1m[36mTestWork Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.411619"], ["updated_at", "2020-05-28 13:27:06.411619"], ["kithe_model_type", 1]]
|
1634637
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634638
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1634639
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634640
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634641
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634642
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634643
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.454354"], ["updated_at", "2020-05-28 13:27:06.454354"], ["kithe_model_type", 1]]
|
1634644
|
+
[1m[35m (1.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634645
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634646
|
+
[1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.459579"], ["updated_at", "2020-05-28 13:27:06.459579"], ["kithe_model_type", 1]]
|
1634647
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634648
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634649
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634650
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634651
|
+
[1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.478927"], ["updated_at", "2020-05-28 13:27:06.478927"], ["kithe_model_type", 1]]
|
1634652
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634653
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634654
|
+
[1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-28 13:27:06.482259"], ["updated_at", "2020-05-28 13:27:06.482259"], ["kithe_model_type", 1]]
|
1634655
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634656
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634657
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634658
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634659
|
+
[1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.533804"], ["updated_at", "2020-05-28 13:27:06.533804"], ["kithe_model_type", 1]]
|
1634660
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634661
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634662
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634663
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634664
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.577007"], ["updated_at", "2020-05-28 13:27:06.577007"], ["kithe_model_type", 1]]
|
1634665
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634666
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634667
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634668
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634669
|
+
[1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.631552"], ["updated_at", "2020-05-28 13:27:06.631552"], ["kithe_model_type", 1]]
|
1634670
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634671
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634672
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634673
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634674
|
+
[1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.675079"], ["updated_at", "2020-05-28 13:27:06.675079"], ["kithe_model_type", 1]]
|
1634675
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634676
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
|
1634677
|
+
Preloading Single-Table Inheritance type TestWork for Kithe::Model
|
1634678
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "43bcc73f-f521-47fc-8b7e-f4a18742d452"], ["LIMIT", 1]]
|
1634679
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634680
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634681
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634682
|
+
[1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-28 13:27:06.718895"], ["updated_at", "2020-05-28 13:27:06.718895"], ["kithe_model_type", 1]]
|
1634683
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634684
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634685
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634686
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634687
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634688
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634689
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634690
|
+
[1m[35m (19.4ms)[0m [1m[31mROLLBACK[0m
|
1634691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634692
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634693
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1634694
|
+
[1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
|
1634695
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634696
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634697
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634698
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1634699
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634700
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634701
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634702
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1634703
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634704
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634705
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634706
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634707
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1634708
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634709
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634710
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634711
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634712
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634713
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634714
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634715
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634716
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634717
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634718
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634719
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634720
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634721
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634722
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634723
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634724
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634725
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634726
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1634727
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1634728
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1634729
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1634730
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634731
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.067849"], ["updated_at", "2020-05-28 13:27:07.067849"], ["file_data", "{\"id\":\"asset/0c9de2cc5dd334941730c142337e326f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634732
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
|
1634735
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634736
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
|
1634737
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8cb2c240-6d4b-4baf-bde4-18f55994931a/4153acfa280b68762610b8eaa2ce0d03.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.104065"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"]]
|
1634738
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634739
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [1m[36mCustomAsset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634742
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[36mCustomAsset Load (5.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
|
1634743
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8cb2c240-6d4b-4baf-bde4-18f55994931a/4153acfa280b68762610b8eaa2ce0d03.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8cb2c240-6d4b-4baf-bde4-18f55994931a/fixed/bb00357d8b20bd7f1feae29cb489a6b0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mxfeex0oe_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.124481"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"]]
|
1634744
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [6da9f0da-f5bc-4287-a5f9-b9062a11926c] [Kithe::CreateDerivativesJob] [9701372c-6ea6-4678-ab86-5cde181c2c78] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8cb2c240-6d4b-4baf-bde4-18f55994931a"], ["LIMIT", 1]]
|
1634750
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634751
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634752
|
+
[1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634753
|
+
[1m[36mCustomAsset Create (4.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.150410"], ["updated_at", "2020-05-28 13:27:07.150410"], ["file_data", "{\"id\":\"asset/fb5f6b8bb0307ba0f6b38300d7f4e422.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634754
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634757
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634758
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634759
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.165978"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
|
1634760
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634761
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [1m[36mCustomAsset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634764
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634765
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e79a53f2-60a5-40da-aa41-9dad853ea2f0/fixed/632f38816f8d0c7af92d05e384e5cc04.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jbzsjq6o4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.174059"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
|
1634766
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3fac7961-acc6-4b86-9bcb-1fe0341116da] [Kithe::CreateDerivativesJob] [018a1661-83d9-4124-abc7-fe437669fedd] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634772
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634773
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.178976"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
|
1634774
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634775
|
+
[1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634776
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634777
|
+
[1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634778
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e79a53f2-60a5-40da-aa41-9dad853ea2f0/300a4d75376d59bb2fffdc8ef9d5fe36.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e79a53f2-60a5-40da-aa41-9dad853ea2f0/fixed/712c1e8b20d6eb96c906a06b265cc8c7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jbzsjq6o4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.188634"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"]]
|
1634779
|
+
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634780
|
+
[1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e79a53f2-60a5-40da-aa41-9dad853ea2f0"], ["LIMIT", 1]]
|
1634781
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1634782
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634783
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634784
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.211918"], ["updated_at", "2020-05-28 13:27:07.211918"], ["file_data", "{\"id\":\"asset/c34f9e79249b715d23cedc9b477f64d4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634785
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634788
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634789
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634790
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.220134"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
|
1634791
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634792
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634795
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634796
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"ecedb517-744e-4e1b-8bdb-d9d265891a1b/fixed/d5a82ebc075fb2534514511a917c0010.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xkahlwppp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.227923"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
|
1634797
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [789879fb-8814-4680-a945-71f587ec2e43] [Kithe::CreateDerivativesJob] [ffc99f46-b48a-4457-8efa-bf02391d35a0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634803
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634804
|
+
[1m[36mCustomAsset Load (1.2ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634805
|
+
[1m[36mCustomAsset Update (3.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ecedb517-744e-4e1b-8bdb-d9d265891a1b/f368c79b8aa852b4fb104eb44ed3c701.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.250209"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"]]
|
1634806
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634807
|
+
[1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ecedb517-744e-4e1b-8bdb-d9d265891a1b"], ["LIMIT", 1]]
|
1634808
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634809
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634810
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634811
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.279701"], ["updated_at", "2020-05-28 13:27:07.279701"], ["file_data", "{\"id\":\"asset/291c582b6d9bd3e2f3886e8107e575c6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634812
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634815
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634816
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634817
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.288380"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634818
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634819
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634822
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634823
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/2c9d083099f2db0ed4412e2e713a4c90.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ivod6lbpn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.296268"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634824
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7676a860-4ec0-4b80-9a80-2946c5eabecc] [Kithe::CreateDerivativesJob] [d5c12e77-3692-447b-8c6e-58d9614f0ec3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634830
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634831
|
+
[1m[36mCustomAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634832
|
+
[1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7db2834e-f76d-42ee-bdaf-2a1951b9c360/e33806d1b4448aa3fb97083a1e156ec6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7db2834e-f76d-42ee-bdaf-2a1951b9c360/fixed/e88ce2cba7e1749f5b501673febd99ae.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ivod6lbpn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.306137"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634833
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634834
|
+
[1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"], ["LIMIT", 1]]
|
1634835
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634836
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634837
|
+
[1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634838
|
+
[1m[36mKithe::Model Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634839
|
+
[1m[35m (1.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1634856
|
+
[1m[36mCustomAsset Destroy (2.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7db2834e-f76d-42ee-bdaf-2a1951b9c360"]]
|
1634857
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634862
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1634863
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634864
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.351088"], ["updated_at", "2020-05-28 13:27:07.351088"], ["file_data", "{\"id\":\"asset/1db2881f0e8cad4e1eda26be3b02cfbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634865
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634868
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634869
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634870
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.360277"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634871
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634872
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634875
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634876
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/75e5601a41a5a4986de1a6719a606028.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.368969"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634877
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [a6f9a398-f739-4fb5-ba94-1994ba2a0dc2] [Kithe::CreateDerivativesJob] [50c94c84-61c2-4430-968d-d2dc3c41c9c5] [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634883
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634884
|
+
[1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634885
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/2f2d686da72a84ff7f56441201848e43.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/c356da67c33183ea6d9909665aeba06b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.377423"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634886
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634887
|
+
[1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634888
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634889
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/215137b8cdb902c7b8fadabf79447ae6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:07.381921"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634890
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634896
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634897
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634898
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/59d1f4bd8103c5c185caf8b3dd0da628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.390081"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634899
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634900
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634903
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634904
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[36mCustomAsset Update (1.2ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/edc3a144-035f-4b05-b4e0-f82e87ffc837/59d1f4bd8103c5c185caf8b3dd0da628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"edc3a144-035f-4b05-b4e0-f82e87ffc837/fixed/3b016d0d220eefbe9d939d53cd72bdfb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nerl8gqn1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.397819"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"]]
|
1634905
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dccb7651-2d19-45e6-b6c5-f0cb0022f91a] [Kithe::CreateDerivativesJob] [8f093d5b-007c-4d42-834a-b1a442c9553e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "edc3a144-035f-4b05-b4e0-f82e87ffc837"], ["LIMIT", 1]]
|
1634911
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634912
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634913
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634914
|
+
[1m[36mCustomAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.416672"], ["updated_at", "2020-05-28 13:27:07.416672"], ["file_data", "{\"id\":\"asset/16d9315229d5701a6226f491fd639ac2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634915
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634918
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634919
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634920
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.428328"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
|
1634921
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634922
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [1m[36mCustomAsset Load (1.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634925
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634926
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c14dc029-33c7-452c-b037-d458965d72cd/fixed/9e72529f727446c7bc2e794a5629bfe6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jfqwpz58b_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.436611"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
|
1634927
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [28f751db-820f-4bee-9f14-e2c433d2f64c] [Kithe::CreateDerivativesJob] [8ebe7b85-0a07-4db3-a376-2e13a897b75b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634933
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634934
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634935
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c14dc029-33c7-452c-b037-d458965d72cd/f406bcae30fc09c161a163619cc2bea0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c14dc029-33c7-452c-b037-d458965d72cd/fixed/6b16964f08993707b03975dc9abaa2a7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jfqwpz58b_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.444405"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"]]
|
1634936
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634937
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634938
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634939
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c14dc029-33c7-452c-b037-d458965d72cd"], ["LIMIT", 1]]
|
1634940
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634941
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1634942
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634943
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634944
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.484827"], ["updated_at", "2020-05-28 13:27:07.484827"], ["file_data", "{\"id\":\"asset/dee5859967968232e4275d25eb9a16ef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634945
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634948
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634949
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634950
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.493507"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
|
1634951
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634952
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
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] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634955
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634956
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/929b3b5a3d07fca75d3c125a4d1d598a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.502754"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
|
1634957
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [905b0e45-aa22-4935-b3e0-13edbebd8563] [Kithe::CreateDerivativesJob] [f4ce58f2-9d9d-4520-af9b-d2ed2d4d961a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634963
|
+
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634964
|
+
[1m[36mCustomAsset Load (3.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634965
|
+
[1m[36mCustomAsset Update (2.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/ae52f7de301ccd67dafe92dcf681b511.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.522329"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
|
1634966
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634967
|
+
[1m[36mCustomAsset Load (1.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634968
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634969
|
+
[1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"], ["LIMIT", 1]]
|
1634970
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5d13f003-8142-4cf1-87ac-fcdda4d56b96/dd748a3422690de2ec16fef0e3b73dec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5d13f003-8142-4cf1-87ac-fcdda4d56b96/fixed/43918907ccf6471822b129531c58cd47.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7lznylloq_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:07.588749"], ["id", "5d13f003-8142-4cf1-87ac-fcdda4d56b96"]]
|
1634971
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634972
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1634973
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1634974
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634975
|
+
[1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:07.617856"], ["updated_at", "2020-05-28 13:27:07.617856"], ["file_data", "{\"id\":\"asset/57710f1afd4bfe4d45919dc817ab22c9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1634976
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634979
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634980
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634981
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.626654"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
|
1634982
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634983
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
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] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634986
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634987
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/b4a01d4dd9f1be61a273936c8e1d0cb1.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.635191"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
|
1634988
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [165f71b8-2b7f-43f8-ac87-5bb2f1a050bb] [Kithe::CreateDerivativesJob] [831ea4e5-ad8a-4940-928c-ecf7cc7f686b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634994
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1634995
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634996
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/7debd0c37359f617a3aaf6206d636a82.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:07.643615"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
|
1634997
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1634998
|
+
[1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1634999
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635000
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"], ["LIMIT", 1]]
|
1635001
|
+
[1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/0f353d2a4d3c4aad07250fb84bce4396.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/fixed/7debd0c37359f617a3aaf6206d636a82.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"7hf3y0bwj_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"5a9c7a4a-13cb-4bb3-96b2-46a961376b1e/test/c55e8cc1a4cd0d0bbf6c9ae1d514950c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7hf3y0bwj_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-28 13:27:07.687184"], ["id", "5a9c7a4a-13cb-4bb3-96b2-46a961376b1e"]]
|
1635002
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635003
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635004
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635005
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635006
|
+
[1m[36mTestAsset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.710105"], ["updated_at", "2020-05-28 13:27:07.710105"], ["file_data", "{\"id\":\"asset/3378130ff132c5d096593865317765f8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635007
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
|
1635010
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635011
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"], ["LIMIT", 1]]
|
1635012
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f882a17e-3416-4f1d-b515-f6ebc0e4321f/1e94c1e12c60f31624552c911f37507c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.718788"], ["id", "f882a17e-3416-4f1d-b515-f6ebc0e4321f"]]
|
1635013
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f75c20ef-767e-4d52-ac24-8ecd641bcf49] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635017
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635018
|
+
[1m[35m (2.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635019
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.746892"], ["updated_at", "2020-05-28 13:27:07.746892"], ["file_data", "{\"id\":\"asset/ea593a33531c210a1da3694129383356.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635020
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635021
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
|
1635022
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d6c67481-19be-465d-80d2-1f86272d1f0e"], ["LIMIT", 1]]
|
1635023
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635024
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635025
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635026
|
+
[1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.775046"], ["updated_at", "2020-05-28 13:27:07.775046"], ["file_data", "{\"id\":\"asset/e37096a96970d23bda75ebb3b0eb16a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635027
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635028
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635029
|
+
[1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:07.779403"], ["file_data", "{\"id\":\"asset/d556c2c1-48cc-40ed-a73e-8def9a5adae0/78a9ca96f4831667dab475aaad53486e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d556c2c1-48cc-40ed-a73e-8def9a5adae0"]]
|
1635030
|
+
[1m[35m (4.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635031
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d556c2c1-48cc-40ed-a73e-8def9a5adae0"], ["LIMIT", 1]]
|
1635032
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635033
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635034
|
+
[1m[35m (48.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635035
|
+
[1m[36mTestAsset Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.859389"], ["updated_at", "2020-05-28 13:27:07.859389"], ["file_data", "{\"id\":\"asset/e01a972ade0daaf1d1e332e53e752523.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635036
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
|
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
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "02094f34-0460-4bad-a9c7-1e8e118a0927"], ["LIMIT", 1]]
|
1635042
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635043
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635044
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635045
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.935903"], ["updated_at", "2020-05-28 13:27:07.935903"], ["file_data", "{\"id\":\"asset/ed2327c82880c8ca88c9dcd2d6d3dce6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635046
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
|
1635049
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635050
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[36mTestAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
|
1635051
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[36mTestAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c4ef3161-f079-4f68-aa13-18fb6a0beadd/69b40bd4b33bd86e177cbf36453cd568.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:07.944520"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"]]
|
1635052
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [76fef830-80f2-4856-881e-12697f91f136] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c4ef3161-f079-4f68-aa13-18fb6a0beadd"], ["LIMIT", 1]]
|
1635056
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635057
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635058
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635059
|
+
[1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:07.962596"], ["updated_at", "2020-05-28 13:27:07.962596"], ["kithe_model_type", 2]]
|
1635060
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635061
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635062
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:07.968214"], ["file_data", "{\"id\":\"asset/c2a1306d-b8e1-45fa-8134-3be3794fee9f/f25233983f9904037a1a642a2443fa27.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c2a1306d-b8e1-45fa-8134-3be3794fee9f"]]
|
1635063
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635064
|
+
[1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c2a1306d-b8e1-45fa-8134-3be3794fee9f"], ["LIMIT", 1]]
|
1635065
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635066
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635067
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635068
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.005710"], ["updated_at", "2020-05-28 13:27:08.005710"], ["kithe_model_type", 2]]
|
1635069
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635070
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635071
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.025558"], ["file_data", "{\"id\":\"asset/731bd6b6-4306-41be-a7da-99df08a820db/8bc152598a5f5ef09e1797b1937424b2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "731bd6b6-4306-41be-a7da-99df08a820db"]]
|
1635072
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635073
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "731bd6b6-4306-41be-a7da-99df08a820db"], ["LIMIT", 1]]
|
1635074
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635075
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635076
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635077
|
+
[1m[36mTestAsset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.065342"], ["updated_at", "2020-05-28 13:27:08.065342"], ["file_data", "{\"id\":\"asset/d8e45a0a1a778d949d122a36a310739a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635078
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635079
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
|
1635080
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d24e9bcb-52f5-4a22-b6cc-4d7d97e6b9b2"], ["LIMIT", 1]]
|
1635081
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635082
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635083
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635084
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.108968"], ["updated_at", "2020-05-28 13:27:08.108968"], ["file_data", "{\"id\":\"asset/0d867207dfbbf02a8f19b07a60485779.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635085
|
+
[1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635086
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
|
1635087
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635088
|
+
[1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
|
1635089
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/35608655-b6d6-40c7-af8a-da1a53147357/a9a5a84e3aea3f0fa4f9ac3bebe43f13.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.123486"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"]]
|
1635090
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635091
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "35608655-b6d6-40c7-af8a-da1a53147357"], ["LIMIT", 1]]
|
1635092
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635093
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635094
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635095
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.174863"], ["updated_at", "2020-05-28 13:27:08.174863"], ["file_data", "{\"id\":\"asset/8beb7539559e23f3ff33181117d4987f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635096
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
|
1635099
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635100
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"], ["LIMIT", 1]]
|
1635101
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f3986010-7732-4f94-9fa8-3f07eafac633/179b002c5ed9f7d7aa645d34f3f347c4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.182470"], ["id", "f3986010-7732-4f94-9fa8-3f07eafac633"]]
|
1635102
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [dd6ddfe3-9193-4e67-84f5-76d3b48882c9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635106
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635107
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635108
|
+
[1m[36mTestAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.198375"], ["updated_at", "2020-05-28 13:27:08.198375"], ["file_data", "{\"id\":\"asset/587fb857daada9c83e0c73eb0a0e8813.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635109
|
+
[1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635110
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635111
|
+
[1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.204762"], ["file_data", "{\"id\":\"asset/f0cd1b4e-c057-45da-aab3-7f4b54eb44c3/0011b47b11fabdf8c740531b68cb8e4f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f0cd1b4e-c057-45da-aab3-7f4b54eb44c3"]]
|
1635112
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635113
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f0cd1b4e-c057-45da-aab3-7f4b54eb44c3"], ["LIMIT", 1]]
|
1635114
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1635115
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635116
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635117
|
+
[1m[36mTestAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.224675"], ["updated_at", "2020-05-28 13:27:08.224675"], ["file_data", "{\"id\":\"asset/2c59c28e4e4101220827d5bd2ad27b46.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635118
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
|
1635121
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635122
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"], ["LIMIT", 1]]
|
1635123
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c/abe841885c39214216f9c7fc51513f92.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.232817"], ["id", "b898a9e4-72b8-4a48-b20b-d9dfb0ccfa7c"]]
|
1635124
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1c804810-90a6-4eb4-a312-d3e789dfcab9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635128
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635129
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635130
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.256763"], ["updated_at", "2020-05-28 13:27:08.256763"], ["file_data", "{\"id\":\"asset/67664f3f02ebf647d715123fb0f479ce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635131
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
|
1635134
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635135
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
|
1635136
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/78abbc57-ed8e-498f-9b59-19b5f5ed5321/fc08e059af99a97ceac15d61db41433d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.266051"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"]]
|
1635137
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [046d649e-ea38-41ff-99cd-8e34eaecfffe] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "78abbc57-ed8e-498f-9b59-19b5f5ed5321"], ["LIMIT", 1]]
|
1635141
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635142
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635143
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635144
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.286833"], ["updated_at", "2020-05-28 13:27:08.286833"], ["file_data", "{\"id\":\"asset/a5261e6ca45507ca1c00e00222fc2c82.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635145
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635146
|
+
[1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3540c832-bc3a-4c79-8ccb-118455cfff1c"], ["LIMIT", 1]]
|
1635147
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635148
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635149
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635150
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.309560"], ["updated_at", "2020-05-28 13:27:08.309560"], ["file_data", "{\"id\":\"asset/2223720f20e16957f8c5469690f69807.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635151
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635152
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635153
|
+
[1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.313048"], ["file_data", "{\"id\":\"asset/3905bfff-1182-42d4-8c61-9ff874d8c7ee/f58eef97f89e46bf6dcfff8d2d14571e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"]]
|
1635154
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mTestAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
|
1635157
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3905bfff-1182-42d4-8c61-9ff874d8c7ee"], ["LIMIT", 1]]
|
1635158
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635159
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635160
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635161
|
+
[1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.350100"], ["updated_at", "2020-05-28 13:27:08.350100"], ["file_data", "{\"id\":\"asset/c3630127fab74251953115b4af0dd9c7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635162
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635163
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635164
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635165
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635166
|
+
[1m[36mTestAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.374783"], ["updated_at", "2020-05-28 13:27:08.374783"], ["file_data", "{\"id\":\"asset/8684a2df618504950a2860da9d2872f1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635167
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635168
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635169
|
+
[1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.378739"], ["file_data", "{\"id\":\"asset/d0d19638-a972-4f4c-a69e-a8d3357d394f/d9582d8d3ad552deb98280f432ebb274.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d0d19638-a972-4f4c-a69e-a8d3357d394f"]]
|
1635170
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635171
|
+
[1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d0d19638-a972-4f4c-a69e-a8d3357d394f"], ["LIMIT", 1]]
|
1635172
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635173
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635174
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635175
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.403957"], ["updated_at", "2020-05-28 13:27:08.403957"], ["file_data", "{\"id\":\"asset/78410dd2f0d8bdb52121ca37ac922d9a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635176
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635177
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635178
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.407458"], ["file_data", "{\"id\":\"asset/5e7d9d2e-876d-421f-b17c-3b1c31e4934b/d07cbae792c6f529e31ae00b0c6f5141.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5e7d9d2e-876d-421f-b17c-3b1c31e4934b"]]
|
1635179
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "5e7d9d2e-876d-421f-b17c-3b1c31e4934b"], ["LIMIT", 1]]
|
1635183
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635184
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635185
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635186
|
+
[1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.428937"], ["updated_at", "2020-05-28 13:27:08.428937"], ["file_data", "{\"id\":\"asset/eb30975048c2d40e0659d110d4059f2d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635187
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635188
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635189
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.432306"], ["file_data", "{\"id\":\"asset/d0201c0b-1ec2-45e3-8621-6ebae6317add/aadaa9aaafdb90350618d930498707b6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
|
1635190
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635191
|
+
[1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"], ["LIMIT", 1]]
|
1635192
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635193
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
|
1635194
|
+
[1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
|
1635195
|
+
[1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
|
1635196
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635213
|
+
[1m[36mTestAsset Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d0201c0b-1ec2-45e3-8621-6ebae6317add"]]
|
1635214
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635215
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635216
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635217
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635218
|
+
[1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-28 13:27:08.458483"], ["updated_at", "2020-05-28 13:27:08.458483"], ["file_data", "{\"id\":\"asset/66553b9056b881b57abfcbab8f3d91fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635219
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635220
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635221
|
+
[1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.462807"], ["file_data", "{\"id\":\"asset/85115cf7-afb7-4577-a59d-463810ff4299/9b22e5cb936e0a47a342526867d9ea4b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
|
1635222
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635223
|
+
[1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "85115cf7-afb7-4577-a59d-463810ff4299"], ["LIMIT", 1]]
|
1635224
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635225
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
|
1635226
|
+
[1m[36mKithe::Model Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
|
1635227
|
+
[1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
|
1635228
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635245
|
+
[1m[36mTestAsset Destroy (1.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "85115cf7-afb7-4577-a59d-463810ff4299"]]
|
1635246
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635247
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635248
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635249
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635250
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635251
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635252
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635253
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635254
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635255
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635256
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635257
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635258
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.499124"], ["updated_at", "2020-05-28 13:27:08.499124"], ["kithe_model_type", 2]]
|
1635259
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635260
|
+
[1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23) AND "kithe_models"."id" = $24 LIMIT $25[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "cb9b36c5-d1d4-49e6-9f87-b618763f07d1"], ["LIMIT", 1]]
|
1635261
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1635262
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635263
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635264
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635265
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635266
|
+
[1m[36mAssetSubclass Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:08.548191"], ["updated_at", "2020-05-28 13:27:08.548191"], ["kithe_model_type", 2]]
|
1635267
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635268
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635269
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1635270
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635271
|
+
[1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:08.568371"], ["updated_at", "2020-05-28 13:27:08.568371"], ["kithe_model_type", 2]]
|
1635272
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635273
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635274
|
+
[1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.572462"], ["file_data", "{\"id\":\"asset/6a3b85c0-6d90-43b3-bbaf-99303d3b5637/d3e44e4863a21b7a8806b6e94f9eeb2d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"]]
|
1635275
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635276
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635277
|
+
[1m[36mAssetSubclass Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.575605"], ["file_data", "{\"id\":\"asset/6a3b85c0-6d90-43b3-bbaf-99303d3b5637/2e2073d13a2e86db3fe058d77b3dd108.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"]]
|
1635278
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635279
|
+
[1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "6a3b85c0-6d90-43b3-bbaf-99303d3b5637"], ["LIMIT", 1]]
|
1635280
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635281
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1635282
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635283
|
+
[1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.582926"], ["updated_at", "2020-05-28 13:27:08.582926"], ["kithe_model_type", 2]]
|
1635284
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635285
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635286
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635287
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635288
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635289
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635290
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.593962"], ["updated_at", "2020-05-28 13:27:08.593962"], ["kithe_model_type", 2]]
|
1635291
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635292
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635293
|
+
[1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.597155"], ["updated_at", "2020-05-28 13:27:08.597155"], ["kithe_model_type", 2]]
|
1635294
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635295
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635296
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635297
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635298
|
+
[1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.606476"], ["updated_at", "2020-05-28 13:27:08.606476"], ["file_data", "{\"id\":\"asset/4b146c49ce408fc5f859e2ba32b21762.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635299
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
|
1635302
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635303
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
|
1635304
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/280f7e6a-79d9-4df0-8248-a28ab91df58a/23e85eded2c967a19c0b7075f128be3f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.616063"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"]]
|
1635305
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [1e5545f3-353e-42b0-abe7-4e5551d42bfe] [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "280f7e6a-79d9-4df0-8248-a28ab91df58a"], ["LIMIT", 1]]
|
1635309
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635310
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635311
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635312
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635313
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635314
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.628022"], ["updated_at", "2020-05-28 13:27:08.628022"], ["kithe_model_type", 2]]
|
1635315
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635316
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635317
|
+
[1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.630963"], ["file_data", "{\"id\":\"asset/9091203a09d65395f0c5464902b32ebe.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"]]
|
1635318
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
|
1635321
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635322
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
|
1635323
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f6cc8f95-07f9-434e-855f-6f1241aa4fe4/ab77cc005ebb8762f4889dd0aa852e69.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:08.640776"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"]]
|
1635324
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3b151f50-92e0-4492-ae64-a646b025a658] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f6cc8f95-07f9-434e-855f-6f1241aa4fe4"], ["LIMIT", 1]]
|
1635328
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635329
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1635330
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635331
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.651277"], ["updated_at", "2020-05-28 13:27:08.651277"], ["file_data", "{\"id\":\"asset/a43036b3fbd4d7a6b877a3a41d2c14a8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635332
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635335
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e9dca681-e26d-4a71-afe9-cc37bfe7bd99"], ["LIMIT", 1]]
|
1635336
|
+
[1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:08.658803"], ["file_data", "{\"id\":\"asset/e9dca681-e26d-4a71-afe9-cc37bfe7bd99/90230d7f9bcf36cc8c162c5c1d1afab6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e9dca681-e26d-4a71-afe9-cc37bfe7bd99"]]
|
1635337
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635338
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635339
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635340
|
+
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635341
|
+
[1m[36mKithe::Asset Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.664173"], ["updated_at", "2020-05-28 13:27:08.664173"], ["file_data", "{\"id\":\"asset/623ef2d20e0b864b36c5f6348c7c778a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635342
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"], ["LIMIT", 1]]
|
1635345
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635346
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"], ["LIMIT", 1]]
|
1635347
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d4420d1c-d80e-46ee-b4f8-041a5959872a/19bb9719fedf7432e6dde161bf5b57d2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.676453"], ["id", "d4420d1c-d80e-46ee-b4f8-041a5959872a"]]
|
1635348
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [722e50e7-6305-4857-a8d4-6915fa748d24] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635352
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.680861"], ["updated_at", "2020-05-28 13:27:08.680861"], ["file_data", "{\"id\":\"asset/a9decab628d72238cb86077cf0ff860c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635353
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
|
1635356
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635357
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
|
1635358
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/9174fbfe-58c6-4643-b911-46c04fe12808/ef16024da5e430ecad80fa65aaedfd04.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.688790"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"]]
|
1635359
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [42049985-85a7-46d0-9e51-710695626049] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9174fbfe-58c6-4643-b911-46c04fe12808"], ["LIMIT", 1]]
|
1635363
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635364
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635365
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635366
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.696452"], ["updated_at", "2020-05-28 13:27:08.696452"], ["file_data", "{\"id\":\"asset/103984aa1d920dcf836521defe6e5456.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635367
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (2.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
|
1635370
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635371
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
|
1635372
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.707646"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635373
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [d3a86fe3-b8f0-4dde-8e94-52c3ee33517e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
|
1635377
|
+
[1m[35m (93.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635378
|
+
[1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"], ["LIMIT", 1]]
|
1635379
|
+
[1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/08d672b8-84ad-4ba3-8cd3-09ad7bb56746/72294928dc89a15ee3cad828d1e8bd58.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"08d672b8-84ad-4ba3-8cd3-09ad7bb56746/existing/c4444ec6a340429ef03b7679f098367f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jdjt63xsb_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:08.867750"], ["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635380
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635381
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635382
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635383
|
+
[1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635384
|
+
[1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635385
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635402
|
+
[1m[36mKithe::Asset Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "08d672b8-84ad-4ba3-8cd3-09ad7bb56746"]]
|
1635403
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635408
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635409
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635410
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:08.887325"], ["updated_at", "2020-05-28 13:27:08.887325"], ["file_data", "{\"id\":\"asset/976f7e9696961e001fa1f8d2c320d81f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635411
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (1.1ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635414
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635415
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635416
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:08.897884"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
|
1635417
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [bee9f102-c2b3-439c-a80d-c4cc6f6f4426] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635421
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635422
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635423
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/12d50c55459a91aa6b85efe71fe63fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"b3cdce63-1624-4f10-bbef-a66f9de051cf/existing/5ba02da6a79430c1b5b7e1d42b3f392c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dnrg3ige1_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:08.942169"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
|
1635424
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635425
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635426
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/40badb6979c0e54a83b61ee4b12621dd.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:08.984877"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
|
1635427
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635433
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635434
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"], ["LIMIT", 1]]
|
1635435
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3cdce63-1624-4f10-bbef-a66f9de051cf/abe9fad4d3ded94564513d6f422f5240.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-28 13:27:08.995850"], ["id", "b3cdce63-1624-4f10-bbef-a66f9de051cf"]]
|
1635436
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [f1eea42b-fd46-4ba6-b327-0ddc5cb13b76] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635440
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635441
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635442
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.002785"], ["updated_at", "2020-05-28 13:27:09.002785"], ["file_data", "{\"id\":\"asset/3173822f962a0ac9c9c15c38846073a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635443
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
|
1635446
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635447
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
|
1635448
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/87ce534d-fede-4cbf-98e3-29031a7f1e8d/09de7a6e3d982394a84a072dd22fe2fb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-28 13:27:09.056863"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"]]
|
1635449
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [7c644b0e-a9bb-4c1b-9cfa-0b8353679db5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
|
1635453
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635454
|
+
[1m[36mKithe::Asset Load (1.2ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"], ["LIMIT", 1]]
|
1635455
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/87ce534d-fede-4cbf-98e3-29031a7f1e8d/09de7a6e3d982394a84a072dd22fe2fb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"87ce534d-fede-4cbf-98e3-29031a7f1e8d/existing/fb1b68d666279aa697a7355e07dbe98f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"au0xx7kqn_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:09.102697"], ["id", "87ce534d-fede-4cbf-98e3-29031a7f1e8d"]]
|
1635456
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635457
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635458
|
+
[1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.106510"], ["updated_at", "2020-05-28 13:27:09.106510"], ["file_data", "{\"id\":\"asset/7d39dbf628f109681cd205b2bc301a9c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1635459
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635460
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"], ["LIMIT", 1]]
|
1635461
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635462
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"], ["LIMIT", 1]]
|
1635463
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7d39dbf628f109681cd205b2bc301a9c.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"d4656db9-6f10-4f7a-b065-f06d0404f787/test/e5b299c9a45216b5299f0b3ffefd66a4.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tnvj0lrmp_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-28 13:27:09.117926"], ["id", "d4656db9-6f10-4f7a-b065-f06d0404f787"]]
|
1635464
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635465
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635466
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635467
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635468
|
+
[1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.147296"], ["updated_at", "2020-05-28 13:27:09.147296"], ["kithe_model_type", 0]]
|
1635469
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635470
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1635471
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635472
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635473
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635474
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635475
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635476
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635477
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635478
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635479
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635480
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635481
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635482
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
1635483
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635484
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635485
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635486
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635487
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635488
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1635489
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
1635490
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635491
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635492
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635493
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635494
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635495
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635496
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635497
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635498
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635499
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635500
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635501
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1635502
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635503
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635504
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635505
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635506
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635507
|
+
[1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
|
1635508
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635509
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1635510
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635511
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1635512
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1635513
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635514
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635515
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635516
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635517
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635518
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635519
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635520
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
1635521
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635522
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635523
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635524
|
+
[1m[35m (6.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635525
|
+
[1m[36mKithe::Work Create (2.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.248424"], ["updated_at", "2020-05-28 13:27:09.248424"], ["kithe_model_type", 1]]
|
1635526
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635527
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b79ccd38-0ebf-4346-be2a-098846a01974"], ["LIMIT", 1]]
|
1635528
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635529
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635530
|
+
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635531
|
+
[1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.264602"], ["updated_at", "2020-05-28 13:27:09.264602"], ["kithe_model_type", 1]]
|
1635532
|
+
[1m[35m (4.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635533
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "be3f48b5-f805-4b9a-9c49-9e1378faa60d"], ["LIMIT", 1]]
|
1635534
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635535
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635536
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635537
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635538
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635539
|
+
[1m[36mKithe::Collection Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.291228"], ["updated_at", "2020-05-28 13:27:09.291228"], ["kithe_model_type", 0]]
|
1635540
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635541
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635542
|
+
[1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.295407"], ["updated_at", "2020-05-28 13:27:09.295407"], ["kithe_model_type", 1]]
|
1635543
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635544
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635545
|
+
[1m[36mKithe::ModelContains Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635546
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635547
|
+
[1m[36mKithe::Model Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["LIMIT", 1]]
|
1635548
|
+
[1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
|
1635549
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635550
|
+
[1m[36mKithe::Collection Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.315308"], ["updated_at", "2020-05-28 13:27:09.315308"], ["kithe_model_type", 0]]
|
1635551
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635552
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635553
|
+
[1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
|
1635554
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635555
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
|
1635556
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
|
1635557
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635558
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
|
1635559
|
+
[1m[36mKithe::ModelContains Load (0.6ms)[0m [1m[34mSELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
|
1635560
|
+
[1m[36mKithe::ModelContains Destroy (0.4ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_model_contains"."container_id" IN ($2, $3)[0m [["containee_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
|
1635561
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
|
1635562
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635579
|
+
[1m[36mKithe::Work Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "dfbbed7f-02d5-4eb2-8400-99f580aae0ce"]]
|
1635580
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635581
|
+
[1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["LIMIT", 1]]
|
1635582
|
+
[1m[36mKithe::Collection Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"], ["LIMIT", 1]]
|
1635583
|
+
[1m[35m (1.0ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635584
|
+
[1m[35m (0.7ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7bc8052d-dfe2-4d92-aee6-a6b59e52989f"]]
|
1635585
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635586
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.342121"], ["updated_at", "2020-05-28 13:27:09.342121"], ["kithe_model_type", 1]]
|
1635587
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635588
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635589
|
+
[1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635590
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635591
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635592
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635593
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635594
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635595
|
+
[1m[36mKithe::ModelContains Load (0.3ms)[0m [1m[34mSELECT "kithe_model_contains".* FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
|
1635596
|
+
[1m[36mKithe::ModelContains Destroy (0.4ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"], ["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
|
1635597
|
+
[1m[35m (1.1ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635614
|
+
[1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "e7e545cf-c8c9-4d4e-baec-6cdfdc19a369"]]
|
1635615
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635616
|
+
[1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b44a5b30-456a-489c-ac5a-408533ced8b5"], ["LIMIT", 1]]
|
1635617
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "b44a5b30-456a-489c-ac5a-408533ced8b5"]]
|
1635618
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635619
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635620
|
+
[31mUnpermitted parameter: :zot[0m
|
1635621
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635622
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635623
|
+
[31mUnpermitted parameter: :unselected[0m
|
1635624
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635625
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635626
|
+
[31mUnpermitted parameter: :unselected[0m
|
1635627
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1635628
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635629
|
+
[31mUnpermitted parameter: :unselected[0m
|
1635630
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635631
|
+
[1m[35m (2.0ms)[0m [1m[35mBEGIN[0m
|
1635632
|
+
[31mUnpermitted parameter: :unselected[0m
|
1635633
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635634
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635635
|
+
[31mUnpermitted parameters: :unselected, :other_value[0m
|
1635636
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635637
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635638
|
+
[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
|
1635639
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635640
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1635641
|
+
[31mUnpermitted parameter: :unselected[0m
|
1635642
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635643
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
1635644
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635645
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.395734"], ["updated_at", "2020-05-28 13:27:09.395734"], ["kithe_model_type", 1]]
|
1635646
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635647
|
+
[1m[35m (2.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635648
|
+
[1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.399108"], ["updated_at", "2020-05-28 13:27:09.399108"], ["kithe_model_type", 2]]
|
1635649
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635650
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635651
|
+
[1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"]]
|
1635664
|
+
[1m[36mKithe::Work Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.407212"], ["representative_id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["leaf_representative_id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["id", "dcb6835d-9daa-4f5b-98f2-94c0dc1375d7"]]
|
1635665
|
+
[1m[35m (2.5ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635682
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635683
|
+
[1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dcb6835d-9daa-4f5b-98f2-94c0dc1375d7"], ["LIMIT", 1]]
|
1635684
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "f0205e78-a7f2-4368-9ccc-ac9aeb13d40d"], ["LIMIT", 1]]
|
1635685
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635686
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635687
|
+
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635688
|
+
[1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.418722"], ["updated_at", "2020-05-28 13:27:09.418722"], ["kithe_model_type", 2]]
|
1635689
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635690
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1635691
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635692
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635693
|
+
[1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.424048"], ["updated_at", "2020-05-28 13:27:09.424048"], ["kithe_model_type", 2]]
|
1635694
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635695
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635696
|
+
[1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"]]
|
1635709
|
+
[1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.428097"], ["updated_at", "2020-05-28 13:27:09.428097"], ["representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["leaf_representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["kithe_model_type", 1]]
|
1635710
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635727
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635728
|
+
[1m[36mKithe::Model Load (3.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
|
1635729
|
+
[1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635730
|
+
[1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "359a1873-4f9d-41d9-9645-d7268741163e"]]
|
1635743
|
+
[1m[36mKithe::Work Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.439833"], ["updated_at", "2020-05-28 13:27:09.439833"], ["representative_id", "359a1873-4f9d-41d9-9645-d7268741163e"], ["leaf_representative_id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["kithe_model_type", 1]]
|
1635744
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635761
|
+
[1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635762
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "bb9bce9f-482a-4d16-8c18-90158bb1a9ce"], ["LIMIT", 1]]
|
1635763
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635764
|
+
[1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, nil]]
|
1635777
|
+
[1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.447227"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "eb051396-eae0-49ab-af52-a4a093294ad4"]]
|
1635778
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635795
|
+
[1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635796
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635797
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635798
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635799
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.453009"], ["updated_at", "2020-05-28 13:27:09.453009"], ["kithe_model_type", 2]]
|
1635800
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635801
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635802
|
+
[1m[36mset_leaf_representative (1.0ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "8878a930-2149-4716-908e-48c3a34e04fe"]]
|
1635815
|
+
[1m[36mKithe::Work Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.479373"], ["updated_at", "2020-05-28 13:27:09.479373"], ["representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["leaf_representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["kithe_model_type", 1]]
|
1635816
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635833
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635834
|
+
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635835
|
+
[1m[36mset_leaf_representative (1.1ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"]]
|
1635848
|
+
[1m[36mKithe::Work Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.486845"], ["updated_at", "2020-05-28 13:27:09.486845"], ["representative_id", "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"], ["leaf_representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["kithe_model_type", 1]]
|
1635849
|
+
[1m[35m (1.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635866
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635867
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635868
|
+
[1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.491555"], ["representative_id", "8878a930-2149-4716-908e-48c3a34e04fe"], ["leaf_representative_id", "7c7f9633-9328-42cf-bbd8-af8fe132cbb2"], ["id", "ab1d6f7b-894b-4c24-8ad5-b27da01f5f5c"]]
|
1635869
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635886
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635887
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635888
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1635889
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635890
|
+
[1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.498902"], ["updated_at", "2020-05-28 13:27:09.498902"], ["kithe_model_type", 2]]
|
1635891
|
+
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635892
|
+
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635893
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.504247"], ["updated_at", "2020-05-28 13:27:09.504247"], ["kithe_model_type", 2]]
|
1635894
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635895
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635896
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "579c128e-de70-45cf-8086-cd025b0ea45a"]]
|
1635909
|
+
[1m[36mKithe::Work Create (4.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.508663"], ["updated_at", "2020-05-28 13:27:09.508663"], ["representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["leaf_representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["kithe_model_type", 1]]
|
1635910
|
+
[1m[35m (5.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635927
|
+
[1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635928
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635929
|
+
[1m[36mset_leaf_representative (1.4ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
|
1635942
|
+
[1m[36mKithe::Work Create (4.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.528953"], ["updated_at", "2020-05-28 13:27:09.528953"], ["representative_id", "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"], ["leaf_representative_id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["kithe_model_type", 1]]
|
1635943
|
+
[1m[35m (3.4ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635960
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635961
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635962
|
+
[1m[36mKithe::Work Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:09.539645"], ["leaf_representative_id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["id", "46cb7c73-4981-449e-af89-07f8684ee919"]]
|
1635963
|
+
[1m[35m (1.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1635980
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1635981
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "73f9849c-50d0-4e9a-a4bc-90dfcfec47e8"], ["LIMIT", 1]]
|
1635982
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "a7453ad0-1668-4fe7-9bd5-9f9c8ff9f747"]]
|
1635995
|
+
[1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "579c128e-de70-45cf-8086-cd025b0ea45a"], ["LIMIT", 1]]
|
1635996
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1635997
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1635998
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1635999
|
+
[1m[36mKithe::Work Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.551032"], ["updated_at", "2020-05-28 13:27:09.551032"], ["kithe_model_type", 1]]
|
1636000
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636001
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636002
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.555776"], ["updated_at", "2020-05-28 13:27:09.555776"], ["kithe_model_type", 1]]
|
1636003
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636004
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636005
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "66be62a1-54de-4035-ab32-6b7b88d04b98"]]
|
1636018
|
+
[1m[36mKithe::Work Update (2.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.558903"], ["representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["leaf_representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["id", "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"]]
|
1636019
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636036
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636037
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636038
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"]]
|
1636051
|
+
[1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.565125"], ["representative_id", "6ccbc19c-d4c4-49a9-b08a-ec10fde8cbb1"], ["leaf_representative_id", "66be62a1-54de-4035-ab32-6b7b88d04b98"], ["id", "66be62a1-54de-4035-ab32-6b7b88d04b98"]]
|
1636052
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636069
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636070
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1636071
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1636072
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636073
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.570421"], ["updated_at", "2020-05-28 13:27:09.570421"], ["kithe_model_type", 2]]
|
1636074
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636075
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636076
|
+
[1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.573317"], ["updated_at", "2020-05-28 13:27:09.573317"], ["kithe_model_type", 2]]
|
1636077
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636078
|
+
[1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636079
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "1dcd3033-2243-43ac-8b66-b255f7efeadc"]]
|
1636092
|
+
[1m[36mKithe::Work Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.577954"], ["updated_at", "2020-05-28 13:27:09.577954"], ["representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636093
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636110
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636111
|
+
[1m[35m (2.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636112
|
+
[1m[36mset_leaf_representative (0.9ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "eb947234-5410-44ec-812f-1b97917e5163"]]
|
1636125
|
+
[1m[36mKithe::Work Create (1.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.586479"], ["updated_at", "2020-05-28 13:27:09.586479"], ["representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["kithe_model_type", 1]]
|
1636126
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636143
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636144
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636145
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
|
1636158
|
+
[1m[36mKithe::Work Create (2.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.592302"], ["updated_at", "2020-05-28 13:27:09.592302"], ["representative_id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636159
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636176
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636177
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636178
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "e1b9faab-40a0-475c-8843-0f70d51e46db"]]
|
1636191
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.598466"], ["updated_at", "2020-05-28 13:27:09.598466"], ["representative_id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636192
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636209
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636210
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636211
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
|
1636224
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.602944"], ["updated_at", "2020-05-28 13:27:09.602944"], ["representative_id", "dc580c76-9db9-4c04-8887-e39b0e55479c"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["kithe_model_type", 1]]
|
1636225
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636242
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636243
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636244
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "dc24e734-fbf3-4464-826c-f567ea9527f8"]]
|
1636257
|
+
[1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.607771"], ["updated_at", "2020-05-28 13:27:09.607771"], ["representative_id", "dc24e734-fbf3-4464-826c-f567ea9527f8"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636258
|
+
[1m[35m (0.8ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636275
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636276
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636277
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
|
1636290
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.612520"], ["updated_at", "2020-05-28 13:27:09.612520"], ["representative_id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636291
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636308
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636309
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636310
|
+
[1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "1f9fb17c-5719-4358-bfd1-ad10e92c7208"]]
|
1636323
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.617711"], ["updated_at", "2020-05-28 13:27:09.617711"], ["representative_id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["leaf_representative_id", "1dcd3033-2243-43ac-8b66-b255f7efeadc"], ["kithe_model_type", 1]]
|
1636324
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636341
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636342
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636343
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "dc580c76-9db9-4c04-8887-e39b0e55479c"]]
|
1636356
|
+
[1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.621756"], ["representative_id", "dc580c76-9db9-4c04-8887-e39b0e55479c"], ["leaf_representative_id", "eb947234-5410-44ec-812f-1b97917e5163"], ["id", "dc24e734-fbf3-4464-826c-f567ea9527f8"]]
|
1636357
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636374
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636375
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "dc24e734-fbf3-4464-826c-f567ea9527f8"], ["LIMIT", 1]]
|
1636376
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "1f9fb17c-5719-4358-bfd1-ad10e92c7208"], ["LIMIT", 1]]
|
1636377
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "6df201a6-00b2-4031-b1c9-7cfcf5ebce58"], ["LIMIT", 1]]
|
1636378
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "07fd4c28-5618-4f35-a71a-075de1217e0d"], ["LIMIT", 1]]
|
1636379
|
+
[1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "ea150d33-8322-446b-8b1d-ba9cb7327d60"], ["LIMIT", 1]]
|
1636380
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "e1b9faab-40a0-475c-8843-0f70d51e46db"], ["LIMIT", 1]]
|
1636381
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
1636382
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1636383
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636384
|
+
[1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.636936"], ["updated_at", "2020-05-28 13:27:09.636936"], ["kithe_model_type", 2]]
|
1636385
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636386
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636387
|
+
[1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.639820"], ["updated_at", "2020-05-28 13:27:09.639820"], ["kithe_model_type", 2]]
|
1636388
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636389
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636390
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "2a3bafee-568a-4789-9fb0-18ba8580ebdb"]]
|
1636403
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.643249"], ["updated_at", "2020-05-28 13:27:09.643249"], ["representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636404
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636421
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636422
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636423
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
|
1636436
|
+
[1m[36mKithe::Work Create (4.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.647888"], ["updated_at", "2020-05-28 13:27:09.647888"], ["representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["kithe_model_type", 1]]
|
1636437
|
+
[1m[35m (1.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636454
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636455
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636456
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
|
1636469
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.656921"], ["updated_at", "2020-05-28 13:27:09.656921"], ["representative_id", "d3c46495-2aab-434d-8bd2-f993d849db3d"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636470
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636487
|
+
[1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636488
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636489
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
|
1636502
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.662643"], ["updated_at", "2020-05-28 13:27:09.662643"], ["representative_id", "d3c46495-2aab-434d-8bd2-f993d849db3d"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636503
|
+
[1m[35m (0.8ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636520
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636521
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636522
|
+
[1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "cec20540-1d95-4b79-b9c7-ba38e9ec5905"]]
|
1636535
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.667502"], ["updated_at", "2020-05-28 13:27:09.667502"], ["representative_id", "cec20540-1d95-4b79-b9c7-ba38e9ec5905"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["kithe_model_type", 1]]
|
1636536
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636553
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636554
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636555
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "0d195872-11ad-43c0-9a82-511439009819"]]
|
1636568
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.671891"], ["updated_at", "2020-05-28 13:27:09.671891"], ["representative_id", "0d195872-11ad-43c0-9a82-511439009819"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636569
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636586
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636587
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636588
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
|
1636601
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.676582"], ["updated_at", "2020-05-28 13:27:09.676582"], ["representative_id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636602
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636619
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636620
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636621
|
+
[1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "f306b045-f25b-4d56-8c68-93c7c9c5bea1"]]
|
1636634
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.680842"], ["updated_at", "2020-05-28 13:27:09.680842"], ["representative_id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["leaf_representative_id", "2a3bafee-568a-4789-9fb0-18ba8580ebdb"], ["kithe_model_type", 1]]
|
1636635
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636652
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636653
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636654
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "5ff79c01-ec05-497f-8dd4-c6a9673684ff"]]
|
1636667
|
+
[1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-28 13:27:09.685295"], ["representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["leaf_representative_id", "5ff79c01-ec05-497f-8dd4-c6a9673684ff"], ["id", "d3c46495-2aab-434d-8bd2-f993d849db3d"]]
|
1636668
|
+
[1m[35m (1.4ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636685
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636686
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "0d195872-11ad-43c0-9a82-511439009819"], ["LIMIT", 1]]
|
1636687
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "b87d8772-deb7-45f9-8a8c-704d425c3c73"], ["LIMIT", 1]]
|
1636688
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "f306b045-f25b-4d56-8c68-93c7c9c5bea1"], ["LIMIT", 1]]
|
1636689
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "845809c1-5fae-49bf-bb19-7c1a3b4ed4c3"], ["LIMIT", 1]]
|
1636690
|
+
[1m[36mKithe::Work Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "9a9cc391-7034-48c3-944f-1cadd9bafe40"], ["LIMIT", 1]]
|
1636691
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1636692
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1636693
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636694
|
+
[1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.696953"], ["updated_at", "2020-05-28 13:27:09.696953"], ["kithe_model_type", 2]]
|
1636695
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636696
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636697
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
|
1636710
|
+
[1m[36mKithe::Work Create (1.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.701769"], ["updated_at", "2020-05-28 13:27:09.701769"], ["representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["leaf_representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["kithe_model_type", 1]]
|
1636711
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636728
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636729
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636730
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "a2d6ebe6-8972-44e6-9a35-70871642686e"]]
|
1636743
|
+
[1m[36mKithe::Collection Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:09.707874"], ["updated_at", "2020-05-28 13:27:09.707874"], ["representative_id", "a2d6ebe6-8972-44e6-9a35-70871642686e"], ["leaf_representative_id", "1b99f6bb-f336-4e58-849d-486b2d591c85"], ["kithe_model_type", 0]]
|
1636744
|
+
[1m[35m (1.3ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636761
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636762
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
|
1636763
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1b99f6bb-f336-4e58-849d-486b2d591c85"]]
|
1636764
|
+
[1m[35m (2.4ms)[0m [1m[31mROLLBACK[0m
|
1636765
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1636766
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636767
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.744799"], ["updated_at", "2020-05-28 13:27:09.744799"], ["kithe_model_type", 2]]
|
1636768
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636769
|
+
[1m[35m (22.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636770
|
+
[1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "071d1477-1105-4d70-b3c1-0927faf167a0"]]
|
1636783
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.773880"], ["updated_at", "2020-05-28 13:27:09.773880"], ["representative_id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["leaf_representative_id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["kithe_model_type", 1]]
|
1636784
|
+
[1m[35m (86.8ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636801
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636802
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"], ["LIMIT", 1]]
|
1636803
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636804
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
|
1636805
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
|
1636806
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
|
1636807
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636824
|
+
[1m[36mKithe::Asset Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "071d1477-1105-4d70-b3c1-0927faf167a0"]]
|
1636825
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636826
|
+
[1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "7b8ba2f7-766d-4365-9d5e-1f441c98812e"], ["LIMIT", 1]]
|
1636827
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1636828
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1636829
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636830
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.887580"], ["updated_at", "2020-05-28 13:27:09.887580"], ["kithe_model_type", 2]]
|
1636831
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636832
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636833
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"]]
|
1636846
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.892838"], ["updated_at", "2020-05-28 13:27:09.892838"], ["representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["leaf_representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["kithe_model_type", 1]]
|
1636847
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636864
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636865
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636866
|
+
[1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
|
1636879
|
+
[1m[36mKithe::Work Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.900139"], ["updated_at", "2020-05-28 13:27:09.900139"], ["representative_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"], ["leaf_representative_id", "d037d8f5-934e-4ba7-baec-e3571ab3d8cd"], ["kithe_model_type", 1]]
|
1636880
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636897
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636898
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636899
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
|
1636900
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
|
1636901
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
|
1636902
|
+
[1m[35m (1.0ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636919
|
+
[1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "4046e7aa-b7ca-406f-ad14-0ea8f46aad55"]]
|
1636920
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636921
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "4c0b5951-09d5-4e35-8707-513e33e20fa2"], ["LIMIT", 1]]
|
1636922
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1636923
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1636924
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636925
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.921503"], ["updated_at", "2020-05-28 13:27:09.921503"], ["kithe_model_type", 2]]
|
1636926
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636927
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636928
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
|
1636941
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.927222"], ["updated_at", "2020-05-28 13:27:09.927222"], ["representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["leaf_representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["kithe_model_type", 1]]
|
1636942
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636959
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636960
|
+
[1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636961
|
+
[1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH 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
|
+
[0m [[nil, "975f2f40-71f6-453b-9828-52127f9f374a"]]
|
1636974
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "representative_id", "leaf_representative_id", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.940356"], ["updated_at", "2020-05-28 13:27:09.940356"], ["representative_id", "975f2f40-71f6-453b-9828-52127f9f374a"], ["leaf_representative_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"], ["kithe_model_type", 1]]
|
1636975
|
+
[1m[35m (0.9ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1636992
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1636993
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1636994
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
|
1636995
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
|
1636996
|
+
[1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
|
1636997
|
+
[1m[35m (1.2ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1637014
|
+
[1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "cbb72ee8-15f9-4471-8101-b2327a8d1c09"]]
|
1637015
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637016
|
+
[1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "57fa9785-a4b2-4465-9cee-a04f408123b1"], ["LIMIT", 1]]
|
1637017
|
+
[1m[36mKithe::Work Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "975f2f40-71f6-453b-9828-52127f9f374a"], ["LIMIT", 1]]
|
1637018
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637019
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637020
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637021
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.960083"], ["updated_at", "2020-05-28 13:27:09.960083"], ["kithe_model_type", 1]]
|
1637022
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637023
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637024
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637025
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637026
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637027
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637028
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.972807"], ["updated_at", "2020-05-28 13:27:09.972807"], ["kithe_model_type", 1]]
|
1637029
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637030
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637031
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:09.977388"], ["updated_at", "2020-05-28 13:27:09.977388"], ["kithe_model_type", 2]]
|
1637032
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637033
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637034
|
+
[1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:09.981546"], ["parent_id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["id", "4c9e6bb1-92f8-41bb-8fcc-7d0d946315f1"]]
|
1637035
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637036
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13) AND "kithe_models"."id" = $14 LIMIT $15[0m [["type", "Kithe::Asset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["id", "4c9e6bb1-92f8-41bb-8fcc-7d0d946315f1"], ["LIMIT", 1]]
|
1637037
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "fb667347-42e3-4c67-a3e7-cd8922aa0dd1"], ["LIMIT", 1]]
|
1637038
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
|
1637039
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637040
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637041
|
+
[1m[36mKithe::Work Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:09.997250"], ["updated_at", "2020-05-28 13:27:09.997250"], ["kithe_model_type", 1]]
|
1637042
|
+
[1m[35m (2.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637043
|
+
[1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637044
|
+
[1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.004486"], ["updated_at", "2020-05-28 13:27:10.004486"], ["kithe_model_type", 1]]
|
1637045
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637046
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637047
|
+
[1m[36mKithe::Work Update (1.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.008424"], ["parent_id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"]]
|
1637048
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637049
|
+
[1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Work"], ["id", "53fa13d6-f518-4a15-8880-9d162b7af755"], ["LIMIT", 1]]
|
1637050
|
+
[1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "21a235bd-5c97-43e3-b63f-2e4edbfbe969"], ["LIMIT", 1]]
|
1637051
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637052
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637053
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637054
|
+
[1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.035900"], ["updated_at", "2020-05-28 13:27:10.035900"], ["kithe_model_type", 1]]
|
1637055
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637056
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637057
|
+
[1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:10.039896"], ["updated_at", "2020-05-28 13:27:10.039896"], ["kithe_model_type", 0]]
|
1637058
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637059
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637060
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637061
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637062
|
+
[1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-28 13:27:10.046805"], ["updated_at", "2020-05-28 13:27:10.046805"], ["kithe_model_type", 0]]
|
1637063
|
+
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637064
|
+
[1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
|
1637065
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637066
|
+
[1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-28 13:27:10.059073"], ["updated_at", "2020-05-28 13:27:10.059073"], ["kithe_model_type", 1]]
|
1637067
|
+
[1m[36mKithe::ModelContains Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "d11d7a61-e5e0-4145-b44b-523ff5b0eec9"], ["container_id", "74231a38-054c-4ec2-a3ca-038598f974d5"]]
|
1637068
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637069
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637070
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637071
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637072
|
+
[1m[36mTestWorkSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "title"], ["type", "TestWorkSubclass"], ["json_attributes", "{\"authors\":[\"Bob\",\"Joe\"]}"], ["created_at", "2020-05-28 13:27:10.111698"], ["updated_at", "2020-05-28 13:27:10.111698"], ["kithe_model_type", 1]]
|
1637073
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637074
|
+
[1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "ae5bbcf9-1f86-44e0-a59a-5cb6992ca588"], ["LIMIT", 1]]
|
1637075
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637076
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637077
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637078
|
+
[1m[36mMyAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "MyAsset"], ["created_at", "2020-05-28 13:27:10.144542"], ["updated_at", "2020-05-28 13:27:10.144542"], ["kithe_model_type", 2]]
|
1637079
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637080
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637081
|
+
[1m[36mMyAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.147382"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"]]
|
1637082
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mMyAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
|
1637085
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637086
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[36mMyAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
|
1637087
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[36mMyAsset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ebe16715-c371-4788-8e20-42f65079a284/5c6eefb90ff78df8b37c5ad0c1de1494.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:10.200298"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"]]
|
1637088
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [31590e91-2c82-450d-b524-b1da747709bb] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[36mMyAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "ebe16715-c371-4788-8e20-42f65079a284"], ["LIMIT", 1]]
|
1637092
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637093
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637094
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637095
|
+
[1m[36mMyAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "MyAsset"], ["created_at", "2020-05-28 13:27:10.223387"], ["updated_at", "2020-05-28 13:27:10.223387"], ["kithe_model_type", 2]]
|
1637096
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637097
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637098
|
+
[1m[36mMyAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.226271"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"]]
|
1637099
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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] [1m[36mMyAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
|
1637102
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637103
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[36mMyAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "MyAsset"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"], ["LIMIT", 1]]
|
1637104
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[36mMyAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/adf4ad07-09bd-46e1-b063-890e6dddc4c8/25751ec40403eebcac45893feed710b2.html\",\"storage\":\"store\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"},\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-28 13:27:10.278005"], ["id", "adf4ad07-09bd-46e1-b063-890e6dddc4c8"]]
|
1637105
|
+
[ActiveJob] [Kithe::AssetPromoteJob] [3882aebe-e90e-4501-8691-c9145dfa7c78] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637109
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637110
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637111
|
+
[1m[36mChecksumAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.333614"], ["updated_at", "2020-05-28 13:27:10.333614"], ["file_data", "{\"id\":\"asset/978fb964f07bb7754f6916857601cd65.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
|
1637112
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637113
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637114
|
+
[1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.374055"], ["file_data", "{\"id\":\"asset/a51cd0bd-ee0a-4cf8-b255-d52a55cabc52/767fe1686306a4cba301460f1b06c8d4.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "a51cd0bd-ee0a-4cf8-b255-d52a55cabc52"]]
|
1637115
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637116
|
+
[1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "a51cd0bd-ee0a-4cf8-b255-d52a55cabc52"], ["LIMIT", 1]]
|
1637117
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637118
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637119
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637120
|
+
[1m[36mChecksumAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.429838"], ["updated_at", "2020-05-28 13:27:10.429838"], ["file_data", "{\"id\":\"asset/4fa773de8f7cbff43beef22c3b3d686c.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
|
1637121
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637122
|
+
[1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "f458fe38-c3b4-4aaa-a5ec-12b51d6686b7"], ["LIMIT", 1]]
|
1637123
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637124
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637125
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637126
|
+
[1m[36mChecksumAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-28 13:27:10.506417"], ["updated_at", "2020-05-28 13:27:10.506417"], ["file_data", "{\"id\":\"asset/d3b8ebe9c498c8c7e103823155569ea0.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
|
1637127
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637128
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637129
|
+
[1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.556401"], ["file_data", "{\"id\":\"asset/d2d50fd2-48cb-417c-ade4-50c34340f019/ce508cca386c153cd7607fef2f2055f9.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"]]
|
1637130
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637131
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
|
1637132
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637133
|
+
[1m[36mChecksumAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "ChecksumAsset"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"], ["LIMIT", 1]]
|
1637134
|
+
[1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.596576"], ["file_data", "{\"id\":\"asset/d2d50fd2-48cb-417c-ade4-50c34340f019/ce508cca386c153cd7607fef2f2055f9.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"},\"derivatives\":{\"test\":{\"id\":\"d2d50fd2-48cb-417c-ade4-50c34340f019/test/3aff653efdaee0c0fef7a0395709617a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wnlqs7ox1_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "d2d50fd2-48cb-417c-ade4-50c34340f019"]]
|
1637135
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637136
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637137
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637138
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637139
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637140
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637141
|
+
[1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.621446"], ["updated_at", "2020-05-28 13:27:10.621446"], ["file_data", "{\"id\":\"asset/ecc0ad7d0ac6616e3c34ba452347ab04.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637142
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637143
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637144
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.625272"], ["file_data", "{\"id\":\"asset/7b20d928-26f8-4418-bcaa-3ab20caa0450/1f0780646cd6aa5cf7958e53600cdda9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7b20d928-26f8-4418-bcaa-3ab20caa0450"]]
|
1637145
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637146
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7b20d928-26f8-4418-bcaa-3ab20caa0450"], ["LIMIT", 1]]
|
1637147
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637148
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637149
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637150
|
+
[1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.680845"], ["updated_at", "2020-05-28 13:27:10.680845"], ["file_data", "{\"id\":\"asset/2921e60dcd52a5d394010e093e32b391.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637151
|
+
[1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637152
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637153
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.687606"], ["file_data", "{\"id\":\"asset/70c1dfbe-f25d-4f58-8030-96f848509b24/f6e2c9dd69ba4785872710a558bebc57.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "70c1dfbe-f25d-4f58-8030-96f848509b24"]]
|
1637154
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637155
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637156
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637157
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637158
|
+
[1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.708225"], ["updated_at", "2020-05-28 13:27:10.708225"], ["file_data", "{\"id\":\"asset/c5a72d4142c98c70b12f36f3a4e95ae1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637159
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637160
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637161
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.712388"], ["file_data", "{\"id\":\"asset/ad8bae60-2705-4e20-85b8-724f46c76881/2a871c33ab95f5363ce1413700069a73.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ad8bae60-2705-4e20-85b8-724f46c76881"]]
|
1637162
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637163
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637164
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637165
|
+
[1m[35m (11.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637166
|
+
[1m[36mCustomAsset Create (17.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.731220"], ["updated_at", "2020-05-28 13:27:10.731220"], ["file_data", "{\"id\":\"asset/2c3063c2b7e77cf9932c1de0ec7408b8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637167
|
+
[1m[35m (138.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637168
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637169
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.903463"], ["file_data", "{\"id\":\"asset/4cc0b0e8-b925-4082-886b-17be1ce14e3f/c14163c742f377f30ad15a720fe082de.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4cc0b0e8-b925-4082-886b-17be1ce14e3f"]]
|
1637170
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637171
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637172
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637173
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637174
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:10.921005"], ["updated_at", "2020-05-28 13:27:10.921005"], ["file_data", "{\"id\":\"asset/e4469b8d4fa058e9e55a70bd0706f4f3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637175
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637176
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637177
|
+
[1m[36mCustomAsset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:10.924493"], ["file_data", "{\"id\":\"asset/33cdcc50-9cb3-403f-ad93-acf9066edba9/f03dc77d72a7e8d81f3a691f669af2cf.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "33cdcc50-9cb3-403f-ad93-acf9066edba9"]]
|
1637178
|
+
[1m[35m (1.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637179
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "33cdcc50-9cb3-403f-ad93-acf9066edba9"], ["LIMIT", 1]]
|
1637180
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1637181
|
+
[1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
|
1637182
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637183
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.077116"], ["updated_at", "2020-05-28 13:27:11.077116"], ["file_data", "{\"id\":\"asset/e64b30ab675b51f32d08989c113c56f9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637184
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637185
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637186
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.080770"], ["file_data", "{\"id\":\"asset/963ca82d-a6ce-4035-b2ad-4da7a415d79a/c8eaaa921b42919b3fa352e661d0b9e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "963ca82d-a6ce-4035-b2ad-4da7a415d79a"]]
|
1637187
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637188
|
+
[1m[35m (1.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "963ca82d-a6ce-4035-b2ad-4da7a415d79a"], ["LIMIT", 1]]
|
1637189
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637190
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637191
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637192
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.149208"], ["updated_at", "2020-05-28 13:27:11.149208"], ["file_data", "{\"id\":\"asset/45a69747c7386e65c2d161484e0ddaed.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637193
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637194
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637195
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.153383"], ["file_data", "{\"id\":\"asset/5dca944a-6eea-49d7-bf80-29bd28c212f3/e00f8d7a9a7c20f47de3f05ba22012d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5dca944a-6eea-49d7-bf80-29bd28c212f3"]]
|
1637196
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637197
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5dca944a-6eea-49d7-bf80-29bd28c212f3"], ["LIMIT", 1]]
|
1637198
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1637199
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637200
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637201
|
+
[1m[36mCustomAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.217021"], ["updated_at", "2020-05-28 13:27:11.217021"], ["file_data", "{\"id\":\"asset/379ff3810521f43877bb90b0f0b98720.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637202
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637203
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637204
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.221512"], ["file_data", "{\"id\":\"asset/f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d/639f03f9951be6a53e4353641b4d5416.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d"]]
|
1637205
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637206
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f978a0f8-20d6-4e84-9e79-dfcb5ef9e19d"], ["LIMIT", 1]]
|
1637207
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1637208
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637209
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637210
|
+
[1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.323679"], ["updated_at", "2020-05-28 13:27:11.323679"], ["file_data", "{\"id\":\"asset/f2a5a3a53e898719e66d8141fbc49a40.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637211
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637212
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637213
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.327497"], ["file_data", "{\"id\":\"asset/d792593b-8d86-4e8b-8220-81710ca69ab9/dc9f94871cc8a01b48099366b2aaf27a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d792593b-8d86-4e8b-8220-81710ca69ab9"]]
|
1637214
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637215
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d792593b-8d86-4e8b-8220-81710ca69ab9"], ["LIMIT", 1]]
|
1637216
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637217
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637218
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637219
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.425126"], ["updated_at", "2020-05-28 13:27:11.425126"], ["file_data", "{\"id\":\"asset/93b8ba6acf5cccef2f68cf2f47907dbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637220
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637221
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637222
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.430482"], ["file_data", "{\"id\":\"asset/3ef4a2af-ace9-4d47-b4a3-6973883961b3/6d198cf5431c00515c96eb7366ce514e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3ef4a2af-ace9-4d47-b4a3-6973883961b3"]]
|
1637223
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637224
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "3ef4a2af-ace9-4d47-b4a3-6973883961b3"], ["LIMIT", 1]]
|
1637225
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637226
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637227
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637228
|
+
[1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.546562"], ["updated_at", "2020-05-28 13:27:11.546562"], ["file_data", "{\"id\":\"asset/5488a458f79f80a7e6a4f00b8872fb3a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637229
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637230
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637231
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.552452"], ["file_data", "{\"id\":\"asset/84e8d651-b68d-4133-a4f5-dd70cdff52d3/e8f46a4d254da6010fdd291b8e27891a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "84e8d651-b68d-4133-a4f5-dd70cdff52d3"]]
|
1637232
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637233
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "84e8d651-b68d-4133-a4f5-dd70cdff52d3"], ["LIMIT", 1]]
|
1637234
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637235
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637236
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637237
|
+
[1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.647949"], ["updated_at", "2020-05-28 13:27:11.647949"], ["file_data", "{\"id\":\"asset/5e40cf9f9e9099d76b689b4c9f19359a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637238
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637239
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637240
|
+
[1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.652877"], ["file_data", "{\"id\":\"asset/16d73334-cab4-4a12-8e82-53247f2df517/42c26c6ee20fc062be8ad006b797f4df.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "16d73334-cab4-4a12-8e82-53247f2df517"]]
|
1637241
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637242
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "16d73334-cab4-4a12-8e82-53247f2df517"], ["LIMIT", 1]]
|
1637243
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637244
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637245
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637246
|
+
[1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.708064"], ["updated_at", "2020-05-28 13:27:11.708064"], ["file_data", "{\"id\":\"asset/7602308ddb8edb9ff9621e7699446fce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637247
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637248
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637249
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.713567"], ["file_data", "{\"id\":\"asset/526093c3-5503-423e-850d-a4dabf731bbc/682b6dccc123b200ce299651226832a1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "526093c3-5503-423e-850d-a4dabf731bbc"]]
|
1637250
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637251
|
+
[1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "526093c3-5503-423e-850d-a4dabf731bbc"], ["LIMIT", 1]]
|
1637252
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637253
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637254
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637255
|
+
[1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-28 13:27:11.790999"], ["updated_at", "2020-05-28 13:27:11.790999"], ["file_data", "{\"id\":\"asset/be55af18c88b8344c022f43febb85f09.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
|
1637256
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637257
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637258
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.797134"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
|
1637259
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637260
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
|
1637261
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637262
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
|
1637263
|
+
[1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.950268"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/some_data/739b4c0de0a64bf9839187d6893fd5d1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tmfmwkhhd_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
|
1637264
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637265
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637266
|
+
[1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"], ["LIMIT", 1]]
|
1637267
|
+
[1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:11.988544"], ["file_data", "{\"id\":\"asset/f132a971-2647-4796-9870-10562bd6ae27/e77c3e16fcb41b1fa38fe661d40d588b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/some_data/739b4c0de0a64bf9839187d6893fd5d1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"tmfmwkhhd_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"f132a971-2647-4796-9870-10562bd6ae27/a_jpg/8a9b46d82206821313ce54b57ffc45ed.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tmfmwkhhd_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f132a971-2647-4796-9870-10562bd6ae27"]]
|
1637268
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637269
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637270
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637271
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637272
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637273
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637274
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637275
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637276
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637277
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637278
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637279
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637280
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637281
|
+
[1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637282
|
+
[1m[36mKithe::Asset Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.012327"], ["updated_at", "2020-05-28 13:27:12.012327"], ["file_data", "{\"id\":\"asset/b9e419bf83dfd6501de700bb2a5033af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637283
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637284
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637285
|
+
[1m[36mKithe::Asset Update (1.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.021579"], ["file_data", "{\"id\":\"asset/0f18258e-9361-4176-bda5-18aa17bff723/b83905e08189508a9bcf3b9861c25543.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"]]
|
1637286
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637287
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
|
1637288
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637289
|
+
[1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
|
1637290
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.042174"], ["file_data", "{\"id\":\"asset/0f18258e-9361-4176-bda5-18aa17bff723/b83905e08189508a9bcf3b9861c25543.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"0f18258e-9361-4176-bda5-18aa17bff723/sample/c1b367152e4149d3aa6c3fa93b51c6b0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gvfec3noa_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"]]
|
1637291
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637292
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0f18258e-9361-4176-bda5-18aa17bff723"], ["LIMIT", 1]]
|
1637293
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637294
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637295
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637296
|
+
[1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.051072"], ["updated_at", "2020-05-28 13:27:12.051072"], ["file_data", "{\"id\":\"asset/3d682d5c0d503f797e039130313ace63.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637297
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637298
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637299
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.054471"], ["file_data", "{\"id\":\"asset/dc70febd-66c2-406d-9bbd-286c7646333f/fd97190a5f90f49a49c8649268865ebd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"]]
|
1637300
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637301
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"], ["LIMIT", 1]]
|
1637302
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637303
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"], ["LIMIT", 1]]
|
1637304
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.063340"], ["file_data", "{\"id\":\"asset/dc70febd-66c2-406d-9bbd-286c7646333f/fd97190a5f90f49a49c8649268865ebd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"dc70febd-66c2-406d-9bbd-286c7646333f/sample/08ae8b8d39fc190a18a02b8247d4dffc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gwt3nspm4_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "dc70febd-66c2-406d-9bbd-286c7646333f"]]
|
1637305
|
+
[1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637306
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637307
|
+
[1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
|
1637308
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637309
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.071508"], ["updated_at", "2020-05-28 13:27:12.071508"], ["file_data", "{\"id\":\"asset/19480edcffd3f6c7704bf8e5539045a0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637310
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637311
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637312
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.074703"], ["file_data", "{\"id\":\"asset/7407c8fe-0d54-4b55-9d88-931d7aab4964/190be400093f0aca6993f3d599e6bbe9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"]]
|
1637313
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637314
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
|
1637315
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637316
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
|
1637317
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.085149"], ["file_data", "{\"id\":\"asset/7407c8fe-0d54-4b55-9d88-931d7aab4964/190be400093f0aca6993f3d599e6bbe9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"7407c8fe-0d54-4b55-9d88-931d7aab4964/sample/6cb889b04c6dbf2c8efc21ba1b6a7e0a.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"injx2wxe5_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"]]
|
1637318
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637319
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7407c8fe-0d54-4b55-9d88-931d7aab4964"], ["LIMIT", 1]]
|
1637320
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637321
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637322
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637323
|
+
[1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.093061"], ["updated_at", "2020-05-28 13:27:12.093061"], ["file_data", "{\"id\":\"asset/40466d80909697fa9f9045bbf385be45.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637324
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637325
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637326
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.100048"], ["file_data", "{\"id\":\"asset/9da437a9-9432-44ec-8aac-200fa0bef0e4/842d80856440f39b4848d883e3d3fac4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"]]
|
1637327
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637328
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
|
1637329
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637330
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
|
1637331
|
+
[1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.108024"], ["file_data", "{\"id\":\"asset/9da437a9-9432-44ec-8aac-200fa0bef0e4/842d80856440f39b4848d883e3d3fac4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"9da437a9-9432-44ec-8aac-200fa0bef0e4/sample/efea577ecc22d68c75e6827a737b0e9f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"o5ir6bn06_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"]]
|
1637332
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637333
|
+
[1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9da437a9-9432-44ec-8aac-200fa0bef0e4"], ["LIMIT", 1]]
|
1637334
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637335
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637336
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637337
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.116825"], ["updated_at", "2020-05-28 13:27:12.116825"], ["file_data", "{\"id\":\"asset/e7380443a7b9d96b014d7942fabfd452.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637338
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637339
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637340
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.120682"], ["file_data", "{\"id\":\"asset/f3b9745c-dcd2-4e97-bb92-9b0c10f0eec0/c02c2d5a315ee8edf53c11e1c2b28e90.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f3b9745c-dcd2-4e97-bb92-9b0c10f0eec0"]]
|
1637341
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637342
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637343
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637344
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637345
|
+
[1m[36mKithe::Asset Create (2.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.127478"], ["updated_at", "2020-05-28 13:27:12.127478"], ["file_data", "{\"id\":\"asset/bd9a62dc60a4e0b41862ff43feb6c676.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637346
|
+
[1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637347
|
+
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637348
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.136705"], ["file_data", "{\"id\":\"asset/e2a174d6-0ad3-428d-a41c-113c98038d5d/40b32afd95eae92d3aafe5558fdb294f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"]]
|
1637349
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637350
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
|
1637351
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637352
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
|
1637353
|
+
[1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:12.145303"], ["file_data", "{\"id\":\"asset/e2a174d6-0ad3-428d-a41c-113c98038d5d/40b32afd95eae92d3aafe5558fdb294f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"e2a174d6-0ad3-428d-a41c-113c98038d5d/sample/9da1859b80e682728e0485a88e0c4c7e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"n8lwo0tzl_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"]]
|
1637354
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637355
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e2a174d6-0ad3-428d-a41c-113c98038d5d"], ["LIMIT", 1]]
|
1637356
|
+
[1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
|
1637357
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637358
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637359
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637360
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637361
|
+
[1m[36mKithe::Asset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.159152"], ["updated_at", "2020-05-28 13:27:12.159152"], ["file_data", "{\"id\":\"asset/5e997b7175ae7e05e78377654335b98f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637362
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637363
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637364
|
+
[1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.163480"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
|
1637365
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637366
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"], ["LIMIT", 1]]
|
1637367
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637368
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.204050"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/key/00f2cb081d0d961da7f2c491fe480558.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"extiqab26_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
|
1637369
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637370
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637371
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"], ["LIMIT", 1]]
|
1637372
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.241688"], ["file_data", "{\"id\":\"asset/6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/604463193d748358fd8a1ba1e319827f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"6ce2ef2b-0d6a-460a-964c-f0fc1450ea83/key/4ba16883320ef8c879d91a423a8da5b7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"extiqab26_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6ce2ef2b-0d6a-460a-964c-f0fc1450ea83"]]
|
1637373
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637374
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637375
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637376
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637377
|
+
[1m[36mKithe::Asset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.247466"], ["updated_at", "2020-05-28 13:27:12.247466"], ["file_data", "{\"id\":\"asset/5572d2e0000d52dfc13d98b01650652f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637378
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637379
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637380
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.251346"], ["file_data", "{\"id\":\"asset/412eef86-8176-49d9-8a3a-89872059d127/deea35ae710082bd079c63e7aa726eab.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"]]
|
1637381
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637382
|
+
[1m[36mKithe::Model Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "412eef86-8176-49d9-8a3a-89872059d127"]]
|
1637383
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"], ["LIMIT", 1]]
|
1637384
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637385
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "412eef86-8176-49d9-8a3a-89872059d127"], ["LIMIT", 1]]
|
1637386
|
+
[1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1637387
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1637388
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637389
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637390
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.265750"], ["updated_at", "2020-05-28 13:27:12.265750"], ["file_data", "{\"id\":\"asset/08690888d73e1d5cfe44c18fe79693d7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637391
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637392
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637393
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.270094"], ["file_data", "{\"id\":\"asset/c6ed2512-da22-454d-af8a-dd460d93d101/a0d9fe2aed578ad3335120b1efc58ac2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"]]
|
1637394
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637395
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
|
1637396
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637397
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c6ed2512-da22-454d-af8a-dd460d93d101/9305d4fbd4f9677bf1a9360ae0100a29.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-28 13:27:12.275005"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"]]
|
1637398
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
|
1637402
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637403
|
+
[1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
|
1637404
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1637405
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c6ed2512-da22-454d-af8a-dd460d93d101"], ["LIMIT", 1]]
|
1637406
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637407
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637408
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637409
|
+
[1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:12.293277"], ["updated_at", "2020-05-28 13:27:12.293277"], ["file_data", "{\"id\":\"asset/269f48b886cf92a36b7ccd3ad7028266.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637410
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637411
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637412
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.300206"], ["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
|
1637413
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637414
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
|
1637415
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637416
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/one/a0ca7d86a8649633b413b6991631c3ed.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/two/63427250e9ed85a1a16c7145d0141c46.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-28 13:27:12.307860"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
|
1637417
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637418
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
|
1637419
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
|
1637420
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637421
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"], ["LIMIT", 1]]
|
1637422
|
+
[1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.318430"], ["file_data", "{\"id\":\"asset/8a84f885-754c-4625-a6b4-a8aff2ced7ad/b71a85dde06801579110b920ca69e7bb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/one/a0ca7d86a8649633b413b6991631c3ed.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"y2cmx8824_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/two/263580d90efdc12e23970c6adea1ab02.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"8a84f885-754c-4625-a6b4-a8aff2ced7ad/three/2643552a5705e6509cc4fa91f4d31dcf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y2cmx8824_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "8a84f885-754c-4625-a6b4-a8aff2ced7ad"]]
|
1637423
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637424
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637425
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637426
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637427
|
+
[1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.335816"], ["updated_at", "2020-05-28 13:27:12.335816"], ["file_data", "{\"id\":\"asset/62a4ae4a343568bddb67f28a5b55f62a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637428
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637429
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637430
|
+
[1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.339516"], ["file_data", "{\"id\":\"asset/aa42afe0-5254-4078-a0a8-3e544868c24f/12477b73be170daec4c29b483afc1e62.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"]]
|
1637431
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637432
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
|
1637433
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637434
|
+
[1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
|
1637435
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.379237"], ["file_data", "{\"id\":\"asset/aa42afe0-5254-4078-a0a8-3e544868c24f/12477b73be170daec4c29b483afc1e62.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"aa42afe0-5254-4078-a0a8-3e544868c24f/one/4c8fef01f0607ec05e4ba6e03172e261.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"24j0jkebq_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"aa42afe0-5254-4078-a0a8-3e544868c24f/original_reflected/87c95cfa8ee6f8cd7b6a6c7b6d9ed570.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"24j0jkebq_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"]]
|
1637436
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637437
|
+
[1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "aa42afe0-5254-4078-a0a8-3e544868c24f"], ["LIMIT", 1]]
|
1637438
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637439
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637440
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637441
|
+
[1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.398070"], ["updated_at", "2020-05-28 13:27:12.398070"], ["file_data", "{\"id\":\"asset/645a55d82718df4b5859ab262916374c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637442
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637443
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637444
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.401641"], ["file_data", "{\"id\":\"asset/f28afc4b-170c-4b28-8776-7aeec6ff7761/1e8ab408fc0375dddcaaeb8781c1f51e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"]]
|
1637445
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637446
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
|
1637447
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637448
|
+
[1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"], ["LIMIT", 1]]
|
1637449
|
+
[1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.509352"], ["file_data", "{\"id\":\"asset/f28afc4b-170c-4b28-8776-7aeec6ff7761/1e8ab408fc0375dddcaaeb8781c1f51e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f28afc4b-170c-4b28-8776-7aeec6ff7761/options_one/bfa4363f43f0db7a80f0afa725d101db.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"16uzutlqc_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f28afc4b-170c-4b28-8776-7aeec6ff7761/options_reflected/9bc12781331216652734f904368d6b85.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"16uzutlqc_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f28afc4b-170c-4b28-8776-7aeec6ff7761"]]
|
1637450
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637451
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637452
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637453
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637454
|
+
[1m[36mAssetSubclass Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.544703"], ["updated_at", "2020-05-28 13:27:12.544703"], ["file_data", "{\"id\":\"asset/193d162c19f6a0c57c09e14cf6763966.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637455
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637456
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637457
|
+
[1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.549896"], ["file_data", "{\"id\":\"asset/f9c798d8-0da8-4717-afcc-2c4e0db52e08/8429cfefce5db41c22a758e32cfa1e34.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"]]
|
1637458
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637459
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
|
1637460
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637461
|
+
[1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"], ["LIMIT", 1]]
|
1637462
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.621619"], ["file_data", "{\"id\":\"asset/f9c798d8-0da8-4717-afcc-2c4e0db52e08/8429cfefce5db41c22a758e32cfa1e34.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f9c798d8-0da8-4717-afcc-2c4e0db52e08/options_one/23fb9480a2bffd4bda3f4195e21a8193.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dz1b6f38m_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f9c798d8-0da8-4717-afcc-2c4e0db52e08/options_reflected/6709c88dff3e72a2af2a52a62fddef67.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dz1b6f38m_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f9c798d8-0da8-4717-afcc-2c4e0db52e08"]]
|
1637463
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637464
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637465
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637466
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637467
|
+
[1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.640078"], ["updated_at", "2020-05-28 13:27:12.640078"], ["file_data", "{\"id\":\"asset/76551b3233ff2c491bb6c34b81cbbe12.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637468
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637469
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637470
|
+
[1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.643575"], ["file_data", "{\"id\":\"asset/6485dff2-79cb-403c-b851-0f8e369c5c34/f347cf80cf6e5d85023c2908171290e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"]]
|
1637471
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637472
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
|
1637473
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637474
|
+
[1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"], ["LIMIT", 1]]
|
1637475
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.715922"], ["file_data", "{\"id\":\"asset/6485dff2-79cb-403c-b851-0f8e369c5c34/f347cf80cf6e5d85023c2908171290e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"6485dff2-79cb-403c-b851-0f8e369c5c34/options_one/fc3a70658fe0ee66da5c260ace5a0f2b.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"oey4kmb7s_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"6485dff2-79cb-403c-b851-0f8e369c5c34/options_reflected/1db665fc6803e1f20e6bde917b8e3e96.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"oey4kmb7s_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6485dff2-79cb-403c-b851-0f8e369c5c34"]]
|
1637476
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637477
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637478
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637479
|
+
[1m[35m (5.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637480
|
+
[1m[36mAssetSubclass Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.738029"], ["updated_at", "2020-05-28 13:27:12.738029"], ["file_data", "{\"id\":\"asset/2d7722c7fab6a71d6c5e0b2220c3d539.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637481
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637482
|
+
[1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637483
|
+
[1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.748119"], ["file_data", "{\"id\":\"asset/758e30bf-22ff-4d90-8cee-9f57fa4a4b51/31496cd6afaf2bcfa2f7e6ecac3c7c5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"]]
|
1637484
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637485
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
|
1637486
|
+
[1m[35m (65.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637487
|
+
[1m[36mAssetSubclass Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"], ["LIMIT", 1]]
|
1637488
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.894919"], ["file_data", "{\"id\":\"asset/758e30bf-22ff-4d90-8cee-9f57fa4a4b51/31496cd6afaf2bcfa2f7e6ecac3c7c5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"758e30bf-22ff-4d90-8cee-9f57fa4a4b51/options_one/9b115911147bff6c7dd1dcac2ed345a5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zmv4avrvs_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"758e30bf-22ff-4d90-8cee-9f57fa4a4b51/options_reflected/8ceb01af6388263a67b399f946c56d4d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zmv4avrvs_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "758e30bf-22ff-4d90-8cee-9f57fa4a4b51"]]
|
1637489
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637490
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637491
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637492
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637493
|
+
[1m[36mAssetSubclass Create (2.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:12.916000"], ["updated_at", "2020-05-28 13:27:12.916000"], ["file_data", "{\"id\":\"asset/4d0fc2ea79529df6ebba88e9e9092760.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637494
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637495
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637496
|
+
[1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:12.922039"], ["file_data", "{\"id\":\"asset/c8849a91-4d3c-4395-a9b3-6880569a37a9/49a450cb5975dcd73857f5d6ed89d458.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"]]
|
1637497
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637498
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
|
1637499
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637500
|
+
[1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"], ["LIMIT", 1]]
|
1637501
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.000430"], ["file_data", "{\"id\":\"asset/c8849a91-4d3c-4395-a9b3-6880569a37a9/49a450cb5975dcd73857f5d6ed89d458.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"c8849a91-4d3c-4395-a9b3-6880569a37a9/one/b8514d5a4387af7a5727569fa79cd506.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qu8czzhtw_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"c8849a91-4d3c-4395-a9b3-6880569a37a9/original_reflected/0cafae724c010785c44423731991a7c9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qu8czzhtw_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c8849a91-4d3c-4395-a9b3-6880569a37a9"]]
|
1637502
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637503
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637504
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637505
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637506
|
+
[1m[36mAssetSubclass Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.044557"], ["updated_at", "2020-05-28 13:27:13.044557"], ["kithe_model_type", 2]]
|
1637507
|
+
[1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637508
|
+
[1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
|
1637509
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1637510
|
+
[1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637511
|
+
[1m[36mAssetSubclass Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.066003"], ["updated_at", "2020-05-28 13:27:13.066003"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
|
1637512
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637513
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
1637514
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637515
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637516
|
+
[1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.089001"], ["updated_at", "2020-05-28 13:27:13.089001"], ["file_data", "{\"id\":\"asset/238e6b6f8e02440feeba75a5b2c3bf7b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637517
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637518
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637519
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.092668"], ["file_data", "{\"id\":\"asset/0106fe3a-9451-4484-b990-b854f9e967d2/8b2d803f1f9267a5434328377320e4d2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0106fe3a-9451-4484-b990-b854f9e967d2"]]
|
1637520
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637521
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637522
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1637523
|
+
[1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637524
|
+
[1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-28 13:27:13.114620"], ["updated_at", "2020-05-28 13:27:13.114620"], ["file_data", "{\"id\":\"asset/f5c13a21a6308095f84814a4f7d264e5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637525
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637526
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637527
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.118612"], ["file_data", "{\"id\":\"asset/23108f70-0e3d-45f5-98b8-3ee7bd22e066/a4e50e98d60f0a091c7db2653238bee2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"]]
|
1637528
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637529
|
+
[1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
|
1637530
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637531
|
+
[1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
|
1637532
|
+
[1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:13.159434"], ["file_data", "{\"id\":\"asset/23108f70-0e3d-45f5-98b8-3ee7bd22e066/a4e50e98d60f0a091c7db2653238bee2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"23108f70-0e3d-45f5-98b8-3ee7bd22e066/one/4c8e1d578e3c157cc6d62b9ebdc4b5f1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fn8b1bw85_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"23108f70-0e3d-45f5-98b8-3ee7bd22e066/original_reflected/a063d8a66d552f3fd46399133e3ed8a7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fn8b1bw85_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"]]
|
1637533
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637534
|
+
[1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "23108f70-0e3d-45f5-98b8-3ee7bd22e066"], ["LIMIT", 1]]
|
1637535
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637536
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637537
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637538
|
+
[1m[36mKithe::Asset Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.167427"], ["updated_at", "2020-05-28 13:27:13.167427"], ["file_data", "{\"id\":\"asset/c6a50c39c6af4e28e6c0c16a159f6152.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637539
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637540
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637541
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.174057"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
|
1637542
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637543
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
|
1637544
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637545
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
|
1637546
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.249601"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample1/9068ea4191aaee58cb2e494f9c79ca1c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ynn6np9sh_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample2/f89b50b2eda1c53b23f75ed5cf94217d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ynn6np9sh_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
|
1637547
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637548
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637549
|
+
[1m[36mKithe::Asset Load (1.1ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
|
1637550
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.256469"], ["file_data", "{\"id\":\"asset/5269788b-8c26-4a4b-a232-e58d65b4addb/be37f4c15e8bd3f2288bfdd28084f85f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"5269788b-8c26-4a4b-a232-e58d65b4addb/sample2/f89b50b2eda1c53b23f75ed5cf94217d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ynn6np9sh_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"]]
|
1637551
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637552
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5269788b-8c26-4a4b-a232-e58d65b4addb"], ["LIMIT", 1]]
|
1637553
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637554
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637555
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637556
|
+
[1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.264282"], ["updated_at", "2020-05-28 13:27:13.264282"], ["file_data", "{\"id\":\"asset/58a2a9c9d61616f3ef8d181ffbdc583c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637557
|
+
[1m[35m (2.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637558
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637559
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.272551"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
|
1637560
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637561
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
|
1637562
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637563
|
+
[1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
|
1637564
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.346526"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample1/ff4e6f86e00858577e0b4b74cd6a373e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h06z45kl6_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h06z45kl6_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
|
1637565
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637566
|
+
[1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
|
1637567
|
+
[1m[35m (2.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637568
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"h06z45kl6_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-28 13:27:13.352095"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
|
1637569
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637570
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
|
1637571
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637572
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"], ["LIMIT", 1]]
|
1637573
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.360886"], ["file_data", "{\"id\":\"asset/ab74f26b-25d4-438d-aee0-70909a2af508/ec15c808b7e887cf1b73577a5f7ee1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"ab74f26b-25d4-438d-aee0-70909a2af508/sample2/8f031f1252fc6f1ab359336c014303e4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"h06z45kl6_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "ab74f26b-25d4-438d-aee0-70909a2af508"]]
|
1637574
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637575
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637576
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637577
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637578
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.365982"], ["updated_at", "2020-05-28 13:27:13.365982"], ["file_data", "{\"id\":\"asset/257e0803b7e0b11ae19d8b154babf3a3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637579
|
+
[1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637580
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637581
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.374217"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
|
1637582
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637583
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637584
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637585
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637586
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.449920"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample1/c96bbf25e8072cf536be7edae956f701.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
|
1637587
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637588
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637589
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637590
|
+
[1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637591
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample1/c96bbf25e8072cf536be7edae956f701.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample3/767a19918ddc05cb31469a9e1d94e300.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bj7ogspvx_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-28 13:27:13.488900"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
|
1637592
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637593
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637594
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637595
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"], ["LIMIT", 1]]
|
1637596
|
+
[1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.495216"], ["file_data", "{\"id\":\"asset/16c11e13-df3a-4a7e-9a48-0b81383c60a6/ef0ba3ed09891103e9571123486aa1d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample2/b2eecae8a764041e584f9a36993c55de.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"16c11e13-df3a-4a7e-9a48-0b81383c60a6/sample3/767a19918ddc05cb31469a9e1d94e300.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"bj7ogspvx_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "16c11e13-df3a-4a7e-9a48-0b81383c60a6"]]
|
1637597
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637598
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637599
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637600
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637601
|
+
[1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.504514"], ["updated_at", "2020-05-28 13:27:13.504514"], ["file_data", "{\"id\":\"asset/35affe7c5c742fbba6df6aa1b7481536.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637602
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637603
|
+
[1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637604
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.508041"], ["file_data", "{\"id\":\"asset/a30a5a47-eb8f-441f-a904-65f64772a3bc/4f8e69ea868b57a3281dbfb5b45d0b43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637605
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637606
|
+
[1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
|
1637607
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637608
|
+
[1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
|
1637609
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.591966"], ["file_data", "{\"id\":\"asset/a30a5a47-eb8f-441f-a904-65f64772a3bc/4f8e69ea868b57a3281dbfb5b45d0b43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample1/c74899d360d22f3e96d02e105683ddf4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5h2lijrkf_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"a30a5a47-eb8f-441f-a904-65f64772a3bc/sample2/36217ca16950f0d9010885b3c4cf9f85.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5h2lijrkf_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637610
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637611
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
|
1637612
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637613
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637614
|
+
[1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637615
|
+
[1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637616
|
+
[1m[35m (1.5ms)[0m [1m[33mUPDATE 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
|
+
[0m
|
1637633
|
+
[1m[36mKithe::Asset Destroy (1.0ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"]]
|
1637634
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
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
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637637
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a30a5a47-eb8f-441f-a904-65f64772a3bc"], ["LIMIT", 1]]
|
1637638
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
|
1637639
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637640
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637641
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637642
|
+
[1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.609443"], ["updated_at", "2020-05-28 13:27:13.609443"], ["file_data", "{\"id\":\"asset/93dc4b66fec62f4f27ffb3716dd21fbb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637643
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637644
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637645
|
+
[1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.612838"], ["file_data", "{\"id\":\"asset/6240fd11-b2bc-435e-9859-c4f927a91d43/1a8200ff303903c5c2b6f7ce2d18b0c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"]]
|
1637646
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637647
|
+
[1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"], ["LIMIT", 1]]
|
1637648
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637649
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"], ["LIMIT", 1]]
|
1637650
|
+
[1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.687298"], ["file_data", "{\"id\":\"asset/6240fd11-b2bc-435e-9859-c4f927a91d43/1a8200ff303903c5c2b6f7ce2d18b0c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"6240fd11-b2bc-435e-9859-c4f927a91d43/sample1/2639c534dacbf294823ce72368a33517.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8mhoy8zrs_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"6240fd11-b2bc-435e-9859-c4f927a91d43/sample2/5942fb2cae9ee5680c070a04491883f8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8mhoy8zrs_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6240fd11-b2bc-435e-9859-c4f927a91d43"]]
|
1637651
|
+
[1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637652
|
+
[1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
|
1637653
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637654
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637655
|
+
[1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-28 13:27:13.726678"], ["updated_at", "2020-05-28 13:27:13.726678"], ["file_data", "{\"id\":\"asset/47bdd7195270009a822c47d7038a3951.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
|
1637656
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637657
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637658
|
+
[1m[36mKithe::Asset Update (15.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.731109"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
|
1637659
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637660
|
+
[1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
|
1637661
|
+
[1m[35m (9.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637662
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
|
1637663
|
+
[1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-28 13:27:13.978745"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample1/7522b826400527ff858c372af6282871.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4u5ixqylu_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample2/290397d4ba4922b6a63b89c86f67a9e5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4u5ixqylu_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
|
1637664
|
+
[1m[35m (5.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637665
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637666
|
+
[1m[36mKithe::Asset Load (3.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
|
1637667
|
+
[1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-28 13:27:13.997438"], ["file_data", "{\"id\":\"asset/3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/50ea9df0f1a81fdc8369a84ae432d1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"3c48c2ba-3fe7-4328-a85c-42e4278ba8e0/sample2/290397d4ba4922b6a63b89c86f67a9e5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"4u5ixqylu_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"]]
|
1637668
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637669
|
+
[1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "3c48c2ba-3fe7-4328-a85c-42e4278ba8e0"], ["LIMIT", 1]]
|
1637670
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637671
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637672
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637673
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637674
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637675
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637676
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637677
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637678
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637679
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637680
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637681
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1637682
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
1637683
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1637684
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
1637685
|
+
[1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
|
1637686
|
+
[1m[35m (2.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637687
|
+
[1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["json_attributes", "{\"multi_model\":[{\"value\":\"one\"},{\"value\":\"two\"}]}"], ["created_at", "2020-05-28 13:27:14.087200"], ["updated_at", "2020-05-28 13:27:14.087200"], ["kithe_model_type", 1]]
|
1637688
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637689
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637690
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637691
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637692
|
+
[1m[35m (3.4ms)[0m [1m[35mBEGIN[0m
|
1637693
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637694
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637695
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637696
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637697
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637698
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637699
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637700
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637701
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637702
|
+
[1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.399423"], ["updated_at", "2020-05-28 13:27:14.399423"], ["kithe_model_type", 1]]
|
1637703
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637704
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637705
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637706
|
+
[1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637707
|
+
[1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.428654"], ["updated_at", "2020-05-28 13:27:14.428654"], ["kithe_model_type", 1]]
|
1637708
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637709
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637710
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637711
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637712
|
+
[1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.454806"], ["updated_at", "2020-05-28 13:27:14.454806"], ["kithe_model_type", 1]]
|
1637713
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637714
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637715
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637716
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637717
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637718
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637719
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637720
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637721
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637722
|
+
[1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
|
1637723
|
+
[1m[36mTestWork Create (1.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-28 13:27:14.554361"], ["updated_at", "2020-05-28 13:27:14.554361"], ["kithe_model_type", 1]]
|
1637724
|
+
[1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
|
1637725
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637726
|
+
[1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
|
1637727
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637728
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637729
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637730
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637731
|
+
[1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
|
1637732
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637733
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637734
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637735
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|
1637736
|
+
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
|
1637737
|
+
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
|
1637738
|
+
[1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
|
1637739
|
+
[1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
|
1637740
|
+
[1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
|
1637741
|
+
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
|