spec/dummy/log/test.log in kithe-2.0.0.pre.alpha2 vs spec/dummy/log/test.log in kithe-2.0.0.pre.beta1
- old
+ new
@@ -1608366,5 +1608366,26010 @@
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
[1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
[1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (18.9ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (16.6ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (81.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-19 20:25:24.655384"], ["updated_at", "2020-05-19 20:25:24.655384"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:24.762655"], ["updated_at", "2020-05-19 20:25:24.762655"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (12.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "189f2592-b82a-4a24-8dca-d90c8e585ec6"]]
+ [1m[36mKithe::Model Load (25.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", "189f2592-b82a-4a24-8dca-d90c8e585ec6"]]
+ [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", "189f2592-b82a-4a24-8dca-d90c8e585ec6"]]
+ [1m[35m (2.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '189f2592-b82a-4a24-8dca-d90c8e585ec6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '189f2592-b82a-4a24-8dca-d90c8e585ec6'
+);
+[0m
+ [1m[36mTestWork Destroy (3.8ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "189f2592-b82a-4a24-8dca-d90c8e585ec6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:24.868648"], ["updated_at", "2020-05-19 20:25:24.868648"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:24.898081"], ["updated_at", "2020-05-19 20:25:24.898081"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:25:24.915634"], ["updated_at", "2020-05-19 20:25:24.915634"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f9f8df95-f2e8-4340-8792-14c56173428a"]]
+ [1m[36mKithe::Model Load (1.0ms)[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", "f9f8df95-f2e8-4340-8792-14c56173428a"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "f9f8df95-f2e8-4340-8792-14c56173428a"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f9f8df95-f2e8-4340-8792-14c56173428a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f9f8df95-f2e8-4340-8792-14c56173428a'
+);
+[0m
+ [1m[36mTestWork Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f9f8df95-f2e8-4340-8792-14c56173428a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:24.946589"], ["updated_at", "2020-05-19 20:25:24.946589"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:24.965083"], ["updated_at", "2020-05-19 20:25:24.965083"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:25:24.969516"], ["updated_at", "2020-05-19 20:25:24.969516"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:24.993009"], ["updated_at", "2020-05-19 20:25:24.993009"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:25:24.996993"], ["updated_at", "2020-05-19 20:25:24.996993"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:25:25.023257"], ["updated_at", "2020-05-19 20:25:25.023257"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:25:25.031449"], ["updated_at", "2020-05-19 20:25:25.031449"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:25.049639"], ["updated_at", "2020-05-19 20:25:25.049639"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:25:25.069884"], ["updated_at", "2020-05-19 20:25:25.069884"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:25:25.073709"], ["updated_at", "2020-05-19 20:25:25.073709"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:25:25.091445"], ["updated_at", "2020-05-19 20:25:25.091445"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (6.2ms)[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-19 20:25:25.096995"], ["updated_at", "2020-05-19 20:25:25.096995"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:25.262555"], ["updated_at", "2020-05-19 20:25:25.262555"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:25.361243"], ["updated_at", "2020-05-19 20:25:25.361243"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.4ms)[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-19 20:25:25.411515"], ["updated_at", "2020-05-19 20:25:25.411515"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:25.469510"], ["updated_at", "2020-05-19 20:25:25.469510"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [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", "TestWork"], ["id", "d502d371-8337-4f36-b258-d69d145b5b36"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:25:25.527057"], ["updated_at", "2020-05-19 20:25:25.527057"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:25.702495"], ["updated_at", "2020-05-19 20:25:25.702495"], ["file_data", "{\"id\":\"asset/a5e9282d7a4006f2d429428a13429a8f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] Performing Kithe::AssetPromoteJob (Job ID: 385631bb-c971-4a4b-990a-7ecdef95d5a1) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56", "file", {"id"=>"asset/a5e9282d7a4006f2d429428a13429a8f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [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", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [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", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [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/664c0561-ab99-4ae5-9c8f-76e4fadf7e56/1fb6b9dc6bea9d488c58c9b2106cc70b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.739654"], ["id", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [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", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] Performing Kithe::CreateDerivativesJob (Job ID: 692281aa-55c3-4f7a-8b2a-05b092767aaf) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe1743cad90 @uri=#<URI::GID gid://dummy/CustomAsset/664c0561-ab99-4ae5-9c8f-76e4fadf7e56>>
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] [1m[36mCustomAsset Load (10.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", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] [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/664c0561-ab99-4ae5-9c8f-76e4fadf7e56/1fb6b9dc6bea9d488c58c9b2106cc70b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"664c0561-ab99-4ae5-9c8f-76e4fadf7e56/fixed/00f38a4bb7ed9065ad99027d12797aab.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7jazzvxly_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.769754"], ["id", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] [Kithe::CreateDerivativesJob] [692281aa-55c3-4f7a-8b2a-05b092767aaf] Performed Kithe::CreateDerivativesJob (Job ID: 692281aa-55c3-4f7a-8b2a-05b092767aaf) from Inline(default) in 22.79ms
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] Enqueued Kithe::CreateDerivativesJob (Job ID: 692281aa-55c3-4f7a-8b2a-05b092767aaf) to Inline(default) with arguments: #<GlobalID:0x00007fe16efd5870 @uri=#<URI::GID gid://dummy/CustomAsset/664c0561-ab99-4ae5-9c8f-76e4fadf7e56>>
+[ActiveJob] [Kithe::AssetPromoteJob] [385631bb-c971-4a4b-990a-7ecdef95d5a1] Performed Kithe::AssetPromoteJob (Job ID: 385631bb-c971-4a4b-990a-7ecdef95d5a1) from Inline(default) in 46.95ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 385631bb-c971-4a4b-990a-7ecdef95d5a1) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56", "file", {"id"=>"asset/a5e9282d7a4006f2d429428a13429a8f.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "664c0561-ab99-4ae5-9c8f-76e4fadf7e56"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:25.791545"], ["updated_at", "2020-05-19 20:25:25.791545"], ["file_data", "{\"id\":\"asset/e12a4775b1f01a58edabf40bc2dde242.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] Performing Kithe::AssetPromoteJob (Job ID: 9b097f31-cfc9-415b-a391-598dc4f21667) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "219868a5-bf95-43fa-9eda-7998bf8be9fc", "file", {"id"=>"asset/e12a4775b1f01a58edabf40bc2dde242.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [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", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [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", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [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/219868a5-bf95-43fa-9eda-7998bf8be9fc/96f8f23501b5babb86ec422478590e9b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.801097"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [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", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] Performing Kithe::CreateDerivativesJob (Job ID: 32622ea9-e1c5-4104-bb32-69d4ad525a80) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe174336d20 @uri=#<URI::GID gid://dummy/CustomAsset/219868a5-bf95-43fa-9eda-7998bf8be9fc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] [1m[36mCustomAsset Load (1.0ms)[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", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] [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/219868a5-bf95-43fa-9eda-7998bf8be9fc/96f8f23501b5babb86ec422478590e9b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"219868a5-bf95-43fa-9eda-7998bf8be9fc/fixed/cdf1ba7e0eba1c86b347a3bd0dd5fb29.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zcuoalbtd_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.809566"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] [Kithe::CreateDerivativesJob] [32622ea9-e1c5-4104-bb32-69d4ad525a80] Performed Kithe::CreateDerivativesJob (Job ID: 32622ea9-e1c5-4104-bb32-69d4ad525a80) from Inline(default) in 6.86ms
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] Enqueued Kithe::CreateDerivativesJob (Job ID: 32622ea9-e1c5-4104-bb32-69d4ad525a80) to Inline(default) with arguments: #<GlobalID:0x00007fe1742e99f8 @uri=#<URI::GID gid://dummy/CustomAsset/219868a5-bf95-43fa-9eda-7998bf8be9fc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [9b097f31-cfc9-415b-a391-598dc4f21667] Performed Kithe::AssetPromoteJob (Job ID: 9b097f31-cfc9-415b-a391-598dc4f21667) from Inline(default) in 16.11ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9b097f31-cfc9-415b-a391-598dc4f21667) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "219868a5-bf95-43fa-9eda-7998bf8be9fc", "file", {"id"=>"asset/e12a4775b1f01a58edabf40bc2dde242.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/219868a5-bf95-43fa-9eda-7998bf8be9fc/96f8f23501b5babb86ec422478590e9b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.814399"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/219868a5-bf95-43fa-9eda-7998bf8be9fc/96f8f23501b5babb86ec422478590e9b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"219868a5-bf95-43fa-9eda-7998bf8be9fc/fixed/d37d9c90d4f8797542df2f29ba7796ae.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zcuoalbtd_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.823117"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "219868a5-bf95-43fa-9eda-7998bf8be9fc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:25.840945"], ["updated_at", "2020-05-19 20:25:25.840945"], ["file_data", "{\"id\":\"asset/a1e7f7ccf060ec7fdc88da1714c043f5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] Performing Kithe::AssetPromoteJob (Job ID: f6fe131b-f764-4570-bdde-ff35fe976b20) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "8f7bbce2-406c-425f-a940-10e1cee0ea06", "file", {"id"=>"asset/a1e7f7ccf060ec7fdc88da1714c043f5.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [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", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [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", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [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/8f7bbce2-406c-425f-a940-10e1cee0ea06/e312f2bd4d6d2c5a86a9cba4bd590721.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.849516"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [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", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] Performing Kithe::CreateDerivativesJob (Job ID: 2d68d9fc-457e-410f-af37-7b52ff6686b9) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe1727d1d28 @uri=#<URI::GID gid://dummy/CustomAsset/8f7bbce2-406c-425f-a940-10e1cee0ea06>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] [1m[36mCustomAsset 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", "CustomAsset"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] [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/8f7bbce2-406c-425f-a940-10e1cee0ea06/e312f2bd4d6d2c5a86a9cba4bd590721.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8f7bbce2-406c-425f-a940-10e1cee0ea06/fixed/f271ae58796c953d48bc333832c4fa13.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"scuhkm7vj_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.860654"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] [Kithe::CreateDerivativesJob] [2d68d9fc-457e-410f-af37-7b52ff6686b9] Performed Kithe::CreateDerivativesJob (Job ID: 2d68d9fc-457e-410f-af37-7b52ff6686b9) from Inline(default) in 9.08ms
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] Enqueued Kithe::CreateDerivativesJob (Job ID: 2d68d9fc-457e-410f-af37-7b52ff6686b9) to Inline(default) with arguments: #<GlobalID:0x00007fe17273a298 @uri=#<URI::GID gid://dummy/CustomAsset/8f7bbce2-406c-425f-a940-10e1cee0ea06>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f6fe131b-f764-4570-bdde-ff35fe976b20] Performed Kithe::AssetPromoteJob (Job ID: f6fe131b-f764-4570-bdde-ff35fe976b20) from Inline(default) in 17.76ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f6fe131b-f764-4570-bdde-ff35fe976b20) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "8f7bbce2-406c-425f-a940-10e1cee0ea06", "file", {"id"=>"asset/a1e7f7ccf060ec7fdc88da1714c043f5.jpg", "storage"=>"cache"}, {}
+ [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", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8f7bbce2-406c-425f-a940-10e1cee0ea06/e312f2bd4d6d2c5a86a9cba4bd590721.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.868503"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8f7bbce2-406c-425f-a940-10e1cee0ea06"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:25:25.884038"], ["updated_at", "2020-05-19 20:25:25.884038"], ["file_data", "{\"id\":\"asset/75f0d5dea10171011abdb8d14e97b4ac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] Performing Kithe::AssetPromoteJob (Job ID: f5a2695b-ae6c-431d-b132-12e0df940f1b) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f", "file", {"id"=>"asset/75f0d5dea10171011abdb8d14e97b4ac.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [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", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [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", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [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/de4e9cd2-60f4-4c13-a434-9347fd8cd54f/7605e21be31d81b56d62c25e86f13f0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.894464"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [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", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] Performing Kithe::CreateDerivativesJob (Job ID: 429e4af6-6ced-4540-9f14-b5eae1e278ca) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe16ed8f0c0 @uri=#<URI::GID gid://dummy/CustomAsset/de4e9cd2-60f4-4c13-a434-9347fd8cd54f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] [1m[36mCustomAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] [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/de4e9cd2-60f4-4c13-a434-9347fd8cd54f/7605e21be31d81b56d62c25e86f13f0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"de4e9cd2-60f4-4c13-a434-9347fd8cd54f/fixed/544da493d58c540d5c9725057c23a213.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6q51ewik1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.902386"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] [Kithe::CreateDerivativesJob] [429e4af6-6ced-4540-9f14-b5eae1e278ca] Performed Kithe::CreateDerivativesJob (Job ID: 429e4af6-6ced-4540-9f14-b5eae1e278ca) from Inline(default) in 6.68ms
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] Enqueued Kithe::CreateDerivativesJob (Job ID: 429e4af6-6ced-4540-9f14-b5eae1e278ca) to Inline(default) with arguments: #<GlobalID:0x00007fe17232e5a0 @uri=#<URI::GID gid://dummy/CustomAsset/de4e9cd2-60f4-4c13-a434-9347fd8cd54f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f5a2695b-ae6c-431d-b132-12e0df940f1b] Performed Kithe::AssetPromoteJob (Job ID: f5a2695b-ae6c-431d-b132-12e0df940f1b) from Inline(default) in 15.86ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f5a2695b-ae6c-431d-b132-12e0df940f1b) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f", "file", {"id"=>"asset/75f0d5dea10171011abdb8d14e97b4ac.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/de4e9cd2-60f4-4c13-a434-9347fd8cd54f/7605e21be31d81b56d62c25e86f13f0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"de4e9cd2-60f4-4c13-a434-9347fd8cd54f/fixed/7aaa951150783bb4b5a40b2521ed5004.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6q51ewik1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.911823"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+ [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", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'de4e9cd2-60f4-4c13-a434-9347fd8cd54f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'de4e9cd2-60f4-4c13-a434-9347fd8cd54f'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "de4e9cd2-60f4-4c13-a434-9347fd8cd54f"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [46012008-aa14-45a1-97f1-100b62c96e03] Performing Kithe::AssetDeleteJob (Job ID: 46012008-aa14-45a1-97f1-100b62c96e03) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/de4e9cd2-60f4-4c13-a434-9347fd8cd54f/7605e21be31d81b56d62c25e86f13f0b.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"de4e9cd2-60f4-4c13-a434-9347fd8cd54f/fixed/7aaa951150783bb4b5a40b2521ed5004.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"6q51ewik1_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [46012008-aa14-45a1-97f1-100b62c96e03] Performed Kithe::AssetDeleteJob (Job ID: 46012008-aa14-45a1-97f1-100b62c96e03) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 46012008-aa14-45a1-97f1-100b62c96e03) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/de4e9cd2-60f4-4c13-a434-9347fd8cd54f/7605e21be31d81b56d62c25e86f13f0b.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"de4e9cd2-60f4-4c13-a434-9347fd8cd54f/fixed/7aaa951150783bb4b5a40b2521ed5004.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"6q51ewik1_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (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-19 20:25:25.943780"], ["updated_at", "2020-05-19 20:25:25.943780"], ["file_data", "{\"id\":\"asset/3a54cd2e0b45afb631db25dc43cafac5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] Performing Kithe::AssetPromoteJob (Job ID: 2740460d-4327-4365-af06-7f5526a56b32) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7bce4543-2a50-4a15-b76f-842cd0865bb7", "file", {"id"=>"asset/3a54cd2e0b45afb631db25dc43cafac5.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [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/7bce4543-2a50-4a15-b76f-842cd0865bb7/40cb6fd716d718c19181c62af0cf5a9a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.952543"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] Performing Kithe::CreateDerivativesJob (Job ID: ba66fbaa-94d0-4713-9053-e4cafe1d193a) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe16f512ce8 @uri=#<URI::GID gid://dummy/CustomAsset/7bce4543-2a50-4a15-b76f-842cd0865bb7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] [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/7bce4543-2a50-4a15-b76f-842cd0865bb7/40cb6fd716d718c19181c62af0cf5a9a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bce4543-2a50-4a15-b76f-842cd0865bb7/fixed/03fd20e133e44d4352e3954011556da2.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ykvibg4gx_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.961965"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] [Kithe::CreateDerivativesJob] [ba66fbaa-94d0-4713-9053-e4cafe1d193a] Performed Kithe::CreateDerivativesJob (Job ID: ba66fbaa-94d0-4713-9053-e4cafe1d193a) from Inline(default) in 7.68ms
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] Enqueued Kithe::CreateDerivativesJob (Job ID: ba66fbaa-94d0-4713-9053-e4cafe1d193a) to Inline(default) with arguments: #<GlobalID:0x00007fe170ae9b70 @uri=#<URI::GID gid://dummy/CustomAsset/7bce4543-2a50-4a15-b76f-842cd0865bb7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2740460d-4327-4365-af06-7f5526a56b32] Performed Kithe::AssetPromoteJob (Job ID: 2740460d-4327-4365-af06-7f5526a56b32) from Inline(default) in 15.58ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2740460d-4327-4365-af06-7f5526a56b32) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7bce4543-2a50-4a15-b76f-842cd0865bb7", "file", {"id"=>"asset/3a54cd2e0b45afb631db25dc43cafac5.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/40cb6fd716d718c19181c62af0cf5a9a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bce4543-2a50-4a15-b76f-842cd0865bb7/fixed/f7c875d666d14f3163d4cb3f95677c62.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ykvibg4gx_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.970758"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/182d85467544d25fbf3268576228db16.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:25:25.975382"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [25a5444c-9acd-45fe-ae8b-f74eed0191d5] Performing Kithe::AssetDeleteJob (Job ID: 25a5444c-9acd-45fe-ae8b-f74eed0191d5) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/40cb6fd716d718c19181c62af0cf5a9a.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7bce4543-2a50-4a15-b76f-842cd0865bb7/fixed/f7c875d666d14f3163d4cb3f95677c62.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ykvibg4gx_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [25a5444c-9acd-45fe-ae8b-f74eed0191d5] Performed Kithe::AssetDeleteJob (Job ID: 25a5444c-9acd-45fe-ae8b-f74eed0191d5) from Inline(default) in 0.1ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 25a5444c-9acd-45fe-ae8b-f74eed0191d5) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/40cb6fd716d718c19181c62af0cf5a9a.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7bce4543-2a50-4a15-b76f-842cd0865bb7/fixed/f7c875d666d14f3163d4cb3f95677c62.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ykvibg4gx_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] Performing Kithe::AssetPromoteJob (Job ID: 7b3a73be-5453-4a04-a9f1-ada531171a6d) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7bce4543-2a50-4a15-b76f-842cd0865bb7", "file", {"id"=>"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/182d85467544d25fbf3268576228db16.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [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/7bce4543-2a50-4a15-b76f-842cd0865bb7/c3239cf26850068801a326f2fdad7956.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:25.984390"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] Performing Kithe::CreateDerivativesJob (Job ID: 4eb00fef-5de3-4632-b8f0-f256b9bb35de) from Inline(default) enqueued at 2020-05-19T20:25:25Z with arguments: #<GlobalID:0x00007fe16f472ab8 @uri=#<URI::GID gid://dummy/CustomAsset/7bce4543-2a50-4a15-b76f-842cd0865bb7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] [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", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] [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/7bce4543-2a50-4a15-b76f-842cd0865bb7/c3239cf26850068801a326f2fdad7956.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bce4543-2a50-4a15-b76f-842cd0865bb7/fixed/a80ae455441ba333d96c94077ef42764.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ykvibg4gx_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:25.992682"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] [Kithe::CreateDerivativesJob] [4eb00fef-5de3-4632-b8f0-f256b9bb35de] Performed Kithe::CreateDerivativesJob (Job ID: 4eb00fef-5de3-4632-b8f0-f256b9bb35de) from Inline(default) in 6.56ms
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] Enqueued Kithe::CreateDerivativesJob (Job ID: 4eb00fef-5de3-4632-b8f0-f256b9bb35de) to Inline(default) with arguments: #<GlobalID:0x00007fe1747e4c28 @uri=#<URI::GID gid://dummy/CustomAsset/7bce4543-2a50-4a15-b76f-842cd0865bb7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3a73be-5453-4a04-a9f1-ada531171a6d] Performed Kithe::AssetPromoteJob (Job ID: 7b3a73be-5453-4a04-a9f1-ada531171a6d) from Inline(default) in 14.92ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7b3a73be-5453-4a04-a9f1-ada531171a6d) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7bce4543-2a50-4a15-b76f-842cd0865bb7", "file", {"id"=>"asset/7bce4543-2a50-4a15-b76f-842cd0865bb7/182d85467544d25fbf3268576228db16.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bce4543-2a50-4a15-b76f-842cd0865bb7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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", "CustomAsset"], ["created_at", "2020-05-19 20:25:26.010712"], ["updated_at", "2020-05-19 20:25:26.010712"], ["file_data", "{\"id\":\"asset/598511634f70a1cee8f74f2d854d81af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] Performing Kithe::AssetPromoteJob (Job ID: e5d3f8df-ecd4-4ced-a903-7de443305994) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "CustomUploader::Attacher", "CustomAsset", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc", "file", {"id"=>"asset/598511634f70a1cee8f74f2d854d81af.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [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", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [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", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [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/15cc2dd9-1a7c-4362-ba88-a8744ecd2afc/a628afcc5d0587e499b36c73e6653a0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.018827"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [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", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] Performing Kithe::CreateDerivativesJob (Job ID: 3f109a92-7463-40ea-848f-d3bef9885dfb) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: #<GlobalID:0x00007fe17477d410 @uri=#<URI::GID gid://dummy/CustomAsset/15cc2dd9-1a7c-4362-ba88-a8744ecd2afc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] [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", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] [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/15cc2dd9-1a7c-4362-ba88-a8744ecd2afc/a628afcc5d0587e499b36c73e6653a0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"15cc2dd9-1a7c-4362-ba88-a8744ecd2afc/fixed/5e297a12df794f548608e5c679220d88.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dvfa8nsrp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.027733"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] [Kithe::CreateDerivativesJob] [3f109a92-7463-40ea-848f-d3bef9885dfb] Performed Kithe::CreateDerivativesJob (Job ID: 3f109a92-7463-40ea-848f-d3bef9885dfb) from Inline(default) in 7.28ms
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] Enqueued Kithe::CreateDerivativesJob (Job ID: 3f109a92-7463-40ea-848f-d3bef9885dfb) to Inline(default) with arguments: #<GlobalID:0x00007fe170a63930 @uri=#<URI::GID gid://dummy/CustomAsset/15cc2dd9-1a7c-4362-ba88-a8744ecd2afc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e5d3f8df-ecd4-4ced-a903-7de443305994] Performed Kithe::AssetPromoteJob (Job ID: e5d3f8df-ecd4-4ced-a903-7de443305994) from Inline(default) in 14.98ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e5d3f8df-ecd4-4ced-a903-7de443305994) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc", "file", {"id"=>"asset/598511634f70a1cee8f74f2d854d81af.jpg", "storage"=>"cache"}, {}
+ [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", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/15cc2dd9-1a7c-4362-ba88-a8744ecd2afc/a628afcc5d0587e499b36c73e6653a0b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"15cc2dd9-1a7c-4362-ba88-a8744ecd2afc/fixed/91b0deda0df3b36be2ee9e79ae4faaf7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dvfa8nsrp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.036468"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "15cc2dd9-1a7c-4362-ba88-a8744ecd2afc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.058761"], ["updated_at", "2020-05-19 20:25:26.058761"], ["file_data", "{\"id\":\"asset/f9c65b4aa0ea3f3d5831e8a199ceb823.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] Performing Kithe::AssetPromoteJob (Job ID: b11acd4f-a105-4361-9e7a-eada2b22ce6b) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "CustomUploader::Attacher", "CustomAsset", "6719ba2e-e7b2-4204-9b8d-f23438f9a914", "file", {"id"=>"asset/f9c65b4aa0ea3f3d5831e8a199ceb823.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [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", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [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", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [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/6719ba2e-e7b2-4204-9b8d-f23438f9a914/cd1d34b15bf7dd8d120de540e893521c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.066500"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [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", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] Performing Kithe::CreateDerivativesJob (Job ID: 824a3f46-6198-45ae-acd0-f98e0b8ce7c5) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: #<GlobalID:0x00007fe1746e4f30 @uri=#<URI::GID gid://dummy/CustomAsset/6719ba2e-e7b2-4204-9b8d-f23438f9a914>>
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] [1m[36mCustomAsset 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", "CustomAsset"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] [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/6719ba2e-e7b2-4204-9b8d-f23438f9a914/cd1d34b15bf7dd8d120de540e893521c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"6719ba2e-e7b2-4204-9b8d-f23438f9a914/fixed/21a1b0299f2f6596a1c7b54a08cf67bd.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"208uz57bq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.075681"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] [Kithe::CreateDerivativesJob] [824a3f46-6198-45ae-acd0-f98e0b8ce7c5] Performed Kithe::CreateDerivativesJob (Job ID: 824a3f46-6198-45ae-acd0-f98e0b8ce7c5) from Inline(default) in 6.82ms
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] Enqueued Kithe::CreateDerivativesJob (Job ID: 824a3f46-6198-45ae-acd0-f98e0b8ce7c5) to Inline(default) with arguments: #<GlobalID:0x00007fe1746af6c8 @uri=#<URI::GID gid://dummy/CustomAsset/6719ba2e-e7b2-4204-9b8d-f23438f9a914>>
+[ActiveJob] [Kithe::AssetPromoteJob] [b11acd4f-a105-4361-9e7a-eada2b22ce6b] Performed Kithe::AssetPromoteJob (Job ID: b11acd4f-a105-4361-9e7a-eada2b22ce6b) from Inline(default) in 15.6ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b11acd4f-a105-4361-9e7a-eada2b22ce6b) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "6719ba2e-e7b2-4204-9b8d-f23438f9a914", "file", {"id"=>"asset/f9c65b4aa0ea3f3d5831e8a199ceb823.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/6719ba2e-e7b2-4204-9b8d-f23438f9a914/cd1d34b15bf7dd8d120de540e893521c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"6719ba2e-e7b2-4204-9b8d-f23438f9a914/fixed/9e7e428273deb73ed83b1a3b3de87dc9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"208uz57bq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.084485"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"], ["LIMIT", 1]]
+ [1m[36mCustomAsset 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/6719ba2e-e7b2-4204-9b8d-f23438f9a914/cd1d34b15bf7dd8d120de540e893521c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"6719ba2e-e7b2-4204-9b8d-f23438f9a914/fixed/e841be4b4cda0694d1ad751776497c74.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"208uz57bq_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:25:26.256134"], ["id", "6719ba2e-e7b2-4204-9b8d-f23438f9a914"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.275610"], ["updated_at", "2020-05-19 20:25:26.275610"], ["file_data", "{\"id\":\"asset/083d1718c7bbbc318b4f183b9434ebf1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] Performing Kithe::AssetPromoteJob (Job ID: 0543ffb2-2c42-4db2-ab55-9c90f1f38ea1) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "CustomUploader::Attacher", "CustomAsset", "946414a8-346b-44c8-bd62-d0113e7be2b2", "file", {"id"=>"asset/083d1718c7bbbc318b4f183b9434ebf1.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [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", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [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", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [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/946414a8-346b-44c8-bd62-d0113e7be2b2/247873583f89d68572b9d149960ccff0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.286863"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [1m[36mCustomAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] Performing Kithe::CreateDerivativesJob (Job ID: 4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: #<GlobalID:0x00007fe1751c8fa0 @uri=#<URI::GID gid://dummy/CustomAsset/946414a8-346b-44c8-bd62-d0113e7be2b2>>
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] [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", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] [1m[36mCustomAsset Update (2.0ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/946414a8-346b-44c8-bd62-d0113e7be2b2/247873583f89d68572b9d149960ccff0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"946414a8-346b-44c8-bd62-d0113e7be2b2/fixed/525bac7377819f5274baaad1461d89b6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jh2golscg_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.300359"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] [Kithe::CreateDerivativesJob] [4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08] Performed Kithe::CreateDerivativesJob (Job ID: 4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08) from Inline(default) in 11.86ms
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] Enqueued Kithe::CreateDerivativesJob (Job ID: 4a3e6f3f-801d-49e7-9e4f-3d2f9dd41e08) to Inline(default) with arguments: #<GlobalID:0x00007fe175193698 @uri=#<URI::GID gid://dummy/CustomAsset/946414a8-346b-44c8-bd62-d0113e7be2b2>>
+[ActiveJob] [Kithe::AssetPromoteJob] [0543ffb2-2c42-4db2-ab55-9c90f1f38ea1] Performed Kithe::AssetPromoteJob (Job ID: 0543ffb2-2c42-4db2-ab55-9c90f1f38ea1) from Inline(default) in 27.13ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 0543ffb2-2c42-4db2-ab55-9c90f1f38ea1) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "946414a8-346b-44c8-bd62-d0113e7be2b2", "file", {"id"=>"asset/083d1718c7bbbc318b4f183b9434ebf1.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/946414a8-346b-44c8-bd62-d0113e7be2b2/247873583f89d68572b9d149960ccff0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"946414a8-346b-44c8-bd62-d0113e7be2b2/fixed/62af7c00865989a1cc2d17baad14331f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jh2golscg_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:26.313862"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"], ["LIMIT", 1]]
+ [1m[36mCustomAsset 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/946414a8-346b-44c8-bd62-d0113e7be2b2/247873583f89d68572b9d149960ccff0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"946414a8-346b-44c8-bd62-d0113e7be2b2/fixed/62af7c00865989a1cc2d17baad14331f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"jh2golscg_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"946414a8-346b-44c8-bd62-d0113e7be2b2/test/a4bbf8b83eee8cd65f2abd537a8c3341.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jh2golscg_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:25:26.354122"], ["id", "946414a8-346b-44c8-bd62-d0113e7be2b2"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.376382"], ["updated_at", "2020-05-19 20:25:26.376382"], ["file_data", "{\"id\":\"asset/4d791afbcc053afb1215841524283357.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] Performing Kithe::AssetPromoteJob (Job ID: 733c4f0e-bcb2-46c8-a90c-e2af605c5596) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b394420f-7d3f-4a16-85b7-04bc972805e0", "file", {"id"=>"asset/4d791afbcc053afb1215841524283357.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] [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", "b394420f-7d3f-4a16-85b7-04bc972805e0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] [1m[36mTestAsset 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", "TestAsset"], ["id", "b394420f-7d3f-4a16-85b7-04bc972805e0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] [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/b394420f-7d3f-4a16-85b7-04bc972805e0/bd8f3f10eef7bc22a5afda07e312fc1c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.387039"], ["id", "b394420f-7d3f-4a16-85b7-04bc972805e0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [733c4f0e-bcb2-46c8-a90c-e2af605c5596] Performed Kithe::AssetPromoteJob (Job ID: 733c4f0e-bcb2-46c8-a90c-e2af605c5596) from Inline(default) in 6.88ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 733c4f0e-bcb2-46c8-a90c-e2af605c5596) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b394420f-7d3f-4a16-85b7-04bc972805e0", "file", {"id"=>"asset/4d791afbcc053afb1215841524283357.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:25:26.409686"], ["updated_at", "2020-05-19 20:25:26.409686"], ["file_data", "{\"id\":\"asset/18b66f672fbf1297ab3be618de2d187c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "a004e762-6773-4b95-98bd-791b78166b2a"], ["LIMIT", 1]]
+ [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", "a004e762-6773-4b95-98bd-791b78166b2a"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.430644"], ["updated_at", "2020-05-19 20:25:26.430644"], ["file_data", "{\"id\":\"asset/1a6431fe526bc340a6342130e83e2c4c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:26.437893"], ["file_data", "{\"id\":\"asset/989f3460-d8e2-46f8-b8c0-1cb9b4ca8135/a0bbedb871de3300b384aa2f7b4c12cc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "989f3460-d8e2-46f8-b8c0-1cb9b4ca8135"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "989f3460-d8e2-46f8-b8c0-1cb9b4ca8135"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:25:26.463904"], ["updated_at", "2020-05-19 20:25:26.463904"], ["file_data", "{\"id\":\"asset/3876ee339bf7858695e05c9c6859a69f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9ed2de26-11b1-41a1-acd9-90a6f26f01d3] Performing Kithe::AssetPromoteJob (Job ID: 9ed2de26-11b1-41a1-acd9-90a6f26f01d3) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f3980b65-79bc-4c62-aa42-38aa7cd86352", "file", {"id"=>"asset/3876ee339bf7858695e05c9c6859a69f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [9ed2de26-11b1-41a1-acd9-90a6f26f01d3] [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", "f3980b65-79bc-4c62-aa42-38aa7cd86352"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9ed2de26-11b1-41a1-acd9-90a6f26f01d3] Performed Kithe::AssetPromoteJob (Job ID: 9ed2de26-11b1-41a1-acd9-90a6f26f01d3) from Inline(default) in 2.47ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9ed2de26-11b1-41a1-acd9-90a6f26f01d3) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f3980b65-79bc-4c62-aa42-38aa7cd86352", "file", {"id"=>"asset/3876ee339bf7858695e05c9c6859a69f.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f3980b65-79bc-4c62-aa42-38aa7cd86352"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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", "TestAsset"], ["created_at", "2020-05-19 20:25:26.489297"], ["updated_at", "2020-05-19 20:25:26.489297"], ["file_data", "{\"id\":\"asset/8901ff2cca1d412e3f7a6da6a607c595.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] Performing Kithe::AssetPromoteJob (Job ID: 6317ac23-737b-4e49-bdea-acdbd238761e) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d98f4a7f-a802-4153-8df0-b977cf5e0727", "file", {"id"=>"asset/8901ff2cca1d412e3f7a6da6a607c595.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] [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", "d98f4a7f-a802-4153-8df0-b977cf5e0727"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] [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", "d98f4a7f-a802-4153-8df0-b977cf5e0727"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] [1m[36mTestAsset 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/d98f4a7f-a802-4153-8df0-b977cf5e0727/9fbe5e251c07b07460034f9bf3e2cccd.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.500192"], ["id", "d98f4a7f-a802-4153-8df0-b977cf5e0727"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6317ac23-737b-4e49-bdea-acdbd238761e] Performed Kithe::AssetPromoteJob (Job ID: 6317ac23-737b-4e49-bdea-acdbd238761e) from Inline(default) in 7.73ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6317ac23-737b-4e49-bdea-acdbd238761e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d98f4a7f-a802-4153-8df0-b977cf5e0727", "file", {"id"=>"asset/8901ff2cca1d412e3f7a6da6a607c595.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d98f4a7f-a802-4153-8df0-b977cf5e0727"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.537205"], ["updated_at", "2020-05-19 20:25:26.537205"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:26.541645"], ["file_data", "{\"id\":\"asset/17b3650a-1388-433f-aa52-bc39559e4d03/0fe48482214fa22857dd9a0a0775cbdd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "17b3650a-1388-433f-aa52-bc39559e4d03"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "17b3650a-1388-433f-aa52-bc39559e4d03"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.560324"], ["updated_at", "2020-05-19 20:25:26.560324"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (1.2ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:26.567249"], ["file_data", "{\"id\":\"asset/dac4ffeb-5f6b-47d0-8523-37380fed911a/8706656f048784a1f55e3f3e64f94dfa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "dac4ffeb-5f6b-47d0-8523-37380fed911a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "dac4ffeb-5f6b-47d0-8523-37380fed911a"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.591196"], ["updated_at", "2020-05-19 20:25:26.591196"], ["file_data", "{\"id\":\"asset/d4879b0b3b7878bd99e1f6c25b0eb07f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6a23d551-0751-45e2-8ebd-85bb174fb493"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6a23d551-0751-45e2-8ebd-85bb174fb493"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:25:26.616878"], ["updated_at", "2020-05-19 20:25:26.616878"], ["file_data", "{\"id\":\"asset/0c3bd0f0811f2d1c71adb64307891e11.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f3aa76c1-bcb9-48c7-826c-2f823a60df92"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (1.0ms)[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", "f3aa76c1-bcb9-48c7-826c-2f823a60df92"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f3aa76c1-bcb9-48c7-826c-2f823a60df92/daa5ab3563185bd5e6c0b4ecb88c79a6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.630467"], ["id", "f3aa76c1-bcb9-48c7-826c-2f823a60df92"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f3aa76c1-bcb9-48c7-826c-2f823a60df92"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.651871"], ["updated_at", "2020-05-19 20:25:26.651871"], ["file_data", "{\"id\":\"asset/64855969fc6e7fba6e43db47d7e29ed7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] Performing Kithe::AssetPromoteJob (Job ID: 58ed6ef1-1ca0-4c13-957e-8f28125aa59a) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "11297ebb-9db0-4528-8103-3793e36e4da0", "file", {"id"=>"asset/64855969fc6e7fba6e43db47d7e29ed7.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] [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", "11297ebb-9db0-4528-8103-3793e36e4da0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] [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", "11297ebb-9db0-4528-8103-3793e36e4da0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] [1m[36mTestAsset Update (1.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/11297ebb-9db0-4528-8103-3793e36e4da0/dd5f7606ee588dd16afe220337f7edec.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.671822"], ["id", "11297ebb-9db0-4528-8103-3793e36e4da0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [58ed6ef1-1ca0-4c13-957e-8f28125aa59a] Performed Kithe::AssetPromoteJob (Job ID: 58ed6ef1-1ca0-4c13-957e-8f28125aa59a) from Inline(default) in 21.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 58ed6ef1-1ca0-4c13-957e-8f28125aa59a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "11297ebb-9db0-4528-8103-3793e36e4da0", "file", {"id"=>"asset/64855969fc6e7fba6e43db47d7e29ed7.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (5.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.734834"], ["updated_at", "2020-05-19 20:25:26.734834"], ["file_data", "{\"id\":\"asset/fbe4b155611c057d60f96fd7765bc555.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:26.739579"], ["file_data", "{\"id\":\"asset/5598c6a3-e9e3-4c25-b79d-644ab4241b55/b0602151575e1235cef3bca08ab954f7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5598c6a3-e9e3-4c25-b79d-644ab4241b55"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "5598c6a3-e9e3-4c25-b79d-644ab4241b55"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.760997"], ["updated_at", "2020-05-19 20:25:26.760997"], ["file_data", "{\"id\":\"asset/eb1d9b42871be83cc420182d6018ae25.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] Performing Kithe::AssetPromoteJob (Job ID: fdbbfe08-e5db-4c80-b2f8-1876c7afef08) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "6335ba3b-a56c-4399-bfdc-e6e6f249d866", "file", {"id"=>"asset/eb1d9b42871be83cc420182d6018ae25.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] [1m[36mTestAsset 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", "TestAsset"], ["id", "6335ba3b-a56c-4399-bfdc-e6e6f249d866"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] [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", "6335ba3b-a56c-4399-bfdc-e6e6f249d866"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] [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/6335ba3b-a56c-4399-bfdc-e6e6f249d866/e5ab85f9f193be20f27c55783ad4fcad.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.773956"], ["id", "6335ba3b-a56c-4399-bfdc-e6e6f249d866"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fdbbfe08-e5db-4c80-b2f8-1876c7afef08] Performed Kithe::AssetPromoteJob (Job ID: fdbbfe08-e5db-4c80-b2f8-1876c7afef08) from Inline(default) in 13.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fdbbfe08-e5db-4c80-b2f8-1876c7afef08) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "6335ba3b-a56c-4399-bfdc-e6e6f249d866", "file", {"id"=>"asset/eb1d9b42871be83cc420182d6018ae25.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.820352"], ["updated_at", "2020-05-19 20:25:26.820352"], ["file_data", "{\"id\":\"asset/f0319c8b95f19e63724601e9aea09de3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] Performing Kithe::AssetPromoteJob (Job ID: b57fef0d-0e8e-4284-96cb-eb5485f650f1) from Inline(default) enqueued at 2020-05-19T20:25:26Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "c799a52e-830e-4d72-9802-e99e125d3c51", "file", {"id"=>"asset/f0319c8b95f19e63724601e9aea09de3.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] [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", "c799a52e-830e-4d72-9802-e99e125d3c51"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] [1m[36mTestAsset 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", "TestAsset"], ["id", "c799a52e-830e-4d72-9802-e99e125d3c51"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] [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/c799a52e-830e-4d72-9802-e99e125d3c51/f8554e425277307d338862d4aeee357b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:26.829601"], ["id", "c799a52e-830e-4d72-9802-e99e125d3c51"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b57fef0d-0e8e-4284-96cb-eb5485f650f1] Performed Kithe::AssetPromoteJob (Job ID: b57fef0d-0e8e-4284-96cb-eb5485f650f1) from Inline(default) in 6.61ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b57fef0d-0e8e-4284-96cb-eb5485f650f1) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "c799a52e-830e-4d72-9802-e99e125d3c51", "file", {"id"=>"asset/f0319c8b95f19e63724601e9aea09de3.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c799a52e-830e-4d72-9802-e99e125d3c51"], ["LIMIT", 1]]
+ [1m[35m (30.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.0ms)[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-19 20:25:26.893864"], ["updated_at", "2020-05-19 20:25:26.893864"], ["file_data", "{\"id\":\"asset/acdd519cb71794e6b2126dd36863b88a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "8cd93e80-ddb9-4265-8ad0-5e65e6cd75e8"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:25:26.925823"], ["updated_at", "2020-05-19 20:25:26.925823"], ["file_data", "{\"id\":\"asset/346ce8d2e99d0dbb5ad7307bc42f4011.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:26.929054"], ["file_data", "{\"id\":\"asset/7159c0e2-2b19-4d0c-89c0-78c5978a5325/577c53ff8ef3527414dd8e15495fd480.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7159c0e2-2b19-4d0c-89c0-78c5978a5325"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: acf04bee-aa51-40e3-86fa-12001e094f12) to Test(default) with arguments: #<GlobalID:0x00007fe174655510 @uri=#<URI::GID gid://dummy/TestAsset/7159c0e2-2b19-4d0c-89c0-78c5978a5325>>
+ [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", "7159c0e2-2b19-4d0c-89c0-78c5978a5325"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7159c0e2-2b19-4d0c-89c0-78c5978a5325"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:25:26.948933"], ["updated_at", "2020-05-19 20:25:26.948933"], ["file_data", "{\"id\":\"asset/6e2c0e3d06f64867956a7944a745f6b3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:26.975804"], ["updated_at", "2020-05-19 20:25:26.975804"], ["file_data", "{\"id\":\"asset/4efbdd7ed0cc2c198d8b0b4a70014f90.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:26.979314"], ["file_data", "{\"id\":\"asset/d63de2b5-abfa-4c71-8fc1-8cb30b4d09c1/044d1ffa5ce77492625b707892d09c63.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d63de2b5-abfa-4c71-8fc1-8cb30b4d09c1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d63de2b5-abfa-4c71-8fc1-8cb30b4d09c1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:25:27.003034"], ["updated_at", "2020-05-19 20:25:27.003034"], ["file_data", "{\"id\":\"asset/5da4b09bdb82b8a0b7ca039004d489b1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.006359"], ["file_data", "{\"id\":\"asset/7a195d96-e1e2-46fb-9312-845ffddf5d27/8aa533f72d529dd695c01dccde4a0b01.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7a195d96-e1e2-46fb-9312-845ffddf5d27"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [f4ba3e76-8573-417c-8e07-bd301fcb9eb7] Performing Kithe::CreateDerivativesJob (Job ID: f4ba3e76-8573-417c-8e07-bd301fcb9eb7) from Test(default) enqueued at with arguments: #<GlobalID:0x00007fe17455def0 @uri=#<URI::GID gid://dummy/TestAsset/7a195d96-e1e2-46fb-9312-845ffddf5d27>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [f4ba3e76-8573-417c-8e07-bd301fcb9eb7] Performed Kithe::CreateDerivativesJob (Job ID: f4ba3e76-8573-417c-8e07-bd301fcb9eb7) from Test(default) in 0.6ms
+ [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", "7a195d96-e1e2-46fb-9312-845ffddf5d27"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:25:27.024562"], ["updated_at", "2020-05-19 20:25:27.024562"], ["file_data", "{\"id\":\"asset/0af9bca49c441dba2d2f1a84a2218cd4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.027777"], ["file_data", "{\"id\":\"asset/f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b/79c3c1ea3c59f063b86d91a2ebbc2c4b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"]]
+ [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", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"]]
+ [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", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f51ffc82-ecbe-42a9-89e7-3fa34cbf8c7b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:25:27.053626"], ["updated_at", "2020-05-19 20:25:27.053626"], ["file_data", "{\"id\":\"asset/bd885dffd3a2c33750ec37fd31daa3be.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.060989"], ["file_data", "{\"id\":\"asset/7b34f942-4161-4106-8055-65a50c332aa4/2f5b5b53fe2aa4fd7a0afa7c1f4e32b9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7b34f942-4161-4106-8055-65a50c332aa4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7b34f942-4161-4106-8055-65a50c332aa4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7b34f942-4161-4106-8055-65a50c332aa4"]]
+ [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", "7b34f942-4161-4106-8055-65a50c332aa4"]]
+ [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", "7b34f942-4161-4106-8055-65a50c332aa4"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7b34f942-4161-4106-8055-65a50c332aa4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7b34f942-4161-4106-8055-65a50c332aa4'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7b34f942-4161-4106-8055-65a50c332aa4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.104683"], ["updated_at", "2020-05-19 20:25:27.104683"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.0ms)[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, $24, $25, $26, $27) AND "kithe_models"."id" = $28 LIMIT $29[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "868aaecd-3007-456e-99bc-4969e79f3575"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:25:27.130604"], ["updated_at", "2020-05-19 20:25:27.130604"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:27.155062"], ["updated_at", "2020-05-19 20:25:27.155062"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.226034"], ["file_data", "{\"id\":\"asset/8eb2f96e-0044-478e-8b5e-a327223c398b/72e4637678a8e43babfee64447d5646f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "8eb2f96e-0044-478e-8b5e-a327223c398b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.232436"], ["file_data", "{\"id\":\"asset/8eb2f96e-0044-478e-8b5e-a327223c398b/4ec8db34c33315aece00810d33955296.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "8eb2f96e-0044-478e-8b5e-a327223c398b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "8eb2f96e-0044-478e-8b5e-a327223c398b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.256689"], ["updated_at", "2020-05-19 20:25:27.256689"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:27.273058"], ["updated_at", "2020-05-19 20:25:27.273058"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:27.276961"], ["updated_at", "2020-05-19 20:25:27.276961"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.285007"], ["updated_at", "2020-05-19 20:25:27.285007"], ["file_data", "{\"id\":\"asset/b44ca0ad0091823b836239bb8c31f270.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] Performing Kithe::AssetPromoteJob (Job ID: d496bc42-63f6-4fef-b93a-83d2d2a72f2b) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a060386e-b5f1-424e-b293-4f4fe983ad35", "file", {"id"=>"asset/b44ca0ad0091823b836239bb8c31f270.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a060386e-b5f1-424e-b293-4f4fe983ad35"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a060386e-b5f1-424e-b293-4f4fe983ad35"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] [1m[36mKithe::Asset 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/a060386e-b5f1-424e-b293-4f4fe983ad35/bca38f48fe2e2e3433dd85f910f70fc2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.316589"], ["id", "a060386e-b5f1-424e-b293-4f4fe983ad35"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d496bc42-63f6-4fef-b93a-83d2d2a72f2b] Performed Kithe::AssetPromoteJob (Job ID: d496bc42-63f6-4fef-b93a-83d2d2a72f2b) from Inline(default) in 28.83ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d496bc42-63f6-4fef-b93a-83d2d2a72f2b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a060386e-b5f1-424e-b293-4f4fe983ad35", "file", {"id"=>"asset/b44ca0ad0091823b836239bb8c31f270.jpg", "storage"=>"cache"}, {}
+ [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, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a060386e-b5f1-424e-b293-4f4fe983ad35"], ["LIMIT", 1]]
+ [1m[35m (1.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.335327"], ["updated_at", "2020-05-19 20:25:27.335327"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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-19 20:25:27.342282"], ["file_data", "{\"id\":\"asset/e47161de019c67621f26f6ef0701cfa8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] Performing Kithe::AssetPromoteJob (Job ID: 2933a172-a667-4e52-bb28-89bb45802a84) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6", "file", {"id"=>"asset/e47161de019c67621f26f6ef0701cfa8.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] [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, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] [1m[36mKithe::Asset 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/e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6/72ac7b12f81e73d6085ecf59187e61cf.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:25:27.360801"], ["id", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2933a172-a667-4e52-bb28-89bb45802a84] Performed Kithe::AssetPromoteJob (Job ID: 2933a172-a667-4e52-bb28-89bb45802a84) from Inline(default) in 16.07ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2933a172-a667-4e52-bb28-89bb45802a84) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6", "file", {"id"=>"asset/e47161de019c67621f26f6ef0701cfa8.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.8ms)[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, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e6d0eaa9-b8d4-4dd2-963a-6fadba81e9a6"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:27.376525"], ["updated_at", "2020-05-19 20:25:27.376525"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.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 Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.389541"], ["updated_at", "2020-05-19 20:25:27.389541"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:25:27.400342"], ["updated_at", "2020-05-19 20:25:27.400342"], ["file_data", "{\"id\":\"asset/b3533811026548c56a80fe6c99a9d07d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3fb6e3e4-2618-4aac-b39c-90475e29887c) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "855c0698-08df-4f48-8e98-cb02b8444e07", "file", {"id"=>"asset/b3533811026548c56a80fe6c99a9d07d.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "855c0698-08df-4f48-8e98-cb02b8444e07"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (2.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:27.407468"], ["file_data", "{\"id\":\"asset/855c0698-08df-4f48-8e98-cb02b8444e07/34fcdb8b1d5ad0e60efb9507100a1fff.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "855c0698-08df-4f48-8e98-cb02b8444e07"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.416234"], ["updated_at", "2020-05-19 20:25:27.416234"], ["file_data", "{\"id\":\"asset/19d7f9b1e3ad39bced1c2473c97d12ec.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] Performing Kithe::AssetPromoteJob (Job ID: c0fdcadb-e34f-4a61-8254-751f98dca2c4) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b39e64ee-14bd-4fa2-8414-eef9a283c826", "file", {"id"=>"asset/19d7f9b1e3ad39bced1c2473c97d12ec.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b39e64ee-14bd-4fa2-8414-eef9a283c826"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b39e64ee-14bd-4fa2-8414-eef9a283c826"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] [1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b39e64ee-14bd-4fa2-8414-eef9a283c826/354d1d2b41329842ebcc3ef7d04a1e4b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.428985"], ["id", "b39e64ee-14bd-4fa2-8414-eef9a283c826"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c0fdcadb-e34f-4a61-8254-751f98dca2c4] Performed Kithe::AssetPromoteJob (Job ID: c0fdcadb-e34f-4a61-8254-751f98dca2c4) from Inline(default) in 12.93ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c0fdcadb-e34f-4a61-8254-751f98dca2c4) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "b39e64ee-14bd-4fa2-8414-eef9a283c826", "file", {"id"=>"asset/19d7f9b1e3ad39bced1c2473c97d12ec.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.435436"], ["updated_at", "2020-05-19 20:25:27.435436"], ["file_data", "{\"id\":\"asset/869ecf82e8f1953e0b395da5f3745e1c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] Performing Kithe::AssetPromoteJob (Job ID: 627915e5-6be9-45d6-a7f3-01635caf1aa7) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c1f5efca-0a37-4112-aae3-08b449063096", "file", {"id"=>"asset/869ecf82e8f1953e0b395da5f3745e1c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] [1m[36mKithe::Asset Load (2.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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1f5efca-0a37-4112-aae3-08b449063096"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1f5efca-0a37-4112-aae3-08b449063096"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] [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/c1f5efca-0a37-4112-aae3-08b449063096/8d3165c599723d7b5af9f5abd1e53264.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.449385"], ["id", "c1f5efca-0a37-4112-aae3-08b449063096"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [627915e5-6be9-45d6-a7f3-01635caf1aa7] Performed Kithe::AssetPromoteJob (Job ID: 627915e5-6be9-45d6-a7f3-01635caf1aa7) from Inline(default) in 12.45ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 627915e5-6be9-45d6-a7f3-01635caf1aa7) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c1f5efca-0a37-4112-aae3-08b449063096", "file", {"id"=>"asset/869ecf82e8f1953e0b395da5f3745e1c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1f5efca-0a37-4112-aae3-08b449063096"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.458515"], ["updated_at", "2020-05-19 20:25:27.458515"], ["file_data", "{\"id\":\"asset/5b13aa875a49178a02ba31a1d9ca25d4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] Performing Kithe::AssetPromoteJob (Job ID: 8e258d5f-5f0f-4f37-9f52-6e66a7098a2b) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "428d5d92-dade-495b-bc80-e0073ba64387", "file", {"id"=>"asset/5b13aa875a49178a02ba31a1d9ca25d4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] [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/428d5d92-dade-495b-bc80-e0073ba64387/1439ef1762ab23ddc2ba37427b5bf4b8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.466848"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8e258d5f-5f0f-4f37-9f52-6e66a7098a2b] Performed Kithe::AssetPromoteJob (Job ID: 8e258d5f-5f0f-4f37-9f52-6e66a7098a2b) from Inline(default) in 12.04ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8e258d5f-5f0f-4f37-9f52-6e66a7098a2b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "428d5d92-dade-495b-bc80-e0073ba64387", "file", {"id"=>"asset/5b13aa875a49178a02ba31a1d9ca25d4.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/428d5d92-dade-495b-bc80-e0073ba64387/1439ef1762ab23ddc2ba37427b5bf4b8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"428d5d92-dade-495b-bc80-e0073ba64387/existing/a6e720bf25771e0af18e0c688cbafdf2.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"2f776vrm6_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:25:27.520224"], ["id", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+ [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", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '428d5d92-dade-495b-bc80-e0073ba64387'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '428d5d92-dade-495b-bc80-e0073ba64387'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "428d5d92-dade-495b-bc80-e0073ba64387"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [190205f2-1506-4f2a-89ca-b16ee8021e57] Performing Kithe::AssetDeleteJob (Job ID: 190205f2-1506-4f2a-89ca-b16ee8021e57) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/428d5d92-dade-495b-bc80-e0073ba64387/1439ef1762ab23ddc2ba37427b5bf4b8.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"428d5d92-dade-495b-bc80-e0073ba64387/existing/a6e720bf25771e0af18e0c688cbafdf2.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"2f776vrm6_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [190205f2-1506-4f2a-89ca-b16ee8021e57] Performed Kithe::AssetDeleteJob (Job ID: 190205f2-1506-4f2a-89ca-b16ee8021e57) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 190205f2-1506-4f2a-89ca-b16ee8021e57) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/428d5d92-dade-495b-bc80-e0073ba64387/1439ef1762ab23ddc2ba37427b5bf4b8.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"428d5d92-dade-495b-bc80-e0073ba64387/existing/a6e720bf25771e0af18e0c688cbafdf2.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"2f776vrm6_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:27.534902"], ["updated_at", "2020-05-19 20:25:27.534902"], ["file_data", "{\"id\":\"asset/9357e1fa7f469cac8f4a32613a8f5ce7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] Performing Kithe::AssetPromoteJob (Job ID: 660e635d-d7f8-4d30-ae03-b502a494f1cf) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1", "file", {"id"=>"asset/9357e1fa7f469cac8f4a32613a8f5ce7.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] [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/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/8997e1c6b91290852879d4ca5e19df79.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.557393"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [660e635d-d7f8-4d30-ae03-b502a494f1cf] Performed Kithe::AssetPromoteJob (Job ID: 660e635d-d7f8-4d30-ae03-b502a494f1cf) from Inline(default) in 21.89ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 660e635d-d7f8-4d30-ae03-b502a494f1cf) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1", "file", {"id"=>"asset/9357e1fa7f469cac8f4a32613a8f5ce7.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/8997e1c6b91290852879d4ca5e19df79.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/existing/18080ee612ce89de8575d19f04a66704.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fcplzf4xf_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:25:27.600971"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/3ba62432bbd5e18aba8c95cabc91bd7a.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:25:27.633345"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [37f307f6-009c-4dd0-85d2-05fadd31139f] Performing Kithe::AssetDeleteJob (Job ID: 37f307f6-009c-4dd0-85d2-05fadd31139f) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/8997e1c6b91290852879d4ca5e19df79.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/existing/18080ee612ce89de8575d19f04a66704.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"fcplzf4xf_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [37f307f6-009c-4dd0-85d2-05fadd31139f] Performed Kithe::AssetDeleteJob (Job ID: 37f307f6-009c-4dd0-85d2-05fadd31139f) from Inline(default) in 0.23ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 37f307f6-009c-4dd0-85d2-05fadd31139f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/8997e1c6b91290852879d4ca5e19df79.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/existing/18080ee612ce89de8575d19f04a66704.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"fcplzf4xf_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] Performing Kithe::AssetPromoteJob (Job ID: 377914e9-c2ab-4de4-a352-125cfd31e6fb) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1", "file", {"id"=>"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/3ba62432bbd5e18aba8c95cabc91bd7a.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] [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/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/155e8a2380de1d2b92119f7645275ac4.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:25:27.650693"], ["id", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [377914e9-c2ab-4de4-a352-125cfd31e6fb] Performed Kithe::AssetPromoteJob (Job ID: 377914e9-c2ab-4de4-a352-125cfd31e6fb) from Inline(default) in 15.16ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 377914e9-c2ab-4de4-a352-125cfd31e6fb) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8040f7f3-8aa3-4f35-8793-4aecf7d16cf1", "file", {"id"=>"asset/8040f7f3-8aa3-4f35-8793-4aecf7d16cf1/3ba62432bbd5e18aba8c95cabc91bd7a.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:25:27.657846"], ["updated_at", "2020-05-19 20:25:27.657846"], ["file_data", "{\"id\":\"asset/bc0df576ef568bd56bb1f7d356de8a6a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] Performing Kithe::AssetPromoteJob (Job ID: 6a5cc67b-3230-4069-a224-f19d6aac7a06) from Inline(default) enqueued at 2020-05-19T20:25:27Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d479be4d-1d58-40d2-8c48-af2d66cf24d9", "file", {"id"=>"asset/bc0df576ef568bd56bb1f7d356de8a6a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] [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/d479be4d-1d58-40d2-8c48-af2d66cf24d9/3390ef5709ec328bb8d7d3704f4b6cc6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:25:27.678034"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6a5cc67b-3230-4069-a224-f19d6aac7a06] Performed Kithe::AssetPromoteJob (Job ID: 6a5cc67b-3230-4069-a224-f19d6aac7a06) from Inline(default) in 16.78ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6a5cc67b-3230-4069-a224-f19d6aac7a06) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d479be4d-1d58-40d2-8c48-af2d66cf24d9", "file", {"id"=>"asset/bc0df576ef568bd56bb1f7d356de8a6a.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d479be4d-1d58-40d2-8c48-af2d66cf24d9/3390ef5709ec328bb8d7d3704f4b6cc6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"d479be4d-1d58-40d2-8c48-af2d66cf24d9/existing/8d6d3f491246b59dae929bd4a7682cc0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"a8hxu7gsd_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:25:27.728990"], ["id", "d479be4d-1d58-40d2-8c48-af2d66cf24d9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.0ms)[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-19 20:25:27.733176"], ["updated_at", "2020-05-19 20:25:27.733176"], ["file_data", "{\"id\":\"asset/5397075edef17a591d472818271fde3d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "daccd5cc-23f1-4a15-87c2-deed52d4cafe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "daccd5cc-23f1-4a15-87c2-deed52d4cafe"], ["LIMIT", 1]]
+ [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/5397075edef17a591d472818271fde3d.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"daccd5cc-23f1-4a15-87c2-deed52d4cafe/test/35005fb06eddace4853155d71b1af8fc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"vtqhz3avd_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:25:27.747407"], ["id", "daccd5cc-23f1-4a15-87c2-deed52d4cafe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:25:27.766857"], ["updated_at", "2020-05-19 20:25:27.766857"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (2.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:27.850000"], ["updated_at", "2020-05-19 20:25:27.850000"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "3831a510-7e36-45d7-b4ed-b92bc8dafb94"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.2ms)[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-19 20:25:27.858594"], ["updated_at", "2020-05-19 20:25:27.858594"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "47269b67-6518-490b-ba46-ced4fe0c6ddf"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:25:27.881731"], ["updated_at", "2020-05-19 20:25:27.881731"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:27.884624"], ["updated_at", "2020-05-19 20:25:27.884624"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (2.9ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.7ms)[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", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["id", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:25:27.900712"], ["updated_at", "2020-05-19 20:25:27.900712"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["container_id", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"]]
+ [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", "666ad9fe-a6d3-40de-9401-bab45025f54c"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "666ad9fe-a6d3-40de-9401-bab45025f54c"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["container_id", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[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", "666ad9fe-a6d3-40de-9401-bab45025f54c"], ["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["container_id", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "666ad9fe-a6d3-40de-9401-bab45025f54c"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '666ad9fe-a6d3-40de-9401-bab45025f54c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '666ad9fe-a6d3-40de-9401-bab45025f54c'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "666ad9fe-a6d3-40de-9401-bab45025f54c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["LIMIT", 1]]
+ [1m[36mKithe::Collection Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"], ["LIMIT", 1]]
+ [1m[35m (2.2ms)[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", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [1m[35m (0.6ms)[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", "5ffd3b73-cf91-4c49-8717-075b5f5c37a1"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:27.928982"], ["updated_at", "2020-05-19 20:25:27.928982"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "6cfca73d-31e1-4ad9-bcb3-b888cf531d62"], ["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [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", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [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", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["containee_id", "6cfca73d-31e1-4ad9-bcb3-b888cf531d62"]]
+ [1m[36mKithe::ModelContains Destroy (0.9ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"], ["containee_id", "6cfca73d-31e1-4ad9-bcb3-b888cf531d62"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6dc610b8-1cd6-4800-ac1b-e74865cccb0d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6dc610b8-1cd6-4800-ac1b-e74865cccb0d'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "6dc610b8-1cd6-4800-ac1b-e74865cccb0d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "6cfca73d-31e1-4ad9-bcb3-b888cf531d62"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "6cfca73d-31e1-4ad9-bcb3-b888cf531d62"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.2ms)[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-19 20:25:27.989362"], ["updated_at", "2020-05-19 20:25:27.989362"], ["kithe_model_type", 1]]
+ [1m[35m (7.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.000948"], ["updated_at", "2020-05-19 20:25:28.000948"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "340c0f8c-592f-404f-b9b7-662e78332f08"]]
+ [1m[36mKithe::Work Update (1.0ms)[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-19 20:25:28.005570"], ["representative_id", "340c0f8c-592f-404f-b9b7-662e78332f08"], ["leaf_representative_id", "340c0f8c-592f-404f-b9b7-662e78332f08"], ["id", "dfa51752-6b22-4a7d-8b11-78743c71a853"]]
+ [1m[35m (6.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '340c0f8c-592f-404f-b9b7-662e78332f08'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dfa51752-6b22-4a7d-8b11-78743c71a853'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dfa51752-6b22-4a7d-8b11-78743c71a853'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dfa51752-6b22-4a7d-8b11-78743c71a853"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "340c0f8c-592f-404f-b9b7-662e78332f08"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (4.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.025166"], ["updated_at", "2020-05-19 20:25:28.025166"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.036314"], ["updated_at", "2020-05-19 20:25:28.036314"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.8ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4cc7e064-2e82-404a-9599-3b3263abdba2"]]
+ [1m[36mKithe::Work Create (6.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-19 20:25:28.041516"], ["updated_at", "2020-05-19 20:25:28.041516"], ["representative_id", "4cc7e064-2e82-404a-9599-3b3263abdba2"], ["leaf_representative_id", "4cc7e064-2e82-404a-9599-3b3263abdba2"], ["kithe_model_type", 1]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4cc7e064-2e82-404a-9599-3b3263abdba2'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '53e179f5-0413-4bb4-a51e-74c6ab570f94'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '53e179f5-0413-4bb4-a51e-74c6ab570f94'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "4cc7e064-2e82-404a-9599-3b3263abdba2"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.8ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "53e179f5-0413-4bb4-a51e-74c6ab570f94"]]
+ [1m[36mKithe::Work Create (2.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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.058668"], ["updated_at", "2020-05-19 20:25:28.058668"], ["representative_id", "53e179f5-0413-4bb4-a51e-74c6ab570f94"], ["leaf_representative_id", "4cc7e064-2e82-404a-9599-3b3263abdba2"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4cc7e064-2e82-404a-9599-3b3263abdba2'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b0f483cd-36a1-468d-ac67-ea34ff4a83ce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b0f483cd-36a1-468d-ac67-ea34ff4a83ce'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "4cc7e064-2e82-404a-9599-3b3263abdba2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [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-19 20:25:28.070236"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "b0f483cd-36a1-468d-ac67-ea34ff4a83ce"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b0f483cd-36a1-468d-ac67-ea34ff4a83ce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b0f483cd-36a1-468d-ac67-ea34ff4a83ce'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.076069"], ["updated_at", "2020-05-19 20:25:28.076069"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4ae12da5-c76f-4f6f-985f-53dbf5a2864f"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.083062"], ["updated_at", "2020-05-19 20:25:28.083062"], ["representative_id", "4ae12da5-c76f-4f6f-985f-53dbf5a2864f"], ["leaf_representative_id", "4ae12da5-c76f-4f6f-985f-53dbf5a2864f"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4ae12da5-c76f-4f6f-985f-53dbf5a2864f'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f6fb48b5-9f87-4f60-a929-c6c837c44bd1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f6fb48b5-9f87-4f60-a929-c6c837c44bd1'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f6fb48b5-9f87-4f60-a929-c6c837c44bd1"]]
+ [1m[36mKithe::Work Create (1.1ms)[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-19 20:25:28.088538"], ["updated_at", "2020-05-19 20:25:28.088538"], ["representative_id", "f6fb48b5-9f87-4f60-a929-c6c837c44bd1"], ["leaf_representative_id", "4ae12da5-c76f-4f6f-985f-53dbf5a2864f"], ["kithe_model_type", 1]]
+ [1m[35m (24.6ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4ae12da5-c76f-4f6f-985f-53dbf5a2864f'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '96a73a38-99ba-497f-a6aa-3823596e7268'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '96a73a38-99ba-497f-a6aa-3823596e7268'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:28.116735"], ["representative_id", "4ae12da5-c76f-4f6f-985f-53dbf5a2864f"], ["leaf_representative_id", "f6fb48b5-9f87-4f60-a929-c6c837c44bd1"], ["id", "96a73a38-99ba-497f-a6aa-3823596e7268"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f6fb48b5-9f87-4f60-a929-c6c837c44bd1'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '96a73a38-99ba-497f-a6aa-3823596e7268'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '96a73a38-99ba-497f-a6aa-3823596e7268'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (4.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.124581"], ["updated_at", "2020-05-19 20:25:28.124581"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.134636"], ["updated_at", "2020-05-19 20:25:28.134636"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b104af77-46b4-42ad-9bfa-f9b6cf71dd94"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.138783"], ["updated_at", "2020-05-19 20:25:28.138783"], ["representative_id", "b104af77-46b4-42ad-9bfa-f9b6cf71dd94"], ["leaf_representative_id", "b104af77-46b4-42ad-9bfa-f9b6cf71dd94"], ["kithe_model_type", 1]]
+ [1m[35m (1.6ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b104af77-46b4-42ad-9bfa-f9b6cf71dd94'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f0f15726-9b69-4236-93b1-8a44a17bd993'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f0f15726-9b69-4236-93b1-8a44a17bd993'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f0f15726-9b69-4236-93b1-8a44a17bd993"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.144609"], ["updated_at", "2020-05-19 20:25:28.144609"], ["representative_id", "f0f15726-9b69-4236-93b1-8a44a17bd993"], ["leaf_representative_id", "b104af77-46b4-42ad-9bfa-f9b6cf71dd94"], ["kithe_model_type", 1]]
+ [1m[35m (2.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b104af77-46b4-42ad-9bfa-f9b6cf71dd94'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b44f98fb-0e16-4c3a-9a16-15e2bd26c706'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b44f98fb-0e16-4c3a-9a16-15e2bd26c706'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (81.3ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:28.152604"], ["leaf_representative_id", "a7669ed1-5c65-45a5-a46d-b1e18fd0a15c"], ["id", "b44f98fb-0e16-4c3a-9a16-15e2bd26c706"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a7669ed1-5c65-45a5-a46d-b1e18fd0a15c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b44f98fb-0e16-4c3a-9a16-15e2bd26c706'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b44f98fb-0e16-4c3a-9a16-15e2bd26c706'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "a7669ed1-5c65-45a5-a46d-b1e18fd0a15c"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (1.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f0f15726-9b69-4236-93b1-8a44a17bd993"]]
+ [1m[36mKithe::Model Load (1.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "b104af77-46b4-42ad-9bfa-f9b6cf71dd94"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.252752"], ["updated_at", "2020-05-19 20:25:28.252752"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.255428"], ["updated_at", "2020-05-19 20:25:28.255428"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5c5b801d-50ba-4a55-9ff9-28bcc336d699"]]
+ [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-19 20:25:28.265895"], ["representative_id", "5c5b801d-50ba-4a55-9ff9-28bcc336d699"], ["leaf_representative_id", "5c5b801d-50ba-4a55-9ff9-28bcc336d699"], ["id", "d0c4b22f-e6f3-41a2-bdc0-9279d625cefa"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5c5b801d-50ba-4a55-9ff9-28bcc336d699'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd0c4b22f-e6f3-41a2-bdc0-9279d625cefa'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd0c4b22f-e6f3-41a2-bdc0-9279d625cefa'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d0c4b22f-e6f3-41a2-bdc0-9279d625cefa"]]
+ [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-19 20:25:28.269955"], ["representative_id", "d0c4b22f-e6f3-41a2-bdc0-9279d625cefa"], ["leaf_representative_id", "5c5b801d-50ba-4a55-9ff9-28bcc336d699"], ["id", "5c5b801d-50ba-4a55-9ff9-28bcc336d699"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5c5b801d-50ba-4a55-9ff9-28bcc336d699'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5c5b801d-50ba-4a55-9ff9-28bcc336d699'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5c5b801d-50ba-4a55-9ff9-28bcc336d699'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.280015"], ["updated_at", "2020-05-19 20:25:28.280015"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:28.283216"], ["updated_at", "2020-05-19 20:25:28.283216"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a4813659-ae6a-4887-9e30-d73d6a39b5d4"]]
+ [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-19 20:25:28.288840"], ["updated_at", "2020-05-19 20:25:28.288840"], ["representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '706ae843-05bc-49ab-ac7f-465d8dc2651b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '706ae843-05bc-49ab-ac7f-465d8dc2651b'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.9ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "aa42bfc9-8a9f-490f-99fa-73c83494f736"]]
+ [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-19 20:25:28.299482"], ["updated_at", "2020-05-19 20:25:28.299482"], ["representative_id", "aa42bfc9-8a9f-490f-99fa-73c83494f736"], ["leaf_representative_id", "aa42bfc9-8a9f-490f-99fa-73c83494f736"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'aa42bfc9-8a9f-490f-99fa-73c83494f736'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '15f73cfd-adde-4093-9e22-dbd5f905a171'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '15f73cfd-adde-4093-9e22-dbd5f905a171'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "706ae843-05bc-49ab-ac7f-465d8dc2651b"]]
+ [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-19 20:25:28.303896"], ["updated_at", "2020-05-19 20:25:28.303896"], ["representative_id", "706ae843-05bc-49ab-ac7f-465d8dc2651b"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '25735f50-1db6-494e-ba78-8ee92865df6c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '25735f50-1db6-494e-ba78-8ee92865df6c'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "706ae843-05bc-49ab-ac7f-465d8dc2651b"]]
+ [1m[36mKithe::Work Create (2.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-19 20:25:28.310349"], ["updated_at", "2020-05-19 20:25:28.310349"], ["representative_id", "706ae843-05bc-49ab-ac7f-465d8dc2651b"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cdf43e4c-16c5-4c72-aaed-35311924a1e2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cdf43e4c-16c5-4c72-aaed-35311924a1e2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "15f73cfd-adde-4093-9e22-dbd5f905a171"]]
+ [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-19 20:25:28.317707"], ["updated_at", "2020-05-19 20:25:28.317707"], ["representative_id", "15f73cfd-adde-4093-9e22-dbd5f905a171"], ["leaf_representative_id", "aa42bfc9-8a9f-490f-99fa-73c83494f736"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'aa42bfc9-8a9f-490f-99fa-73c83494f736'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c64f5ca7-b93d-4ade-b447-5c6e32a762b7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c64f5ca7-b93d-4ade-b447-5c6e32a762b7'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "25735f50-1db6-494e-ba78-8ee92865df6c"]]
+ [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", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.322135"], ["updated_at", "2020-05-19 20:25:28.322135"], ["representative_id", "25735f50-1db6-494e-ba78-8ee92865df6c"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '57365f7f-f865-4987-a283-01781f945435'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '57365f7f-f865-4987-a283-01781f945435'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "57365f7f-f865-4987-a283-01781f945435"]]
+ [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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.328129"], ["updated_at", "2020-05-19 20:25:28.328129"], ["representative_id", "57365f7f-f865-4987-a283-01781f945435"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4d9e0894-e86e-4cb0-b0a9-ecd56dd10d12'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4d9e0894-e86e-4cb0-b0a9-ecd56dd10d12'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "57365f7f-f865-4987-a283-01781f945435"]]
+ [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-19 20:25:28.334213"], ["updated_at", "2020-05-19 20:25:28.334213"], ["representative_id", "57365f7f-f865-4987-a283-01781f945435"], ["leaf_representative_id", "a4813659-ae6a-4887-9e30-d73d6a39b5d4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a4813659-ae6a-4887-9e30-d73d6a39b5d4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ef762ff7-c40e-4084-8566-8966e7b861d0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ef762ff7-c40e-4084-8566-8966e7b861d0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "15f73cfd-adde-4093-9e22-dbd5f905a171"]]
+ [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-19 20:25:28.338402"], ["representative_id", "15f73cfd-adde-4093-9e22-dbd5f905a171"], ["leaf_representative_id", "aa42bfc9-8a9f-490f-99fa-73c83494f736"], ["id", "25735f50-1db6-494e-ba78-8ee92865df6c"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'aa42bfc9-8a9f-490f-99fa-73c83494f736'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '25735f50-1db6-494e-ba78-8ee92865df6c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '25735f50-1db6-494e-ba78-8ee92865df6c'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "25735f50-1db6-494e-ba78-8ee92865df6c"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "57365f7f-f865-4987-a283-01781f945435"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "4d9e0894-e86e-4cb0-b0a9-ecd56dd10d12"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ef762ff7-c40e-4084-8566-8966e7b861d0"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "cdf43e4c-16c5-4c72-aaed-35311924a1e2"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "706ae843-05bc-49ab-ac7f-465d8dc2651b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:28.356157"], ["updated_at", "2020-05-19 20:25:28.356157"], ["kithe_model_type", 2]]
+ [1m[35m (5.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.366857"], ["updated_at", "2020-05-19 20:25:28.366857"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d0d2e79f-39f1-4ca0-8642-fef02715e658"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.371378"], ["updated_at", "2020-05-19 20:25:28.371378"], ["representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '00266513-d5ad-4341-9587-ed09da229f56'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '00266513-d5ad-4341-9587-ed09da229f56'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "08fa16c1-c6c3-4792-ba9f-7709b79daa41"]]
+ [1m[36mKithe::Work Create (2.4ms)[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-19 20:25:28.377153"], ["updated_at", "2020-05-19 20:25:28.377153"], ["representative_id", "08fa16c1-c6c3-4792-ba9f-7709b79daa41"], ["leaf_representative_id", "08fa16c1-c6c3-4792-ba9f-7709b79daa41"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '08fa16c1-c6c3-4792-ba9f-7709b79daa41'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c32b468a-f120-4c14-8dbf-20754baef976'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c32b468a-f120-4c14-8dbf-20754baef976'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "00266513-d5ad-4341-9587-ed09da229f56"]]
+ [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-19 20:25:28.384398"], ["updated_at", "2020-05-19 20:25:28.384398"], ["representative_id", "00266513-d5ad-4341-9587-ed09da229f56"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c36b672e-d2a5-411b-99a5-6a29e6b7b3d0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c36b672e-d2a5-411b-99a5-6a29e6b7b3d0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "00266513-d5ad-4341-9587-ed09da229f56"]]
+ [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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.388659"], ["updated_at", "2020-05-19 20:25:28.388659"], ["representative_id", "00266513-d5ad-4341-9587-ed09da229f56"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '07ee3455-5cc3-466f-9e0b-cc235fc9c48a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '07ee3455-5cc3-466f-9e0b-cc235fc9c48a'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c32b468a-f120-4c14-8dbf-20754baef976"]]
+ [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-19 20:25:28.396901"], ["updated_at", "2020-05-19 20:25:28.396901"], ["representative_id", "c32b468a-f120-4c14-8dbf-20754baef976"], ["leaf_representative_id", "08fa16c1-c6c3-4792-ba9f-7709b79daa41"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '08fa16c1-c6c3-4792-ba9f-7709b79daa41'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e63a2c30-c678-4b9c-a647-185a13673327'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e63a2c30-c678-4b9c-a647-185a13673327'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c36b672e-d2a5-411b-99a5-6a29e6b7b3d0"]]
+ [1m[36mKithe::Work Create (0.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", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.401377"], ["updated_at", "2020-05-19 20:25:28.401377"], ["representative_id", "c36b672e-d2a5-411b-99a5-6a29e6b7b3d0"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '54cbd634-508d-4394-b081-dcee84d085e1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '54cbd634-508d-4394-b081-dcee84d085e1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "54cbd634-508d-4394-b081-dcee84d085e1"]]
+ [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-19 20:25:28.405524"], ["updated_at", "2020-05-19 20:25:28.405524"], ["representative_id", "54cbd634-508d-4394-b081-dcee84d085e1"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '504f1f60-89ce-47e6-966e-d4ac1e9fa357'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '504f1f60-89ce-47e6-966e-d4ac1e9fa357'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "54cbd634-508d-4394-b081-dcee84d085e1"]]
+ [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-19 20:25:28.414093"], ["updated_at", "2020-05-19 20:25:28.414093"], ["representative_id", "54cbd634-508d-4394-b081-dcee84d085e1"], ["leaf_representative_id", "d0d2e79f-39f1-4ca0-8642-fef02715e658"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd0d2e79f-39f1-4ca0-8642-fef02715e658'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '69542da2-2dd1-4558-888a-5493f9f16225'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '69542da2-2dd1-4558-888a-5493f9f16225'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "08fa16c1-c6c3-4792-ba9f-7709b79daa41"]]
+ [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-19 20:25:28.418086"], ["representative_id", "08fa16c1-c6c3-4792-ba9f-7709b79daa41"], ["leaf_representative_id", "08fa16c1-c6c3-4792-ba9f-7709b79daa41"], ["id", "00266513-d5ad-4341-9587-ed09da229f56"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '08fa16c1-c6c3-4792-ba9f-7709b79daa41'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '00266513-d5ad-4341-9587-ed09da229f56'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '00266513-d5ad-4341-9587-ed09da229f56'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c36b672e-d2a5-411b-99a5-6a29e6b7b3d0"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "07ee3455-5cc3-466f-9e0b-cc235fc9c48a"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.9ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "54cbd634-508d-4394-b081-dcee84d085e1"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (1.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "504f1f60-89ce-47e6-966e-d4ac1e9fa357"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "69542da2-2dd1-4558-888a-5493f9f16225"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:28.434596"], ["updated_at", "2020-05-19 20:25:28.434596"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7dd3188d-6935-4d61-a966-a2e6527bcd61"]]
+ [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-19 20:25:28.437776"], ["updated_at", "2020-05-19 20:25:28.437776"], ["representative_id", "7dd3188d-6935-4d61-a966-a2e6527bcd61"], ["leaf_representative_id", "7dd3188d-6935-4d61-a966-a2e6527bcd61"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7dd3188d-6935-4d61-a966-a2e6527bcd61'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ccef3a05-5e6a-4c51-b920-d2ec841fd2b4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ccef3a05-5e6a-4c51-b920-d2ec841fd2b4'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ccef3a05-5e6a-4c51-b920-d2ec841fd2b4"]]
+ [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-19 20:25:28.449217"], ["updated_at", "2020-05-19 20:25:28.449217"], ["representative_id", "ccef3a05-5e6a-4c51-b920-d2ec841fd2b4"], ["leaf_representative_id", "7dd3188d-6935-4d61-a966-a2e6527bcd61"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7dd3188d-6935-4d61-a966-a2e6527bcd61'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bb2e477c-2fa5-4190-b112-8b87db793fbc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bb2e477c-2fa5-4190-b112-8b87db793fbc'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7dd3188d-6935-4d61-a966-a2e6527bcd61"]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:28.481033"], ["updated_at", "2020-05-19 20:25:28.481033"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e27c1034-51ef-4c96-97c4-0e22292aa8a1"]]
+ [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-19 20:25:28.485088"], ["updated_at", "2020-05-19 20:25:28.485088"], ["representative_id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"], ["leaf_representative_id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e27c1034-51ef-4c96-97c4-0e22292aa8a1'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd8d08178-b437-4be9-b2e9-9000252185cb'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd8d08178-b437-4be9-b2e9-9000252185cb'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"]]
+ [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", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e27c1034-51ef-4c96-97c4-0e22292aa8a1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e27c1034-51ef-4c96-97c4-0e22292aa8a1'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "e27c1034-51ef-4c96-97c4-0e22292aa8a1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d8d08178-b437-4be9-b2e9-9000252185cb"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.513722"], ["updated_at", "2020-05-19 20:25:28.513722"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ed57b6eb-3abb-4390-b5db-5335f8c51413"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.521239"], ["updated_at", "2020-05-19 20:25:28.521239"], ["representative_id", "ed57b6eb-3abb-4390-b5db-5335f8c51413"], ["leaf_representative_id", "ed57b6eb-3abb-4390-b5db-5335f8c51413"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ed57b6eb-3abb-4390-b5db-5335f8c51413'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b747b3bf-6127-4834-b42b-3a33cb853dd6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b747b3bf-6127-4834-b42b-3a33cb853dd6'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b747b3bf-6127-4834-b42b-3a33cb853dd6"]]
+ [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-19 20:25:28.532640"], ["updated_at", "2020-05-19 20:25:28.532640"], ["representative_id", "b747b3bf-6127-4834-b42b-3a33cb853dd6"], ["leaf_representative_id", "ed57b6eb-3abb-4390-b5db-5335f8c51413"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ed57b6eb-3abb-4390-b5db-5335f8c51413'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e9ac280c-1cd3-4f96-a6c5-ecce2e5e0977'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e9ac280c-1cd3-4f96-a6c5-ecce2e5e0977'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "b747b3bf-6127-4834-b42b-3a33cb853dd6"]]
+ [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", "b747b3bf-6127-4834-b42b-3a33cb853dd6"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "b747b3bf-6127-4834-b42b-3a33cb853dd6"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b747b3bf-6127-4834-b42b-3a33cb853dd6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b747b3bf-6127-4834-b42b-3a33cb853dd6'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b747b3bf-6127-4834-b42b-3a33cb853dd6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e9ac280c-1cd3-4f96-a6c5-ecce2e5e0977"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:28.551377"], ["updated_at", "2020-05-19 20:25:28.551377"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c9980568-d3de-4f2b-b697-951582faa203"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.558360"], ["updated_at", "2020-05-19 20:25:28.558360"], ["representative_id", "c9980568-d3de-4f2b-b697-951582faa203"], ["leaf_representative_id", "c9980568-d3de-4f2b-b697-951582faa203"], ["kithe_model_type", 1]]
+ [1m[35m (2.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c9980568-d3de-4f2b-b697-951582faa203'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e1c08a23-8972-467c-9b5c-cdd0a897bb50'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e1c08a23-8972-467c-9b5c-cdd0a897bb50'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e1c08a23-8972-467c-9b5c-cdd0a897bb50"]]
+ [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-19 20:25:28.570173"], ["updated_at", "2020-05-19 20:25:28.570173"], ["representative_id", "e1c08a23-8972-467c-9b5c-cdd0a897bb50"], ["leaf_representative_id", "c9980568-d3de-4f2b-b697-951582faa203"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c9980568-d3de-4f2b-b697-951582faa203'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6393cbab-d0ba-4a7d-9c22-01f84d1896a7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6393cbab-d0ba-4a7d-9c22-01f84d1896a7'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "c9980568-d3de-4f2b-b697-951582faa203"]]
+ [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", "c9980568-d3de-4f2b-b697-951582faa203"]]
+ [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", "c9980568-d3de-4f2b-b697-951582faa203"]]
+ [1m[35m (1.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c9980568-d3de-4f2b-b697-951582faa203'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c9980568-d3de-4f2b-b697-951582faa203'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c9980568-d3de-4f2b-b697-951582faa203"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "6393cbab-d0ba-4a7d-9c22-01f84d1896a7"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e1c08a23-8972-467c-9b5c-cdd0a897bb50"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.585565"], ["updated_at", "2020-05-19 20:25:28.585565"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.593990"], ["updated_at", "2020-05-19 20:25:28.593990"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.597486"], ["updated_at", "2020-05-19 20:25:28.597486"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:28.600431"], ["parent_id", "e200489d-7e28-427c-b6ea-4e464d2c0fec"], ["id", "ff486338-c11a-4155-aa29-bdbc17f4dad4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "ff486338-c11a-4155-aa29-bdbc17f4dad4"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "e200489d-7e28-427c-b6ea-4e464d2c0fec"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.615453"], ["updated_at", "2020-05-19 20:25:28.615453"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.617837"], ["updated_at", "2020-05-19 20:25:28.617837"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:28.620070"], ["parent_id", "c0a3cd21-0282-4be0-861d-5ffa4c0f13ce"], ["id", "b97bda94-5b09-4506-adf7-f937f2cde75d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3) AND "kithe_models"."id" = $4 LIMIT $5[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b97bda94-5b09-4506-adf7-f937f2cde75d"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "c0a3cd21-0282-4be0-861d-5ffa4c0f13ce"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.631117"], ["updated_at", "2020-05-19 20:25:28.631117"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:25:28.633780"], ["updated_at", "2020-05-19 20:25:28.633780"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:25:28.638626"], ["updated_at", "2020-05-19 20:25:28.638626"], ["kithe_model_type", 0]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (1.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b05f992f-93d2-4a08-a738-82427b7498e3"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:25:28.648696"], ["updated_at", "2020-05-19 20:25:28.648696"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "9f66700a-e180-44e9-9e0a-c307b62d42ec"], ["container_id", "b05f992f-93d2-4a08-a738-82427b7498e3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:28.666636"], ["updated_at", "2020-05-19 20:25:28.666636"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "a7b3980f-5847-4caa-8af8-5d4f57c72c0d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:25:28.716030"], ["updated_at", "2020-05-19 20:25:28.716030"], ["file_data", "{\"id\":\"asset/0cab501137d20f0046cc90904d971cc2.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:25:28.753248"], ["file_data", "{\"id\":\"asset/dab32c69-5bc1-4c4d-8def-ca0ede616c7c/0cd0907ab36dc5221182180c6f867a0a.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "dab32c69-5bc1-4c4d-8def-ca0ede616c7c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "dab32c69-5bc1-4c4d-8def-ca0ede616c7c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-19 20:25:28.808491"], ["updated_at", "2020-05-19 20:25:28.808491"], ["file_data", "{\"id\":\"asset/e05e5e5cb75da3b6a7c483088a4d3142.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.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", "ChecksumAsset"], ["id", "71055469-7b5f-4b6c-8483-f53929248f2f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:25:28.866353"], ["updated_at", "2020-05-19 20:25:28.866353"], ["file_data", "{\"id\":\"asset/993a3a3146fd0e4d7dc13523bdfd5415.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:28.905162"], ["file_data", "{\"id\":\"asset/e068e811-f104-4259-9849-a0ed8937f8fa/df54e8c7765f644509ca93f63599740a.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "e068e811-f104-4259-9849-a0ed8937f8fa"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "e068e811-f104-4259-9849-a0ed8937f8fa"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "ChecksumAsset"], ["id", "e068e811-f104-4259-9849-a0ed8937f8fa"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:28.948326"], ["file_data", "{\"id\":\"asset/e068e811-f104-4259-9849-a0ed8937f8fa/df54e8c7765f644509ca93f63599740a.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\":\"e068e811-f104-4259-9849-a0ed8937f8fa/test/6ac2b632205dceb086811801100c8ad1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"kh4l2uzxo_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e068e811-f104-4259-9849-a0ed8937f8fa"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:28.971128"], ["updated_at", "2020-05-19 20:25:28.971128"], ["file_data", "{\"id\":\"asset/a933ddd3e210fe120c2982dd5da50481.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:28.975485"], ["file_data", "{\"id\":\"asset/21da8ff9-612b-4cea-870e-51eb28941bbf/af1f7f355f0b920ae965271ff00168b6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "21da8ff9-612b-4cea-870e-51eb28941bbf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "21da8ff9-612b-4cea-870e-51eb28941bbf"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.039823"], ["updated_at", "2020-05-19 20:25:29.039823"], ["file_data", "{\"id\":\"asset/a22d2a170f4d3e6144352f157d3790a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.044045"], ["file_data", "{\"id\":\"asset/a67f4903-5b2d-447c-abc3-a32cb9a40e36/89a01b24adac4be2b6869b9bd9174995.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a67f4903-5b2d-447c-abc3-a32cb9a40e36"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.067768"], ["updated_at", "2020-05-19 20:25:29.067768"], ["file_data", "{\"id\":\"asset/5aa909424785e8ba4c98301fd06683a0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.071510"], ["file_data", "{\"id\":\"asset/67a7eba0-82a4-49a8-bd4f-42888f8470a4/59c4a681787fbdfcd720a4fc65eac7e8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "67a7eba0-82a4-49a8-bd4f-42888f8470a4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:25:29.095646"], ["updated_at", "2020-05-19 20:25:29.095646"], ["file_data", "{\"id\":\"asset/811112d89adc92809a7c5f7162b4e2f4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.101706"], ["file_data", "{\"id\":\"asset/734cca1e-d698-4abb-8710-5b1e59afa91f/b848bb0627149670e4621d57f2ce4247.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "734cca1e-d698-4abb-8710-5b1e59afa91f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (7.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.0ms)[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-19 20:25:29.124434"], ["updated_at", "2020-05-19 20:25:29.124434"], ["file_data", "{\"id\":\"asset/cf9450560d213adedf32e9a6b2fb46fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.136856"], ["file_data", "{\"id\":\"asset/55a8acb3-afeb-4cf0-b0c7-30f785122c4c/2fe7e19da5305292442a73acb45e5310.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "55a8acb3-afeb-4cf0-b0c7-30f785122c4c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (6.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", "55a8acb3-afeb-4cf0-b0c7-30f785122c4c"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.301490"], ["updated_at", "2020-05-19 20:25:29.301490"], ["file_data", "{\"id\":\"asset/f6704bd1862d46002eed34750c863c70.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.305406"], ["file_data", "{\"id\":\"asset/7c947749-d0f4-477f-9b67-fb1165cbe056/fe773e511c234f872eb5adbe1392c9c1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7c947749-d0f4-477f-9b67-fb1165cbe056"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7c947749-d0f4-477f-9b67-fb1165cbe056"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.371868"], ["updated_at", "2020-05-19 20:25:29.371868"], ["file_data", "{\"id\":\"asset/2ba076a5bd5579a3f7900a3e24c7e1ee.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.375630"], ["file_data", "{\"id\":\"asset/71eeb4e8-2534-453c-8eac-dd0cbb173272/442cd200344b08b49ceca817c8a33687.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "71eeb4e8-2534-453c-8eac-dd0cbb173272"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "71eeb4e8-2534-453c-8eac-dd0cbb173272"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.429674"], ["updated_at", "2020-05-19 20:25:29.429674"], ["file_data", "{\"id\":\"asset/a041e8c03b8249e0851f638b1898d843.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.433490"], ["file_data", "{\"id\":\"asset/cf6613e2-ff78-4140-aa75-99a955819802/6077d522c78e9d64723f44779aeab6b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "cf6613e2-ff78-4140-aa75-99a955819802"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "cf6613e2-ff78-4140-aa75-99a955819802"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.518947"], ["updated_at", "2020-05-19 20:25:29.518947"], ["file_data", "{\"id\":\"asset/e471665f5fef5509d8ce93631f8f78da.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.522857"], ["file_data", "{\"id\":\"asset/06c6ff2b-16a0-4182-a106-cbc308109c60/e5759f1e0407ded09275225312388db6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "06c6ff2b-16a0-4182-a106-cbc308109c60"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "06c6ff2b-16a0-4182-a106-cbc308109c60"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:25:29.604872"], ["updated_at", "2020-05-19 20:25:29.604872"], ["file_data", "{\"id\":\"asset/25e4101da573223df1703957070d8d94.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.610904"], ["file_data", "{\"id\":\"asset/a32a685e-d561-4ed9-8442-ed64655de760/7e314e7c0e1136e07838c3a65e2c07f7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a32a685e-d561-4ed9-8442-ed64655de760"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a32a685e-d561-4ed9-8442-ed64655de760"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:25:29.705018"], ["updated_at", "2020-05-19 20:25:29.705018"], ["file_data", "{\"id\":\"asset/b2bedbbac768df130416490f16b55863.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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-19 20:25:29.708771"], ["file_data", "{\"id\":\"asset/d109dc07-46fb-4eb5-9c9c-bc9f8cab7b26/e764156cd9be56664cc73186aa14ce28.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d109dc07-46fb-4eb5-9c9c-bc9f8cab7b26"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d109dc07-46fb-4eb5-9c9c-bc9f8cab7b26"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.799980"], ["updated_at", "2020-05-19 20:25:29.799980"], ["file_data", "{\"id\":\"asset/50cbdf72ce2aaf4da975197b6f6e4ffc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.803527"], ["file_data", "{\"id\":\"asset/62c34454-c624-4104-b505-17dce274a3d4/a66ed8b9991ba118d77c563dee76f192.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "62c34454-c624-4104-b505-17dce274a3d4"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "62c34454-c624-4104-b505-17dce274a3d4"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:29.873931"], ["updated_at", "2020-05-19 20:25:29.873931"], ["file_data", "{\"id\":\"asset/42aab073a57b314f1434600d38dd74a7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.880081"], ["file_data", "{\"id\":\"asset/c799873a-7aea-4369-936a-b2dd85cc3826/adc71026af97006d9c4240827e636fb2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c799873a-7aea-4369-936a-b2dd85cc3826"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c799873a-7aea-4369-936a-b2dd85cc3826"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:25:29.937043"], ["updated_at", "2020-05-19 20:25:29.937043"], ["file_data", "{\"id\":\"asset/04ac83a30e1aee54d1e0a07e17f372b1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.940929"], ["file_data", "{\"id\":\"asset/f75d54f9-de09-43aa-9535-fe53e02dc090/4d85d27c3b94806940b784e1fc4e0922.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:29.981013"], ["file_data", "{\"id\":\"asset/f75d54f9-de09-43aa-9535-fe53e02dc090/4d85d27c3b94806940b784e1fc4e0922.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f75d54f9-de09-43aa-9535-fe53e02dc090/some_data/82234e8fe42dea2527723277e5a88d15.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ce65cqhbb_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.020472"], ["file_data", "{\"id\":\"asset/f75d54f9-de09-43aa-9535-fe53e02dc090/4d85d27c3b94806940b784e1fc4e0922.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f75d54f9-de09-43aa-9535-fe53e02dc090/some_data/82234e8fe42dea2527723277e5a88d15.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"ce65cqhbb_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"f75d54f9-de09-43aa-9535-fe53e02dc090/a_jpg/10a80b7d7727516b49f87daccda96fe9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ce65cqhbb_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f75d54f9-de09-43aa-9535-fe53e02dc090"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.050626"], ["updated_at", "2020-05-19 20:25:30.050626"], ["file_data", "{\"id\":\"asset/5a46d135a2dc86432db51a88a283d66c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.054073"], ["file_data", "{\"id\":\"asset/cf6b7fb1-0b88-459b-9b78-a87f5252f33b/9b957e51b5ac6d225886c4a48d11a5b7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "cf6b7fb1-0b88-459b-9b78-a87f5252f33b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "cf6b7fb1-0b88-459b-9b78-a87f5252f33b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "cf6b7fb1-0b88-459b-9b78-a87f5252f33b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.064832"], ["file_data", "{\"id\":\"asset/cf6b7fb1-0b88-459b-9b78-a87f5252f33b/9b957e51b5ac6d225886c4a48d11a5b7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"cf6b7fb1-0b88-459b-9b78-a87f5252f33b/sample/9760541e915b6d0a34826465588a2ee9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xwpg3eoja_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "cf6b7fb1-0b88-459b-9b78-a87f5252f33b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "cf6b7fb1-0b88-459b-9b78-a87f5252f33b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 20:25:30.072422"], ["updated_at", "2020-05-19 20:25:30.072422"], ["file_data", "{\"id\":\"asset/71437863fc18bed7e8bef09bb926ef9c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.079836"], ["file_data", "{\"id\":\"asset/359e9cca-ae86-41ba-af78-28614c86ff25/d1be1e5d63283b8fea3ba196d4b5061d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "359e9cca-ae86-41ba-af78-28614c86ff25"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "359e9cca-ae86-41ba-af78-28614c86ff25"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "359e9cca-ae86-41ba-af78-28614c86ff25"], ["LIMIT", 1]]
+ [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-19 20:25:30.087147"], ["file_data", "{\"id\":\"asset/359e9cca-ae86-41ba-af78-28614c86ff25/d1be1e5d63283b8fea3ba196d4b5061d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"359e9cca-ae86-41ba-af78-28614c86ff25/sample/ab1a8ba290eb16776b6758a74d5ebee0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d518vtx9o_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "359e9cca-ae86-41ba-af78-28614c86ff25"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 20:25:30.093380"], ["updated_at", "2020-05-19 20:25:30.093380"], ["file_data", "{\"id\":\"asset/0caa77f6e5c073cf936b4143c2f32834.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.100258"], ["file_data", "{\"id\":\"asset/5570556c-67ad-44e9-8b23-d345b6607368/8278b7ac353a6744e13284f0bae9a626.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5570556c-67ad-44e9-8b23-d345b6607368"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5570556c-67ad-44e9-8b23-d345b6607368"], ["LIMIT", 1]]
+ [1m[35m (3.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5570556c-67ad-44e9-8b23-d345b6607368"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.112812"], ["file_data", "{\"id\":\"asset/5570556c-67ad-44e9-8b23-d345b6607368/8278b7ac353a6744e13284f0bae9a626.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"5570556c-67ad-44e9-8b23-d345b6607368/sample/ea49e004ad94fc9dc64e39547efa3a55.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"3ujj4v8yn_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "5570556c-67ad-44e9-8b23-d345b6607368"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5570556c-67ad-44e9-8b23-d345b6607368"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:25:30.122046"], ["updated_at", "2020-05-19 20:25:30.122046"], ["file_data", "{\"id\":\"asset/a40219017018651f9189b15cb7ad3fd3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.130199"], ["file_data", "{\"id\":\"asset/bda68067-e899-43f0-a073-fbf000543a35/db22eb2edf1112bf8c378dd933ac869d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bda68067-e899-43f0-a073-fbf000543a35"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bda68067-e899-43f0-a073-fbf000543a35"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bda68067-e899-43f0-a073-fbf000543a35"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (85.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.142371"], ["file_data", "{\"id\":\"asset/bda68067-e899-43f0-a073-fbf000543a35/db22eb2edf1112bf8c378dd933ac869d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"bda68067-e899-43f0-a073-fbf000543a35/sample/f6f5b2cd38a3d671139744b833cd3990.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"olbbezlmm_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "bda68067-e899-43f0-a073-fbf000543a35"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bda68067-e899-43f0-a073-fbf000543a35"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:30.234519"], ["updated_at", "2020-05-19 20:25:30.234519"], ["file_data", "{\"id\":\"asset/242384afabb1577c018ed15a50ddd8c8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.237476"], ["file_data", "{\"id\":\"asset/b62905d6-6b3a-485f-aa60-2c7d6bb65be7/6ea67d26bb6d6ea48972a9db6114416c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b62905d6-6b3a-485f-aa60-2c7d6bb65be7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.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", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:30.245623"], ["updated_at", "2020-05-19 20:25:30.245623"], ["file_data", "{\"id\":\"asset/032fb9033b2fdbca3667598d465cb0e2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.255487"], ["file_data", "{\"id\":\"asset/49040037-d630-4cb0-91b7-3228bb280f14/b641c09760bde7fb06f67c19b3f9cd47.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "49040037-d630-4cb0-91b7-3228bb280f14"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "49040037-d630-4cb0-91b7-3228bb280f14"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "49040037-d630-4cb0-91b7-3228bb280f14"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:25:30.265427"], ["file_data", "{\"id\":\"asset/49040037-d630-4cb0-91b7-3228bb280f14/b641c09760bde7fb06f67c19b3f9cd47.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"49040037-d630-4cb0-91b7-3228bb280f14/sample/32b3527fa0440f96fc35d57a6c50caad.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"f6qiqlkha_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "49040037-d630-4cb0-91b7-3228bb280f14"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "49040037-d630-4cb0-91b7-3228bb280f14"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:30.279217"], ["updated_at", "2020-05-19 20:25:30.279217"], ["file_data", "{\"id\":\"asset/46328ac07d7852148aad4c4a7ac70fee.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.282798"], ["file_data", "{\"id\":\"asset/9660fce3-32d9-4045-828e-9a92e1970b9d/0902a807679feb4a3bb0b6be555716c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9660fce3-32d9-4045-828e-9a92e1970b9d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9660fce3-32d9-4045-828e-9a92e1970b9d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.331181"], ["file_data", "{\"id\":\"asset/9660fce3-32d9-4045-828e-9a92e1970b9d/0902a807679feb4a3bb0b6be555716c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"9660fce3-32d9-4045-828e-9a92e1970b9d/key/e3c70ed1af2566cca548d481c5741da5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qll8y5902_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "9660fce3-32d9-4045-828e-9a92e1970b9d"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9660fce3-32d9-4045-828e-9a92e1970b9d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.371359"], ["file_data", "{\"id\":\"asset/9660fce3-32d9-4045-828e-9a92e1970b9d/0902a807679feb4a3bb0b6be555716c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"9660fce3-32d9-4045-828e-9a92e1970b9d/key/33017ed92d94448b616f81aaf364e429.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qll8y5902_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "9660fce3-32d9-4045-828e-9a92e1970b9d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:30.378455"], ["updated_at", "2020-05-19 20:25:30.378455"], ["file_data", "{\"id\":\"asset/0d8ab73e59935cf6797e5faede47653e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.383627"], ["file_data", "{\"id\":\"asset/02c21709-2ee9-4463-a0ea-30342edb4029/ecc2a7cccfba285153c93110be1bd205.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "02c21709-2ee9-4463-a0ea-30342edb4029"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "02c21709-2ee9-4463-a0ea-30342edb4029"]]
+ [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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "02c21709-2ee9-4463-a0ea-30342edb4029"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "02c21709-2ee9-4463-a0ea-30342edb4029"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:30.403201"], ["updated_at", "2020-05-19 20:25:30.403201"], ["file_data", "{\"id\":\"asset/5646f99bf74b01f84cad1212604d30f2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.407246"], ["file_data", "{\"id\":\"asset/2551bc77-aba3-4bd5-9757-1108a0df209b/87fe6c358d8d2e89308399bc72bf0de4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2551bc77-aba3-4bd5-9757-1108a0df209b/6d73556759c2f1eb9d31a8796926530b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:25:30.415541"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 0b192fed-bb49-41f3-a17c-a7c898340602) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/2551bc77-aba3-4bd5-9757-1108a0df209b/87fe6c358d8d2e89308399bc72bf0de4.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b0d54b8c-be0b-437d-8ec8-16fba2594143) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "2551bc77-aba3-4bd5-9757-1108a0df209b", "file", {"id"=>"asset/2551bc77-aba3-4bd5-9757-1108a0df209b/6d73556759c2f1eb9d31a8796926530b.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2551bc77-aba3-4bd5-9757-1108a0df209b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:30.432956"], ["updated_at", "2020-05-19 20:25:30.432956"], ["file_data", "{\"id\":\"asset/f389ba498cd8292c8e243a1b0852ce37.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.436238"], ["file_data", "{\"id\":\"asset/b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/50e1804ee50515c7f5167a1b928ec9fa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/50e1804ee50515c7f5167a1b928ec9fa.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/one/513ab966cdd146c7af50759e679b7a68.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6cqfvqesl_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/two/1feb7d7f84b021f6147538df68bcab5c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6cqfvqesl_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:25:30.445019"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.455684"], ["file_data", "{\"id\":\"asset/b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/50e1804ee50515c7f5167a1b928ec9fa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/one/513ab966cdd146c7af50759e679b7a68.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"6cqfvqesl_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/two/ec929ac783c203fddf0a08b6351e05f5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6cqfvqesl_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358/three/5a3572484859230d09ff729983515eb8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6cqfvqesl_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "b72ff1e5-c6b4-4d1c-9edc-c8dd4d7be358"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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-19 20:25:30.472251"], ["updated_at", "2020-05-19 20:25:30.472251"], ["file_data", "{\"id\":\"asset/92040f5dbff19278ca53ba2049ebf4ff.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.478330"], ["file_data", "{\"id\":\"asset/75533a23-f272-4e41-af68-334f2d19be82/e581c641302015c4a7ee55cee23b46a8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "75533a23-f272-4e41-af68-334f2d19be82"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "75533a23-f272-4e41-af68-334f2d19be82"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "75533a23-f272-4e41-af68-334f2d19be82"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.522986"], ["file_data", "{\"id\":\"asset/75533a23-f272-4e41-af68-334f2d19be82/e581c641302015c4a7ee55cee23b46a8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"75533a23-f272-4e41-af68-334f2d19be82/one/bd318709aacf184633887e01ca121fbf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y348cf9vy_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"75533a23-f272-4e41-af68-334f2d19be82/original_reflected/a2c568bb397a062b9c88e28db0d1779e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y348cf9vy_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "75533a23-f272-4e41-af68-334f2d19be82"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "75533a23-f272-4e41-af68-334f2d19be82"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.543979"], ["updated_at", "2020-05-19 20:25:30.543979"], ["file_data", "{\"id\":\"asset/8082e030d08894a165f4f840a5b019ff.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.548437"], ["file_data", "{\"id\":\"asset/f1996f33-0acd-4e40-99fb-329e2a7f9ec3/ac9d318560d4835033b6e14f3f79fae9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f1996f33-0acd-4e40-99fb-329e2a7f9ec3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f1996f33-0acd-4e40-99fb-329e2a7f9ec3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f1996f33-0acd-4e40-99fb-329e2a7f9ec3"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass 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-19 20:25:30.627117"], ["file_data", "{\"id\":\"asset/f1996f33-0acd-4e40-99fb-329e2a7f9ec3/ac9d318560d4835033b6e14f3f79fae9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f1996f33-0acd-4e40-99fb-329e2a7f9ec3/options_one/7ecb05dcfb9ce405f2deb39f9f16097c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1etyafsqm_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f1996f33-0acd-4e40-99fb-329e2a7f9ec3/options_reflected/a3327bb5be4ef166dd914b26841c7f2c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1etyafsqm_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f1996f33-0acd-4e40-99fb-329e2a7f9ec3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:30.649143"], ["updated_at", "2020-05-19 20:25:30.649143"], ["file_data", "{\"id\":\"asset/b9f580c3faf4e9955974fd0fcb5f03fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.652974"], ["file_data", "{\"id\":\"asset/0a519023-bc44-4b85-bdb0-6262ec5a3a0e/d08f2915d4199b28d9e01433a950c912.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0a519023-bc44-4b85-bdb0-6262ec5a3a0e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "0a519023-bc44-4b85-bdb0-6262ec5a3a0e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "0a519023-bc44-4b85-bdb0-6262ec5a3a0e"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.731827"], ["file_data", "{\"id\":\"asset/0a519023-bc44-4b85-bdb0-6262ec5a3a0e/d08f2915d4199b28d9e01433a950c912.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"0a519023-bc44-4b85-bdb0-6262ec5a3a0e/options_one/b2ede9679cd4a15b6432f648ea3c45fb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tohe6vdcr_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"0a519023-bc44-4b85-bdb0-6262ec5a3a0e/options_reflected/2f6b6be95655d93a7f0cba8b1ef705a8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tohe6vdcr_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0a519023-bc44-4b85-bdb0-6262ec5a3a0e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:25:30.751921"], ["updated_at", "2020-05-19 20:25:30.751921"], ["file_data", "{\"id\":\"asset/bac5db4a87cc8f62240c12ead4ab4f6f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.755564"], ["file_data", "{\"id\":\"asset/035f81af-8c08-43d5-8174-e72c24b35f95/21b5f3a0451772a28257b706e7d23988.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "035f81af-8c08-43d5-8174-e72c24b35f95"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "035f81af-8c08-43d5-8174-e72c24b35f95"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "035f81af-8c08-43d5-8174-e72c24b35f95"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.833101"], ["file_data", "{\"id\":\"asset/035f81af-8c08-43d5-8174-e72c24b35f95/21b5f3a0451772a28257b706e7d23988.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"035f81af-8c08-43d5-8174-e72c24b35f95/options_one/755317857d9f95e4a20423766437dc89.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"knd7z0iz2_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"035f81af-8c08-43d5-8174-e72c24b35f95/options_reflected/49cecfc73ee720047a8fcef02e0945f8.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"knd7z0iz2_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "035f81af-8c08-43d5-8174-e72c24b35f95"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (5.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-19 20:25:30.856436"], ["updated_at", "2020-05-19 20:25:30.856436"], ["file_data", "{\"id\":\"asset/7b906212fb4f759255d13f491c340367.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:25:30.867563"], ["file_data", "{\"id\":\"asset/c21f5cec-4533-40dd-bb37-368a220d4837/6f8a4c07f076fd648d1f6bba31be9df7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c21f5cec-4533-40dd-bb37-368a220d4837"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c21f5cec-4533-40dd-bb37-368a220d4837"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "c21f5cec-4533-40dd-bb37-368a220d4837"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.942564"], ["file_data", "{\"id\":\"asset/c21f5cec-4533-40dd-bb37-368a220d4837/6f8a4c07f076fd648d1f6bba31be9df7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"c21f5cec-4533-40dd-bb37-368a220d4837/options_one/04add2b5f3a98b783a4330ab26eca141.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"lc456n85t_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"c21f5cec-4533-40dd-bb37-368a220d4837/options_reflected/8c151b4685365602c074fa1bec3850bb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"lc456n85t_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c21f5cec-4533-40dd-bb37-368a220d4837"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (2.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-19 20:25:30.963567"], ["updated_at", "2020-05-19 20:25:30.963567"], ["file_data", "{\"id\":\"asset/68b53040a41ee1f137d43018cf5bb92a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:30.969873"], ["file_data", "{\"id\":\"asset/f00e96aa-09ec-4de3-9fc9-18c1e14d7757/1079a893da58dc7881df3530cddc7867.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f00e96aa-09ec-4de3-9fc9-18c1e14d7757"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f00e96aa-09ec-4de3-9fc9-18c1e14d7757"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "f00e96aa-09ec-4de3-9fc9-18c1e14d7757"], ["LIMIT", 1]]
+ [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-19 20:25:31.044508"], ["file_data", "{\"id\":\"asset/f00e96aa-09ec-4de3-9fc9-18c1e14d7757/1079a893da58dc7881df3530cddc7867.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"f00e96aa-09ec-4de3-9fc9-18c1e14d7757/one/72059b88bc0cc5260d0e248eae8f925a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nj3hsnlvk_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"f00e96aa-09ec-4de3-9fc9-18c1e14d7757/original_reflected/ff0abd93a0f4075de9b7c849be9741ce.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nj3hsnlvk_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f00e96aa-09ec-4de3-9fc9-18c1e14d7757"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:31.064871"], ["updated_at", "2020-05-19 20:25:31.064871"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:31.080987"], ["updated_at", "2020-05-19 20:25:31.080987"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:31.098395"], ["updated_at", "2020-05-19 20:25:31.098395"], ["file_data", "{\"id\":\"asset/50e6b3e68ca6f338bca519138e9585c7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.101967"], ["file_data", "{\"id\":\"asset/e9a1d620-40b2-4a9d-8afe-b59dd5d98cf5/02e889f26d7e5b2a6b5bfa5f7acecaf9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e9a1d620-40b2-4a9d-8afe-b59dd5d98cf5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:25:31.125080"], ["updated_at", "2020-05-19 20:25:31.125080"], ["file_data", "{\"id\":\"asset/4cb54c6cbf0af9ceaf12013e555fbccc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.133428"], ["file_data", "{\"id\":\"asset/20ecdeed-e6b9-4b82-b544-a13e35d23a91/fd3477214fef0eae5f39e504d3916731.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "20ecdeed-e6b9-4b82-b544-a13e35d23a91"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "20ecdeed-e6b9-4b82-b544-a13e35d23a91"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "20ecdeed-e6b9-4b82-b544-a13e35d23a91"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:25:31.215395"], ["file_data", "{\"id\":\"asset/20ecdeed-e6b9-4b82-b544-a13e35d23a91/fd3477214fef0eae5f39e504d3916731.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"20ecdeed-e6b9-4b82-b544-a13e35d23a91/one/b623fe1a1e28e0f95261a911cc1c7586.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pftn9cgf6_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"20ecdeed-e6b9-4b82-b544-a13e35d23a91/original_reflected/99cd64d74ae95238d9326229e71cae24.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pftn9cgf6_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "20ecdeed-e6b9-4b82-b544-a13e35d23a91"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "20ecdeed-e6b9-4b82-b544-a13e35d23a91"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:31.223593"], ["updated_at", "2020-05-19 20:25:31.223593"], ["file_data", "{\"id\":\"asset/46c17d3bf17a4d12ca129415db996395.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.229292"], ["file_data", "{\"id\":\"asset/7955599d-b771-4034-a0c5-5774d5d5dd34/87ae01da7a164a1da1f0f9540e0e4f2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.307942"], ["file_data", "{\"id\":\"asset/7955599d-b771-4034-a0c5-5774d5d5dd34/87ae01da7a164a1da1f0f9540e0e4f2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"7955599d-b771-4034-a0c5-5774d5d5dd34/sample1/809cbb82fb63e96448995e6444cd6da0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5362gtan9_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"7955599d-b771-4034-a0c5-5774d5d5dd34/sample2/2b53c8826c858ba5826df6a3f48abbcf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5362gtan9_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.315568"], ["file_data", "{\"id\":\"asset/7955599d-b771-4034-a0c5-5774d5d5dd34/87ae01da7a164a1da1f0f9540e0e4f2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"7955599d-b771-4034-a0c5-5774d5d5dd34/sample2/2b53c8826c858ba5826df6a3f48abbcf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"5362gtan9_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7955599d-b771-4034-a0c5-5774d5d5dd34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:25:31.327260"], ["updated_at", "2020-05-19 20:25:31.327260"], ["file_data", "{\"id\":\"asset/283f2daaf8b4bf26cb6cd519dcf48d54.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.333104"], ["file_data", "{\"id\":\"asset/d60180cd-7d59-47f9-82cf-9665071e2ab1/103045969381d81097e41b93bf6e62eb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.409735"], ["file_data", "{\"id\":\"asset/d60180cd-7d59-47f9-82cf-9665071e2ab1/103045969381d81097e41b93bf6e62eb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"d60180cd-7d59-47f9-82cf-9665071e2ab1/sample1/f5ace6fe41bf76a46af002b0c78ab392.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ug64xxauo_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"d60180cd-7d59-47f9-82cf-9665071e2ab1/sample2/74d83c81a1a3819a3b4ffcb6ba3be63b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ug64xxauo_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d60180cd-7d59-47f9-82cf-9665071e2ab1/103045969381d81097e41b93bf6e62eb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"d60180cd-7d59-47f9-82cf-9665071e2ab1/sample2/74d83c81a1a3819a3b4ffcb6ba3be63b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ug64xxauo_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:25:31.417352"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.425597"], ["file_data", "{\"id\":\"asset/d60180cd-7d59-47f9-82cf-9665071e2ab1/103045969381d81097e41b93bf6e62eb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"d60180cd-7d59-47f9-82cf-9665071e2ab1/sample2/74d83c81a1a3819a3b4ffcb6ba3be63b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ug64xxauo_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "d60180cd-7d59-47f9-82cf-9665071e2ab1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:25:31.432065"], ["updated_at", "2020-05-19 20:25:31.432065"], ["file_data", "{\"id\":\"asset/c1c6ba7abd8cb8db7e98930d9362eb7c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.435450"], ["file_data", "{\"id\":\"asset/461986f3-b04a-4d81-beab-455a2a61422d/ab986bcf3453e5d29091743c535931e9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.513514"], ["file_data", "{\"id\":\"asset/461986f3-b04a-4d81-beab-455a2a61422d/ab986bcf3453e5d29091743c535931e9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample1/73f5893e6ae69939ca496f9cf40062b9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3gj65eifi_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample2/6bb20b5496570602d085696891912ef1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3gj65eifi_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/461986f3-b04a-4d81-beab-455a2a61422d/ab986bcf3453e5d29091743c535931e9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample1/73f5893e6ae69939ca496f9cf40062b9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"3gj65eifi_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample2/6bb20b5496570602d085696891912ef1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"3gj65eifi_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample3/9c4496928a8a4d55fd6b0d8707f3b153.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3gj65eifi_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:25:31.553918"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.560655"], ["file_data", "{\"id\":\"asset/461986f3-b04a-4d81-beab-455a2a61422d/ab986bcf3453e5d29091743c535931e9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample2/6bb20b5496570602d085696891912ef1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"3gj65eifi_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"461986f3-b04a-4d81-beab-455a2a61422d/sample3/9c4496928a8a4d55fd6b0d8707f3b153.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"3gj65eifi_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "461986f3-b04a-4d81-beab-455a2a61422d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:31.566860"], ["updated_at", "2020-05-19 20:25:31.566860"], ["file_data", "{\"id\":\"asset/dcb76e19844770cba847d139c78d60ce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.570983"], ["file_data", "{\"id\":\"asset/b50868fb-26fa-4580-a783-ebbcf9edf194/b64bc06444940d7f29275494c7bfb585.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.652872"], ["file_data", "{\"id\":\"asset/b50868fb-26fa-4580-a783-ebbcf9edf194/b64bc06444940d7f29275494c7bfb585.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"b50868fb-26fa-4580-a783-ebbcf9edf194/sample1/a8ebfe9ee180f862598a37ec477526e8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3nxvjoh2g_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"b50868fb-26fa-4580-a783-ebbcf9edf194/sample2/40c6a90050e6eca7b3725d1334dea584.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3nxvjoh2g_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [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", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [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", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b50868fb-26fa-4580-a783-ebbcf9edf194'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b50868fb-26fa-4580-a783-ebbcf9edf194'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 8d4efb47-431c-4a7e-a026-0d1ac7eae3d9) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/b50868fb-26fa-4580-a783-ebbcf9edf194/b64bc06444940d7f29275494c7bfb585.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"b50868fb-26fa-4580-a783-ebbcf9edf194/sample1/a8ebfe9ee180f862598a37ec477526e8.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"3nxvjoh2g_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"b50868fb-26fa-4580-a783-ebbcf9edf194/sample2/40c6a90050e6eca7b3725d1334dea584.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"3nxvjoh2g_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "b50868fb-26fa-4580-a783-ebbcf9edf194"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:25:31.670094"], ["updated_at", "2020-05-19 20:25:31.670094"], ["file_data", "{\"id\":\"asset/8fee17141a2613e676ad8e5ee607c938.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.673701"], ["file_data", "{\"id\":\"asset/58b62c23-4b04-44c8-907d-c04724aefbeb/9cbbf815678265aece6b9d874dad2f9d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "58b62c23-4b04-44c8-907d-c04724aefbeb"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "58b62c23-4b04-44c8-907d-c04724aefbeb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "58b62c23-4b04-44c8-907d-c04724aefbeb"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.751457"], ["file_data", "{\"id\":\"asset/58b62c23-4b04-44c8-907d-c04724aefbeb/9cbbf815678265aece6b9d874dad2f9d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"58b62c23-4b04-44c8-907d-c04724aefbeb/sample1/137e5ce698c9e28874d56069ccea5610.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"96h2s15t2_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"58b62c23-4b04-44c8-907d-c04724aefbeb/sample2/c1fa54774a7a87b61895cb88ea557fdd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"96h2s15t2_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "58b62c23-4b04-44c8-907d-c04724aefbeb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:25:31.759318"], ["updated_at", "2020-05-19 20:25:31.759318"], ["file_data", "{\"id\":\"asset/a3042aab58da8064c2047ed3858da364.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.765077"], ["file_data", "{\"id\":\"asset/6990334e-ade3-4542-a5e1-73585a9e4034/3ab7b2ca864b1093e9af9bed2d5c4cbb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15) AND "kithe_models"."id" = $16 LIMIT $17 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:25:31.840622"], ["file_data", "{\"id\":\"asset/6990334e-ade3-4542-a5e1-73585a9e4034/3ab7b2ca864b1093e9af9bed2d5c4cbb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"6990334e-ade3-4542-a5e1-73585a9e4034/sample1/8708ec77f382416e0645403fd71ade54.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"w55wp0iqz_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"6990334e-ade3-4542-a5e1-73585a9e4034/sample2/466618edaa5704950bbd046829e77246.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"w55wp0iqz_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:25:31.852796"], ["file_data", "{\"id\":\"asset/6990334e-ade3-4542-a5e1-73585a9e4034/3ab7b2ca864b1093e9af9bed2d5c4cbb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"6990334e-ade3-4542-a5e1-73585a9e4034/sample2/466618edaa5704950bbd046829e77246.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"w55wp0iqz_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "6990334e-ade3-4542-a5e1-73585a9e4034"], ["LIMIT", 1]]
+ [1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:25:31.911740"], ["updated_at", "2020-05-19 20:25:31.911740"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:25:32.133520"], ["updated_at", "2020-05-19 20:25:32.133520"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:25:32.151535"], ["updated_at", "2020-05-19 20:25:32.151535"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (8.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:25:32.177511"], ["updated_at", "2020-05-19 20:25:32.177511"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:25:32.256206"], ["updated_at", "2020-05-19 20:25:32.256206"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Create (15.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-19 20:31:28.627474"], ["updated_at", "2020-05-19 20:31:28.627474"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:28.646147"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] Performing Kithe::AssetPromoteJob (Job ID: c3c614f3-127c-4855-873c-a16cce2570dd) from Inline(default) enqueued at 2020-05-19T20:31:28Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [1m[35m (0.5ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] Preloading Single-Table Inheritance type MyAsset for Kithe::Model
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [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", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [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", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [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/60f4ba6b-0418-4b68-a5ed-ad7df43b11e3/c36a575dbab98c462542ef630c1eb9be.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:31:28.785358"], ["id", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c3c614f3-127c-4855-873c-a16cce2570dd] Performed Kithe::AssetPromoteJob (Job ID: c3c614f3-127c-4855-873c-a16cce2570dd) from Inline(default) in 124.65ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c3c614f3-127c-4855-873c-a16cce2570dd) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[36mMyAsset 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", "MyAsset"], ["id", "60f4ba6b-0418-4b68-a5ed-ad7df43b11e3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset 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", "MyAsset"], ["created_at", "2020-05-19 20:31:28.840687"], ["updated_at", "2020-05-19 20:31:28.840687"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:28.843988"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] Performing Kithe::AssetPromoteJob (Job ID: 55d9b79f-bd18-4243-b78e-08d29fad8cf0) from Inline(default) enqueued at 2020-05-19T20:31:28Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] [1m[36mMyAsset 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", "MyAsset"], ["id", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] [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", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] [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/84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1/e7dda77b326a7378f740fcebb54f54f9.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-19 20:31:28.897769"], ["id", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55d9b79f-bd18-4243-b78e-08d29fad8cf0] Performed Kithe::AssetPromoteJob (Job ID: 55d9b79f-bd18-4243-b78e-08d29fad8cf0) from Inline(default) in 51.24ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 55d9b79f-bd18-4243-b78e-08d29fad8cf0) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "84ab16ef-c6ef-44fb-bd99-8f3e7a09d2c1", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (6.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-19 20:31:41.284260"], ["updated_at", "2020-05-19 20:31:41.284260"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:31:41.366939"], ["updated_at", "2020-05-19 20:31:41.366939"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d1cf25f9-c369-4591-bbfa-6d89c69d12b7"]]
+ [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", "d1cf25f9-c369-4591-bbfa-6d89c69d12b7"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "d1cf25f9-c369-4591-bbfa-6d89c69d12b7"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd1cf25f9-c369-4591-bbfa-6d89c69d12b7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd1cf25f9-c369-4591-bbfa-6d89c69d12b7'
+);
+[0m
+ [1m[36mTestWork Destroy (2.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d1cf25f9-c369-4591-bbfa-6d89c69d12b7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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-19 20:31:41.433292"], ["updated_at", "2020-05-19 20:31:41.433292"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:31:41.459001"], ["updated_at", "2020-05-19 20:31:41.459001"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:31:41.475333"], ["updated_at", "2020-05-19 20:31:41.475333"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "c3564ab9-9943-419f-b1f7-4b054b5439ef"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "c3564ab9-9943-419f-b1f7-4b054b5439ef"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "c3564ab9-9943-419f-b1f7-4b054b5439ef"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c3564ab9-9943-419f-b1f7-4b054b5439ef'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c3564ab9-9943-419f-b1f7-4b054b5439ef'
+);
+[0m
+ [1m[36mTestWork Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c3564ab9-9943-419f-b1f7-4b054b5439ef"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:31:41.503179"], ["updated_at", "2020-05-19 20:31:41.503179"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:41.521979"], ["updated_at", "2020-05-19 20:31:41.521979"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:41.525829"], ["updated_at", "2020-05-19 20:31:41.525829"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (2.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", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:31:41.548940"], ["updated_at", "2020-05-19 20:31:41.548940"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.555276"], ["updated_at", "2020-05-19 20:31:41.555276"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:31:41.587511"], ["updated_at", "2020-05-19 20:31:41.587511"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:31:41.593021"], ["updated_at", "2020-05-19 20:31:41.593021"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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-19 20:31:41.611350"], ["updated_at", "2020-05-19 20:31:41.611350"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.630497"], ["updated_at", "2020-05-19 20:31:41.630497"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:41.633023"], ["updated_at", "2020-05-19 20:31:41.633023"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.646494"], ["updated_at", "2020-05-19 20:31:41.646494"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:41.648915"], ["updated_at", "2020-05-19 20:31:41.648915"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 20:31:41.687684"], ["updated_at", "2020-05-19 20:31:41.687684"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 20:31:41.726487"], ["updated_at", "2020-05-19 20:31:41.726487"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.763158"], ["updated_at", "2020-05-19 20:31:41.763158"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.808768"], ["updated_at", "2020-05-19 20:31:41.808768"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "5807d53b-57e2-4486-951c-729cb745abe2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:31:41.849691"], ["updated_at", "2020-05-19 20:31:41.849691"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:41.962430"], ["updated_at", "2020-05-19 20:31:41.962430"], ["file_data", "{\"id\":\"asset/7a11f6f7d3b3725f274f8aa87c5fbfe3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] Performing Kithe::AssetPromoteJob (Job ID: a139722e-d820-4234-80c3-071c4fb08933) from Inline(default) enqueued at 2020-05-19T20:31:41Z with arguments: "CustomUploader::Attacher", "CustomAsset", "c73e6fb5-51b5-4c06-849b-22688864124d", "file", {"id"=>"asset/7a11f6f7d3b3725f274f8aa87c5fbfe3.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [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", "c73e6fb5-51b5-4c06-849b-22688864124d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [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", "c73e6fb5-51b5-4c06-849b-22688864124d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [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/c73e6fb5-51b5-4c06-849b-22688864124d/674cf6f5998afa4edc6855cd865e8340.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:41.985030"], ["id", "c73e6fb5-51b5-4c06-849b-22688864124d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [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", "c73e6fb5-51b5-4c06-849b-22688864124d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] Performing Kithe::CreateDerivativesJob (Job ID: eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26) from Inline(default) enqueued at 2020-05-19T20:31:41Z with arguments: #<GlobalID:0x00007fef987a4b28 @uri=#<URI::GID gid://dummy/CustomAsset/c73e6fb5-51b5-4c06-849b-22688864124d>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] [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", "c73e6fb5-51b5-4c06-849b-22688864124d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] [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/c73e6fb5-51b5-4c06-849b-22688864124d/674cf6f5998afa4edc6855cd865e8340.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c73e6fb5-51b5-4c06-849b-22688864124d/fixed/df68c983b240c26f64d053abd7abf928.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"boh0d62l3_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:41.998509"], ["id", "c73e6fb5-51b5-4c06-849b-22688864124d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] [Kithe::CreateDerivativesJob] [eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26] Performed Kithe::CreateDerivativesJob (Job ID: eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26) from Inline(default) in 8.64ms
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] Enqueued Kithe::CreateDerivativesJob (Job ID: eb9fd2f3-ed01-4884-955b-e9ee8c0b3d26) to Inline(default) with arguments: #<GlobalID:0x00007fef98785c28 @uri=#<URI::GID gid://dummy/CustomAsset/c73e6fb5-51b5-4c06-849b-22688864124d>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a139722e-d820-4234-80c3-071c4fb08933] Performed Kithe::AssetPromoteJob (Job ID: a139722e-d820-4234-80c3-071c4fb08933) from Inline(default) in 24.92ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a139722e-d820-4234-80c3-071c4fb08933) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "c73e6fb5-51b5-4c06-849b-22688864124d", "file", {"id"=>"asset/7a11f6f7d3b3725f274f8aa87c5fbfe3.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c73e6fb5-51b5-4c06-849b-22688864124d"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.015988"], ["updated_at", "2020-05-19 20:31:42.015988"], ["file_data", "{\"id\":\"asset/bc72c78bb16bff1e89e2eab314563516.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] Performing Kithe::AssetPromoteJob (Job ID: d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "b595690a-3ba1-406c-9236-0a4afc7cbead", "file", {"id"=>"asset/bc72c78bb16bff1e89e2eab314563516.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [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", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [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", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [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/b595690a-3ba1-406c-9236-0a4afc7cbead/c7b7eedd4503bd7b28d98333235a4f30.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.026805"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [1m[36mCustomAsset Load (0.8ms)[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", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] Performing Kithe::CreateDerivativesJob (Job ID: d021e8a9-2146-44d7-b1d1-ae6d7557ad5f) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef986feb60 @uri=#<URI::GID gid://dummy/CustomAsset/b595690a-3ba1-406c-9236-0a4afc7cbead>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] [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", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] [1m[36mCustomAsset 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/b595690a-3ba1-406c-9236-0a4afc7cbead/c7b7eedd4503bd7b28d98333235a4f30.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b595690a-3ba1-406c-9236-0a4afc7cbead/fixed/a59d54376564507f0a5cfcd1b87fa329.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mp09gr01n_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.034680"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] [Kithe::CreateDerivativesJob] [d021e8a9-2146-44d7-b1d1-ae6d7557ad5f] Performed Kithe::CreateDerivativesJob (Job ID: d021e8a9-2146-44d7-b1d1-ae6d7557ad5f) from Inline(default) in 6.11ms
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] Enqueued Kithe::CreateDerivativesJob (Job ID: d021e8a9-2146-44d7-b1d1-ae6d7557ad5f) to Inline(default) with arguments: #<GlobalID:0x00007fef99b052d0 @uri=#<URI::GID gid://dummy/CustomAsset/b595690a-3ba1-406c-9236-0a4afc7cbead>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b] Performed Kithe::AssetPromoteJob (Job ID: d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b) from Inline(default) in 14.66ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d4ffdf3d-c202-46dd-9bfe-4ed5d6c9834b) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "b595690a-3ba1-406c-9236-0a4afc7cbead", "file", {"id"=>"asset/bc72c78bb16bff1e89e2eab314563516.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b595690a-3ba1-406c-9236-0a4afc7cbead/c7b7eedd4503bd7b28d98333235a4f30.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.039591"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b595690a-3ba1-406c-9236-0a4afc7cbead/c7b7eedd4503bd7b28d98333235a4f30.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b595690a-3ba1-406c-9236-0a4afc7cbead/fixed/afddfeee4e82048cdb4d2b46f4df1dd3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mp09gr01n_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.046374"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b595690a-3ba1-406c-9236-0a4afc7cbead"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:42.062393"], ["updated_at", "2020-05-19 20:31:42.062393"], ["file_data", "{\"id\":\"asset/9c63102418a82e9f676a1a381456a12b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] Performing Kithe::AssetPromoteJob (Job ID: 83203fe0-186e-4708-bdb2-e6d02b4a18b1) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76", "file", {"id"=>"asset/9c63102418a82e9f676a1a381456a12b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [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", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [1m[36mCustomAsset Load (1.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", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [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/e8775def-4dea-4b9a-b5e1-b5bdf068dd76/39d6f5df0618041307329eb6615c7fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.079836"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [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", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] Performing Kithe::CreateDerivativesJob (Job ID: 11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef95ad0ef8 @uri=#<URI::GID gid://dummy/CustomAsset/e8775def-4dea-4b9a-b5e1-b5bdf068dd76>>
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] [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", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] [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/e8775def-4dea-4b9a-b5e1-b5bdf068dd76/39d6f5df0618041307329eb6615c7fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e8775def-4dea-4b9a-b5e1-b5bdf068dd76/fixed/a07dfb5b839da26e8b4ecc1c101d469d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3z6ccyjcy_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.088610"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] [Kithe::CreateDerivativesJob] [11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8] Performed Kithe::CreateDerivativesJob (Job ID: 11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8) from Inline(default) in 6.61ms
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] Enqueued Kithe::CreateDerivativesJob (Job ID: 11f20b04-4a1d-4a46-9f4c-3b4ec14d97a8) to Inline(default) with arguments: #<GlobalID:0x00007fef99a0e228 @uri=#<URI::GID gid://dummy/CustomAsset/e8775def-4dea-4b9a-b5e1-b5bdf068dd76>>
+[ActiveJob] [Kithe::AssetPromoteJob] [83203fe0-186e-4708-bdb2-e6d02b4a18b1] Performed Kithe::AssetPromoteJob (Job ID: 83203fe0-186e-4708-bdb2-e6d02b4a18b1) from Inline(default) in 23.18ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 83203fe0-186e-4708-bdb2-e6d02b4a18b1) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76", "file", {"id"=>"asset/9c63102418a82e9f676a1a381456a12b.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e8775def-4dea-4b9a-b5e1-b5bdf068dd76/39d6f5df0618041307329eb6615c7fb6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.095220"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e8775def-4dea-4b9a-b5e1-b5bdf068dd76"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:31:42.110787"], ["updated_at", "2020-05-19 20:31:42.110787"], ["file_data", "{\"id\":\"asset/3f3b4c31dcd950794b65c5320592209d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] Performing Kithe::AssetPromoteJob (Job ID: 809c73db-3175-4d2f-b2f6-fb7adfe22a9b) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "76cd2f01-8e2f-416c-99a9-7e886d4bc314", "file", {"id"=>"asset/3f3b4c31dcd950794b65c5320592209d.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [1m[36mCustomAsset Load (1.0ms)[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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [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/76cd2f01-8e2f-416c-99a9-7e886d4bc314/0c21fffcda2041efaf0efc249647369c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.121438"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] Performing Kithe::CreateDerivativesJob (Job ID: 647ee87b-9686-474f-b992-fc8002aaf3f3) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef985c6ea0 @uri=#<URI::GID gid://dummy/CustomAsset/76cd2f01-8e2f-416c-99a9-7e886d4bc314>>
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] [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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] [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/76cd2f01-8e2f-416c-99a9-7e886d4bc314/0c21fffcda2041efaf0efc249647369c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"76cd2f01-8e2f-416c-99a9-7e886d4bc314/fixed/53d519c3a4dbca0eb85869cec806840c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gbucopgx3_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.130490"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] [Kithe::CreateDerivativesJob] [647ee87b-9686-474f-b992-fc8002aaf3f3] Performed Kithe::CreateDerivativesJob (Job ID: 647ee87b-9686-474f-b992-fc8002aaf3f3) from Inline(default) in 7.64ms
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] Enqueued Kithe::CreateDerivativesJob (Job ID: 647ee87b-9686-474f-b992-fc8002aaf3f3) to Inline(default) with arguments: #<GlobalID:0x00007fef9856aa10 @uri=#<URI::GID gid://dummy/CustomAsset/76cd2f01-8e2f-416c-99a9-7e886d4bc314>>
+[ActiveJob] [Kithe::AssetPromoteJob] [809c73db-3175-4d2f-b2f6-fb7adfe22a9b] Performed Kithe::AssetPromoteJob (Job ID: 809c73db-3175-4d2f-b2f6-fb7adfe22a9b) from Inline(default) in 16.78ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 809c73db-3175-4d2f-b2f6-fb7adfe22a9b) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "76cd2f01-8e2f-416c-99a9-7e886d4bc314", "file", {"id"=>"asset/3f3b4c31dcd950794b65c5320592209d.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/76cd2f01-8e2f-416c-99a9-7e886d4bc314/0c21fffcda2041efaf0efc249647369c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"76cd2f01-8e2f-416c-99a9-7e886d4bc314/fixed/e5c21e63caed0fe9a7b69d7150bd74d9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gbucopgx3_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.139911"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '76cd2f01-8e2f-416c-99a9-7e886d4bc314'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '76cd2f01-8e2f-416c-99a9-7e886d4bc314'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "76cd2f01-8e2f-416c-99a9-7e886d4bc314"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [8a6d86f1-bf18-4d4c-aafa-9b1409b325e1] Performing Kithe::AssetDeleteJob (Job ID: 8a6d86f1-bf18-4d4c-aafa-9b1409b325e1) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/76cd2f01-8e2f-416c-99a9-7e886d4bc314/0c21fffcda2041efaf0efc249647369c.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"76cd2f01-8e2f-416c-99a9-7e886d4bc314/fixed/e5c21e63caed0fe9a7b69d7150bd74d9.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"gbucopgx3_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [8a6d86f1-bf18-4d4c-aafa-9b1409b325e1] Performed Kithe::AssetDeleteJob (Job ID: 8a6d86f1-bf18-4d4c-aafa-9b1409b325e1) from Inline(default) in 0.1ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 8a6d86f1-bf18-4d4c-aafa-9b1409b325e1) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/76cd2f01-8e2f-416c-99a9-7e886d4bc314/0c21fffcda2041efaf0efc249647369c.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"76cd2f01-8e2f-416c-99a9-7e886d4bc314/fixed/e5c21e63caed0fe9a7b69d7150bd74d9.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"gbucopgx3_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:42.163028"], ["updated_at", "2020-05-19 20:31:42.163028"], ["file_data", "{\"id\":\"asset/24c2fcd81f17520a86d3e82d96bcf154.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] Performing Kithe::AssetPromoteJob (Job ID: 7d717165-e076-4b0e-b843-625566e0ddc5) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "232dcbab-ad62-4360-8ed5-783b4678274b", "file", {"id"=>"asset/24c2fcd81f17520a86d3e82d96bcf154.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [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/232dcbab-ad62-4360-8ed5-783b4678274b/d7f9d3f909c895f1598bd76ca617fbd2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.177130"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] Performing Kithe::CreateDerivativesJob (Job ID: 5531c27f-d36f-48f2-b992-ebcd1b5e9913) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef98169538 @uri=#<URI::GID gid://dummy/CustomAsset/232dcbab-ad62-4360-8ed5-783b4678274b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] [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/232dcbab-ad62-4360-8ed5-783b4678274b/d7f9d3f909c895f1598bd76ca617fbd2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"232dcbab-ad62-4360-8ed5-783b4678274b/fixed/4b64388e77fdba670a241d13e9f19ab1.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zs5k4l2y2_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.185427"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] [Kithe::CreateDerivativesJob] [5531c27f-d36f-48f2-b992-ebcd1b5e9913] Performed Kithe::CreateDerivativesJob (Job ID: 5531c27f-d36f-48f2-b992-ebcd1b5e9913) from Inline(default) in 6.31ms
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] Enqueued Kithe::CreateDerivativesJob (Job ID: 5531c27f-d36f-48f2-b992-ebcd1b5e9913) to Inline(default) with arguments: #<GlobalID:0x00007fef9832f6d8 @uri=#<URI::GID gid://dummy/CustomAsset/232dcbab-ad62-4360-8ed5-783b4678274b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7d717165-e076-4b0e-b843-625566e0ddc5] Performed Kithe::AssetPromoteJob (Job ID: 7d717165-e076-4b0e-b843-625566e0ddc5) from Inline(default) in 20.31ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7d717165-e076-4b0e-b843-625566e0ddc5) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "232dcbab-ad62-4360-8ed5-783b4678274b", "file", {"id"=>"asset/24c2fcd81f17520a86d3e82d96bcf154.jpg", "storage"=>"cache"}, {}
+ [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/232dcbab-ad62-4360-8ed5-783b4678274b/d7f9d3f909c895f1598bd76ca617fbd2.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"232dcbab-ad62-4360-8ed5-783b4678274b/fixed/67fb44dce6db0d816cc374a4062c0405.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zs5k4l2y2_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.193664"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/232dcbab-ad62-4360-8ed5-783b4678274b/40714aa30baf51cccf6c940172de5871.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:31:42.197897"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [c72c150a-7738-4c2f-bcaa-d297bc8c4965] Performing Kithe::AssetDeleteJob (Job ID: c72c150a-7738-4c2f-bcaa-d297bc8c4965) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/232dcbab-ad62-4360-8ed5-783b4678274b/d7f9d3f909c895f1598bd76ca617fbd2.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"232dcbab-ad62-4360-8ed5-783b4678274b/fixed/67fb44dce6db0d816cc374a4062c0405.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"zs5k4l2y2_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [c72c150a-7738-4c2f-bcaa-d297bc8c4965] Performed Kithe::AssetDeleteJob (Job ID: c72c150a-7738-4c2f-bcaa-d297bc8c4965) from Inline(default) in 0.1ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: c72c150a-7738-4c2f-bcaa-d297bc8c4965) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/232dcbab-ad62-4360-8ed5-783b4678274b/d7f9d3f909c895f1598bd76ca617fbd2.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"232dcbab-ad62-4360-8ed5-783b4678274b/fixed/67fb44dce6db0d816cc374a4062c0405.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"zs5k4l2y2_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] Performing Kithe::AssetPromoteJob (Job ID: 12827076-d040-4a0d-8a8b-fbf69a44a233) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "232dcbab-ad62-4360-8ed5-783b4678274b", "file", {"id"=>"asset/232dcbab-ad62-4360-8ed5-783b4678274b/40714aa30baf51cccf6c940172de5871.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [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/232dcbab-ad62-4360-8ed5-783b4678274b/50454117529cda66ebd0f6f9cd85ae8c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.206171"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] Performing Kithe::CreateDerivativesJob (Job ID: 1f29931b-b611-44f4-8ddf-b08ee1f5fe7a) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef95728ad0 @uri=#<URI::GID gid://dummy/CustomAsset/232dcbab-ad62-4360-8ed5-783b4678274b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] [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", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] [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/232dcbab-ad62-4360-8ed5-783b4678274b/50454117529cda66ebd0f6f9cd85ae8c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"232dcbab-ad62-4360-8ed5-783b4678274b/fixed/dabeb69c5cccbb0d606bb982f28cf74c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zs5k4l2y2_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.213533"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] [Kithe::CreateDerivativesJob] [1f29931b-b611-44f4-8ddf-b08ee1f5fe7a] Performed Kithe::CreateDerivativesJob (Job ID: 1f29931b-b611-44f4-8ddf-b08ee1f5fe7a) from Inline(default) in 5.67ms
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] Enqueued Kithe::CreateDerivativesJob (Job ID: 1f29931b-b611-44f4-8ddf-b08ee1f5fe7a) to Inline(default) with arguments: #<GlobalID:0x00007fef956a9f50 @uri=#<URI::GID gid://dummy/CustomAsset/232dcbab-ad62-4360-8ed5-783b4678274b>>
+[ActiveJob] [Kithe::AssetPromoteJob] [12827076-d040-4a0d-8a8b-fbf69a44a233] Performed Kithe::AssetPromoteJob (Job ID: 12827076-d040-4a0d-8a8b-fbf69a44a233) from Inline(default) in 14.73ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 12827076-d040-4a0d-8a8b-fbf69a44a233) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "232dcbab-ad62-4360-8ed5-783b4678274b", "file", {"id"=>"asset/232dcbab-ad62-4360-8ed5-783b4678274b/40714aa30baf51cccf6c940172de5871.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "232dcbab-ad62-4360-8ed5-783b4678274b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:42.229331"], ["updated_at", "2020-05-19 20:31:42.229331"], ["file_data", "{\"id\":\"asset/1a7b8f7de54a597f5767065f59dd1df4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] Performing Kithe::AssetPromoteJob (Job ID: 96084ac1-b39c-44bd-95b7-94da9270e88a) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "a9da19e1-2a57-44e1-8054-30fbe976bccc", "file", {"id"=>"asset/1a7b8f7de54a597f5767065f59dd1df4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [1m[36mCustomAsset Load (4.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", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [1m[36mCustomAsset Load (28.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", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [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/a9da19e1-2a57-44e1-8054-30fbe976bccc/cccf457b4b717577b16007f6579ee3ba.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.272156"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [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", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] Performing Kithe::CreateDerivativesJob (Job ID: 19d3b69d-d3c6-489b-b01b-dcdad7e0ec11) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef954dcdd0 @uri=#<URI::GID gid://dummy/CustomAsset/a9da19e1-2a57-44e1-8054-30fbe976bccc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] [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", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] [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/a9da19e1-2a57-44e1-8054-30fbe976bccc/cccf457b4b717577b16007f6579ee3ba.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"a9da19e1-2a57-44e1-8054-30fbe976bccc/fixed/3e022e057258e71b157445ca4f6cfa1b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6xhhzj479_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.280756"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] [Kithe::CreateDerivativesJob] [19d3b69d-d3c6-489b-b01b-dcdad7e0ec11] Performed Kithe::CreateDerivativesJob (Job ID: 19d3b69d-d3c6-489b-b01b-dcdad7e0ec11) from Inline(default) in 6.93ms
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] Enqueued Kithe::CreateDerivativesJob (Job ID: 19d3b69d-d3c6-489b-b01b-dcdad7e0ec11) to Inline(default) with arguments: #<GlobalID:0x00007fef9548dbb8 @uri=#<URI::GID gid://dummy/CustomAsset/a9da19e1-2a57-44e1-8054-30fbe976bccc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [96084ac1-b39c-44bd-95b7-94da9270e88a] Performed Kithe::AssetPromoteJob (Job ID: 96084ac1-b39c-44bd-95b7-94da9270e88a) from Inline(default) in 49.06ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 96084ac1-b39c-44bd-95b7-94da9270e88a) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "a9da19e1-2a57-44e1-8054-30fbe976bccc", "file", {"id"=>"asset/1a7b8f7de54a597f5767065f59dd1df4.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/a9da19e1-2a57-44e1-8054-30fbe976bccc/cccf457b4b717577b16007f6579ee3ba.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"a9da19e1-2a57-44e1-8054-30fbe976bccc/fixed/3559e16cce3db20e97cc84386db8d8cf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6xhhzj479_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.289383"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a9da19e1-2a57-44e1-8054-30fbe976bccc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.313991"], ["updated_at", "2020-05-19 20:31:42.313991"], ["file_data", "{\"id\":\"asset/9a1083854f7f8c0853fe95bb102983f1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] Performing Kithe::AssetPromoteJob (Job ID: 1b6ba560-903e-406d-a84b-2b67b8e2a0df) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "741ace8c-9c11-4f0e-a4c2-0af284f016d0", "file", {"id"=>"asset/9a1083854f7f8c0853fe95bb102983f1.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [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", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [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", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [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/741ace8c-9c11-4f0e-a4c2-0af284f016d0/6250ed39a851d7a8d51ce03016e6b830.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.323042"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [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", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] Performing Kithe::CreateDerivativesJob (Job ID: 2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef9b3b7300 @uri=#<URI::GID gid://dummy/CustomAsset/741ace8c-9c11-4f0e-a4c2-0af284f016d0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] [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", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] [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/741ace8c-9c11-4f0e-a4c2-0af284f016d0/6250ed39a851d7a8d51ce03016e6b830.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"741ace8c-9c11-4f0e-a4c2-0af284f016d0/fixed/3458f8f87115715529a1e20404cc8f36.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"b747dfj9h_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.331313"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] [Kithe::CreateDerivativesJob] [2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb] Performed Kithe::CreateDerivativesJob (Job ID: 2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb) from Inline(default) in 6.55ms
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] Enqueued Kithe::CreateDerivativesJob (Job ID: 2dacc7d9-aca9-4ba1-be7a-1a5d4c889efb) to Inline(default) with arguments: #<GlobalID:0x00007fef9b3a6280 @uri=#<URI::GID gid://dummy/CustomAsset/741ace8c-9c11-4f0e-a4c2-0af284f016d0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [1b6ba560-903e-406d-a84b-2b67b8e2a0df] Performed Kithe::AssetPromoteJob (Job ID: 1b6ba560-903e-406d-a84b-2b67b8e2a0df) from Inline(default) in 14.49ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1b6ba560-903e-406d-a84b-2b67b8e2a0df) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "741ace8c-9c11-4f0e-a4c2-0af284f016d0", "file", {"id"=>"asset/9a1083854f7f8c0853fe95bb102983f1.jpg", "storage"=>"cache"}, {}
+ [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", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+ [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/741ace8c-9c11-4f0e-a4c2-0af284f016d0/6250ed39a851d7a8d51ce03016e6b830.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"741ace8c-9c11-4f0e-a4c2-0af284f016d0/fixed/0cefd2d7a21ca9402129ecb9955d862a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"b747dfj9h_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.339924"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/741ace8c-9c11-4f0e-a4c2-0af284f016d0/6250ed39a851d7a8d51ce03016e6b830.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"741ace8c-9c11-4f0e-a4c2-0af284f016d0/fixed/80ca60852fb31e48c2aa8d7385ebe9ac.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"b747dfj9h_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:31:42.379004"], ["id", "741ace8c-9c11-4f0e-a4c2-0af284f016d0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (3.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-19 20:31:42.399711"], ["updated_at", "2020-05-19 20:31:42.399711"], ["file_data", "{\"id\":\"asset/ad775e3f054c6c49967eff881c417d4b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] Performing Kithe::AssetPromoteJob (Job ID: 422a9b58-c414-4cec-a906-030e74eaae8b) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "CustomUploader::Attacher", "CustomAsset", "55edb2e2-3ccb-4977-9682-36a3cac861d3", "file", {"id"=>"asset/ad775e3f054c6c49967eff881c417d4b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [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", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [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", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [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/55edb2e2-3ccb-4977-9682-36a3cac861d3/96a3a178426170af69781d5c550ebf57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.412466"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [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", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] Performing Kithe::CreateDerivativesJob (Job ID: 15520dae-17b9-4aa5-b8ed-94e89cd00fea) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: #<GlobalID:0x00007fef9b2873e0 @uri=#<URI::GID gid://dummy/CustomAsset/55edb2e2-3ccb-4977-9682-36a3cac861d3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] [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", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] [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/55edb2e2-3ccb-4977-9682-36a3cac861d3/96a3a178426170af69781d5c550ebf57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"55edb2e2-3ccb-4977-9682-36a3cac861d3/fixed/03f60c635e7db1040679820e958f2f91.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6n8ubyj3y_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.421481"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] [Kithe::CreateDerivativesJob] [15520dae-17b9-4aa5-b8ed-94e89cd00fea] Performed Kithe::CreateDerivativesJob (Job ID: 15520dae-17b9-4aa5-b8ed-94e89cd00fea) from Inline(default) in 7.15ms
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] Enqueued Kithe::CreateDerivativesJob (Job ID: 15520dae-17b9-4aa5-b8ed-94e89cd00fea) to Inline(default) with arguments: #<GlobalID:0x00007fef99c45a28 @uri=#<URI::GID gid://dummy/CustomAsset/55edb2e2-3ccb-4977-9682-36a3cac861d3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [422a9b58-c414-4cec-a906-030e74eaae8b] Performed Kithe::AssetPromoteJob (Job ID: 422a9b58-c414-4cec-a906-030e74eaae8b) from Inline(default) in 15.85ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 422a9b58-c414-4cec-a906-030e74eaae8b) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "55edb2e2-3ccb-4977-9682-36a3cac861d3", "file", {"id"=>"asset/ad775e3f054c6c49967eff881c417d4b.jpg", "storage"=>"cache"}, {}
+ [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", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/55edb2e2-3ccb-4977-9682-36a3cac861d3/96a3a178426170af69781d5c550ebf57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"55edb2e2-3ccb-4977-9682-36a3cac861d3/fixed/de138497eb742cd235a7c4c99b716950.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6n8ubyj3y_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:42.429666"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/55edb2e2-3ccb-4977-9682-36a3cac861d3/96a3a178426170af69781d5c550ebf57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"55edb2e2-3ccb-4977-9682-36a3cac861d3/fixed/de138497eb742cd235a7c4c99b716950.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"6n8ubyj3y_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"55edb2e2-3ccb-4977-9682-36a3cac861d3/test/24ee2e92803a7df11c6c14d773bbbeeb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6n8ubyj3y_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:31:42.466279"], ["id", "55edb2e2-3ccb-4977-9682-36a3cac861d3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.482923"], ["updated_at", "2020-05-19 20:31:42.482923"], ["file_data", "{\"id\":\"asset/065bb2dc30a82c3d3cebe44749cf90e4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] Performing Kithe::AssetPromoteJob (Job ID: 1d987ad7-b84a-4283-a18a-362d7a65ef47) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b", "file", {"id"=>"asset/065bb2dc30a82c3d3cebe44749cf90e4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] [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", "b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] [1m[36mTestAsset 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", "TestAsset"], ["id", "b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] [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/b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b/56afacc4e33b88f812bff9172fea6703.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.493377"], ["id", "b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1d987ad7-b84a-4283-a18a-362d7a65ef47] Performed Kithe::AssetPromoteJob (Job ID: 1d987ad7-b84a-4283-a18a-362d7a65ef47) from Inline(default) in 7.18ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1d987ad7-b84a-4283-a18a-362d7a65ef47) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b03f56d9-dc4d-4d3e-9ddb-3bd25e9d3d7b", "file", {"id"=>"asset/065bb2dc30a82c3d3cebe44749cf90e4.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:31:42.514552"], ["updated_at", "2020-05-19 20:31:42.514552"], ["file_data", "{\"id\":\"asset/f95ec2ed20e0a5f28296d91f7ff7c375.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "b407fd9c-ceed-4962-9129-fbae90ac6729"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b407fd9c-ceed-4962-9129-fbae90ac6729"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.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-19 20:31:42.535758"], ["updated_at", "2020-05-19 20:31:42.535758"], ["file_data", "{\"id\":\"asset/3c9333a854a92ede44a983a8f32aff6b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.541636"], ["file_data", "{\"id\":\"asset/8bc079cc-7f87-4224-a430-00b7605fe0e2/8f1f1b909c87d0c7bda49d4a7f09c657.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8bc079cc-7f87-4224-a430-00b7605fe0e2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "8bc079cc-7f87-4224-a430-00b7605fe0e2"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.560434"], ["updated_at", "2020-05-19 20:31:42.560434"], ["file_data", "{\"id\":\"asset/17816a7fbec8a961308f13d4f237dd85.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ad25a458-5b2a-4a36-bdb0-a249878d5d7d] Performing Kithe::AssetPromoteJob (Job ID: ad25a458-5b2a-4a36-bdb0-a249878d5d7d) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5fe330a9-f672-4c19-a771-439b9f2b942e", "file", {"id"=>"asset/17816a7fbec8a961308f13d4f237dd85.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ad25a458-5b2a-4a36-bdb0-a249878d5d7d] [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", "5fe330a9-f672-4c19-a771-439b9f2b942e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ad25a458-5b2a-4a36-bdb0-a249878d5d7d] Performed Kithe::AssetPromoteJob (Job ID: ad25a458-5b2a-4a36-bdb0-a249878d5d7d) from Inline(default) in 1.78ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ad25a458-5b2a-4a36-bdb0-a249878d5d7d) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5fe330a9-f672-4c19-a771-439b9f2b942e", "file", {"id"=>"asset/17816a7fbec8a961308f13d4f237dd85.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "5fe330a9-f672-4c19-a771-439b9f2b942e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:31:42.594710"], ["updated_at", "2020-05-19 20:31:42.594710"], ["file_data", "{\"id\":\"asset/e5f4c715a3fd70f7244f863babfe47f0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] Performing Kithe::AssetPromoteJob (Job ID: 292063f9-9517-4cf8-9cd9-ec48223dce03) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b746867b-238f-437a-999a-e8f561195bb1", "file", {"id"=>"asset/e5f4c715a3fd70f7244f863babfe47f0.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] [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", "b746867b-238f-437a-999a-e8f561195bb1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] [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", "b746867b-238f-437a-999a-e8f561195bb1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] [1m[36mTestAsset 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/b746867b-238f-437a-999a-e8f561195bb1/38d57dee09ae6ee031cea0ef33636571.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.602989"], ["id", "b746867b-238f-437a-999a-e8f561195bb1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [292063f9-9517-4cf8-9cd9-ec48223dce03] Performed Kithe::AssetPromoteJob (Job ID: 292063f9-9517-4cf8-9cd9-ec48223dce03) from Inline(default) in 5.99ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 292063f9-9517-4cf8-9cd9-ec48223dce03) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b746867b-238f-437a-999a-e8f561195bb1", "file", {"id"=>"asset/e5f4c715a3fd70f7244f863babfe47f0.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "b746867b-238f-437a-999a-e8f561195bb1"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:31:42.617695"], ["updated_at", "2020-05-19 20:31:42.617695"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.624246"], ["file_data", "{\"id\":\"asset/ad295cfb-654d-425f-bf9a-7dac05ccae9b/339f0342d36c377b124f52d8bd57f446.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ad295cfb-654d-425f-bf9a-7dac05ccae9b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "ad295cfb-654d-425f-bf9a-7dac05ccae9b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.642005"], ["updated_at", "2020-05-19 20:31:42.642005"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.647008"], ["file_data", "{\"id\":\"asset/7ef0181e-c349-4c53-a194-e718151f2791/935987775360d277792eb57f0039562f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7ef0181e-c349-4c53-a194-e718151f2791"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "7ef0181e-c349-4c53-a194-e718151f2791"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.662997"], ["updated_at", "2020-05-19 20:31:42.662997"], ["file_data", "{\"id\":\"asset/ab4bf820a182d5def784a60096ad2f0a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "d2a8dbaa-50d5-4166-b5b1-bc16f34f6267"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d2a8dbaa-50d5-4166-b5b1-bc16f34f6267"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.685504"], ["updated_at", "2020-05-19 20:31:42.685504"], ["file_data", "{\"id\":\"asset/c7ab77483bb5c7ee8b18083183f1aac3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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", "98fce1c0-8b88-41cf-8046-4f988e9a54e6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "98fce1c0-8b88-41cf-8046-4f988e9a54e6"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/98fce1c0-8b88-41cf-8046-4f988e9a54e6/68530bef0af04e272025fd0e3ccb5708.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.695296"], ["id", "98fce1c0-8b88-41cf-8046-4f988e9a54e6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "98fce1c0-8b88-41cf-8046-4f988e9a54e6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:31:42.712831"], ["updated_at", "2020-05-19 20:31:42.712831"], ["file_data", "{\"id\":\"asset/adf49361d6f96535ea7d900f3914efea.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] Performing Kithe::AssetPromoteJob (Job ID: 7e6dc70a-fa91-44fc-a2d9-b57037adf223) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "ea06fc51-dceb-49e0-83d8-44bd758cd8f3", "file", {"id"=>"asset/adf49361d6f96535ea7d900f3914efea.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] [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", "ea06fc51-dceb-49e0-83d8-44bd758cd8f3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] [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", "ea06fc51-dceb-49e0-83d8-44bd758cd8f3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] [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/ea06fc51-dceb-49e0-83d8-44bd758cd8f3/0b3c57995a6075f05b7b9ed101553e8c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.720926"], ["id", "ea06fc51-dceb-49e0-83d8-44bd758cd8f3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7e6dc70a-fa91-44fc-a2d9-b57037adf223] Performed Kithe::AssetPromoteJob (Job ID: 7e6dc70a-fa91-44fc-a2d9-b57037adf223) from Inline(default) in 6.5ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7e6dc70a-fa91-44fc-a2d9-b57037adf223) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "ea06fc51-dceb-49e0-83d8-44bd758cd8f3", "file", {"id"=>"asset/adf49361d6f96535ea7d900f3914efea.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.735921"], ["updated_at", "2020-05-19 20:31:42.735921"], ["file_data", "{\"id\":\"asset/8f44e5cf01d741b391c20808bacbcb53.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.741683"], ["file_data", "{\"id\":\"asset/42d5ab7b-bab1-4f1c-a22b-83346a40b402/0d5249657740a3f14b55eb476a32201a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "42d5ab7b-bab1-4f1c-a22b-83346a40b402"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "42d5ab7b-bab1-4f1c-a22b-83346a40b402"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.759211"], ["updated_at", "2020-05-19 20:31:42.759211"], ["file_data", "{\"id\":\"asset/afd81d67814d12e00307b4b0b5816851.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] Performing Kithe::AssetPromoteJob (Job ID: 2f742bc1-6db3-4501-b6ee-2db322367d10) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9c82b32f-b853-4762-bb77-115da827fa9e", "file", {"id"=>"asset/afd81d67814d12e00307b4b0b5816851.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] [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", "9c82b32f-b853-4762-bb77-115da827fa9e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] [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", "9c82b32f-b853-4762-bb77-115da827fa9e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] [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/9c82b32f-b853-4762-bb77-115da827fa9e/b066e8d54fb3ec7b5bf3e6d50e1da43a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.767258"], ["id", "9c82b32f-b853-4762-bb77-115da827fa9e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2f742bc1-6db3-4501-b6ee-2db322367d10] Performed Kithe::AssetPromoteJob (Job ID: 2f742bc1-6db3-4501-b6ee-2db322367d10) from Inline(default) in 6.98ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2f742bc1-6db3-4501-b6ee-2db322367d10) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9c82b32f-b853-4762-bb77-115da827fa9e", "file", {"id"=>"asset/afd81d67814d12e00307b4b0b5816851.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:31:42.793857"], ["updated_at", "2020-05-19 20:31:42.793857"], ["file_data", "{\"id\":\"asset/1c2de3aab156a67d3e331318c9987f72.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] Performing Kithe::AssetPromoteJob (Job ID: 9675afb9-bee1-4c6e-8010-a7a0e0c20063) from Inline(default) enqueued at 2020-05-19T20:31:42Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "17237bb8-744a-4d60-8857-400072469c5f", "file", {"id"=>"asset/1c2de3aab156a67d3e331318c9987f72.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] [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", "17237bb8-744a-4d60-8857-400072469c5f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] [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", "17237bb8-744a-4d60-8857-400072469c5f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] [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/17237bb8-744a-4d60-8857-400072469c5f/272aac199004e074af22a9a98d389bb0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:42.802889"], ["id", "17237bb8-744a-4d60-8857-400072469c5f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9675afb9-bee1-4c6e-8010-a7a0e0c20063] Performed Kithe::AssetPromoteJob (Job ID: 9675afb9-bee1-4c6e-8010-a7a0e0c20063) from Inline(default) in 7.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9675afb9-bee1-4c6e-8010-a7a0e0c20063) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "17237bb8-744a-4d60-8857-400072469c5f", "file", {"id"=>"asset/1c2de3aab156a67d3e331318c9987f72.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "17237bb8-744a-4d60-8857-400072469c5f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:31:42.826656"], ["updated_at", "2020-05-19 20:31:42.826656"], ["file_data", "{\"id\":\"asset/3f93b872dcb87343042a78cec3b1f817.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "f303f23e-9adf-4063-9245-619bb335a6e0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.844714"], ["updated_at", "2020-05-19 20:31:42.844714"], ["file_data", "{\"id\":\"asset/762ebee7777f3e0a531065bf5ec1c828.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:42.848920"], ["file_data", "{\"id\":\"asset/7e80df81-2720-4b99-9e85-933bb5fa0cdb/e863a9a6402e080af23060a4051bc7de.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7e80df81-2720-4b99-9e85-933bb5fa0cdb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 67f3fb0c-c3b6-40fb-952b-1ac6380495d8) to Test(default) with arguments: #<GlobalID:0x00007fef9b2f61c8 @uri=#<URI::GID gid://dummy/TestAsset/7e80df81-2720-4b99-9e85-933bb5fa0cdb>>
+ [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", "7e80df81-2720-4b99-9e85-933bb5fa0cdb"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7e80df81-2720-4b99-9e85-933bb5fa0cdb"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:31:42.865399"], ["updated_at", "2020-05-19 20:31:42.865399"], ["file_data", "{\"id\":\"asset/9f1f811cb6c5d8e46407479434d0c928.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.891453"], ["updated_at", "2020-05-19 20:31:42.891453"], ["file_data", "{\"id\":\"asset/281c678aa947f5fea498c909c4964cf3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.894533"], ["file_data", "{\"id\":\"asset/946da7a4-a558-4fba-9c34-c6f97af847d6/bb4f2323d00e0f3afa808cf29438eeb4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "946da7a4-a558-4fba-9c34-c6f97af847d6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "946da7a4-a558-4fba-9c34-c6f97af847d6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.920331"], ["updated_at", "2020-05-19 20:31:42.920331"], ["file_data", "{\"id\":\"asset/923d65170581c7ed8312fa98022df15c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.923270"], ["file_data", "{\"id\":\"asset/474fcc85-5be4-40a2-b0f5-f3b0fcc3a285/70af64f6c16ce74456597b90c8b114c5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "474fcc85-5be4-40a2-b0f5-f3b0fcc3a285"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [9852e74b-d49d-468f-97ed-b8c35099ff8a] Performing Kithe::CreateDerivativesJob (Job ID: 9852e74b-d49d-468f-97ed-b8c35099ff8a) from Test(default) enqueued at with arguments: #<GlobalID:0x00007fef99beedb8 @uri=#<URI::GID gid://dummy/TestAsset/474fcc85-5be4-40a2-b0f5-f3b0fcc3a285>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [9852e74b-d49d-468f-97ed-b8c35099ff8a] Performed Kithe::CreateDerivativesJob (Job ID: 9852e74b-d49d-468f-97ed-b8c35099ff8a) from Test(default) in 0.5ms
+ [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", "474fcc85-5be4-40a2-b0f5-f3b0fcc3a285"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:31:42.939860"], ["updated_at", "2020-05-19 20:31:42.939860"], ["file_data", "{\"id\":\"asset/9956a1b6bbb9b5b32ec1ad014ca8398e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:42.942954"], ["file_data", "{\"id\":\"asset/0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9/b709388495cb085dd59b799431b40a0a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"]]
+ [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", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.3ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "0f8483a0-eea7-4c54-a74d-c3dcb49b3aa9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:31:42.965391"], ["updated_at", "2020-05-19 20:31:42.965391"], ["file_data", "{\"id\":\"asset/3d8f4f6833f9e16732004f744a7d33aa.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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-19 20:31:42.969333"], ["file_data", "{\"id\":\"asset/29717f99-02ce-4336-937f-1b6fe41942ca/4e20412f8f47c862e13366ec6c87b1d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "29717f99-02ce-4336-937f-1b6fe41942ca"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "29717f99-02ce-4336-937f-1b6fe41942ca"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "29717f99-02ce-4336-937f-1b6fe41942ca"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "29717f99-02ce-4336-937f-1b6fe41942ca"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "29717f99-02ce-4336-937f-1b6fe41942ca"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '29717f99-02ce-4336-937f-1b6fe41942ca'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '29717f99-02ce-4336-937f-1b6fe41942ca'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "29717f99-02ce-4336-937f-1b6fe41942ca"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.007441"], ["updated_at", "2020-05-19 20:31:43.007441"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21) AND "kithe_models"."id" = $22 LIMIT $23[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "4f6fd81f-110a-4846-a195-525d242e2c49"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:43.026590"], ["updated_at", "2020-05-19 20:31:43.026590"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:43.040906"], ["updated_at", "2020-05-19 20:31:43.040906"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:43.044211"], ["file_data", "{\"id\":\"asset/0568bed9-cdd5-47b3-8e2f-9cfbaad0b1ea/385e9194b80090ec4bf15bf92c5517c9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "0568bed9-cdd5-47b3-8e2f-9cfbaad0b1ea"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:43.047823"], ["file_data", "{\"id\":\"asset/0568bed9-cdd5-47b3-8e2f-9cfbaad0b1ea/a732d06f2ade99defc188354fabc91e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "0568bed9-cdd5-47b3-8e2f-9cfbaad0b1ea"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "0568bed9-cdd5-47b3-8e2f-9cfbaad0b1ea"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.053272"], ["updated_at", "2020-05-19 20:31:43.053272"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.060761"], ["updated_at", "2020-05-19 20:31:43.060761"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.063436"], ["updated_at", "2020-05-19 20:31:43.063436"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.069374"], ["updated_at", "2020-05-19 20:31:43.069374"], ["file_data", "{\"id\":\"asset/8f83d381bb80800fbcef946fcb20a566.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] Performing Kithe::AssetPromoteJob (Job ID: 6b691ba9-2e3e-4489-80e6-bba04681da77) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "65b9157c-1544-4e23-bacf-8034a716ae38", "file", {"id"=>"asset/8f83d381bb80800fbcef946fcb20a566.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] [1m[36mKithe::Asset Load (0.8ms)[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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "65b9157c-1544-4e23-bacf-8034a716ae38"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "65b9157c-1544-4e23-bacf-8034a716ae38"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] [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/65b9157c-1544-4e23-bacf-8034a716ae38/64c6bf50fbe12b042f5e3d754b87cc16.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.087521"], ["id", "65b9157c-1544-4e23-bacf-8034a716ae38"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6b691ba9-2e3e-4489-80e6-bba04681da77] Performed Kithe::AssetPromoteJob (Job ID: 6b691ba9-2e3e-4489-80e6-bba04681da77) from Inline(default) in 12.39ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6b691ba9-2e3e-4489-80e6-bba04681da77) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "65b9157c-1544-4e23-bacf-8034a716ae38", "file", {"id"=>"asset/8f83d381bb80800fbcef946fcb20a566.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.8ms)[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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "65b9157c-1544-4e23-bacf-8034a716ae38"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.096787"], ["updated_at", "2020-05-19 20:31:43.096787"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:43.099793"], ["file_data", "{\"id\":\"asset/e913e107e2d4dea979f820af8cd64d61.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "abc25edd-5b83-4dd6-bdf5-96792fa00568"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] Performing Kithe::AssetPromoteJob (Job ID: aec69382-4ba4-4d58-b73e-355ad16e2b24) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "abc25edd-5b83-4dd6-bdf5-96792fa00568", "file", {"id"=>"asset/e913e107e2d4dea979f820af8cd64d61.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "abc25edd-5b83-4dd6-bdf5-96792fa00568"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "abc25edd-5b83-4dd6-bdf5-96792fa00568"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] [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/abc25edd-5b83-4dd6-bdf5-96792fa00568/1772efc5d1fe4ef8f1c598ef70f75d2b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:31:43.109172"], ["id", "abc25edd-5b83-4dd6-bdf5-96792fa00568"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aec69382-4ba4-4d58-b73e-355ad16e2b24] Performed Kithe::AssetPromoteJob (Job ID: aec69382-4ba4-4d58-b73e-355ad16e2b24) from Inline(default) in 8.52ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: aec69382-4ba4-4d58-b73e-355ad16e2b24) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "abc25edd-5b83-4dd6-bdf5-96792fa00568", "file", {"id"=>"asset/e913e107e2d4dea979f820af8cd64d61.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.8ms)[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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "abc25edd-5b83-4dd6-bdf5-96792fa00568"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (54.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.118174"], ["updated_at", "2020-05-19 20:31:43.118174"], ["file_data", "{\"id\":\"asset/9a44edc7e8a9ed6c267c4cd38381cb6d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 572ef57a-5105-48ca-8054-f477ebee1cad) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "966f5f34-a913-42b3-941f-61930f7f5dd5", "file", {"id"=>"asset/9a44edc7e8a9ed6c267c4cd38381cb6d.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "966f5f34-a913-42b3-941f-61930f7f5dd5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:43.179061"], ["file_data", "{\"id\":\"asset/966f5f34-a913-42b3-941f-61930f7f5dd5/1650174fdd16c39148104f183d0ebb45.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "966f5f34-a913-42b3-941f-61930f7f5dd5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.184029"], ["updated_at", "2020-05-19 20:31:43.184029"], ["file_data", "{\"id\":\"asset/563cc9c330dd9ca5448151fe596f4651.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] Performing Kithe::AssetPromoteJob (Job ID: 2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0b0af3da-a5d9-48a7-9f84-fd07d51643b0", "file", {"id"=>"asset/563cc9c330dd9ca5448151fe596f4651.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] [1m[36mKithe::Asset Load (0.8ms)[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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0b0af3da-a5d9-48a7-9f84-fd07d51643b0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0b0af3da-a5d9-48a7-9f84-fd07d51643b0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] [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/0b0af3da-a5d9-48a7-9f84-fd07d51643b0/255f479d037ff598f71d33739338243b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.195194"], ["id", "0b0af3da-a5d9-48a7-9f84-fd07d51643b0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f] Performed Kithe::AssetPromoteJob (Job ID: 2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f) from Inline(default) in 8.22ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2a3f25b5-2f43-487c-aa28-ec6d3bf1d97f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0b0af3da-a5d9-48a7-9f84-fd07d51643b0", "file", {"id"=>"asset/563cc9c330dd9ca5448151fe596f4651.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.199718"], ["updated_at", "2020-05-19 20:31:43.199718"], ["file_data", "{\"id\":\"asset/fdda30f1fadaa37fb336530dd1adfc2d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] Performing Kithe::AssetPromoteJob (Job ID: f96de34b-3e40-42ea-97f4-6b3a98ae7383) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d2ed2798-0b60-4d29-a105-ae423fecb6b5", "file", {"id"=>"asset/fdda30f1fadaa37fb336530dd1adfc2d.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] [1m[36mKithe::Asset Load (2.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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d2ed2798-0b60-4d29-a105-ae423fecb6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d2ed2798-0b60-4d29-a105-ae423fecb6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] [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/d2ed2798-0b60-4d29-a105-ae423fecb6b5/61726abeb68ffee19dcd90ad46543035.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.210679"], ["id", "d2ed2798-0b60-4d29-a105-ae423fecb6b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f96de34b-3e40-42ea-97f4-6b3a98ae7383] Performed Kithe::AssetPromoteJob (Job ID: f96de34b-3e40-42ea-97f4-6b3a98ae7383) from Inline(default) in 9.1ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f96de34b-3e40-42ea-97f4-6b3a98ae7383) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d2ed2798-0b60-4d29-a105-ae423fecb6b5", "file", {"id"=>"asset/fdda30f1fadaa37fb336530dd1adfc2d.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d2ed2798-0b60-4d29-a105-ae423fecb6b5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.218709"], ["updated_at", "2020-05-19 20:31:43.218709"], ["file_data", "{\"id\":\"asset/abfbf4e758df09b390a64bdda1febd4c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] Performing Kithe::AssetPromoteJob (Job ID: 955d0359-cd5e-4326-8f25-1c620c679dc0) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1cea89a8-28ba-420e-be02-1533d10bbd81", "file", {"id"=>"asset/abfbf4e758df09b390a64bdda1febd4c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] [1m[36mKithe::Asset 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/1cea89a8-28ba-420e-be02-1533d10bbd81/fd9e2c7ec80085819a9bb48e3527bb74.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.228614"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [955d0359-cd5e-4326-8f25-1c620c679dc0] Performed Kithe::AssetPromoteJob (Job ID: 955d0359-cd5e-4326-8f25-1c620c679dc0) from Inline(default) in 7.87ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 955d0359-cd5e-4326-8f25-1c620c679dc0) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1cea89a8-28ba-420e-be02-1533d10bbd81", "file", {"id"=>"asset/abfbf4e758df09b390a64bdda1febd4c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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/1cea89a8-28ba-420e-be02-1533d10bbd81/fd9e2c7ec80085819a9bb48e3527bb74.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"1cea89a8-28ba-420e-be02-1533d10bbd81/existing/361acf0923700a249725664f52908a62.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6oib5kbni_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:31:43.268432"], ["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+ [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", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1cea89a8-28ba-420e-be02-1533d10bbd81'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1cea89a8-28ba-420e-be02-1533d10bbd81'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1cea89a8-28ba-420e-be02-1533d10bbd81"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [549fd147-fa75-4de8-a939-54cb13e54388] Performing Kithe::AssetDeleteJob (Job ID: 549fd147-fa75-4de8-a939-54cb13e54388) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1cea89a8-28ba-420e-be02-1533d10bbd81/fd9e2c7ec80085819a9bb48e3527bb74.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1cea89a8-28ba-420e-be02-1533d10bbd81/existing/361acf0923700a249725664f52908a62.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"6oib5kbni_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [549fd147-fa75-4de8-a939-54cb13e54388] Performed Kithe::AssetDeleteJob (Job ID: 549fd147-fa75-4de8-a939-54cb13e54388) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 549fd147-fa75-4de8-a939-54cb13e54388) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1cea89a8-28ba-420e-be02-1533d10bbd81/fd9e2c7ec80085819a9bb48e3527bb74.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1cea89a8-28ba-420e-be02-1533d10bbd81/existing/361acf0923700a249725664f52908a62.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"6oib5kbni_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.283463"], ["updated_at", "2020-05-19 20:31:43.283463"], ["file_data", "{\"id\":\"asset/e32f7fcfa1c61c29ef3a246958814c19.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] Performing Kithe::AssetPromoteJob (Job ID: 8d4448f4-00ed-4d50-84c5-1c461d3a5ea3) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23", "file", {"id"=>"asset/e32f7fcfa1c61c29ef3a246958814c19.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] [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/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/6bff244161826c22847f2e966c579cab.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.295195"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8d4448f4-00ed-4d50-84c5-1c461d3a5ea3] Performed Kithe::AssetPromoteJob (Job ID: 8d4448f4-00ed-4d50-84c5-1c461d3a5ea3) from Inline(default) in 8.48ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8d4448f4-00ed-4d50-84c5-1c461d3a5ea3) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23", "file", {"id"=>"asset/e32f7fcfa1c61c29ef3a246958814c19.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/6bff244161826c22847f2e966c579cab.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/existing/08652c6cf82cb481f51ea1661cb1b874.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d4hkqwrur_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:31:43.334961"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/54cefeca53f8dd78983a794630508580.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:31:43.371060"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [80a9a427-64ba-4e1d-85ff-6177923f25d4] Performing Kithe::AssetDeleteJob (Job ID: 80a9a427-64ba-4e1d-85ff-6177923f25d4) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/6bff244161826c22847f2e966c579cab.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/existing/08652c6cf82cb481f51ea1661cb1b874.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"d4hkqwrur_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [80a9a427-64ba-4e1d-85ff-6177923f25d4] Performed Kithe::AssetDeleteJob (Job ID: 80a9a427-64ba-4e1d-85ff-6177923f25d4) from Inline(default) in 0.16ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 80a9a427-64ba-4e1d-85ff-6177923f25d4) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/6bff244161826c22847f2e966c579cab.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/existing/08652c6cf82cb481f51ea1661cb1b874.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"d4hkqwrur_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] Performing Kithe::AssetPromoteJob (Job ID: 4ef31568-935a-4902-a0d3-a8c69f0a0f64) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23", "file", {"id"=>"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/54cefeca53f8dd78983a794630508580.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] [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/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/15c703dbc364c2fff099adf69742b8ca.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:31:43.380510"], ["id", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4ef31568-935a-4902-a0d3-a8c69f0a0f64] Performed Kithe::AssetPromoteJob (Job ID: 4ef31568-935a-4902-a0d3-a8c69f0a0f64) from Inline(default) in 7.46ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4ef31568-935a-4902-a0d3-a8c69f0a0f64) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "268d3ecc-a33b-46ef-b1dd-ceef62eb1c23", "file", {"id"=>"asset/268d3ecc-a33b-46ef-b1dd-ceef62eb1c23/54cefeca53f8dd78983a794630508580.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:43.393819"], ["updated_at", "2020-05-19 20:31:43.393819"], ["file_data", "{\"id\":\"asset/475fb0a1be78c51001b6aafcb5561469.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] Performing Kithe::AssetPromoteJob (Job ID: 0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45) from Inline(default) enqueued at 2020-05-19T20:31:43Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "00bf7397-0e58-475b-8505-6ac0fb5d1834", "file", {"id"=>"asset/475fb0a1be78c51001b6aafcb5561469.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] [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/00bf7397-0e58-475b-8505-6ac0fb5d1834/1aaa594218bb27d551b47ee75faef637.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:31:43.404082"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45] Performed Kithe::AssetPromoteJob (Job ID: 0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45) from Inline(default) in 8.91ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 0b7eb6a5-2b4c-4fa4-811e-6b5f6809ff45) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "00bf7397-0e58-475b-8505-6ac0fb5d1834", "file", {"id"=>"asset/475fb0a1be78c51001b6aafcb5561469.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/00bf7397-0e58-475b-8505-6ac0fb5d1834/1aaa594218bb27d551b47ee75faef637.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"00bf7397-0e58-475b-8505-6ac0fb5d1834/existing/bc747f34d2c6312170edb42a599ee0e8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1b00xqzlv_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:31:43.442820"], ["id", "00bf7397-0e58-475b-8505-6ac0fb5d1834"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.446678"], ["updated_at", "2020-05-19 20:31:43.446678"], ["file_data", "{\"id\":\"asset/12a0d9d1ada6ebde2bdfada819313140.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c201b61a-dc55-4f21-be7a-33c9774b17dc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c201b61a-dc55-4f21-be7a-33c9774b17dc"], ["LIMIT", 1]]
+ [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/12a0d9d1ada6ebde2bdfada819313140.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"c201b61a-dc55-4f21-be7a-33c9774b17dc/test/0832852a6ec2937bb254451e91610ca3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jrka02929_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:31:43.455678"], ["id", "c201b61a-dc55-4f21-be7a-33c9774b17dc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:31:43.474120"], ["updated_at", "2020-05-19 20:31:43.474120"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:43.560228"], ["updated_at", "2020-05-19 20:31:43.560228"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a5a215f5-20f2-43eb-8ac2-ed8b8bf0eb83"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:43.566675"], ["updated_at", "2020-05-19 20:31:43.566675"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (3.1ms)[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::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a03d0ee8-de73-4a05-8cb4-fdfa83fe1759"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:31:43.593024"], ["updated_at", "2020-05-19 20:31:43.593024"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:43.596201"], ["updated_at", "2020-05-19 20:31:43.596201"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:31:43.611155"], ["updated_at", "2020-05-19 20:31:43.611155"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["container_id", "41c5e2e7-e5a3-450d-b508-bfc34091be43"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[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", "41c5e2e7-e5a3-450d-b508-bfc34091be43"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["container_id", "41c5e2e7-e5a3-450d-b508-bfc34091be43"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[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", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"], ["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["container_id", "41c5e2e7-e5a3-450d-b508-bfc34091be43"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a27b9a44-bb88-46a0-9563-2ee96e4279bd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a27b9a44-bb88-46a0-9563-2ee96e4279bd'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a27b9a44-bb88-46a0-9563-2ee96e4279bd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["LIMIT", 1]]
+ [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", "41c5e2e7-e5a3-450d-b508-bfc34091be43"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[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", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [1m[35m (0.5ms)[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", "41c5e2e7-e5a3-450d-b508-bfc34091be43"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.638063"], ["updated_at", "2020-05-19 20:31:43.638063"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "0e0fdab2-6eed-4892-ba52-be43229de5d6"], ["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [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", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [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", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["containee_id", "0e0fdab2-6eed-4892-ba52-be43229de5d6"]]
+ [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", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"], ["containee_id", "0e0fdab2-6eed-4892-ba52-be43229de5d6"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2cfffce7-7a65-4d68-820c-60d3062bd3ff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2cfffce7-7a65-4d68-820c-60d3062bd3ff'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2cfffce7-7a65-4d68-820c-60d3062bd3ff"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "0e0fdab2-6eed-4892-ba52-be43229de5d6"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "0e0fdab2-6eed-4892-ba52-be43229de5d6"]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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 Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.680077"], ["updated_at", "2020-05-19 20:31:43.680077"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:43.683531"], ["updated_at", "2020-05-19 20:31:43.683531"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.1ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "400c52d1-6123-4b2b-a40c-9da407b2d465"]]
+ [1m[36mKithe::Work Update (0.9ms)[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-19 20:31:43.689150"], ["representative_id", "400c52d1-6123-4b2b-a40c-9da407b2d465"], ["leaf_representative_id", "400c52d1-6123-4b2b-a40c-9da407b2d465"], ["id", "307c1ae5-97c5-4d4b-891f-3bd9091f5ae9"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '400c52d1-6123-4b2b-a40c-9da407b2d465'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '307c1ae5-97c5-4d4b-891f-3bd9091f5ae9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '307c1ae5-97c5-4d4b-891f-3bd9091f5ae9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "307c1ae5-97c5-4d4b-891f-3bd9091f5ae9"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "400c52d1-6123-4b2b-a40c-9da407b2d465"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.701337"], ["updated_at", "2020-05-19 20:31:43.701337"], ["kithe_model_type", 2]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.707905"], ["updated_at", "2020-05-19 20:31:43.707905"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "6c7aa2b3-a883-4891-abb5-7e012c4c626b"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.711558"], ["updated_at", "2020-05-19 20:31:43.711558"], ["representative_id", "6c7aa2b3-a883-4891-abb5-7e012c4c626b"], ["leaf_representative_id", "6c7aa2b3-a883-4891-abb5-7e012c4c626b"], ["kithe_model_type", 1]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '6c7aa2b3-a883-4891-abb5-7e012c4c626b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a08cc403-0b82-4066-a7f1-c3e3cfbd2b11'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a08cc403-0b82-4066-a7f1-c3e3cfbd2b11'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "6c7aa2b3-a883-4891-abb5-7e012c4c626b"], ["LIMIT", 1]]
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a08cc403-0b82-4066-a7f1-c3e3cfbd2b11"]]
+ [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-19 20:31:43.722444"], ["updated_at", "2020-05-19 20:31:43.722444"], ["representative_id", "a08cc403-0b82-4066-a7f1-c3e3cfbd2b11"], ["leaf_representative_id", "6c7aa2b3-a883-4891-abb5-7e012c4c626b"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '6c7aa2b3-a883-4891-abb5-7e012c4c626b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '51e3fbc1-558a-4b50-84f3-35853e951999'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '51e3fbc1-558a-4b50-84f3-35853e951999'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "6c7aa2b3-a883-4891-abb5-7e012c4c626b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.7ms)[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-19 20:31:43.729687"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "51e3fbc1-558a-4b50-84f3-35853e951999"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '51e3fbc1-558a-4b50-84f3-35853e951999'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '51e3fbc1-558a-4b50-84f3-35853e951999'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:31:43.736043"], ["updated_at", "2020-05-19 20:31:43.736043"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c90c823e-e634-43ea-ab99-f105a48a5c90"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.741710"], ["updated_at", "2020-05-19 20:31:43.741710"], ["representative_id", "c90c823e-e634-43ea-ab99-f105a48a5c90"], ["leaf_representative_id", "c90c823e-e634-43ea-ab99-f105a48a5c90"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c90c823e-e634-43ea-ab99-f105a48a5c90'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55"]]
+ [1m[36mKithe::Work Create (1.4ms)[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-19 20:31:43.747013"], ["updated_at", "2020-05-19 20:31:43.747013"], ["representative_id", "9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55"], ["leaf_representative_id", "c90c823e-e634-43ea-ab99-f105a48a5c90"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c90c823e-e634-43ea-ab99-f105a48a5c90'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '69f73d4d-b47a-4239-862c-b3cc25d8e99d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '69f73d4d-b47a-4239-862c-b3cc25d8e99d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.7ms)[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-19 20:31:43.751832"], ["representative_id", "c90c823e-e634-43ea-ab99-f105a48a5c90"], ["leaf_representative_id", "9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55"], ["id", "69f73d4d-b47a-4239-862c-b3cc25d8e99d"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9b0a76da-f7ec-4df6-a423-1a4ac9fc9b55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '69f73d4d-b47a-4239-862c-b3cc25d8e99d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '69f73d4d-b47a-4239-862c-b3cc25d8e99d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.757779"], ["updated_at", "2020-05-19 20:31:43.757779"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:31:43.760577"], ["updated_at", "2020-05-19 20:31:43.760577"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.764022"], ["updated_at", "2020-05-19 20:31:43.764022"], ["representative_id", "5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5"], ["leaf_representative_id", "5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '33eb0d9c-49e9-454e-91f9-e8b14ea34ce6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '33eb0d9c-49e9-454e-91f9-e8b14ea34ce6'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "33eb0d9c-49e9-454e-91f9-e8b14ea34ce6"]]
+ [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-19 20:31:43.769592"], ["updated_at", "2020-05-19 20:31:43.769592"], ["representative_id", "33eb0d9c-49e9-454e-91f9-e8b14ea34ce6"], ["leaf_representative_id", "5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '19b1c074-e03e-42b8-ac76-c00a3d26641a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '19b1c074-e03e-42b8-ac76-c00a3d26641a'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:43.774828"], ["leaf_representative_id", "23d71cad-1c69-4a02-83e4-7e889198cd0b"], ["id", "19b1c074-e03e-42b8-ac76-c00a3d26641a"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '23d71cad-1c69-4a02-83e4-7e889198cd0b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '19b1c074-e03e-42b8-ac76-c00a3d26641a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '19b1c074-e03e-42b8-ac76-c00a3d26641a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "23d71cad-1c69-4a02-83e4-7e889198cd0b"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.7ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "33eb0d9c-49e9-454e-91f9-e8b14ea34ce6"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "5fb3fe98-f9aa-4481-aa32-b1630fc8d8c5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:43.787136"], ["updated_at", "2020-05-19 20:31:43.787136"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:43.789455"], ["updated_at", "2020-05-19 20:31:43.789455"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f8b0122a-0ddd-421c-925b-20bb9df1a6b4"]]
+ [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-19 20:31:43.792069"], ["representative_id", "f8b0122a-0ddd-421c-925b-20bb9df1a6b4"], ["leaf_representative_id", "f8b0122a-0ddd-421c-925b-20bb9df1a6b4"], ["id", "a9e46906-cbcd-4f4b-bef7-f4624fab146f"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f8b0122a-0ddd-421c-925b-20bb9df1a6b4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a9e46906-cbcd-4f4b-bef7-f4624fab146f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a9e46906-cbcd-4f4b-bef7-f4624fab146f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a9e46906-cbcd-4f4b-bef7-f4624fab146f"]]
+ [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-19 20:31:43.795665"], ["representative_id", "a9e46906-cbcd-4f4b-bef7-f4624fab146f"], ["leaf_representative_id", "f8b0122a-0ddd-421c-925b-20bb9df1a6b4"], ["id", "f8b0122a-0ddd-421c-925b-20bb9df1a6b4"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f8b0122a-0ddd-421c-925b-20bb9df1a6b4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f8b0122a-0ddd-421c-925b-20bb9df1a6b4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f8b0122a-0ddd-421c-925b-20bb9df1a6b4'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.800847"], ["updated_at", "2020-05-19 20:31:43.800847"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.805011"], ["updated_at", "2020-05-19 20:31:43.805011"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cf08f81d-ecee-439f-9b72-3f8518459505"]]
+ [1m[36mKithe::Work Create (0.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-19 20:31:43.808939"], ["updated_at", "2020-05-19 20:31:43.808939"], ["representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e00d9ace-46d9-4feb-9fec-423fa234b561'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e00d9ace-46d9-4feb-9fec-423fa234b561'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "92e2f82c-c4c2-4f7b-bbad-0e5a0322f412"]]
+ [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-19 20:31:43.812772"], ["updated_at", "2020-05-19 20:31:43.812772"], ["representative_id", "92e2f82c-c4c2-4f7b-bbad-0e5a0322f412"], ["leaf_representative_id", "92e2f82c-c4c2-4f7b-bbad-0e5a0322f412"], ["kithe_model_type", 1]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '92e2f82c-c4c2-4f7b-bbad-0e5a0322f412'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '481ed2e2-df06-4837-9e6a-a6d72c80071e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '481ed2e2-df06-4837-9e6a-a6d72c80071e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e00d9ace-46d9-4feb-9fec-423fa234b561"]]
+ [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-19 20:31:43.817669"], ["updated_at", "2020-05-19 20:31:43.817669"], ["representative_id", "e00d9ace-46d9-4feb-9fec-423fa234b561"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0403a11f-2b4b-439b-9790-be0750872947'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0403a11f-2b4b-439b-9790-be0750872947'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e00d9ace-46d9-4feb-9fec-423fa234b561"]]
+ [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-19 20:31:43.822574"], ["updated_at", "2020-05-19 20:31:43.822574"], ["representative_id", "e00d9ace-46d9-4feb-9fec-423fa234b561"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ac4e7612-044f-4d73-9d44-5a463cbcd994'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ac4e7612-044f-4d73-9d44-5a463cbcd994'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "481ed2e2-df06-4837-9e6a-a6d72c80071e"]]
+ [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-19 20:31:43.826678"], ["updated_at", "2020-05-19 20:31:43.826678"], ["representative_id", "481ed2e2-df06-4837-9e6a-a6d72c80071e"], ["leaf_representative_id", "92e2f82c-c4c2-4f7b-bbad-0e5a0322f412"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '92e2f82c-c4c2-4f7b-bbad-0e5a0322f412'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '78402554-2936-4cfd-bdad-67390afeb508'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '78402554-2936-4cfd-bdad-67390afeb508'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0403a11f-2b4b-439b-9790-be0750872947"]]
+ [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-19 20:31:43.831056"], ["updated_at", "2020-05-19 20:31:43.831056"], ["representative_id", "0403a11f-2b4b-439b-9790-be0750872947"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cb5982c3-6f20-4ae1-9a4c-a1ac584a2978'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cb5982c3-6f20-4ae1-9a4c-a1ac584a2978'
+);
+[0m
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cb5982c3-6f20-4ae1-9a4c-a1ac584a2978"]]
+ [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-19 20:31:43.836170"], ["updated_at", "2020-05-19 20:31:43.836170"], ["representative_id", "cb5982c3-6f20-4ae1-9a4c-a1ac584a2978"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '82286f97-fe0c-4aa6-adc7-8113f1a0668c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '82286f97-fe0c-4aa6-adc7-8113f1a0668c'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cb5982c3-6f20-4ae1-9a4c-a1ac584a2978"]]
+ [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-19 20:31:43.840719"], ["updated_at", "2020-05-19 20:31:43.840719"], ["representative_id", "cb5982c3-6f20-4ae1-9a4c-a1ac584a2978"], ["leaf_representative_id", "cf08f81d-ecee-439f-9b72-3f8518459505"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'cf08f81d-ecee-439f-9b72-3f8518459505'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6d761762-4f6d-4fd9-aee0-37c80832b1be'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6d761762-4f6d-4fd9-aee0-37c80832b1be'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "481ed2e2-df06-4837-9e6a-a6d72c80071e"]]
+ [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-19 20:31:43.844659"], ["representative_id", "481ed2e2-df06-4837-9e6a-a6d72c80071e"], ["leaf_representative_id", "92e2f82c-c4c2-4f7b-bbad-0e5a0322f412"], ["id", "0403a11f-2b4b-439b-9790-be0750872947"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '92e2f82c-c4c2-4f7b-bbad-0e5a0322f412'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0403a11f-2b4b-439b-9790-be0750872947'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0403a11f-2b4b-439b-9790-be0750872947'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "0403a11f-2b4b-439b-9790-be0750872947"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "cb5982c3-6f20-4ae1-9a4c-a1ac584a2978"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "82286f97-fe0c-4aa6-adc7-8113f1a0668c"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "6d761762-4f6d-4fd9-aee0-37c80832b1be"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ac4e7612-044f-4d73-9d44-5a463cbcd994"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e00d9ace-46d9-4feb-9fec-423fa234b561"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.859651"], ["updated_at", "2020-05-19 20:31:43.859651"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:31:43.862461"], ["updated_at", "2020-05-19 20:31:43.862461"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"]]
+ [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-19 20:31:43.867111"], ["updated_at", "2020-05-19 20:31:43.867111"], ["representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (2.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '87bbf1af-a16c-4dde-b57c-f1592d44ba6f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '87bbf1af-a16c-4dde-b57c-f1592d44ba6f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "970f34f1-9049-4ce4-b800-ebbc35ad2d14"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.874518"], ["updated_at", "2020-05-19 20:31:43.874518"], ["representative_id", "970f34f1-9049-4ce4-b800-ebbc35ad2d14"], ["leaf_representative_id", "970f34f1-9049-4ce4-b800-ebbc35ad2d14"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '970f34f1-9049-4ce4-b800-ebbc35ad2d14'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '80539e40-3f6c-4f15-ad20-c490e4b3da47'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '80539e40-3f6c-4f15-ad20-c490e4b3da47'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "87bbf1af-a16c-4dde-b57c-f1592d44ba6f"]]
+ [1m[36mKithe::Work Create (2.4ms)[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-19 20:31:43.879090"], ["updated_at", "2020-05-19 20:31:43.879090"], ["representative_id", "87bbf1af-a16c-4dde-b57c-f1592d44ba6f"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (3.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '866c8e42-0ec3-49c7-aa1d-cb5a8f727f8b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '866c8e42-0ec3-49c7-aa1d-cb5a8f727f8b'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "87bbf1af-a16c-4dde-b57c-f1592d44ba6f"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.888286"], ["updated_at", "2020-05-19 20:31:43.888286"], ["representative_id", "87bbf1af-a16c-4dde-b57c-f1592d44ba6f"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e4198faf-a871-4a27-8dcf-8c27bad06904'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e4198faf-a871-4a27-8dcf-8c27bad06904'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "80539e40-3f6c-4f15-ad20-c490e4b3da47"]]
+ [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-19 20:31:43.892145"], ["updated_at", "2020-05-19 20:31:43.892145"], ["representative_id", "80539e40-3f6c-4f15-ad20-c490e4b3da47"], ["leaf_representative_id", "970f34f1-9049-4ce4-b800-ebbc35ad2d14"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '970f34f1-9049-4ce4-b800-ebbc35ad2d14'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'be5c0ebf-e842-4d66-b874-0779935891f2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'be5c0ebf-e842-4d66-b874-0779935891f2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "866c8e42-0ec3-49c7-aa1d-cb5a8f727f8b"]]
+ [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-19 20:31:43.896097"], ["updated_at", "2020-05-19 20:31:43.896097"], ["representative_id", "866c8e42-0ec3-49c7-aa1d-cb5a8f727f8b"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bd23ff76-a57f-4124-92a6-98edaa03ff0a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bd23ff76-a57f-4124-92a6-98edaa03ff0a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "bd23ff76-a57f-4124-92a6-98edaa03ff0a"]]
+ [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-19 20:31:43.900535"], ["updated_at", "2020-05-19 20:31:43.900535"], ["representative_id", "bd23ff76-a57f-4124-92a6-98edaa03ff0a"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '24c96be5-51f2-46c1-872d-42262ce57ec8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '24c96be5-51f2-46c1-872d-42262ce57ec8'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "bd23ff76-a57f-4124-92a6-98edaa03ff0a"]]
+ [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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.905321"], ["updated_at", "2020-05-19 20:31:43.905321"], ["representative_id", "bd23ff76-a57f-4124-92a6-98edaa03ff0a"], ["leaf_representative_id", "d7ba1ac4-942c-4bb3-83ed-c7ca0c614f55"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd7ba1ac4-942c-4bb3-83ed-c7ca0c614f55'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '81e85567-f7b5-4906-b655-e20afbceeb7a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '81e85567-f7b5-4906-b655-e20afbceeb7a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "970f34f1-9049-4ce4-b800-ebbc35ad2d14"]]
+ [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-19 20:31:43.910071"], ["representative_id", "970f34f1-9049-4ce4-b800-ebbc35ad2d14"], ["leaf_representative_id", "970f34f1-9049-4ce4-b800-ebbc35ad2d14"], ["id", "87bbf1af-a16c-4dde-b57c-f1592d44ba6f"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '970f34f1-9049-4ce4-b800-ebbc35ad2d14'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '87bbf1af-a16c-4dde-b57c-f1592d44ba6f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '87bbf1af-a16c-4dde-b57c-f1592d44ba6f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "866c8e42-0ec3-49c7-aa1d-cb5a8f727f8b"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e4198faf-a871-4a27-8dcf-8c27bad06904"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "bd23ff76-a57f-4124-92a6-98edaa03ff0a"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "24c96be5-51f2-46c1-872d-42262ce57ec8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "81e85567-f7b5-4906-b655-e20afbceeb7a"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.923138"], ["updated_at", "2020-05-19 20:31:43.923138"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "66e2917b-36a4-4d22-8d17-0bd6300787f5"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.926246"], ["updated_at", "2020-05-19 20:31:43.926246"], ["representative_id", "66e2917b-36a4-4d22-8d17-0bd6300787f5"], ["leaf_representative_id", "66e2917b-36a4-4d22-8d17-0bd6300787f5"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '66e2917b-36a4-4d22-8d17-0bd6300787f5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c82efad5-240a-4ccf-8635-b135f3a437c5'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c82efad5-240a-4ccf-8635-b135f3a437c5'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c82efad5-240a-4ccf-8635-b135f3a437c5"]]
+ [1m[36mKithe::Collection Create (0.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", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:31:43.930254"], ["updated_at", "2020-05-19 20:31:43.930254"], ["representative_id", "c82efad5-240a-4ccf-8635-b135f3a437c5"], ["leaf_representative_id", "66e2917b-36a4-4d22-8d17-0bd6300787f5"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '66e2917b-36a4-4d22-8d17-0bd6300787f5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '71c836ce-139c-44f0-89b2-00ac4353d6b0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '71c836ce-139c-44f0-89b2-00ac4353d6b0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "66e2917b-36a4-4d22-8d17-0bd6300787f5"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:43.953452"], ["updated_at", "2020-05-19 20:31:43.953452"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f0e5248d-718f-4d7e-81db-6d4d74335c92"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.957001"], ["updated_at", "2020-05-19 20:31:43.957001"], ["representative_id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"], ["leaf_representative_id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f0e5248d-718f-4d7e-81db-6d4d74335c92'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2e46ba05-631b-40bf-b08f-b88378918362'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2e46ba05-631b-40bf-b08f-b88378918362'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"]]
+ [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", "f0e5248d-718f-4d7e-81db-6d4d74335c92"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f0e5248d-718f-4d7e-81db-6d4d74335c92'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f0e5248d-718f-4d7e-81db-6d4d74335c92'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f0e5248d-718f-4d7e-81db-6d4d74335c92"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2e46ba05-631b-40bf-b08f-b88378918362"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.973920"], ["updated_at", "2020-05-19 20:31:43.973920"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0befe105-2964-4a43-9871-f242482f1cc3"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:43.977268"], ["updated_at", "2020-05-19 20:31:43.977268"], ["representative_id", "0befe105-2964-4a43-9871-f242482f1cc3"], ["leaf_representative_id", "0befe105-2964-4a43-9871-f242482f1cc3"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0befe105-2964-4a43-9871-f242482f1cc3'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '8a834589-e103-4dd9-b03c-f3623512449e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '8a834589-e103-4dd9-b03c-f3623512449e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "8a834589-e103-4dd9-b03c-f3623512449e"]]
+ [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-19 20:31:43.982101"], ["updated_at", "2020-05-19 20:31:43.982101"], ["representative_id", "8a834589-e103-4dd9-b03c-f3623512449e"], ["leaf_representative_id", "0befe105-2964-4a43-9871-f242482f1cc3"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0befe105-2964-4a43-9871-f242482f1cc3'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd798c91f-9b21-44f7-8582-adaba5d05a45'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd798c91f-9b21-44f7-8582-adaba5d05a45'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (1.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "8a834589-e103-4dd9-b03c-f3623512449e"]]
+ [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", "8a834589-e103-4dd9-b03c-f3623512449e"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "8a834589-e103-4dd9-b03c-f3623512449e"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '8a834589-e103-4dd9-b03c-f3623512449e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '8a834589-e103-4dd9-b03c-f3623512449e'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "8a834589-e103-4dd9-b03c-f3623512449e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d798c91f-9b21-44f7-8582-adaba5d05a45"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:43.997686"], ["updated_at", "2020-05-19 20:31:43.997686"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "88a76644-94a1-4a61-a7a0-b14bd9a45321"]]
+ [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-19 20:31:44.001476"], ["updated_at", "2020-05-19 20:31:44.001476"], ["representative_id", "88a76644-94a1-4a61-a7a0-b14bd9a45321"], ["leaf_representative_id", "88a76644-94a1-4a61-a7a0-b14bd9a45321"], ["kithe_model_type", 1]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '88a76644-94a1-4a61-a7a0-b14bd9a45321'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '51098f6a-2788-44fb-812b-4c42f164b7cc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '51098f6a-2788-44fb-812b-4c42f164b7cc'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "51098f6a-2788-44fb-812b-4c42f164b7cc"]]
+ [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-19 20:31:44.007897"], ["updated_at", "2020-05-19 20:31:44.007897"], ["representative_id", "51098f6a-2788-44fb-812b-4c42f164b7cc"], ["leaf_representative_id", "88a76644-94a1-4a61-a7a0-b14bd9a45321"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '88a76644-94a1-4a61-a7a0-b14bd9a45321'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '66d6f749-76db-4caf-9d0e-c2675f5bd54b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '66d6f749-76db-4caf-9d0e-c2675f5bd54b'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "88a76644-94a1-4a61-a7a0-b14bd9a45321"]]
+ [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", "88a76644-94a1-4a61-a7a0-b14bd9a45321"]]
+ [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", "88a76644-94a1-4a61-a7a0-b14bd9a45321"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '88a76644-94a1-4a61-a7a0-b14bd9a45321'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '88a76644-94a1-4a61-a7a0-b14bd9a45321'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "88a76644-94a1-4a61-a7a0-b14bd9a45321"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "66d6f749-76db-4caf-9d0e-c2675f5bd54b"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "51098f6a-2788-44fb-812b-4c42f164b7cc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:44.023105"], ["updated_at", "2020-05-19 20:31:44.023105"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:44.029961"], ["updated_at", "2020-05-19 20:31:44.029961"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:31:44.032895"], ["updated_at", "2020-05-19 20:31:44.032895"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.036360"], ["parent_id", "5ddd5ef3-3556-46c3-b450-aeb478e12724"], ["id", "621c1f68-e777-4e5b-9f93-1347a297c51c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5) AND "kithe_models"."id" = $6 LIMIT $7[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "621c1f68-e777-4e5b-9f93-1347a297c51c"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "5ddd5ef3-3556-46c3-b450-aeb478e12724"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:44.047202"], ["updated_at", "2020-05-19 20:31:44.047202"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.050271"], ["updated_at", "2020-05-19 20:31:44.050271"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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-19 20:31:44.053306"], ["parent_id", "5a2eaa2f-df79-42c1-a195-70f7199603f7"], ["id", "c4346235-4508-4b86-a7a6-cfc4c992eadc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c4346235-4508-4b86-a7a6-cfc4c992eadc"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "5a2eaa2f-df79-42c1-a195-70f7199603f7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 20:31:44.062540"], ["updated_at", "2020-05-19 20:31:44.062540"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:31:44.066000"], ["updated_at", "2020-05-19 20:31:44.066000"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (1.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-19 20:31:44.074176"], ["updated_at", "2020-05-19 20:31:44.074176"], ["kithe_model_type", 0]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d623060f-4b14-4b0b-99a3-2120d16fb16a"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:31:44.090368"], ["updated_at", "2020-05-19 20:31:44.090368"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "e36b717e-1fa7-410c-9c49-ad7b6e0a0cae"], ["container_id", "d623060f-4b14-4b0b-99a3-2120d16fb16a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass 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", "title"], ["type", "TestWorkSubclass"], ["json_attributes", "{\"authors\":[\"Bob\",\"Joe\"]}"], ["created_at", "2020-05-19 20:31:44.109370"], ["updated_at", "2020-05-19 20:31:44.109370"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "1f63e3ba-90b7-494a-8d70-05da37d48be2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Create (0.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", "MyAsset"], ["created_at", "2020-05-19 20:31:44.136372"], ["updated_at", "2020-05-19 20:31:44.136372"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.139261"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "34b06d04-7e2f-4cd4-83a8-47676959f640"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] Performing Kithe::AssetPromoteJob (Job ID: e2413e00-fb5c-489c-b07c-cdc84f5c87fe) from Inline(default) enqueued at 2020-05-19T20:31:44Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "34b06d04-7e2f-4cd4-83a8-47676959f640", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] [1m[36mMyAsset 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", "MyAsset"], ["id", "34b06d04-7e2f-4cd4-83a8-47676959f640"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] [1m[35m (15.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] [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", "34b06d04-7e2f-4cd4-83a8-47676959f640"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] [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/34b06d04-7e2f-4cd4-83a8-47676959f640/351e7b069088cbf214d04c9d6a2337aa.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:31:44.241238"], ["id", "34b06d04-7e2f-4cd4-83a8-47676959f640"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e2413e00-fb5c-489c-b07c-cdc84f5c87fe] Performed Kithe::AssetPromoteJob (Job ID: e2413e00-fb5c-489c-b07c-cdc84f5c87fe) from Inline(default) in 101.67ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e2413e00-fb5c-489c-b07c-cdc84f5c87fe) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "34b06d04-7e2f-4cd4-83a8-47676959f640", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [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", "34b06d04-7e2f-4cd4-83a8-47676959f640"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset 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", "MyAsset"], ["created_at", "2020-05-19 20:31:44.266924"], ["updated_at", "2020-05-19 20:31:44.266924"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.270413"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] Performing Kithe::AssetPromoteJob (Job ID: 8a3e656b-06b2-4cf7-951b-12ccbde6075e) from Inline(default) enqueued at 2020-05-19T20:31:44Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] [1m[36mMyAsset 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", "MyAsset"], ["id", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] [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", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] [1m[36mMyAsset 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/36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5/54f0edff12d8cfbaf192688e24496d13.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-19 20:31:44.329380"], ["id", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8a3e656b-06b2-4cf7-951b-12ccbde6075e] Performed Kithe::AssetPromoteJob (Job ID: 8a3e656b-06b2-4cf7-951b-12ccbde6075e) from Inline(default) in 58.1ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8a3e656b-06b2-4cf7-951b-12ccbde6075e) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "36d5ca96-fa2a-45f1-b09d-37c8f7cfa4b5", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.403559"], ["updated_at", "2020-05-19 20:31:44.403559"], ["file_data", "{\"id\":\"asset/000145740f6f7d34c1414fba52e50466.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:31:44.443820"], ["file_data", "{\"id\":\"asset/a2483155-cda6-40b6-9464-5bc24b691d81/eb8c562d5a0045559fe4191a150a8268.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "a2483155-cda6-40b6-9464-5bc24b691d81"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "a2483155-cda6-40b6-9464-5bc24b691d81"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.497803"], ["updated_at", "2020-05-19 20:31:44.497803"], ["file_data", "{\"id\":\"asset/42dec6bf8082730fdba51c790a1123fc.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "89207dd3-28ca-4134-9890-8603fa7252bd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.552524"], ["updated_at", "2020-05-19 20:31:44.552524"], ["file_data", "{\"id\":\"asset/65091c3ccb98a4521e3471c42a21e4bd.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.601844"], ["file_data", "{\"id\":\"asset/8c99cc7f-dc6f-4c13-b007-23c7524516cf/aefc9ae119636b775d9328aa05152a41.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "8c99cc7f-dc6f-4c13-b007-23c7524516cf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "8c99cc7f-dc6f-4c13-b007-23c7524516cf"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "8c99cc7f-dc6f-4c13-b007-23c7524516cf"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.638984"], ["file_data", "{\"id\":\"asset/8c99cc7f-dc6f-4c13-b007-23c7524516cf/aefc9ae119636b775d9328aa05152a41.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\":\"8c99cc7f-dc6f-4c13-b007-23c7524516cf/test/739de29cd13e5f7818868f570ebf6d33.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u2wo0zhtn_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "8c99cc7f-dc6f-4c13-b007-23c7524516cf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.660873"], ["updated_at", "2020-05-19 20:31:44.660873"], ["file_data", "{\"id\":\"asset/0d7c02ef46b07a13ef6885011442fa71.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.664548"], ["file_data", "{\"id\":\"asset/d2980580-693b-4015-989f-595f22ad6c39/fe1378ef297a049281a5e864a5a5fd42.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d2980580-693b-4015-989f-595f22ad6c39"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d2980580-693b-4015-989f-595f22ad6c39"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.720267"], ["updated_at", "2020-05-19 20:31:44.720267"], ["file_data", "{\"id\":\"asset/328e118a6346a4dea9cfabf5723b5d64.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.725506"], ["file_data", "{\"id\":\"asset/b5e699d1-6dda-4b3d-af27-91d97c4394c3/9bce1aca06b3c8768bd4682e65890c50.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b5e699d1-6dda-4b3d-af27-91d97c4394c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:44.745156"], ["updated_at", "2020-05-19 20:31:44.745156"], ["file_data", "{\"id\":\"asset/7eb0f074f86ed649697229adf7bebccf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.749081"], ["file_data", "{\"id\":\"asset/eee7d2bd-97cf-414d-a261-c4007fa6b053/224f18497f2ca04956e90a63b41a0379.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "eee7d2bd-97cf-414d-a261-c4007fa6b053"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 20:31:44.768672"], ["updated_at", "2020-05-19 20:31:44.768672"], ["file_data", "{\"id\":\"asset/bd4a2ad49d966c8576a132415b768971.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.774037"], ["file_data", "{\"id\":\"asset/5a5b7e84-40e3-4cd4-ad1a-9b471a38e9bf/1b4366b7703e159ad575d35168e5e46a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5a5b7e84-40e3-4cd4-ad1a-9b471a38e9bf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.792388"], ["updated_at", "2020-05-19 20:31:44.792388"], ["file_data", "{\"id\":\"asset/954b52ad66a8d1dec6e02170b0b70e4f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.795582"], ["file_data", "{\"id\":\"asset/03f55816-a4e5-4eb0-b9d5-07a49a6e675c/62b10b73f87a7d9a3892028ecc8e7f02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "03f55816-a4e5-4eb0-b9d5-07a49a6e675c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "03f55816-a4e5-4eb0-b9d5-07a49a6e675c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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", "CustomAsset"], ["created_at", "2020-05-19 20:31:44.879068"], ["updated_at", "2020-05-19 20:31:44.879068"], ["file_data", "{\"id\":\"asset/0237000e287dc9bc1faf1cd068f81eac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.884437"], ["file_data", "{\"id\":\"asset/74203734-4b62-46be-a7b2-67db7605e7ed/0666509197fe0b0e849b0d0e2ce114cf.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "74203734-4b62-46be-a7b2-67db7605e7ed"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "74203734-4b62-46be-a7b2-67db7605e7ed"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:31:44.933951"], ["updated_at", "2020-05-19 20:31:44.933951"], ["file_data", "{\"id\":\"asset/94eb258de79888c2fd2c32bf23a0bcf9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:44.939485"], ["file_data", "{\"id\":\"asset/6ffcc62b-57b5-4675-83ca-e9375f78dc19/cc583bde70385c247574ebd57288ed3c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6ffcc62b-57b5-4675-83ca-e9375f78dc19"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "6ffcc62b-57b5-4675-83ca-e9375f78dc19"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:44.993442"], ["updated_at", "2020-05-19 20:31:44.993442"], ["file_data", "{\"id\":\"asset/7a5021001a5675aba520d7dd4c7c4e29.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:44.997081"], ["file_data", "{\"id\":\"asset/8986b90c-1134-47b1-b2ea-ef769e56a9f1/e083eace2089d24bc0192d04bb8530fa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8986b90c-1134-47b1-b2ea-ef769e56a9f1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "8986b90c-1134-47b1-b2ea-ef769e56a9f1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.089400"], ["updated_at", "2020-05-19 20:31:45.089400"], ["file_data", "{\"id\":\"asset/6780dbc269d93b651d9650e902f6df01.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.094139"], ["file_data", "{\"id\":\"asset/64a8f147-9812-4ba8-8b81-38ee8b590b93/e3f3b7462d3c2cef12c60e32624cea23.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "64a8f147-9812-4ba8-8b81-38ee8b590b93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "64a8f147-9812-4ba8-8b81-38ee8b590b93"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:45.181847"], ["updated_at", "2020-05-19 20:31:45.181847"], ["file_data", "{\"id\":\"asset/2820050251ffa039e54e21dd2bbac25d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.186759"], ["file_data", "{\"id\":\"asset/fd512ca3-97b1-42e7-94d9-a16fa1aa145e/0c11a45a0d98938d1478946e8176ceab.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "fd512ca3-97b1-42e7-94d9-a16fa1aa145e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "fd512ca3-97b1-42e7-94d9-a16fa1aa145e"], ["LIMIT", 1]]
+ [1m[35m (34.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:45.311656"], ["updated_at", "2020-05-19 20:31:45.311656"], ["file_data", "{\"id\":\"asset/0350b0312fdb279ea31ba5719fa51d78.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.315368"], ["file_data", "{\"id\":\"asset/86cbf0bd-7375-4a2a-bdf1-816c6ef496a0/2e10a6a8a2063752735f88d50d452c25.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "86cbf0bd-7375-4a2a-bdf1-816c6ef496a0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "86cbf0bd-7375-4a2a-bdf1-816c6ef496a0"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.402776"], ["updated_at", "2020-05-19 20:31:45.402776"], ["file_data", "{\"id\":\"asset/15b5e44df9fc97ebcc0c09bf253ccc03.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.408402"], ["file_data", "{\"id\":\"asset/261517fe-5ed1-475a-969f-d3173bcabb96/5379cad13b63eb632732a05d3486811d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "261517fe-5ed1-475a-969f-d3173bcabb96"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "261517fe-5ed1-475a-969f-d3173bcabb96"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:31:45.463119"], ["updated_at", "2020-05-19 20:31:45.463119"], ["file_data", "{\"id\":\"asset/4999f9722a483c17aaa0a7f69fbb2eb5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.467758"], ["file_data", "{\"id\":\"asset/d18a7c1b-0c22-4158-a4f6-fc5d8872d73f/b8bdbedb61be6ccc51030b8050aa51a6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d18a7c1b-0c22-4158-a4f6-fc5d8872d73f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "d18a7c1b-0c22-4158-a4f6-fc5d8872d73f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:31:45.522476"], ["updated_at", "2020-05-19 20:31:45.522476"], ["file_data", "{\"id\":\"asset/bf20407b1284c1237032492822c89da8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.526384"], ["file_data", "{\"id\":\"asset/7934e117-a138-4c6f-beb8-1a45c89a92c2/25684c24f265978d9b4462be9e052e1c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.564486"], ["file_data", "{\"id\":\"asset/7934e117-a138-4c6f-beb8-1a45c89a92c2/25684c24f265978d9b4462be9e052e1c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"7934e117-a138-4c6f-beb8-1a45c89a92c2/some_data/3c3c68e4f9d3c6cf2806bb4f68e9f5e3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"vomtlifdz_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.612723"], ["file_data", "{\"id\":\"asset/7934e117-a138-4c6f-beb8-1a45c89a92c2/25684c24f265978d9b4462be9e052e1c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"7934e117-a138-4c6f-beb8-1a45c89a92c2/some_data/3c3c68e4f9d3c6cf2806bb4f68e9f5e3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"vomtlifdz_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"7934e117-a138-4c6f-beb8-1a45c89a92c2/a_jpg/358ea5fe36332b867849b4c82f03e604.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"vomtlifdz_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7934e117-a138-4c6f-beb8-1a45c89a92c2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.644933"], ["updated_at", "2020-05-19 20:31:45.644933"], ["file_data", "{\"id\":\"asset/255490f46b1713029821084a436947ac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.648089"], ["file_data", "{\"id\":\"asset/15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20/3de9f04c639e22149e8bd2ae63b8938c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20"]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.659754"], ["file_data", "{\"id\":\"asset/15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20/3de9f04c639e22149e8bd2ae63b8938c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20/sample/1fb4c697e8fe5d2bf9ac1d72476446c5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"opvzzjxq0_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "15de9b3b-b41c-4a3f-b5aa-a4c28ddb7e20"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.669181"], ["updated_at", "2020-05-19 20:31:45.669181"], ["file_data", "{\"id\":\"asset/22a94cd68c1eb68d1d8490be81d2ca26.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.675425"], ["file_data", "{\"id\":\"asset/2f7d274b-893d-4c54-8a81-e863ff8002af/aa293d4282c2c008be5aa0778248929d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2f7d274b-893d-4c54-8a81-e863ff8002af"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2f7d274b-893d-4c54-8a81-e863ff8002af"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2f7d274b-893d-4c54-8a81-e863ff8002af"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.683585"], ["file_data", "{\"id\":\"asset/2f7d274b-893d-4c54-8a81-e863ff8002af/aa293d4282c2c008be5aa0778248929d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"2f7d274b-893d-4c54-8a81-e863ff8002af/sample/df702cfdf697f3834c8562bf9602d8c2.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mzn5pmzxr_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "2f7d274b-893d-4c54-8a81-e863ff8002af"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:45.690728"], ["updated_at", "2020-05-19 20:31:45.690728"], ["file_data", "{\"id\":\"asset/f5920e4f244f7282dc22f37cdfce7c9e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.695927"], ["file_data", "{\"id\":\"asset/557c8225-d0fa-44cd-a083-c7e89b13d44c/cfc3899ff9e8ddb0a0e8c1c37675b286.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "557c8225-d0fa-44cd-a083-c7e89b13d44c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "557c8225-d0fa-44cd-a083-c7e89b13d44c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.3ms)[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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "557c8225-d0fa-44cd-a083-c7e89b13d44c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.706603"], ["file_data", "{\"id\":\"asset/557c8225-d0fa-44cd-a083-c7e89b13d44c/cfc3899ff9e8ddb0a0e8c1c37675b286.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"557c8225-d0fa-44cd-a083-c7e89b13d44c/sample/2a5c0d39339a86c08404bf6f908d78f2.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"t5ox20fpl_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "557c8225-d0fa-44cd-a083-c7e89b13d44c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "557c8225-d0fa-44cd-a083-c7e89b13d44c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.713936"], ["updated_at", "2020-05-19 20:31:45.713936"], ["file_data", "{\"id\":\"asset/f6aa38dc54db5f0d24efe085aa359a1e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.718087"], ["file_data", "{\"id\":\"asset/b0ef9fed-aa82-40ef-b6e9-4856e11692bf/2e6f6246e87a4d530a7014fddbdf0783.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b0ef9fed-aa82-40ef-b6e9-4856e11692bf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b0ef9fed-aa82-40ef-b6e9-4856e11692bf"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b0ef9fed-aa82-40ef-b6e9-4856e11692bf"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.727898"], ["file_data", "{\"id\":\"asset/b0ef9fed-aa82-40ef-b6e9-4856e11692bf/2e6f6246e87a4d530a7014fddbdf0783.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"b0ef9fed-aa82-40ef-b6e9-4856e11692bf/sample/4c17d4f5c032cff329753048d307a20e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nyqtoeoe9_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "b0ef9fed-aa82-40ef-b6e9-4856e11692bf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b0ef9fed-aa82-40ef-b6e9-4856e11692bf"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:45.735720"], ["updated_at", "2020-05-19 20:31:45.735720"], ["file_data", "{\"id\":\"asset/33937893ff50182e426e9fe8e64a30db.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.740997"], ["file_data", "{\"id\":\"asset/dbd947bf-9c5c-4f53-af9b-a42ce6e4cc55/5961c05385a9e28ed80ef012ca94ce3c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "dbd947bf-9c5c-4f53-af9b-a42ce6e4cc55"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.746515"], ["updated_at", "2020-05-19 20:31:45.746515"], ["file_data", "{\"id\":\"asset/75d341a2617625a986f2bb0dc214df57.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.750549"], ["file_data", "{\"id\":\"asset/b1e608f2-8efc-4536-93c2-74307db6f35f/f5d8766eb62e046facdf83e0bb40e891.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b1e608f2-8efc-4536-93c2-74307db6f35f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b1e608f2-8efc-4536-93c2-74307db6f35f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b1e608f2-8efc-4536-93c2-74307db6f35f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:31:45.760089"], ["file_data", "{\"id\":\"asset/b1e608f2-8efc-4536-93c2-74307db6f35f/f5d8766eb62e046facdf83e0bb40e891.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"b1e608f2-8efc-4536-93c2-74307db6f35f/sample/08d8921dbd9a24a8fca309d8cf501a92.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dukodjj5j_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "b1e608f2-8efc-4536-93c2-74307db6f35f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b1e608f2-8efc-4536-93c2-74307db6f35f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.774975"], ["updated_at", "2020-05-19 20:31:45.774975"], ["file_data", "{\"id\":\"asset/c7828ff71b4635e772747f742dd6440f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.778396"], ["file_data", "{\"id\":\"asset/91ee7e96-fbd6-48e3-8ef2-99547ce02001/e8282d3e8ba99015a5a1b17438b18207.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "91ee7e96-fbd6-48e3-8ef2-99547ce02001"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "91ee7e96-fbd6-48e3-8ef2-99547ce02001"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.816929"], ["file_data", "{\"id\":\"asset/91ee7e96-fbd6-48e3-8ef2-99547ce02001/e8282d3e8ba99015a5a1b17438b18207.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"91ee7e96-fbd6-48e3-8ef2-99547ce02001/key/6e954df28372376eb25203a40ae7659a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3hqszdtbx_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "91ee7e96-fbd6-48e3-8ef2-99547ce02001"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "91ee7e96-fbd6-48e3-8ef2-99547ce02001"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.855547"], ["file_data", "{\"id\":\"asset/91ee7e96-fbd6-48e3-8ef2-99547ce02001/e8282d3e8ba99015a5a1b17438b18207.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"91ee7e96-fbd6-48e3-8ef2-99547ce02001/key/f64e1f8cd42b70b281acaf7570961cd5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3hqszdtbx_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "91ee7e96-fbd6-48e3-8ef2-99547ce02001"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.861646"], ["updated_at", "2020-05-19 20:31:45.861646"], ["file_data", "{\"id\":\"asset/e86de4c9261890d8ecef0f9d13c6a3fe.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.866574"], ["file_data", "{\"id\":\"asset/c47417a2-3333-46f9-8539-76cd67779036/b6d632564f01a49e6d8092e5dd7bc6cb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c47417a2-3333-46f9-8539-76cd67779036"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c47417a2-3333-46f9-8539-76cd67779036"]]
+ [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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c47417a2-3333-46f9-8539-76cd67779036"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (3.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c47417a2-3333-46f9-8539-76cd67779036"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:45.894514"], ["updated_at", "2020-05-19 20:31:45.894514"], ["file_data", "{\"id\":\"asset/5f697fb1f9d8880b0d21ccc2da5d9a84.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:45.898201"], ["file_data", "{\"id\":\"asset/5a3e51dd-bc19-4218-9094-c996e0629dd4/68ff2f03db174a5547fa878f9f141c5a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.0ms)[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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/5a3e51dd-bc19-4218-9094-c996e0629dd4/e38aee6aff19b01a1916e249e951c47d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:31:45.904230"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: c1d60cac-40ac-4ef0-80f2-89cbdea350a0) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/5a3e51dd-bc19-4218-9094-c996e0629dd4/68ff2f03db174a5547fa878f9f141c5a.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 137e86af-5f2f-4faa-a005-7f3a5af2ec6f) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "5a3e51dd-bc19-4218-9094-c996e0629dd4", "file", {"id"=>"asset/5a3e51dd-bc19-4218-9094-c996e0629dd4/e38aee6aff19b01a1916e249e951c47d.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a3e51dd-bc19-4218-9094-c996e0629dd4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:45.921723"], ["updated_at", "2020-05-19 20:31:45.921723"], ["file_data", "{\"id\":\"asset/6a326378460c0cca9f7c8ce02558cd20.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.925168"], ["file_data", "{\"id\":\"asset/7ff609e6-81ad-4012-91fc-658a52e36b19/c253bc3eccc46cde697431d71cdac1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7ff609e6-81ad-4012-91fc-658a52e36b19/c253bc3eccc46cde697431d71cdac1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"7ff609e6-81ad-4012-91fc-658a52e36b19/one/0788d263a344e373e75d5572525fbca7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xlvyuab35_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"7ff609e6-81ad-4012-91fc-658a52e36b19/two/4e4f42dbc6910e1be6f7eccc650deec3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xlvyuab35_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:31:45.930927"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.943907"], ["file_data", "{\"id\":\"asset/7ff609e6-81ad-4012-91fc-658a52e36b19/c253bc3eccc46cde697431d71cdac1a0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"7ff609e6-81ad-4012-91fc-658a52e36b19/one/0788d263a344e373e75d5572525fbca7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"xlvyuab35_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"7ff609e6-81ad-4012-91fc-658a52e36b19/two/0fb860b4551628a07d9b9e74b45506fb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xlvyuab35_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"7ff609e6-81ad-4012-91fc-658a52e36b19/three/94d88da34d4b50af2d65c10b878c3f07.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xlvyuab35_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "7ff609e6-81ad-4012-91fc-658a52e36b19"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:45.961799"], ["updated_at", "2020-05-19 20:31:45.961799"], ["file_data", "{\"id\":\"asset/839f22f1a0886579ebd832a070b561f0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:45.965438"], ["file_data", "{\"id\":\"asset/69552d1c-a5c2-477e-a3ec-de1c5059b746/05d35a89c0bb9af1849eefc55b94c5db.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "69552d1c-a5c2-477e-a3ec-de1c5059b746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "69552d1c-a5c2-477e-a3ec-de1c5059b746"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "69552d1c-a5c2-477e-a3ec-de1c5059b746"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.007547"], ["file_data", "{\"id\":\"asset/69552d1c-a5c2-477e-a3ec-de1c5059b746/05d35a89c0bb9af1849eefc55b94c5db.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"69552d1c-a5c2-477e-a3ec-de1c5059b746/one/1e24ad5be22ad4667aab1fc0dac7d14a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"p4latotnn_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"69552d1c-a5c2-477e-a3ec-de1c5059b746/original_reflected/92699deaa5e94249bb62ccbb78522d5a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"p4latotnn_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "69552d1c-a5c2-477e-a3ec-de1c5059b746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "69552d1c-a5c2-477e-a3ec-de1c5059b746"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.028209"], ["updated_at", "2020-05-19 20:31:46.028209"], ["file_data", "{\"id\":\"asset/4f3678f81a5eef519c06aab55b246c25.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.031618"], ["file_data", "{\"id\":\"asset/4f342efd-b71c-4e87-9544-8bfa24267c1c/3630a2b272977104879a4b0559fb60dc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4f342efd-b71c-4e87-9544-8bfa24267c1c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "4f342efd-b71c-4e87-9544-8bfa24267c1c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "4f342efd-b71c-4e87-9544-8bfa24267c1c"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.113628"], ["file_data", "{\"id\":\"asset/4f342efd-b71c-4e87-9544-8bfa24267c1c/3630a2b272977104879a4b0559fb60dc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"4f342efd-b71c-4e87-9544-8bfa24267c1c/options_one/68e5685826c28badf054d3a2682fb1cb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6rullkay6_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"4f342efd-b71c-4e87-9544-8bfa24267c1c/options_reflected/c14b09decd404bf3ce698562e55a5ca8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6rullkay6_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "4f342efd-b71c-4e87-9544-8bfa24267c1c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.132370"], ["updated_at", "2020-05-19 20:31:46.132370"], ["file_data", "{\"id\":\"asset/c31bec29d070c0c8c9fd4be716812177.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.137141"], ["file_data", "{\"id\":\"asset/075c7941-e6e7-4715-bb4e-beb2f3d7d024/c30edcd382f6efb3fff348a9ad8bc6ad.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "075c7941-e6e7-4715-bb4e-beb2f3d7d024"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "075c7941-e6e7-4715-bb4e-beb2f3d7d024"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "075c7941-e6e7-4715-bb4e-beb2f3d7d024"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.246488"], ["file_data", "{\"id\":\"asset/075c7941-e6e7-4715-bb4e-beb2f3d7d024/c30edcd382f6efb3fff348a9ad8bc6ad.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"075c7941-e6e7-4715-bb4e-beb2f3d7d024/options_one/22dd4460d118970b835bf5352d660a83.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gkctdf4c2_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"075c7941-e6e7-4715-bb4e-beb2f3d7d024/options_reflected/8ab561373f570edca13b9f22ecc15d39.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gkctdf4c2_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "075c7941-e6e7-4715-bb4e-beb2f3d7d024"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.264848"], ["updated_at", "2020-05-19 20:31:46.264848"], ["file_data", "{\"id\":\"asset/7d8523be56a99512efd9b93c364de992.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.269719"], ["file_data", "{\"id\":\"asset/41464717-5a32-4da3-b11d-20a0af214b53/5849e1e0df3bdcb8e943f1422d038f1e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "41464717-5a32-4da3-b11d-20a0af214b53"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "41464717-5a32-4da3-b11d-20a0af214b53"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "41464717-5a32-4da3-b11d-20a0af214b53"], ["LIMIT", 1]]
+ [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-19 20:31:46.343654"], ["file_data", "{\"id\":\"asset/41464717-5a32-4da3-b11d-20a0af214b53/5849e1e0df3bdcb8e943f1422d038f1e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"41464717-5a32-4da3-b11d-20a0af214b53/options_one/a819b5b3ea0278f279ac5aa995a6d01b.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"g8ktzskdk_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"41464717-5a32-4da3-b11d-20a0af214b53/options_reflected/021e0d8ed4efee80a9ba48f3b0fa9a00.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"g8ktzskdk_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "41464717-5a32-4da3-b11d-20a0af214b53"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.413850"], ["updated_at", "2020-05-19 20:31:46.413850"], ["file_data", "{\"id\":\"asset/f53a6c0477bcc36ad3f0386a5f0422d6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.417467"], ["file_data", "{\"id\":\"asset/7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3/bee509f0664c7ed42000a5953599851e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.488459"], ["file_data", "{\"id\":\"asset/7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3/bee509f0664c7ed42000a5953599851e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3/options_one/ee3e9a5a24c2df74ac35b1a1e2ba9666.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1yuoxk9a3_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3/options_reflected/400d6cbde1b4939d14027fdca47aa24a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1yuoxk9a3_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7fa8b829-04f1-4a7a-8dac-8817bc8bf7f3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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-19 20:31:46.507875"], ["updated_at", "2020-05-19 20:31:46.507875"], ["file_data", "{\"id\":\"asset/d3d2c06c09e10a30c9d29b6e8899c063.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.511472"], ["file_data", "{\"id\":\"asset/aed953fe-48c5-4a08-a5a4-bb6fae593083/d72415448faa9ceeea27959383bf40c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "aed953fe-48c5-4a08-a5a4-bb6fae593083"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "aed953fe-48c5-4a08-a5a4-bb6fae593083"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "aed953fe-48c5-4a08-a5a4-bb6fae593083"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.592863"], ["file_data", "{\"id\":\"asset/aed953fe-48c5-4a08-a5a4-bb6fae593083/d72415448faa9ceeea27959383bf40c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"aed953fe-48c5-4a08-a5a4-bb6fae593083/one/441fa2cb1acb82f2a0c46c3067f5fb03.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dijg7lpf2_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"aed953fe-48c5-4a08-a5a4-bb6fae593083/original_reflected/6483a1030aa6a3433a2d4cdb4ba9a89c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dijg7lpf2_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "aed953fe-48c5-4a08-a5a4-bb6fae593083"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.619730"], ["updated_at", "2020-05-19 20:31:46.619730"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:31:46.634172"], ["updated_at", "2020-05-19 20:31:46.634172"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:46.652633"], ["updated_at", "2020-05-19 20:31:46.652633"], ["file_data", "{\"id\":\"asset/1cb3e6d1aad5fbc61c896cb2fddb7724.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.657609"], ["file_data", "{\"id\":\"asset/588999dc-2116-4ec5-b333-1d93dbf8f9b2/1f563e6b427167c1ca616c4c54b32195.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "588999dc-2116-4ec5-b333-1d93dbf8f9b2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:46.678219"], ["updated_at", "2020-05-19 20:31:46.678219"], ["file_data", "{\"id\":\"asset/d0b32f8e9a1fe62864603e9f7869fac4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.681608"], ["file_data", "{\"id\":\"asset/381b5868-bfdf-4ba5-af33-3fcbd483e004/330d476e5407da4b809e51676d4da338.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "381b5868-bfdf-4ba5-af33-3fcbd483e004"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "381b5868-bfdf-4ba5-af33-3fcbd483e004"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "381b5868-bfdf-4ba5-af33-3fcbd483e004"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:31:46.737615"], ["file_data", "{\"id\":\"asset/381b5868-bfdf-4ba5-af33-3fcbd483e004/330d476e5407da4b809e51676d4da338.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"381b5868-bfdf-4ba5-af33-3fcbd483e004/one/7a671027560393427a0db4d37e003965.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1mc7uim29_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"381b5868-bfdf-4ba5-af33-3fcbd483e004/original_reflected/df277e5905402ad0ccfd6dc5c21276dd.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1mc7uim29_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "381b5868-bfdf-4ba5-af33-3fcbd483e004"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "381b5868-bfdf-4ba5-af33-3fcbd483e004"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:46.746416"], ["updated_at", "2020-05-19 20:31:46.746416"], ["file_data", "{\"id\":\"asset/70570411f254f92afcc703e30e8f798f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.750277"], ["file_data", "{\"id\":\"asset/ce7a4152-450b-4675-92ba-df157df3284d/e73c3b42a17f23ee9b9fad03c165bc4e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.827128"], ["file_data", "{\"id\":\"asset/ce7a4152-450b-4675-92ba-df157df3284d/e73c3b42a17f23ee9b9fad03c165bc4e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"ce7a4152-450b-4675-92ba-df157df3284d/sample1/a3f363cee8f0172c5e4a69e2252aacce.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ld33dgsmz_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"ce7a4152-450b-4675-92ba-df157df3284d/sample2/8d6732095e70bf49ccd27c93692a0375.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ld33dgsmz_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.832651"], ["file_data", "{\"id\":\"asset/ce7a4152-450b-4675-92ba-df157df3284d/e73c3b42a17f23ee9b9fad03c165bc4e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"ce7a4152-450b-4675-92ba-df157df3284d/sample2/8d6732095e70bf49ccd27c93692a0375.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ld33dgsmz_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ce7a4152-450b-4675-92ba-df157df3284d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:31:46.841861"], ["updated_at", "2020-05-19 20:31:46.841861"], ["file_data", "{\"id\":\"asset/1dfcc5ddee879f2610e4ff81a298f1c5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.845415"], ["file_data", "{\"id\":\"asset/a11bc767-de7a-4e65-8bfe-6b49ec3cb899/a3fb5aa8cba77432fa9d31bad8872ed0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.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", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.924679"], ["file_data", "{\"id\":\"asset/a11bc767-de7a-4e65-8bfe-6b49ec3cb899/a3fb5aa8cba77432fa9d31bad8872ed0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"a11bc767-de7a-4e65-8bfe-6b49ec3cb899/sample1/2c37b58470d67ebdd97a8f9dccf867c4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mu7is8tmg_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"a11bc767-de7a-4e65-8bfe-6b49ec3cb899/sample2/c4489262b75665f81fc7a522c1723088.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mu7is8tmg_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/a11bc767-de7a-4e65-8bfe-6b49ec3cb899/a3fb5aa8cba77432fa9d31bad8872ed0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"a11bc767-de7a-4e65-8bfe-6b49ec3cb899/sample2/c4489262b75665f81fc7a522c1723088.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"mu7is8tmg_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:31:46.929965"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:46.937830"], ["file_data", "{\"id\":\"asset/a11bc767-de7a-4e65-8bfe-6b49ec3cb899/a3fb5aa8cba77432fa9d31bad8872ed0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"a11bc767-de7a-4e65-8bfe-6b49ec3cb899/sample2/c4489262b75665f81fc7a522c1723088.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"mu7is8tmg_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "a11bc767-de7a-4e65-8bfe-6b49ec3cb899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:46.943651"], ["updated_at", "2020-05-19 20:31:46.943651"], ["file_data", "{\"id\":\"asset/27aecd9e03d3f70114c26988a8fbe620.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:46.947031"], ["file_data", "{\"id\":\"asset/5b6a3a36-1bd5-4687-b0b8-6697427ac39d/78b7f73674ce2e3dad6a1a1e039cb588.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.021520"], ["file_data", "{\"id\":\"asset/5b6a3a36-1bd5-4687-b0b8-6697427ac39d/78b7f73674ce2e3dad6a1a1e039cb588.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample1/3d418bfc85d10930bb818261b4618b3b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8w3dhiecy_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample2/14b93242d8e1dadd2b82c9dd169278fa.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8w3dhiecy_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5b6a3a36-1bd5-4687-b0b8-6697427ac39d/78b7f73674ce2e3dad6a1a1e039cb588.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample1/3d418bfc85d10930bb818261b4618b3b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"8w3dhiecy_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample2/14b93242d8e1dadd2b82c9dd169278fa.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"8w3dhiecy_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample3/a074eff1f203beb57921cc78414e3c8c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8w3dhiecy_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:31:47.063543"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.070676"], ["file_data", "{\"id\":\"asset/5b6a3a36-1bd5-4687-b0b8-6697427ac39d/78b7f73674ce2e3dad6a1a1e039cb588.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample2/14b93242d8e1dadd2b82c9dd169278fa.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"8w3dhiecy_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"5b6a3a36-1bd5-4687-b0b8-6697427ac39d/sample3/a074eff1f203beb57921cc78414e3c8c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"8w3dhiecy_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "5b6a3a36-1bd5-4687-b0b8-6697427ac39d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:31:47.081270"], ["updated_at", "2020-05-19 20:31:47.081270"], ["file_data", "{\"id\":\"asset/45d71ea4a3b226818b487a21f033d15c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.088244"], ["file_data", "{\"id\":\"asset/da77994e-eb6c-44de-8bc3-a95d16ab7849/732c0bab4d4102e75a5f7bc885850189.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.166026"], ["file_data", "{\"id\":\"asset/da77994e-eb6c-44de-8bc3-a95d16ab7849/732c0bab4d4102e75a5f7bc885850189.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"da77994e-eb6c-44de-8bc3-a95d16ab7849/sample1/47d162ee81401dab77fd2691ac886840.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"f1spe0wr8_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"da77994e-eb6c-44de-8bc3-a95d16ab7849/sample2/620257b50b83b9f2af89f4adac4ca3fb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"f1spe0wr8_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [1m[36mKithe::Model Load (3.0ms)[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", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [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", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'da77994e-eb6c-44de-8bc3-a95d16ab7849'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'da77994e-eb6c-44de-8bc3-a95d16ab7849'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 4e5e35bb-3cb5-45a6-a8b2-87090bf526d1) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/da77994e-eb6c-44de-8bc3-a95d16ab7849/732c0bab4d4102e75a5f7bc885850189.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"da77994e-eb6c-44de-8bc3-a95d16ab7849/sample1/47d162ee81401dab77fd2691ac886840.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"f1spe0wr8_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"da77994e-eb6c-44de-8bc3-a95d16ab7849/sample2/620257b50b83b9f2af89f4adac4ca3fb.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"f1spe0wr8_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "da77994e-eb6c-44de-8bc3-a95d16ab7849"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:31:47.187298"], ["updated_at", "2020-05-19 20:31:47.187298"], ["file_data", "{\"id\":\"asset/28877b13250d21aa123633df516fb5f4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.190661"], ["file_data", "{\"id\":\"asset/035bb0eb-8737-4098-9cdb-1f0d4aa85179/3f763db35b1f9227b3b2bbcd05cbe68b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "035bb0eb-8737-4098-9cdb-1f0d4aa85179"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "035bb0eb-8737-4098-9cdb-1f0d4aa85179"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "035bb0eb-8737-4098-9cdb-1f0d4aa85179"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.266650"], ["file_data", "{\"id\":\"asset/035bb0eb-8737-4098-9cdb-1f0d4aa85179/3f763db35b1f9227b3b2bbcd05cbe68b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"035bb0eb-8737-4098-9cdb-1f0d4aa85179/sample1/8bb028ae4f248156db18e90ff55a2129.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"k1vzq7y96_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"035bb0eb-8737-4098-9cdb-1f0d4aa85179/sample2/9dc49bdc1032b7d82c29b831b53d4f7e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"k1vzq7y96_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "035bb0eb-8737-4098-9cdb-1f0d4aa85179"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:31:47.272558"], ["updated_at", "2020-05-19 20:31:47.272558"], ["file_data", "{\"id\":\"asset/b6d6e05f4e4d4326633fa8000742fb1c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.276998"], ["file_data", "{\"id\":\"asset/63f6aa86-8538-4ea5-8352-a10311b03e60/d7993c8200232f790095d85cbb6b9764.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:31:47.349406"], ["file_data", "{\"id\":\"asset/63f6aa86-8538-4ea5-8352-a10311b03e60/d7993c8200232f790095d85cbb6b9764.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"63f6aa86-8538-4ea5-8352-a10311b03e60/sample1/bdf72af834ad0e2c488199990306a1ac.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pi4cat6aj_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"63f6aa86-8538-4ea5-8352-a10311b03e60/sample2/95776d20e5ce82695c23d2f1b85f675a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pi4cat6aj_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:31:47.354601"], ["file_data", "{\"id\":\"asset/63f6aa86-8538-4ea5-8352-a10311b03e60/d7993c8200232f790095d85cbb6b9764.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"63f6aa86-8538-4ea5-8352-a10311b03e60/sample2/95776d20e5ce82695c23d2f1b85f675a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"pi4cat6aj_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63f6aa86-8538-4ea5-8352-a10311b03e60"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:31:47.406615"], ["updated_at", "2020-05-19 20:31:47.406615"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (24.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:31:47.651887"], ["updated_at", "2020-05-19 20:31:47.651887"], ["kithe_model_type", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:31:47.674856"], ["updated_at", "2020-05-19 20:31:47.674856"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:31:47.694472"], ["updated_at", "2020-05-19 20:31:47.694472"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:31:47.763045"], ["updated_at", "2020-05-19 20:31:47.763045"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (10.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (7.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-19 20:35:47.043440"], ["updated_at", "2020-05-19 20:35:47.043440"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.090300"], ["updated_at", "2020-05-19 20:35:47.090300"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "b99e97a2-507c-49d9-9090-3c6048837917"]]
+ [1m[36mKithe::Model Load (1.0ms)[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", "b99e97a2-507c-49d9-9090-3c6048837917"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "b99e97a2-507c-49d9-9090-3c6048837917"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b99e97a2-507c-49d9-9090-3c6048837917'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b99e97a2-507c-49d9-9090-3c6048837917'
+);
+[0m
+ [1m[36mTestWork Destroy (2.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b99e97a2-507c-49d9-9090-3c6048837917"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:35:47.164403"], ["updated_at", "2020-05-19 20:35:47.164403"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.186411"], ["updated_at", "2020-05-19 20:35:47.186411"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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-19 20:35:47.201371"], ["updated_at", "2020-05-19 20:35:47.201371"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "9952e6b6-624e-4b1d-8e76-4b4579a2b1a3"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "9952e6b6-624e-4b1d-8e76-4b4579a2b1a3"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "9952e6b6-624e-4b1d-8e76-4b4579a2b1a3"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9952e6b6-624e-4b1d-8e76-4b4579a2b1a3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9952e6b6-624e-4b1d-8e76-4b4579a2b1a3'
+);
+[0m
+ [1m[36mTestWork Destroy (1.3ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "9952e6b6-624e-4b1d-8e76-4b4579a2b1a3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.234070"], ["updated_at", "2020-05-19 20:35:47.234070"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.249908"], ["updated_at", "2020-05-19 20:35:47.249908"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.254828"], ["updated_at", "2020-05-19 20:35:47.254828"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.278807"], ["updated_at", "2020-05-19 20:35:47.278807"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:47.282408"], ["updated_at", "2020-05-19 20:35:47.282408"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.304220"], ["updated_at", "2020-05-19 20:35:47.304220"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.310574"], ["updated_at", "2020-05-19 20:35:47.310574"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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-19 20:35:47.329681"], ["updated_at", "2020-05-19 20:35:47.329681"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.347768"], ["updated_at", "2020-05-19 20:35:47.347768"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.350322"], ["updated_at", "2020-05-19 20:35:47.350322"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (60.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", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:35:47.366072"], ["updated_at", "2020-05-19 20:35:47.366072"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:47.428965"], ["updated_at", "2020-05-19 20:35:47.428965"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.464593"], ["updated_at", "2020-05-19 20:35:47.464593"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.502815"], ["updated_at", "2020-05-19 20:35:47.502815"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:47.542452"], ["updated_at", "2020-05-19 20:35:47.542452"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:35:47.587845"], ["updated_at", "2020-05-19 20:35:47.587845"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "d62464aa-1ff8-4d7c-8d26-843764b599cc"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:47.630131"], ["updated_at", "2020-05-19 20:35:47.630131"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:47.734929"], ["updated_at", "2020-05-19 20:35:47.734929"], ["file_data", "{\"id\":\"asset/b4346480c644a34dc2b7aa7a8c14f133.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] Performing Kithe::AssetPromoteJob (Job ID: 6471ece8-2f28-4c06-be88-bb45a118a391) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a", "file", {"id"=>"asset/b4346480c644a34dc2b7aa7a8c14f133.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [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", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [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", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [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/e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a/8acedc80036545d02a64cbbe04b2ec81.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.759222"], ["id", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [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", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] Performing Kithe::CreateDerivativesJob (Job ID: 89cabce2-5592-4a00-9d1d-22fcee5fc81b) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabe559da0 @uri=#<URI::GID gid://dummy/CustomAsset/e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] [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", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] [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/e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a/8acedc80036545d02a64cbbe04b2ec81.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a/fixed/cc6d1a832652cda9e5b35eaca3a3783d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"v9djmq73c_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.771302"], ["id", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] [Kithe::CreateDerivativesJob] [89cabce2-5592-4a00-9d1d-22fcee5fc81b] Performed Kithe::CreateDerivativesJob (Job ID: 89cabce2-5592-4a00-9d1d-22fcee5fc81b) from Inline(default) in 8.32ms
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] Enqueued Kithe::CreateDerivativesJob (Job ID: 89cabce2-5592-4a00-9d1d-22fcee5fc81b) to Inline(default) with arguments: #<GlobalID:0x00007fbaba31ade0 @uri=#<URI::GID gid://dummy/CustomAsset/e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6471ece8-2f28-4c06-be88-bb45a118a391] Performed Kithe::AssetPromoteJob (Job ID: 6471ece8-2f28-4c06-be88-bb45a118a391) from Inline(default) in 24.09ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6471ece8-2f28-4c06-be88-bb45a118a391) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a", "file", {"id"=>"asset/b4346480c644a34dc2b7aa7a8c14f133.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e9c59fb8-4b71-4c6b-9be1-c0f8bef8992a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:47.791479"], ["updated_at", "2020-05-19 20:35:47.791479"], ["file_data", "{\"id\":\"asset/97c155cb98eaee72a2342a679888d06c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] Performing Kithe::AssetPromoteJob (Job ID: 6d553d3c-93b3-4d06-8bc7-a5ade3b5f030) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "30c6cd41-f5ca-4160-a255-eda1f712fc66", "file", {"id"=>"asset/97c155cb98eaee72a2342a679888d06c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [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", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [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", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [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/30c6cd41-f5ca-4160-a255-eda1f712fc66/5de654344362b791f73b56e6051d5890.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.800079"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [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", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] Performing Kithe::CreateDerivativesJob (Job ID: 021c27c3-197c-4baa-9153-bb0bdbf70e1a) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabe47ba50 @uri=#<URI::GID gid://dummy/CustomAsset/30c6cd41-f5ca-4160-a255-eda1f712fc66>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] [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", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] [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/30c6cd41-f5ca-4160-a255-eda1f712fc66/5de654344362b791f73b56e6051d5890.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"30c6cd41-f5ca-4160-a255-eda1f712fc66/fixed/e9764fbef1fb54a30210a3467ddaf2f7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9wb6hjf59_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.808941"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] [Kithe::CreateDerivativesJob] [021c27c3-197c-4baa-9153-bb0bdbf70e1a] Performed Kithe::CreateDerivativesJob (Job ID: 021c27c3-197c-4baa-9153-bb0bdbf70e1a) from Inline(default) in 6.56ms
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] Enqueued Kithe::CreateDerivativesJob (Job ID: 021c27c3-197c-4baa-9153-bb0bdbf70e1a) to Inline(default) with arguments: #<GlobalID:0x00007fbabdce6150 @uri=#<URI::GID gid://dummy/CustomAsset/30c6cd41-f5ca-4160-a255-eda1f712fc66>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6d553d3c-93b3-4d06-8bc7-a5ade3b5f030] Performed Kithe::AssetPromoteJob (Job ID: 6d553d3c-93b3-4d06-8bc7-a5ade3b5f030) from Inline(default) in 14.94ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6d553d3c-93b3-4d06-8bc7-a5ade3b5f030) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "30c6cd41-f5ca-4160-a255-eda1f712fc66", "file", {"id"=>"asset/97c155cb98eaee72a2342a679888d06c.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/30c6cd41-f5ca-4160-a255-eda1f712fc66/5de654344362b791f73b56e6051d5890.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.813659"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+ [1m[36mCustomAsset 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/30c6cd41-f5ca-4160-a255-eda1f712fc66/5de654344362b791f73b56e6051d5890.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"30c6cd41-f5ca-4160-a255-eda1f712fc66/fixed/7b91b6629723b80daea5ecea36648d3c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9wb6hjf59_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.821509"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "30c6cd41-f5ca-4160-a255-eda1f712fc66"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:47.837294"], ["updated_at", "2020-05-19 20:35:47.837294"], ["file_data", "{\"id\":\"asset/785e37b6817d9d3bd4a1b5a42c360541.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] Performing Kithe::AssetPromoteJob (Job ID: 34123863-35b8-441e-9dc3-534cbe27eeab) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "73c744e6-6327-4f60-979b-105efde7d3c1", "file", {"id"=>"asset/785e37b6817d9d3bd4a1b5a42c360541.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [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", "73c744e6-6327-4f60-979b-105efde7d3c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [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", "73c744e6-6327-4f60-979b-105efde7d3c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [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/73c744e6-6327-4f60-979b-105efde7d3c1/6ab1336b8617296676e3404657e221ae.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.847060"], ["id", "73c744e6-6327-4f60-979b-105efde7d3c1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [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", "73c744e6-6327-4f60-979b-105efde7d3c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] Performing Kithe::CreateDerivativesJob (Job ID: 94eb5345-835a-41ef-9ed7-6258f89bd699) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabe450710 @uri=#<URI::GID gid://dummy/CustomAsset/73c744e6-6327-4f60-979b-105efde7d3c1>>
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] [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", "73c744e6-6327-4f60-979b-105efde7d3c1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] [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/73c744e6-6327-4f60-979b-105efde7d3c1/6ab1336b8617296676e3404657e221ae.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"73c744e6-6327-4f60-979b-105efde7d3c1/fixed/cd66d6b575e3b0bf053e6c8c6f941241.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4fr6tp5w8_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.854262"], ["id", "73c744e6-6327-4f60-979b-105efde7d3c1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] [Kithe::CreateDerivativesJob] [94eb5345-835a-41ef-9ed7-6258f89bd699] Performed Kithe::CreateDerivativesJob (Job ID: 94eb5345-835a-41ef-9ed7-6258f89bd699) from Inline(default) in 6.68ms
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] Enqueued Kithe::CreateDerivativesJob (Job ID: 94eb5345-835a-41ef-9ed7-6258f89bd699) to Inline(default) with arguments: #<GlobalID:0x00007fbabe41ade0 @uri=#<URI::GID gid://dummy/CustomAsset/73c744e6-6327-4f60-979b-105efde7d3c1>>
+[ActiveJob] [Kithe::AssetPromoteJob] [34123863-35b8-441e-9dc3-534cbe27eeab] Performed Kithe::AssetPromoteJob (Job ID: 34123863-35b8-441e-9dc3-534cbe27eeab) from Inline(default) in 14.33ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 34123863-35b8-441e-9dc3-534cbe27eeab) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "73c744e6-6327-4f60-979b-105efde7d3c1", "file", {"id"=>"asset/785e37b6817d9d3bd4a1b5a42c360541.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "73c744e6-6327-4f60-979b-105efde7d3c1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:47.881581"], ["updated_at", "2020-05-19 20:35:47.881581"], ["file_data", "{\"id\":\"asset/a261db3e8972fc1455660c208cfa8beb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] Performing Kithe::AssetPromoteJob (Job ID: 7b3c5271-4442-4fd0-aef6-59aeecb3e6cb) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e", "file", {"id"=>"asset/a261db3e8972fc1455660c208cfa8beb.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [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", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [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", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [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/aa1a00f9-5a12-4b24-b887-c1f87c3e801e/3cd3da8b67871f728f05bbb7c5f3a17b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.894999"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [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", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] Performing Kithe::CreateDerivativesJob (Job ID: 0114e469-6541-482a-ba31-d2ea2e1f2099) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabdb42f38 @uri=#<URI::GID gid://dummy/CustomAsset/aa1a00f9-5a12-4b24-b887-c1f87c3e801e>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] [1m[36mCustomAsset 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", "CustomAsset"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] [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/aa1a00f9-5a12-4b24-b887-c1f87c3e801e/3cd3da8b67871f728f05bbb7c5f3a17b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"aa1a00f9-5a12-4b24-b887-c1f87c3e801e/fixed/fe181d20233d65aebb525356361b71c9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9csmelosn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.906578"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] [Kithe::CreateDerivativesJob] [0114e469-6541-482a-ba31-d2ea2e1f2099] Performed Kithe::CreateDerivativesJob (Job ID: 0114e469-6541-482a-ba31-d2ea2e1f2099) from Inline(default) in 10.13ms
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] Enqueued Kithe::CreateDerivativesJob (Job ID: 0114e469-6541-482a-ba31-d2ea2e1f2099) to Inline(default) with arguments: #<GlobalID:0x00007fbabe34f118 @uri=#<URI::GID gid://dummy/CustomAsset/aa1a00f9-5a12-4b24-b887-c1f87c3e801e>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7b3c5271-4442-4fd0-aef6-59aeecb3e6cb] Performed Kithe::AssetPromoteJob (Job ID: 7b3c5271-4442-4fd0-aef6-59aeecb3e6cb) from Inline(default) in 20.21ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7b3c5271-4442-4fd0-aef6-59aeecb3e6cb) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e", "file", {"id"=>"asset/a261db3e8972fc1455660c208cfa8beb.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/aa1a00f9-5a12-4b24-b887-c1f87c3e801e/3cd3da8b67871f728f05bbb7c5f3a17b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"aa1a00f9-5a12-4b24-b887-c1f87c3e801e/fixed/9187a2e792eb443cadcd3b2b5a981ab5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9csmelosn_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.915651"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+ [1m[36mKithe::Model Load (1.0ms)[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", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'aa1a00f9-5a12-4b24-b887-c1f87c3e801e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'aa1a00f9-5a12-4b24-b887-c1f87c3e801e'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.3ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "aa1a00f9-5a12-4b24-b887-c1f87c3e801e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [3a69e816-e659-412a-995e-d020848b8bd0] Performing Kithe::AssetDeleteJob (Job ID: 3a69e816-e659-412a-995e-d020848b8bd0) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/aa1a00f9-5a12-4b24-b887-c1f87c3e801e/3cd3da8b67871f728f05bbb7c5f3a17b.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"aa1a00f9-5a12-4b24-b887-c1f87c3e801e/fixed/9187a2e792eb443cadcd3b2b5a981ab5.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"9csmelosn_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [3a69e816-e659-412a-995e-d020848b8bd0] Performed Kithe::AssetDeleteJob (Job ID: 3a69e816-e659-412a-995e-d020848b8bd0) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 3a69e816-e659-412a-995e-d020848b8bd0) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/aa1a00f9-5a12-4b24-b887-c1f87c3e801e/3cd3da8b67871f728f05bbb7c5f3a17b.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"aa1a00f9-5a12-4b24-b887-c1f87c3e801e/fixed/9187a2e792eb443cadcd3b2b5a981ab5.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"9csmelosn_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:47.941644"], ["updated_at", "2020-05-19 20:35:47.941644"], ["file_data", "{\"id\":\"asset/f68db2e4c68b71dff8d4eda34e2916dd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] Performing Kithe::AssetPromoteJob (Job ID: 39daaa27-dda2-45a7-b2c1-4c74099f295d) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "8faae119-cffa-4bd7-b564-9988211be9e4", "file", {"id"=>"asset/f68db2e4c68b71dff8d4eda34e2916dd.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [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/8faae119-cffa-4bd7-b564-9988211be9e4/028b9bcc89bf976335868bae510b3881.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.950234"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] Performing Kithe::CreateDerivativesJob (Job ID: 8e60a57f-af1c-499f-8bd9-6c3ba501fc27) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabe245c18 @uri=#<URI::GID gid://dummy/CustomAsset/8faae119-cffa-4bd7-b564-9988211be9e4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] [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/8faae119-cffa-4bd7-b564-9988211be9e4/028b9bcc89bf976335868bae510b3881.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8faae119-cffa-4bd7-b564-9988211be9e4/fixed/da926542f64f7777d6e85892c3089838.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wxqpu940y_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.959419"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] [Kithe::CreateDerivativesJob] [8e60a57f-af1c-499f-8bd9-6c3ba501fc27] Performed Kithe::CreateDerivativesJob (Job ID: 8e60a57f-af1c-499f-8bd9-6c3ba501fc27) from Inline(default) in 7.64ms
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] Enqueued Kithe::CreateDerivativesJob (Job ID: 8e60a57f-af1c-499f-8bd9-6c3ba501fc27) to Inline(default) with arguments: #<GlobalID:0x00007fbabe216008 @uri=#<URI::GID gid://dummy/CustomAsset/8faae119-cffa-4bd7-b564-9988211be9e4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [39daaa27-dda2-45a7-b2c1-4c74099f295d] Performed Kithe::AssetPromoteJob (Job ID: 39daaa27-dda2-45a7-b2c1-4c74099f295d) from Inline(default) in 15.34ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 39daaa27-dda2-45a7-b2c1-4c74099f295d) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "8faae119-cffa-4bd7-b564-9988211be9e4", "file", {"id"=>"asset/f68db2e4c68b71dff8d4eda34e2916dd.jpg", "storage"=>"cache"}, {}
+ [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8faae119-cffa-4bd7-b564-9988211be9e4/028b9bcc89bf976335868bae510b3881.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8faae119-cffa-4bd7-b564-9988211be9e4/fixed/dfed4f3e2409f76d6f66e733ea279f47.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wxqpu940y_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.967044"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8faae119-cffa-4bd7-b564-9988211be9e4/5e1a4cf78713fb15a1809b9dd58cfc5a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:35:47.971372"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [bb566736-7197-46c8-b76a-1bdc38359f2b] Performing Kithe::AssetDeleteJob (Job ID: bb566736-7197-46c8-b76a-1bdc38359f2b) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/8faae119-cffa-4bd7-b564-9988211be9e4/028b9bcc89bf976335868bae510b3881.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"8faae119-cffa-4bd7-b564-9988211be9e4/fixed/dfed4f3e2409f76d6f66e733ea279f47.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"wxqpu940y_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [bb566736-7197-46c8-b76a-1bdc38359f2b] Performed Kithe::AssetDeleteJob (Job ID: bb566736-7197-46c8-b76a-1bdc38359f2b) from Inline(default) in 0.1ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: bb566736-7197-46c8-b76a-1bdc38359f2b) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/8faae119-cffa-4bd7-b564-9988211be9e4/028b9bcc89bf976335868bae510b3881.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"8faae119-cffa-4bd7-b564-9988211be9e4/fixed/dfed4f3e2409f76d6f66e733ea279f47.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"wxqpu940y_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] Performing Kithe::AssetPromoteJob (Job ID: f509fdbf-79e0-462b-976f-3434525b9774) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: "CustomUploader::Attacher", "CustomAsset", "8faae119-cffa-4bd7-b564-9988211be9e4", "file", {"id"=>"asset/8faae119-cffa-4bd7-b564-9988211be9e4/5e1a4cf78713fb15a1809b9dd58cfc5a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [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/8faae119-cffa-4bd7-b564-9988211be9e4/95b58ce44b1301b11f23a1513ecd69e3.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:47.978849"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] Performing Kithe::CreateDerivativesJob (Job ID: 4a8e022a-1ff1-42cc-b664-654408c4d3e9) from Inline(default) enqueued at 2020-05-19T20:35:47Z with arguments: #<GlobalID:0x00007fbabd87e810 @uri=#<URI::GID gid://dummy/CustomAsset/8faae119-cffa-4bd7-b564-9988211be9e4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] [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", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] [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/8faae119-cffa-4bd7-b564-9988211be9e4/95b58ce44b1301b11f23a1513ecd69e3.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"8faae119-cffa-4bd7-b564-9988211be9e4/fixed/70148e17555c3d24726e4021e6968c5f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wxqpu940y_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:47.986158"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] [Kithe::CreateDerivativesJob] [4a8e022a-1ff1-42cc-b664-654408c4d3e9] Performed Kithe::CreateDerivativesJob (Job ID: 4a8e022a-1ff1-42cc-b664-654408c4d3e9) from Inline(default) in 5.92ms
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] Enqueued Kithe::CreateDerivativesJob (Job ID: 4a8e022a-1ff1-42cc-b664-654408c4d3e9) to Inline(default) with arguments: #<GlobalID:0x00007fbabe100f38 @uri=#<URI::GID gid://dummy/CustomAsset/8faae119-cffa-4bd7-b564-9988211be9e4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [f509fdbf-79e0-462b-976f-3434525b9774] Performed Kithe::AssetPromoteJob (Job ID: f509fdbf-79e0-462b-976f-3434525b9774) from Inline(default) in 13.34ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f509fdbf-79e0-462b-976f-3434525b9774) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "8faae119-cffa-4bd7-b564-9988211be9e4", "file", {"id"=>"asset/8faae119-cffa-4bd7-b564-9988211be9e4/5e1a4cf78713fb15a1809b9dd58cfc5a.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8faae119-cffa-4bd7-b564-9988211be9e4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.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-19 20:35:48.002555"], ["updated_at", "2020-05-19 20:35:48.002555"], ["file_data", "{\"id\":\"asset/45f9be10d10c4744a5adbd8f3faa0763.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] Performing Kithe::AssetPromoteJob (Job ID: 2cfccdc1-dd8d-46cd-8406-d4648edb6f4a) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "CustomUploader::Attacher", "CustomAsset", "2adbbf05-b20b-451d-afe5-507020d3d1be", "file", {"id"=>"asset/45f9be10d10c4744a5adbd8f3faa0763.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [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", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [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", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [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/2adbbf05-b20b-451d-afe5-507020d3d1be/45fc00a9c31ba2d18b46ccfcc8f70c89.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.013100"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [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", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] Performing Kithe::CreateDerivativesJob (Job ID: 96dc8803-9509-40dc-ae06-cc27da6c7513) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: #<GlobalID:0x00007fbab9e4d880 @uri=#<URI::GID gid://dummy/CustomAsset/2adbbf05-b20b-451d-afe5-507020d3d1be>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] [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", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] [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/2adbbf05-b20b-451d-afe5-507020d3d1be/45fc00a9c31ba2d18b46ccfcc8f70c89.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"2adbbf05-b20b-451d-afe5-507020d3d1be/fixed/0ecbe9a3b3e4eb0fc7426004506cd389.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"obx1zd66g_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.020932"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] [Kithe::CreateDerivativesJob] [96dc8803-9509-40dc-ae06-cc27da6c7513] Performed Kithe::CreateDerivativesJob (Job ID: 96dc8803-9509-40dc-ae06-cc27da6c7513) from Inline(default) in 6.21ms
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] Enqueued Kithe::CreateDerivativesJob (Job ID: 96dc8803-9509-40dc-ae06-cc27da6c7513) to Inline(default) with arguments: #<GlobalID:0x00007fbab9e0e478 @uri=#<URI::GID gid://dummy/CustomAsset/2adbbf05-b20b-451d-afe5-507020d3d1be>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2cfccdc1-dd8d-46cd-8406-d4648edb6f4a] Performed Kithe::AssetPromoteJob (Job ID: 2cfccdc1-dd8d-46cd-8406-d4648edb6f4a) from Inline(default) in 15.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2cfccdc1-dd8d-46cd-8406-d4648edb6f4a) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "2adbbf05-b20b-451d-afe5-507020d3d1be", "file", {"id"=>"asset/45f9be10d10c4744a5adbd8f3faa0763.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2adbbf05-b20b-451d-afe5-507020d3d1be/45fc00a9c31ba2d18b46ccfcc8f70c89.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"2adbbf05-b20b-451d-afe5-507020d3d1be/fixed/bc33c6a403df24a81578e43630687573.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"obx1zd66g_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.030344"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "2adbbf05-b20b-451d-afe5-507020d3d1be"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 20:35:48.053132"], ["updated_at", "2020-05-19 20:35:48.053132"], ["file_data", "{\"id\":\"asset/f3d624bdc26384f605db77ccee9ed68b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] Performing Kithe::AssetPromoteJob (Job ID: ec8ce0b3-9965-4509-9db4-fb409801588f) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "CustomUploader::Attacher", "CustomAsset", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1", "file", {"id"=>"asset/f3d624bdc26384f605db77ccee9ed68b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [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", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [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", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [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/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/23dca62f2b46f9e0bc61e019e6db76ce.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.063198"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [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", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] Performing Kithe::CreateDerivativesJob (Job ID: 5c2615c5-e260-4224-be0e-3ee047de6cfe) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: #<GlobalID:0x00007fbabdff7718 @uri=#<URI::GID gid://dummy/CustomAsset/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1>>
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] [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", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] [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/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/23dca62f2b46f9e0bc61e019e6db76ce.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/fixed/8b9e56ebad8524030d3427e9022552bf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h0p8fomof_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.070527"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] [Kithe::CreateDerivativesJob] [5c2615c5-e260-4224-be0e-3ee047de6cfe] Performed Kithe::CreateDerivativesJob (Job ID: 5c2615c5-e260-4224-be0e-3ee047de6cfe) from Inline(default) in 6.69ms
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] Enqueued Kithe::CreateDerivativesJob (Job ID: 5c2615c5-e260-4224-be0e-3ee047de6cfe) to Inline(default) with arguments: #<GlobalID:0x00007fbac080e5a8 @uri=#<URI::GID gid://dummy/CustomAsset/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1>>
+[ActiveJob] [Kithe::AssetPromoteJob] [ec8ce0b3-9965-4509-9db4-fb409801588f] Performed Kithe::AssetPromoteJob (Job ID: ec8ce0b3-9965-4509-9db4-fb409801588f) from Inline(default) in 14.18ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ec8ce0b3-9965-4509-9db4-fb409801588f) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1", "file", {"id"=>"asset/f3d624bdc26384f605db77ccee9ed68b.jpg", "storage"=>"cache"}, {}
+ [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", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/23dca62f2b46f9e0bc61e019e6db76ce.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/fixed/f5fd819d6ff89f09aeaba1f801bf2de2.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h0p8fomof_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.079349"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/23dca62f2b46f9e0bc61e019e6db76ce.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1/fixed/65d7b876fee17114df4c1938d6a72b1f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h0p8fomof_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:35:48.125157"], ["id", "0b1a1f4b-0cd9-48b7-be6e-5530d1784ac1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:48.143612"], ["updated_at", "2020-05-19 20:35:48.143612"], ["file_data", "{\"id\":\"asset/7c910eea2c45a2437d138c601b701058.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] Performing Kithe::AssetPromoteJob (Job ID: 97e74b8e-e1b9-4252-a35c-034a40b45525) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "CustomUploader::Attacher", "CustomAsset", "c5b0d874-8ccf-4411-9de4-faf016540adc", "file", {"id"=>"asset/7c910eea2c45a2437d138c601b701058.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [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", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [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", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [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/c5b0d874-8ccf-4411-9de4-faf016540adc/7e521b2dcabf7ff1a6dd2704d2fd74bc.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.153135"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [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", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] Performing Kithe::CreateDerivativesJob (Job ID: 6837f549-7fe9-4332-9f57-ae107c961b33) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: #<GlobalID:0x00007fbabe771638 @uri=#<URI::GID gid://dummy/CustomAsset/c5b0d874-8ccf-4411-9de4-faf016540adc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] [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", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] [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/c5b0d874-8ccf-4411-9de4-faf016540adc/7e521b2dcabf7ff1a6dd2704d2fd74bc.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c5b0d874-8ccf-4411-9de4-faf016540adc/fixed/85d330bd68ab91514c7247c2c749cf49.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nx2dnv6nd_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.163094"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] [Kithe::CreateDerivativesJob] [6837f549-7fe9-4332-9f57-ae107c961b33] Performed Kithe::CreateDerivativesJob (Job ID: 6837f549-7fe9-4332-9f57-ae107c961b33) from Inline(default) in 7.48ms
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] Enqueued Kithe::CreateDerivativesJob (Job ID: 6837f549-7fe9-4332-9f57-ae107c961b33) to Inline(default) with arguments: #<GlobalID:0x00007fbabe73bba0 @uri=#<URI::GID gid://dummy/CustomAsset/c5b0d874-8ccf-4411-9de4-faf016540adc>>
+[ActiveJob] [Kithe::AssetPromoteJob] [97e74b8e-e1b9-4252-a35c-034a40b45525] Performed Kithe::AssetPromoteJob (Job ID: 97e74b8e-e1b9-4252-a35c-034a40b45525) from Inline(default) in 17.14ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 97e74b8e-e1b9-4252-a35c-034a40b45525) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "c5b0d874-8ccf-4411-9de4-faf016540adc", "file", {"id"=>"asset/7c910eea2c45a2437d138c601b701058.jpg", "storage"=>"cache"}, {}
+ [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", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c5b0d874-8ccf-4411-9de4-faf016540adc/7e521b2dcabf7ff1a6dd2704d2fd74bc.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c5b0d874-8ccf-4411-9de4-faf016540adc/fixed/a05f7f4f8a5d55e23700ab69fdb6a4fb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nx2dnv6nd_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:48.171742"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c5b0d874-8ccf-4411-9de4-faf016540adc/7e521b2dcabf7ff1a6dd2704d2fd74bc.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c5b0d874-8ccf-4411-9de4-faf016540adc/fixed/a05f7f4f8a5d55e23700ab69fdb6a4fb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"nx2dnv6nd_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"c5b0d874-8ccf-4411-9de4-faf016540adc/test/1f1ffb1392a4e3fd9452a90a87171098.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nx2dnv6nd_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:35:48.209222"], ["id", "c5b0d874-8ccf-4411-9de4-faf016540adc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:35:48.228628"], ["updated_at", "2020-05-19 20:35:48.228628"], ["file_data", "{\"id\":\"asset/8f7eda09974a3644d9c3339b1993a109.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] Performing Kithe::AssetPromoteJob (Job ID: 279b448f-c87c-429b-886e-6102263c8a94) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "1e79fe6e-f282-4029-b964-855600d09af8", "file", {"id"=>"asset/8f7eda09974a3644d9c3339b1993a109.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] [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", "1e79fe6e-f282-4029-b964-855600d09af8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] [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", "1e79fe6e-f282-4029-b964-855600d09af8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] [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/1e79fe6e-f282-4029-b964-855600d09af8/02d2c6b4268fdf34894514128ef376ef.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.237019"], ["id", "1e79fe6e-f282-4029-b964-855600d09af8"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [279b448f-c87c-429b-886e-6102263c8a94] Performed Kithe::AssetPromoteJob (Job ID: 279b448f-c87c-429b-886e-6102263c8a94) from Inline(default) in 7.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 279b448f-c87c-429b-886e-6102263c8a94) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "1e79fe6e-f282-4029-b964-855600d09af8", "file", {"id"=>"asset/8f7eda09974a3644d9c3339b1993a109.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:35:48.256632"], ["updated_at", "2020-05-19 20:35:48.256632"], ["file_data", "{\"id\":\"asset/5e8620f2d5ec5e73b8973fe3eba54582.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "9c56fb8a-b3b6-4f30-8042-a1675dbb8c54"], ["LIMIT", 1]]
+ [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", "9c56fb8a-b3b6-4f30-8042-a1675dbb8c54"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.278977"], ["updated_at", "2020-05-19 20:35:48.278977"], ["file_data", "{\"id\":\"asset/8e561649347f0e9ab60e172a63208fb6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.282344"], ["file_data", "{\"id\":\"asset/94bdcbbd-0f69-4998-9d3a-484695222613/43578c7db00a966f85bcb59ad3ab490d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "94bdcbbd-0f69-4998-9d3a-484695222613"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "94bdcbbd-0f69-4998-9d3a-484695222613"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.358320"], ["updated_at", "2020-05-19 20:35:48.358320"], ["file_data", "{\"id\":\"asset/f13816cb1a94b7e694e8668ef2bcc235.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8685e317-01a1-4bcf-88a2-e8aab1c497c5] Performing Kithe::AssetPromoteJob (Job ID: 8685e317-01a1-4bcf-88a2-e8aab1c497c5) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5cffb5f7-6a09-4a41-985d-48d5d88ecd45", "file", {"id"=>"asset/f13816cb1a94b7e694e8668ef2bcc235.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8685e317-01a1-4bcf-88a2-e8aab1c497c5] [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", "5cffb5f7-6a09-4a41-985d-48d5d88ecd45"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8685e317-01a1-4bcf-88a2-e8aab1c497c5] Performed Kithe::AssetPromoteJob (Job ID: 8685e317-01a1-4bcf-88a2-e8aab1c497c5) from Inline(default) in 1.75ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8685e317-01a1-4bcf-88a2-e8aab1c497c5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5cffb5f7-6a09-4a41-985d-48d5d88ecd45", "file", {"id"=>"asset/f13816cb1a94b7e694e8668ef2bcc235.jpg", "storage"=>"cache"}, {}
+ [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", "5cffb5f7-6a09-4a41-985d-48d5d88ecd45"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.388927"], ["updated_at", "2020-05-19 20:35:48.388927"], ["file_data", "{\"id\":\"asset/06ee794f105d1e2fed62b26594041787.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] Performing Kithe::AssetPromoteJob (Job ID: 1ca4226f-c4f6-4e93-aa37-e277b012e847) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "e2ed4251-ee6b-4202-88ae-adbc05d6c657", "file", {"id"=>"asset/06ee794f105d1e2fed62b26594041787.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] [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", "e2ed4251-ee6b-4202-88ae-adbc05d6c657"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] [1m[36mTestAsset 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", "TestAsset"], ["id", "e2ed4251-ee6b-4202-88ae-adbc05d6c657"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] [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/e2ed4251-ee6b-4202-88ae-adbc05d6c657/23a9e357bcccfbafe64cc8145a714225.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.398997"], ["id", "e2ed4251-ee6b-4202-88ae-adbc05d6c657"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1ca4226f-c4f6-4e93-aa37-e277b012e847] Performed Kithe::AssetPromoteJob (Job ID: 1ca4226f-c4f6-4e93-aa37-e277b012e847) from Inline(default) in 6.41ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1ca4226f-c4f6-4e93-aa37-e277b012e847) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "e2ed4251-ee6b-4202-88ae-adbc05d6c657", "file", {"id"=>"asset/06ee794f105d1e2fed62b26594041787.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "e2ed4251-ee6b-4202-88ae-adbc05d6c657"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.414336"], ["updated_at", "2020-05-19 20:35:48.414336"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (1.3ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.420102"], ["file_data", "{\"id\":\"asset/3abb4d70-d6ff-45df-b0a5-be4d6d28cd27/8a8de872f6b6a1b68d68255bac76394d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3abb4d70-d6ff-45df-b0a5-be4d6d28cd27"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3abb4d70-d6ff-45df-b0a5-be4d6d28cd27"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.437575"], ["updated_at", "2020-05-19 20:35:48.437575"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.443965"], ["file_data", "{\"id\":\"asset/ec5ad547-02b9-439e-a28a-c00f10e41ea4/2cae4a6ea4857318f6f31138d565b8a6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ec5ad547-02b9-439e-a28a-c00f10e41ea4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "ec5ad547-02b9-439e-a28a-c00f10e41ea4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:35:48.462627"], ["updated_at", "2020-05-19 20:35:48.462627"], ["file_data", "{\"id\":\"asset/2c5b53df2d5a42dd37eb08a20abda3c2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "4bd53c07-1546-43d9-9f02-babdbfa21a5e"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "4bd53c07-1546-43d9-9f02-babdbfa21a5e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.0ms)[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-19 20:35:48.483088"], ["updated_at", "2020-05-19 20:35:48.483088"], ["file_data", "{\"id\":\"asset/a43390901ad2277eeb75008f968e81a8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "TestAsset"], ["id", "71414545-9823-4881-ac9d-954828550040"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "71414545-9823-4881-ac9d-954828550040"], ["LIMIT", 1]]
+ [1m[36mTestAsset 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/71414545-9823-4881-ac9d-954828550040/5a53a23cc539b9fe767ac606101eff11.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.493664"], ["id", "71414545-9823-4881-ac9d-954828550040"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "71414545-9823-4881-ac9d-954828550040"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.511525"], ["updated_at", "2020-05-19 20:35:48.511525"], ["file_data", "{\"id\":\"asset/d8c28783fb5652a51b464381f1e47a22.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] Performing Kithe::AssetPromoteJob (Job ID: 4c31821f-8d36-4d72-abbb-da8eabbaff25) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "183a49f8-c98a-41b2-ae0b-b51eda5bf2c2", "file", {"id"=>"asset/d8c28783fb5652a51b464381f1e47a22.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] [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", "183a49f8-c98a-41b2-ae0b-b51eda5bf2c2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] [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", "183a49f8-c98a-41b2-ae0b-b51eda5bf2c2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] [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/183a49f8-c98a-41b2-ae0b-b51eda5bf2c2/778228c6109bacd985d0d373a199d845.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.518830"], ["id", "183a49f8-c98a-41b2-ae0b-b51eda5bf2c2"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c31821f-8d36-4d72-abbb-da8eabbaff25] Performed Kithe::AssetPromoteJob (Job ID: 4c31821f-8d36-4d72-abbb-da8eabbaff25) from Inline(default) in 6.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4c31821f-8d36-4d72-abbb-da8eabbaff25) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "183a49f8-c98a-41b2-ae0b-b51eda5bf2c2", "file", {"id"=>"asset/d8c28783fb5652a51b464381f1e47a22.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.539198"], ["updated_at", "2020-05-19 20:35:48.539198"], ["file_data", "{\"id\":\"asset/26df901dd2918fa3f855bb8f2fb063a6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.543043"], ["file_data", "{\"id\":\"asset/fe3cb964-e8db-4899-87fc-85dc0571e2ed/61ef45eb93a4509bf04b52f053a08b01.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "fe3cb964-e8db-4899-87fc-85dc0571e2ed"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "fe3cb964-e8db-4899-87fc-85dc0571e2ed"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:35:48.560581"], ["updated_at", "2020-05-19 20:35:48.560581"], ["file_data", "{\"id\":\"asset/78cc7dfa27f10b1cf4c10ec9629dc999.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] Performing Kithe::AssetPromoteJob (Job ID: e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "22c1c797-1fea-454e-a70e-f9e330dfe350", "file", {"id"=>"asset/78cc7dfa27f10b1cf4c10ec9629dc999.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] [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", "22c1c797-1fea-454e-a70e-f9e330dfe350"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] [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", "22c1c797-1fea-454e-a70e-f9e330dfe350"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] [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/22c1c797-1fea-454e-a70e-f9e330dfe350/797872bacb199a34d04aecd10b71d108.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.567259"], ["id", "22c1c797-1fea-454e-a70e-f9e330dfe350"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a] Performed Kithe::AssetPromoteJob (Job ID: e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a) from Inline(default) in 5.64ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e9b6d60c-8f0d-4ba9-8715-0f7dac1d379a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "22c1c797-1fea-454e-a70e-f9e330dfe350", "file", {"id"=>"asset/78cc7dfa27f10b1cf4c10ec9629dc999.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:35:48.594854"], ["updated_at", "2020-05-19 20:35:48.594854"], ["file_data", "{\"id\":\"asset/8c7e4bc30e7411916017ad57994ee25e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] Performing Kithe::AssetPromoteJob (Job ID: d439114e-66b2-4962-9ea4-cdac550b1caa) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c", "file", {"id"=>"asset/8c7e4bc30e7411916017ad57994ee25e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] [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", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] [1m[36mTestAsset 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", "TestAsset"], ["id", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] [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/5b49a7ec-887c-4443-ae8a-91d8d72a5d1c/72ac9e87763c0daf92c9896a39355837.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.609876"], ["id", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d439114e-66b2-4962-9ea4-cdac550b1caa] Performed Kithe::AssetPromoteJob (Job ID: d439114e-66b2-4962-9ea4-cdac550b1caa) from Inline(default) in 13.57ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d439114e-66b2-4962-9ea4-cdac550b1caa) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c", "file", {"id"=>"asset/8c7e4bc30e7411916017ad57994ee25e.jpg", "storage"=>"cache"}, {}
+ [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", "5b49a7ec-887c-4443-ae8a-91d8d72a5d1c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.628930"], ["updated_at", "2020-05-19 20:35:48.628930"], ["file_data", "{\"id\":\"asset/0d9024dd35bb8a55034e95e71c39a474.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "5d2dee9c-ec04-48d9-874d-186d7bffa369"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.644426"], ["updated_at", "2020-05-19 20:35:48.644426"], ["file_data", "{\"id\":\"asset/1bbe766d2ab3ea6234606d0e147e89f7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.647943"], ["file_data", "{\"id\":\"asset/d3dd7a38-f3cd-40d4-9a57-80e0dd1cea34/2b6d29c92ac8d8a1a822cc163987a3e7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d3dd7a38-f3cd-40d4-9a57-80e0dd1cea34"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 54219145-6e14-4ec0-93c8-a03d5a887cd3) to Test(default) with arguments: #<GlobalID:0x00007fbabe778488 @uri=#<URI::GID gid://dummy/TestAsset/d3dd7a38-f3cd-40d4-9a57-80e0dd1cea34>>
+ [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", "d3dd7a38-f3cd-40d4-9a57-80e0dd1cea34"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d3dd7a38-f3cd-40d4-9a57-80e0dd1cea34"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:35:48.665644"], ["updated_at", "2020-05-19 20:35:48.665644"], ["file_data", "{\"id\":\"asset/2b1d88ff7a040b973ebfbef071cca268.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:48.690880"], ["updated_at", "2020-05-19 20:35:48.690880"], ["file_data", "{\"id\":\"asset/138e8b62e887a9de1809580f14a26364.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:48.695562"], ["file_data", "{\"id\":\"asset/96a67416-059b-4e96-a665-cc12f8132393/066566e322464c17933d508e3b5f241c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "96a67416-059b-4e96-a665-cc12f8132393"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "96a67416-059b-4e96-a665-cc12f8132393"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.718978"], ["updated_at", "2020-05-19 20:35:48.718978"], ["file_data", "{\"id\":\"asset/94e9eaff5d5202357f32e39a7cd94b85.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.722135"], ["file_data", "{\"id\":\"asset/f53938db-1abb-4365-8305-5ac82047984a/49224a4d658fbc7309246af00e105cdf.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f53938db-1abb-4365-8305-5ac82047984a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [6fdd3f46-071a-46de-a70b-fec107eda980] Performing Kithe::CreateDerivativesJob (Job ID: 6fdd3f46-071a-46de-a70b-fec107eda980) from Test(default) enqueued at with arguments: #<GlobalID:0x00007fbabe6602f8 @uri=#<URI::GID gid://dummy/TestAsset/f53938db-1abb-4365-8305-5ac82047984a>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [6fdd3f46-071a-46de-a70b-fec107eda980] Performed Kithe::CreateDerivativesJob (Job ID: 6fdd3f46-071a-46de-a70b-fec107eda980) from Test(default) in 0.56ms
+ [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", "f53938db-1abb-4365-8305-5ac82047984a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:35:48.743452"], ["updated_at", "2020-05-19 20:35:48.743452"], ["file_data", "{\"id\":\"asset/8551710947e407dc448d74977a37f90a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.746414"], ["file_data", "{\"id\":\"asset/f6378c42-51f8-46de-8dda-a4c3eb201f93/b38fdd5138f4ec455a6ec179cee763e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f6378c42-51f8-46de-8dda-a4c3eb201f93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f6378c42-51f8-46de-8dda-a4c3eb201f93"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f6378c42-51f8-46de-8dda-a4c3eb201f93"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "f6378c42-51f8-46de-8dda-a4c3eb201f93"]]
+ [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", "f6378c42-51f8-46de-8dda-a4c3eb201f93"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f6378c42-51f8-46de-8dda-a4c3eb201f93'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f6378c42-51f8-46de-8dda-a4c3eb201f93'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f6378c42-51f8-46de-8dda-a4c3eb201f93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:35:48.768578"], ["updated_at", "2020-05-19 20:35:48.768578"], ["file_data", "{\"id\":\"asset/b0d7abd7ffb7260b1b6436ee8fca869f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.773588"], ["file_data", "{\"id\":\"asset/7966c5aa-a132-412d-84a4-30374551c47b/495698a1d4531741f81145f6414e5728.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7966c5aa-a132-412d-84a4-30374551c47b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7966c5aa-a132-412d-84a4-30374551c47b"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7966c5aa-a132-412d-84a4-30374551c47b"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "7966c5aa-a132-412d-84a4-30374551c47b"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "7966c5aa-a132-412d-84a4-30374551c47b"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7966c5aa-a132-412d-84a4-30374551c47b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7966c5aa-a132-412d-84a4-30374551c47b'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7966c5aa-a132-412d-84a4-30374551c47b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.811200"], ["updated_at", "2020-05-19 20:35:48.811200"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23) AND "kithe_models"."id" = $24 LIMIT $25[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "7f506033-474c-4d43-a71d-710bc7fc1657"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:35:48.831323"], ["updated_at", "2020-05-19 20:35:48.831323"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:35:48.846589"], ["updated_at", "2020-05-19 20:35:48.846589"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.850226"], ["file_data", "{\"id\":\"asset/336f6ca2-091d-45c1-9f58-f7d21eef44d2/90aa4e6ca0cc4cd0b71e3474dc424b40.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "336f6ca2-091d-45c1-9f58-f7d21eef44d2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.853531"], ["file_data", "{\"id\":\"asset/336f6ca2-091d-45c1-9f58-f7d21eef44d2/c477f6c5a1d1d194fb49fdbceb3f9b76.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "336f6ca2-091d-45c1-9f58-f7d21eef44d2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "336f6ca2-091d-45c1-9f58-f7d21eef44d2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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 title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.860680"], ["updated_at", "2020-05-19 20:35:48.860680"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.869541"], ["updated_at", "2020-05-19 20:35:48.869541"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.880856"], ["updated_at", "2020-05-19 20:35:48.880856"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.894083"], ["updated_at", "2020-05-19 20:35:48.894083"], ["file_data", "{\"id\":\"asset/aca847c2afb7dc11e8faeb93430643a4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] Performing Kithe::AssetPromoteJob (Job ID: f3a77e28-759f-432b-8615-1678a54509ba) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "7b6ef7f0-101d-418f-8b6e-64393086edee", "file", {"id"=>"asset/aca847c2afb7dc11e8faeb93430643a4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7b6ef7f0-101d-418f-8b6e-64393086edee"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7b6ef7f0-101d-418f-8b6e-64393086edee"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] [1m[36mKithe::Asset 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/7b6ef7f0-101d-418f-8b6e-64393086edee/7ab2f6e4fe7b3351f5e345f0c417b8da.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:48.903936"], ["id", "7b6ef7f0-101d-418f-8b6e-64393086edee"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3a77e28-759f-432b-8615-1678a54509ba] Performed Kithe::AssetPromoteJob (Job ID: f3a77e28-759f-432b-8615-1678a54509ba) from Inline(default) in 9.64ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f3a77e28-759f-432b-8615-1678a54509ba) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "7b6ef7f0-101d-418f-8b6e-64393086edee", "file", {"id"=>"asset/aca847c2afb7dc11e8faeb93430643a4.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7b6ef7f0-101d-418f-8b6e-64393086edee"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.914408"], ["updated_at", "2020-05-19 20:35:48.914408"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.917182"], ["file_data", "{\"id\":\"asset/67d7aac9a53c042c3873348bb958fe5e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] Performing Kithe::AssetPromoteJob (Job ID: 874d5fa9-7af6-429d-996a-aa94fc13ab49) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6", "file", {"id"=>"asset/67d7aac9a53c042c3873348bb958fe5e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] [1m[36mKithe::Asset Load (1.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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] [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/d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6/fbc8f0daacc55f3ed4c2ebccad62201b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:35:48.928400"], ["id", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [874d5fa9-7af6-429d-996a-aa94fc13ab49] Performed Kithe::AssetPromoteJob (Job ID: 874d5fa9-7af6-429d-996a-aa94fc13ab49) from Inline(default) in 9.95ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 874d5fa9-7af6-429d-996a-aa94fc13ab49) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6", "file", {"id"=>"asset/67d7aac9a53c042c3873348bb958fe5e.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d0d3e83f-0ffd-4ff2-b7ca-c61f705c4ef6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:48.937294"], ["updated_at", "2020-05-19 20:35:48.937294"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:48.940847"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "f7099d77-c8ed-4eee-b490-814534e39f89"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] Performing Kithe::AssetPromoteJob (Job ID: 56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5) from Inline(default) enqueued at 2020-05-19T20:35:48Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7099d77-c8ed-4eee-b490-814534e39f89", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f7099d77-c8ed-4eee-b490-814534e39f89"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f7099d77-c8ed-4eee-b490-814534e39f89"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] [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/f7099d77-c8ed-4eee-b490-814534e39f89/db948077b477bfde4deaff59d25a72dd.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:35:48.995222"], ["id", "f7099d77-c8ed-4eee-b490-814534e39f89"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5] Performed Kithe::AssetPromoteJob (Job ID: 56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5) from Inline(default) in 51.97ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 56e2a441-b68c-4ff6-8bb4-0d741e7c6aa5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7099d77-c8ed-4eee-b490-814534e39f89", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[36mKithe::Asset Load (0.8ms)[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, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f7099d77-c8ed-4eee-b490-814534e39f89"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.005236"], ["updated_at", "2020-05-19 20:35:49.005236"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:49.008116"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "767f0f63-fa8e-4fda-8c6d-403cb58a6278"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] Performing Kithe::AssetPromoteJob (Job ID: 2fdef11e-4a2b-4ec7-94bc-81f440309cf9) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "767f0f63-fa8e-4fda-8c6d-403cb58a6278", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "767f0f63-fa8e-4fda-8c6d-403cb58a6278"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "767f0f63-fa8e-4fda-8c6d-403cb58a6278"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] [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/767f0f63-fa8e-4fda-8c6d-403cb58a6278/0511057640068295e75a888b91fdb357.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-19 20:35:49.062440"], ["id", "767f0f63-fa8e-4fda-8c6d-403cb58a6278"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fdef11e-4a2b-4ec7-94bc-81f440309cf9] Performed Kithe::AssetPromoteJob (Job ID: 2fdef11e-4a2b-4ec7-94bc-81f440309cf9) from Inline(default) in 53.61ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2fdef11e-4a2b-4ec7-94bc-81f440309cf9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "767f0f63-fa8e-4fda-8c6d-403cb58a6278", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:35:49.070653"], ["updated_at", "2020-05-19 20:35:49.070653"], ["file_data", "{\"id\":\"asset/e7f33950c89b1136c3318cad723fc396.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4b6fe489-12e0-41fb-af3c-70d7c3287049) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "4e7c0ac0-c029-48f0-84a2-9067d6b4760b", "file", {"id"=>"asset/e7f33950c89b1136c3318cad723fc396.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4e7c0ac0-c029-48f0-84a2-9067d6b4760b"], ["LIMIT", 1]]
+ [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-19 20:35:49.077874"], ["file_data", "{\"id\":\"asset/4e7c0ac0-c029-48f0-84a2-9067d6b4760b/315e31196be73e46068705c21fc81008.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4e7c0ac0-c029-48f0-84a2-9067d6b4760b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:49.082956"], ["updated_at", "2020-05-19 20:35:49.082956"], ["file_data", "{\"id\":\"asset/30222b1c7ca7c5c4f4cec7a3806da63a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] Performing Kithe::AssetPromoteJob (Job ID: b08073ef-ceb7-4fa5-a13d-884b9c5d214e) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9869655d-747f-40bd-8e07-95ee0abc4bcd", "file", {"id"=>"asset/30222b1c7ca7c5c4f4cec7a3806da63a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9869655d-747f-40bd-8e07-95ee0abc4bcd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9869655d-747f-40bd-8e07-95ee0abc4bcd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] [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/9869655d-747f-40bd-8e07-95ee0abc4bcd/1f39e8ac95aa41484e83befa169c5934.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:49.094825"], ["id", "9869655d-747f-40bd-8e07-95ee0abc4bcd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b08073ef-ceb7-4fa5-a13d-884b9c5d214e] Performed Kithe::AssetPromoteJob (Job ID: b08073ef-ceb7-4fa5-a13d-884b9c5d214e) from Inline(default) in 9.77ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b08073ef-ceb7-4fa5-a13d-884b9c5d214e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9869655d-747f-40bd-8e07-95ee0abc4bcd", "file", {"id"=>"asset/30222b1c7ca7c5c4f4cec7a3806da63a.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:35:49.099601"], ["updated_at", "2020-05-19 20:35:49.099601"], ["file_data", "{\"id\":\"asset/2c7282735462326e6d0c80b0ae6e6b85.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] Performing Kithe::AssetPromoteJob (Job ID: d70be696-d0ff-4460-a58a-fb9f31ad847c) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "85d06610-bba7-49d4-a415-d60ec47c92b7", "file", {"id"=>"asset/2c7282735462326e6d0c80b0ae6e6b85.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "85d06610-bba7-49d4-a415-d60ec47c92b7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "85d06610-bba7-49d4-a415-d60ec47c92b7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] [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/85d06610-bba7-49d4-a415-d60ec47c92b7/97473f534cc3856612c73103e3f3cd3a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:49.108073"], ["id", "85d06610-bba7-49d4-a415-d60ec47c92b7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d70be696-d0ff-4460-a58a-fb9f31ad847c] Performed Kithe::AssetPromoteJob (Job ID: d70be696-d0ff-4460-a58a-fb9f31ad847c) from Inline(default) in 7.91ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d70be696-d0ff-4460-a58a-fb9f31ad847c) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "85d06610-bba7-49d4-a415-d60ec47c92b7", "file", {"id"=>"asset/2c7282735462326e6d0c80b0ae6e6b85.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "85d06610-bba7-49d4-a415-d60ec47c92b7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:49.118048"], ["updated_at", "2020-05-19 20:35:49.118048"], ["file_data", "{\"id\":\"asset/e620f8f167a9df56d02c64bc8d42db2f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] Performing Kithe::AssetPromoteJob (Job ID: 8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b", "file", {"id"=>"asset/e620f8f167a9df56d02c64bc8d42db2f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] [1m[36mKithe::Asset Load (1.0ms)[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, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] [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/1eaba55c-5cd7-4a08-9789-c4f0a448a00b/03d4d227f9a0be100c4982af414bfd64.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:49.129250"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20] Performed Kithe::AssetPromoteJob (Job ID: 8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20) from Inline(default) in 8.34ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8cf6482e-c60c-43cc-8d5c-c0e1bc4a9e20) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b", "file", {"id"=>"asset/e620f8f167a9df56d02c64bc8d42db2f.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26) AND "kithe_models"."id" = $27 LIMIT $28 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1eaba55c-5cd7-4a08-9789-c4f0a448a00b/03d4d227f9a0be100c4982af414bfd64.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"1eaba55c-5cd7-4a08-9789-c4f0a448a00b/existing/a98da2da77b5c7fae454bf2291ade7cf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9jm1m8fj9_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:35:49.170104"], ["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1eaba55c-5cd7-4a08-9789-c4f0a448a00b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1eaba55c-5cd7-4a08-9789-c4f0a448a00b'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1eaba55c-5cd7-4a08-9789-c4f0a448a00b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [83f52e47-8f14-4f0c-bc8a-14fbcb3bb2b0] Performing Kithe::AssetDeleteJob (Job ID: 83f52e47-8f14-4f0c-bc8a-14fbcb3bb2b0) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1eaba55c-5cd7-4a08-9789-c4f0a448a00b/03d4d227f9a0be100c4982af414bfd64.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1eaba55c-5cd7-4a08-9789-c4f0a448a00b/existing/a98da2da77b5c7fae454bf2291ade7cf.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"9jm1m8fj9_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [83f52e47-8f14-4f0c-bc8a-14fbcb3bb2b0] Performed Kithe::AssetDeleteJob (Job ID: 83f52e47-8f14-4f0c-bc8a-14fbcb3bb2b0) from Inline(default) in 0.27ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 83f52e47-8f14-4f0c-bc8a-14fbcb3bb2b0) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1eaba55c-5cd7-4a08-9789-c4f0a448a00b/03d4d227f9a0be100c4982af414bfd64.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1eaba55c-5cd7-4a08-9789-c4f0a448a00b/existing/a98da2da77b5c7fae454bf2291ade7cf.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"9jm1m8fj9_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.194325"], ["updated_at", "2020-05-19 20:35:49.194325"], ["file_data", "{\"id\":\"asset/539e0184ecad0335c555733438f9f54d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] Performing Kithe::AssetPromoteJob (Job ID: fe5cbe75-6797-4a47-a76a-8b9ad7100889) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1c1875ed-bf9a-4958-b230-05bd4e50183b", "file", {"id"=>"asset/539e0184ecad0335c555733438f9f54d.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] [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/1c1875ed-bf9a-4958-b230-05bd4e50183b/4a5803f501afc7f481559d7c0e419550.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:49.217209"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fe5cbe75-6797-4a47-a76a-8b9ad7100889] Performed Kithe::AssetPromoteJob (Job ID: fe5cbe75-6797-4a47-a76a-8b9ad7100889) from Inline(default) in 21.88ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fe5cbe75-6797-4a47-a76a-8b9ad7100889) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1c1875ed-bf9a-4958-b230-05bd4e50183b", "file", {"id"=>"asset/539e0184ecad0335c555733438f9f54d.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.3ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/4a5803f501afc7f481559d7c0e419550.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"1c1875ed-bf9a-4958-b230-05bd4e50183b/existing/018aa4b712fac1c2a8ba19b39f70eb80.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dns4b8acq_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:35:49.264646"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/386c347ce536b06cdc06a4d51a2fa0c2.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:35:49.334679"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [a3ae593a-69d1-470d-b605-5cef0214e056] Performing Kithe::AssetDeleteJob (Job ID: a3ae593a-69d1-470d-b605-5cef0214e056) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/4a5803f501afc7f481559d7c0e419550.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1c1875ed-bf9a-4958-b230-05bd4e50183b/existing/018aa4b712fac1c2a8ba19b39f70eb80.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"dns4b8acq_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [a3ae593a-69d1-470d-b605-5cef0214e056] Performed Kithe::AssetDeleteJob (Job ID: a3ae593a-69d1-470d-b605-5cef0214e056) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: a3ae593a-69d1-470d-b605-5cef0214e056) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/4a5803f501afc7f481559d7c0e419550.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1c1875ed-bf9a-4958-b230-05bd4e50183b/existing/018aa4b712fac1c2a8ba19b39f70eb80.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"dns4b8acq_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] Performing Kithe::AssetPromoteJob (Job ID: 7981d67a-854b-4bc2-a2da-1d1cbb4c6606) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1c1875ed-bf9a-4958-b230-05bd4e50183b", "file", {"id"=>"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/386c347ce536b06cdc06a4d51a2fa0c2.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] [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/1c1875ed-bf9a-4958-b230-05bd4e50183b/e69a25f6a1207319fb9a235b62392c17.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:35:49.351933"], ["id", "1c1875ed-bf9a-4958-b230-05bd4e50183b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7981d67a-854b-4bc2-a2da-1d1cbb4c6606] Performed Kithe::AssetPromoteJob (Job ID: 7981d67a-854b-4bc2-a2da-1d1cbb4c6606) from Inline(default) in 15.04ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7981d67a-854b-4bc2-a2da-1d1cbb4c6606) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1c1875ed-bf9a-4958-b230-05bd4e50183b", "file", {"id"=>"asset/1c1875ed-bf9a-4958-b230-05bd4e50183b/386c347ce536b06cdc06a4d51a2fa0c2.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:49.358563"], ["updated_at", "2020-05-19 20:35:49.358563"], ["file_data", "{\"id\":\"asset/29cd79c1a88ca5d77c9f3678476a314c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] Performing Kithe::AssetPromoteJob (Job ID: 5676e6b5-aac6-4089-9c12-176ab1720226) from Inline(default) enqueued at 2020-05-19T20:35:49Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8e87ec3f-ee88-44a5-b435-637d66abc876", "file", {"id"=>"asset/29cd79c1a88ca5d77c9f3678476a314c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] [1m[36mKithe::Asset Load (4.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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] [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/8e87ec3f-ee88-44a5-b435-637d66abc876/3263765fc288eb92112f6cb86ffc8127.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:35:49.384113"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5676e6b5-aac6-4089-9c12-176ab1720226] Performed Kithe::AssetPromoteJob (Job ID: 5676e6b5-aac6-4089-9c12-176ab1720226) from Inline(default) in 26.26ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 5676e6b5-aac6-4089-9c12-176ab1720226) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8e87ec3f-ee88-44a5-b435-637d66abc876", "file", {"id"=>"asset/29cd79c1a88ca5d77c9f3678476a314c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (1.0ms)[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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8e87ec3f-ee88-44a5-b435-637d66abc876/3263765fc288eb92112f6cb86ffc8127.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"8e87ec3f-ee88-44a5-b435-637d66abc876/existing/72dcedb210ced5fd989d80b1e816382e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gctyf6mmi_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:35:49.433797"], ["id", "8e87ec3f-ee88-44a5-b435-637d66abc876"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:35:49.437452"], ["updated_at", "2020-05-19 20:35:49.437452"], ["file_data", "{\"id\":\"asset/85138cda70c87c034d2572f8dc5436a4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "edd164dd-ec9f-40f3-bf34-837bcf244566"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "edd164dd-ec9f-40f3-bf34-837bcf244566"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/85138cda70c87c034d2572f8dc5436a4.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"edd164dd-ec9f-40f3-bf34-837bcf244566/test/d53cadb488455e054093955d680bb620.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"prwzr5f1e_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:35:49.449141"], ["id", "edd164dd-ec9f-40f3-bf34-837bcf244566"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:35:49.466654"], ["updated_at", "2020-05-19 20:35:49.466654"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.546593"], ["updated_at", "2020-05-19 20:35:49.546593"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "6b40bf59-783f-429b-ae2d-d948b64b1def"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:49.552777"], ["updated_at", "2020-05-19 20:35:49.552777"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "be9ce725-1223-49ef-aaf1-47518df876f7"], ["LIMIT", 1]]
+ [1m[35m (2.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:35:49.568200"], ["updated_at", "2020-05-19 20:35:49.568200"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:49.570963"], ["updated_at", "2020-05-19 20:35:49.570963"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:35:49.587415"], ["updated_at", "2020-05-19 20:35:49.587415"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["container_id", "e7831d8b-6b95-4850-9612-97bc4609ce89"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "e7831d8b-6b95-4850-9612-97bc4609ce89"]]
+ [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", "3419f0ac-6661-4cd4-b6d6-e2216670920c"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["container_id", "e7831d8b-6b95-4850-9612-97bc4609ce89"]]
+ [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", "3419f0ac-6661-4cd4-b6d6-e2216670920c"], ["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["container_id", "e7831d8b-6b95-4850-9612-97bc4609ce89"]]
+ [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", "3419f0ac-6661-4cd4-b6d6-e2216670920c"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '3419f0ac-6661-4cd4-b6d6-e2216670920c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '3419f0ac-6661-4cd4-b6d6-e2216670920c'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "3419f0ac-6661-4cd4-b6d6-e2216670920c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["LIMIT", 1]]
+ [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", "e7831d8b-6b95-4850-9612-97bc4609ce89"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [1m[35m (0.5ms)[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", "e7831d8b-6b95-4850-9612-97bc4609ce89"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.616652"], ["updated_at", "2020-05-19 20:35:49.616652"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "e89fe97d-ac0c-4f2d-95fb-0b76ed0a9495"], ["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [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", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [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", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [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", "2afc176f-96b5-4417-b08e-8977743c3196"], ["containee_id", "e89fe97d-ac0c-4f2d-95fb-0b76ed0a9495"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "2afc176f-96b5-4417-b08e-8977743c3196"], ["containee_id", "e89fe97d-ac0c-4f2d-95fb-0b76ed0a9495"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2afc176f-96b5-4417-b08e-8977743c3196'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2afc176f-96b5-4417-b08e-8977743c3196'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2afc176f-96b5-4417-b08e-8977743c3196"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e89fe97d-ac0c-4f2d-95fb-0b76ed0a9495"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "e89fe97d-ac0c-4f2d-95fb-0b76ed0a9495"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.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-19 20:35:49.658242"], ["updated_at", "2020-05-19 20:35:49.658242"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:49.663573"], ["updated_at", "2020-05-19 20:35:49.663573"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2aa0f905-1596-4435-a3b5-33e15f41dc2d"]]
+ [1m[36mKithe::Work Update (0.7ms)[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-19 20:35:49.667373"], ["representative_id", "2aa0f905-1596-4435-a3b5-33e15f41dc2d"], ["leaf_representative_id", "2aa0f905-1596-4435-a3b5-33e15f41dc2d"], ["id", "dd7edce3-54f9-402a-892f-d2ebaee52fdc"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2aa0f905-1596-4435-a3b5-33e15f41dc2d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dd7edce3-54f9-402a-892f-d2ebaee52fdc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dd7edce3-54f9-402a-892f-d2ebaee52fdc'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dd7edce3-54f9-402a-892f-d2ebaee52fdc"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "2aa0f905-1596-4435-a3b5-33e15f41dc2d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.679078"], ["updated_at", "2020-05-19 20:35:49.679078"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:49.683406"], ["updated_at", "2020-05-19 20:35:49.683406"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "74248a90-d9eb-41a4-8089-6747ee8cda3d"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.687046"], ["updated_at", "2020-05-19 20:35:49.687046"], ["representative_id", "74248a90-d9eb-41a4-8089-6747ee8cda3d"], ["leaf_representative_id", "74248a90-d9eb-41a4-8089-6747ee8cda3d"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '74248a90-d9eb-41a4-8089-6747ee8cda3d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9c2e3da5-57f2-4f33-9d1d-ef77da9234a3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9c2e3da5-57f2-4f33-9d1d-ef77da9234a3'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "74248a90-d9eb-41a4-8089-6747ee8cda3d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "9c2e3da5-57f2-4f33-9d1d-ef77da9234a3"]]
+ [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-19 20:35:49.697392"], ["updated_at", "2020-05-19 20:35:49.697392"], ["representative_id", "9c2e3da5-57f2-4f33-9d1d-ef77da9234a3"], ["leaf_representative_id", "74248a90-d9eb-41a4-8089-6747ee8cda3d"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '74248a90-d9eb-41a4-8089-6747ee8cda3d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e60f2c9f-3223-4e9d-a5d1-39cde71d0246'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e60f2c9f-3223-4e9d-a5d1-39cde71d0246'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "74248a90-d9eb-41a4-8089-6747ee8cda3d"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-19 20:35:49.704625"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "e60f2c9f-3223-4e9d-a5d1-39cde71d0246"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e60f2c9f-3223-4e9d-a5d1-39cde71d0246'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e60f2c9f-3223-4e9d-a5d1-39cde71d0246'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.711539"], ["updated_at", "2020-05-19 20:35:49.711539"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c55cd892-e3d9-44cb-a0d4-78c6f21a8123"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.715570"], ["updated_at", "2020-05-19 20:35:49.715570"], ["representative_id", "c55cd892-e3d9-44cb-a0d4-78c6f21a8123"], ["leaf_representative_id", "c55cd892-e3d9-44cb-a0d4-78c6f21a8123"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c55cd892-e3d9-44cb-a0d4-78c6f21a8123'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '656489a5-29bf-4495-b186-36dd73ad609f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '656489a5-29bf-4495-b186-36dd73ad609f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "656489a5-29bf-4495-b186-36dd73ad609f"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.720322"], ["updated_at", "2020-05-19 20:35:49.720322"], ["representative_id", "656489a5-29bf-4495-b186-36dd73ad609f"], ["leaf_representative_id", "c55cd892-e3d9-44cb-a0d4-78c6f21a8123"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c55cd892-e3d9-44cb-a0d4-78c6f21a8123'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '251127d4-ce74-47fa-a85c-5d73d964cf27'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '251127d4-ce74-47fa-a85c-5d73d964cf27'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.7ms)[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-19 20:35:49.724430"], ["representative_id", "c55cd892-e3d9-44cb-a0d4-78c6f21a8123"], ["leaf_representative_id", "656489a5-29bf-4495-b186-36dd73ad609f"], ["id", "251127d4-ce74-47fa-a85c-5d73d964cf27"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '656489a5-29bf-4495-b186-36dd73ad609f'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '251127d4-ce74-47fa-a85c-5d73d964cf27'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '251127d4-ce74-47fa-a85c-5d73d964cf27'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:49.732117"], ["updated_at", "2020-05-19 20:35:49.732117"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:35:49.734841"], ["updated_at", "2020-05-19 20:35:49.734841"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5865fbeb-ace7-497d-ba91-aa53c145966e"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.737994"], ["updated_at", "2020-05-19 20:35:49.737994"], ["representative_id", "5865fbeb-ace7-497d-ba91-aa53c145966e"], ["leaf_representative_id", "5865fbeb-ace7-497d-ba91-aa53c145966e"], ["kithe_model_type", 1]]
+ [1m[35m (4.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5865fbeb-ace7-497d-ba91-aa53c145966e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '022c00d5-00c6-4e4b-9d36-d6282dc60ff1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '022c00d5-00c6-4e4b-9d36-d6282dc60ff1'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "022c00d5-00c6-4e4b-9d36-d6282dc60ff1"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.746846"], ["updated_at", "2020-05-19 20:35:49.746846"], ["representative_id", "022c00d5-00c6-4e4b-9d36-d6282dc60ff1"], ["leaf_representative_id", "5865fbeb-ace7-497d-ba91-aa53c145966e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5865fbeb-ace7-497d-ba91-aa53c145966e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '61e32283-59ee-40ca-b8c9-b62bfe73bf99'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '61e32283-59ee-40ca-b8c9-b62bfe73bf99'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:49.750011"], ["leaf_representative_id", "1c2c3052-8471-4b9b-99b3-a68b632a20fc"], ["id", "61e32283-59ee-40ca-b8c9-b62bfe73bf99"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1c2c3052-8471-4b9b-99b3-a68b632a20fc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '61e32283-59ee-40ca-b8c9-b62bfe73bf99'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '61e32283-59ee-40ca-b8c9-b62bfe73bf99'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "1c2c3052-8471-4b9b-99b3-a68b632a20fc"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "022c00d5-00c6-4e4b-9d36-d6282dc60ff1"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "5865fbeb-ace7-497d-ba91-aa53c145966e"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:49.761809"], ["updated_at", "2020-05-19 20:35:49.761809"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:49.764251"], ["updated_at", "2020-05-19 20:35:49.764251"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "97662a89-1699-4c06-ae7a-0dc5df96b22c"]]
+ [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-19 20:35:49.767024"], ["representative_id", "97662a89-1699-4c06-ae7a-0dc5df96b22c"], ["leaf_representative_id", "97662a89-1699-4c06-ae7a-0dc5df96b22c"], ["id", "2a534b9a-cb7a-4780-af1a-9ed2d4ed7817"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '97662a89-1699-4c06-ae7a-0dc5df96b22c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2a534b9a-cb7a-4780-af1a-9ed2d4ed7817'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2a534b9a-cb7a-4780-af1a-9ed2d4ed7817'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2a534b9a-cb7a-4780-af1a-9ed2d4ed7817"]]
+ [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-19 20:35:49.771447"], ["representative_id", "2a534b9a-cb7a-4780-af1a-9ed2d4ed7817"], ["leaf_representative_id", "97662a89-1699-4c06-ae7a-0dc5df96b22c"], ["id", "97662a89-1699-4c06-ae7a-0dc5df96b22c"]]
+ [1m[35m (2.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '97662a89-1699-4c06-ae7a-0dc5df96b22c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '97662a89-1699-4c06-ae7a-0dc5df96b22c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '97662a89-1699-4c06-ae7a-0dc5df96b22c'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.779667"], ["updated_at", "2020-05-19 20:35:49.779667"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:35:49.782654"], ["updated_at", "2020-05-19 20:35:49.782654"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "af0162cc-49c7-4a42-81b1-3d7864d047c8"]]
+ [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-19 20:35:49.786070"], ["updated_at", "2020-05-19 20:35:49.786070"], ["representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'be1dc713-547d-4614-8871-732d539a7a08'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'be1dc713-547d-4614-8871-732d539a7a08'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad"]]
+ [1m[36mKithe::Work Create (2.1ms)[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-19 20:35:49.790253"], ["updated_at", "2020-05-19 20:35:49.790253"], ["representative_id", "22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad"], ["leaf_representative_id", "22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad"], ["kithe_model_type", 1]]
+ [1m[35m (1.6ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '02350066-695b-4479-81d8-6d8a0d4d121e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '02350066-695b-4479-81d8-6d8a0d4d121e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "be1dc713-547d-4614-8871-732d539a7a08"]]
+ [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-19 20:35:49.797459"], ["updated_at", "2020-05-19 20:35:49.797459"], ["representative_id", "be1dc713-547d-4614-8871-732d539a7a08"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a4eb60ca-af72-412a-bdb5-546e2e2af867'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a4eb60ca-af72-412a-bdb5-546e2e2af867'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "be1dc713-547d-4614-8871-732d539a7a08"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.801169"], ["updated_at", "2020-05-19 20:35:49.801169"], ["representative_id", "be1dc713-547d-4614-8871-732d539a7a08"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd7f1d413-ff62-4436-9b3d-6026529a826f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd7f1d413-ff62-4436-9b3d-6026529a826f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "02350066-695b-4479-81d8-6d8a0d4d121e"]]
+ [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-19 20:35:49.804985"], ["updated_at", "2020-05-19 20:35:49.804985"], ["representative_id", "02350066-695b-4479-81d8-6d8a0d4d121e"], ["leaf_representative_id", "22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cc378841-4ca8-4e82-8048-6612c23a2a2a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cc378841-4ca8-4e82-8048-6612c23a2a2a'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a4eb60ca-af72-412a-bdb5-546e2e2af867"]]
+ [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-19 20:35:49.810212"], ["updated_at", "2020-05-19 20:35:49.810212"], ["representative_id", "a4eb60ca-af72-412a-bdb5-546e2e2af867"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bf6c5daa-ec05-4abd-97de-0b695f86c20b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bf6c5daa-ec05-4abd-97de-0b695f86c20b'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "bf6c5daa-ec05-4abd-97de-0b695f86c20b"]]
+ [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-19 20:35:49.814025"], ["updated_at", "2020-05-19 20:35:49.814025"], ["representative_id", "bf6c5daa-ec05-4abd-97de-0b695f86c20b"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7febddf6-8608-4e93-8ae3-c596562f2b42'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7febddf6-8608-4e93-8ae3-c596562f2b42'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "bf6c5daa-ec05-4abd-97de-0b695f86c20b"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.817808"], ["updated_at", "2020-05-19 20:35:49.817808"], ["representative_id", "bf6c5daa-ec05-4abd-97de-0b695f86c20b"], ["leaf_representative_id", "af0162cc-49c7-4a42-81b1-3d7864d047c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'af0162cc-49c7-4a42-81b1-3d7864d047c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '87c376f4-190b-4474-a88d-0314c84dda04'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '87c376f4-190b-4474-a88d-0314c84dda04'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "02350066-695b-4479-81d8-6d8a0d4d121e"]]
+ [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-19 20:35:49.821227"], ["representative_id", "02350066-695b-4479-81d8-6d8a0d4d121e"], ["leaf_representative_id", "22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad"], ["id", "a4eb60ca-af72-412a-bdb5-546e2e2af867"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '22bb59e4-2d8e-44bd-9f47-e1f0d1b854ad'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a4eb60ca-af72-412a-bdb5-546e2e2af867'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a4eb60ca-af72-412a-bdb5-546e2e2af867'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a4eb60ca-af72-412a-bdb5-546e2e2af867"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "bf6c5daa-ec05-4abd-97de-0b695f86c20b"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "7febddf6-8608-4e93-8ae3-c596562f2b42"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "87c376f4-190b-4474-a88d-0314c84dda04"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d7f1d413-ff62-4436-9b3d-6026529a826f"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "be1dc713-547d-4614-8871-732d539a7a08"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.834056"], ["updated_at", "2020-05-19 20:35:49.834056"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:35:49.836648"], ["updated_at", "2020-05-19 20:35:49.836648"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b798405f-0a2f-42e2-8206-7b47befb867d"]]
+ [1m[36mKithe::Work Create (1.1ms)[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-19 20:35:49.839771"], ["updated_at", "2020-05-19 20:35:49.839771"], ["representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ba29cb4-c873-43c8-aadd-bc63124794ed'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ba29cb4-c873-43c8-aadd-bc63124794ed'
+);
+[0m
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0c4141e2-3a1f-4999-9344-2a918d587984"]]
+ [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-19 20:35:49.846412"], ["updated_at", "2020-05-19 20:35:49.846412"], ["representative_id", "0c4141e2-3a1f-4999-9344-2a918d587984"], ["leaf_representative_id", "0c4141e2-3a1f-4999-9344-2a918d587984"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0c4141e2-3a1f-4999-9344-2a918d587984'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '078b97f3-91dd-47b3-bb4f-48076adc6ed8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '078b97f3-91dd-47b3-bb4f-48076adc6ed8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0ba29cb4-c873-43c8-aadd-bc63124794ed"]]
+ [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-19 20:35:49.850960"], ["updated_at", "2020-05-19 20:35:49.850960"], ["representative_id", "0ba29cb4-c873-43c8-aadd-bc63124794ed"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a4df1e26-1c2f-4bf4-81ae-8af1c172f5d9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a4df1e26-1c2f-4bf4-81ae-8af1c172f5d9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0ba29cb4-c873-43c8-aadd-bc63124794ed"]]
+ [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-19 20:35:49.855196"], ["updated_at", "2020-05-19 20:35:49.855196"], ["representative_id", "0ba29cb4-c873-43c8-aadd-bc63124794ed"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (1.6ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '31f5bf3d-dd41-4126-9765-2afe217eb4f2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '31f5bf3d-dd41-4126-9765-2afe217eb4f2'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "078b97f3-91dd-47b3-bb4f-48076adc6ed8"]]
+ [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-19 20:35:49.860878"], ["updated_at", "2020-05-19 20:35:49.860878"], ["representative_id", "078b97f3-91dd-47b3-bb4f-48076adc6ed8"], ["leaf_representative_id", "0c4141e2-3a1f-4999-9344-2a918d587984"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0c4141e2-3a1f-4999-9344-2a918d587984'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '39cf6d90-2c61-4bbf-b8ec-87309c6b2f5e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '39cf6d90-2c61-4bbf-b8ec-87309c6b2f5e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a4df1e26-1c2f-4bf4-81ae-8af1c172f5d9"]]
+ [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-19 20:35:49.865027"], ["updated_at", "2020-05-19 20:35:49.865027"], ["representative_id", "a4df1e26-1c2f-4bf4-81ae-8af1c172f5d9"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '34cbb23c-3162-4713-ba32-45e067a6d4bf'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '34cbb23c-3162-4713-ba32-45e067a6d4bf'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "34cbb23c-3162-4713-ba32-45e067a6d4bf"]]
+ [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-19 20:35:49.868982"], ["updated_at", "2020-05-19 20:35:49.868982"], ["representative_id", "34cbb23c-3162-4713-ba32-45e067a6d4bf"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9c535e8b-147e-4b0d-bb90-24f5f847d4b8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9c535e8b-147e-4b0d-bb90-24f5f847d4b8'
+);
+[0m
+ [1m[35m (3.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.9ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "34cbb23c-3162-4713-ba32-45e067a6d4bf"]]
+ [1m[36mKithe::Work Create (2.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:49.879806"], ["updated_at", "2020-05-19 20:35:49.879806"], ["representative_id", "34cbb23c-3162-4713-ba32-45e067a6d4bf"], ["leaf_representative_id", "b798405f-0a2f-42e2-8206-7b47befb867d"], ["kithe_model_type", 1]]
+ [1m[35m (2.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b798405f-0a2f-42e2-8206-7b47befb867d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c0a8fc5f-6abe-4de8-8c3f-6c2d0859cd12'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c0a8fc5f-6abe-4de8-8c3f-6c2d0859cd12'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.8ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0c4141e2-3a1f-4999-9344-2a918d587984"]]
+ [1m[36mKithe::Work Update (1.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-19 20:35:49.890161"], ["representative_id", "0c4141e2-3a1f-4999-9344-2a918d587984"], ["leaf_representative_id", "0c4141e2-3a1f-4999-9344-2a918d587984"], ["id", "0ba29cb4-c873-43c8-aadd-bc63124794ed"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0c4141e2-3a1f-4999-9344-2a918d587984'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ba29cb4-c873-43c8-aadd-bc63124794ed'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ba29cb4-c873-43c8-aadd-bc63124794ed'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a4df1e26-1c2f-4bf4-81ae-8af1c172f5d9"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "31f5bf3d-dd41-4126-9765-2afe217eb4f2"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "34cbb23c-3162-4713-ba32-45e067a6d4bf"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "9c535e8b-147e-4b0d-bb90-24f5f847d4b8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c0a8fc5f-6abe-4de8-8c3f-6c2d0859cd12"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.903990"], ["updated_at", "2020-05-19 20:35:49.903990"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4475560f-d1b0-467c-bcf3-81ec19c3cfde"]]
+ [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-19 20:35:49.908065"], ["updated_at", "2020-05-19 20:35:49.908065"], ["representative_id", "4475560f-d1b0-467c-bcf3-81ec19c3cfde"], ["leaf_representative_id", "4475560f-d1b0-467c-bcf3-81ec19c3cfde"], ["kithe_model_type", 1]]
+ [1m[35m (2.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4475560f-d1b0-467c-bcf3-81ec19c3cfde'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '56455702-ec9a-4e1c-a96a-f29f840b5ff1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '56455702-ec9a-4e1c-a96a-f29f840b5ff1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "56455702-ec9a-4e1c-a96a-f29f840b5ff1"]]
+ [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-19 20:35:49.914550"], ["updated_at", "2020-05-19 20:35:49.914550"], ["representative_id", "56455702-ec9a-4e1c-a96a-f29f840b5ff1"], ["leaf_representative_id", "4475560f-d1b0-467c-bcf3-81ec19c3cfde"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4475560f-d1b0-467c-bcf3-81ec19c3cfde'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '596ad945-557d-4e00-9f7e-a12812431802'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '596ad945-557d-4e00-9f7e-a12812431802'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "4475560f-d1b0-467c-bcf3-81ec19c3cfde"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.934491"], ["updated_at", "2020-05-19 20:35:49.934491"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2464efda-541f-4a14-98a2-6e24d6824ebb"]]
+ [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-19 20:35:49.938021"], ["updated_at", "2020-05-19 20:35:49.938021"], ["representative_id", "2464efda-541f-4a14-98a2-6e24d6824ebb"], ["leaf_representative_id", "2464efda-541f-4a14-98a2-6e24d6824ebb"], ["kithe_model_type", 1]]
+ [1m[35m (1.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2464efda-541f-4a14-98a2-6e24d6824ebb'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f03dd3ce-699f-49cd-8215-a8354ab45928'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f03dd3ce-699f-49cd-8215-a8354ab45928'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "2464efda-541f-4a14-98a2-6e24d6824ebb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "2464efda-541f-4a14-98a2-6e24d6824ebb"]]
+ [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", "2464efda-541f-4a14-98a2-6e24d6824ebb"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "2464efda-541f-4a14-98a2-6e24d6824ebb"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2464efda-541f-4a14-98a2-6e24d6824ebb'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2464efda-541f-4a14-98a2-6e24d6824ebb'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2464efda-541f-4a14-98a2-6e24d6824ebb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f03dd3ce-699f-49cd-8215-a8354ab45928"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:35:49.955774"], ["updated_at", "2020-05-19 20:35:49.955774"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5deb249c-058f-46d8-a2e4-0b612de23a3b"]]
+ [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-19 20:35:49.962353"], ["updated_at", "2020-05-19 20:35:49.962353"], ["representative_id", "5deb249c-058f-46d8-a2e4-0b612de23a3b"], ["leaf_representative_id", "5deb249c-058f-46d8-a2e4-0b612de23a3b"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5deb249c-058f-46d8-a2e4-0b612de23a3b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f2d727c3-5969-4a4f-b450-139bbd0e1c57'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f2d727c3-5969-4a4f-b450-139bbd0e1c57'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f2d727c3-5969-4a4f-b450-139bbd0e1c57"]]
+ [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-19 20:35:49.966531"], ["updated_at", "2020-05-19 20:35:49.966531"], ["representative_id", "f2d727c3-5969-4a4f-b450-139bbd0e1c57"], ["leaf_representative_id", "5deb249c-058f-46d8-a2e4-0b612de23a3b"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5deb249c-058f-46d8-a2e4-0b612de23a3b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd5f7bd23-8a83-441d-94f2-93ca29dd7e0b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd5f7bd23-8a83-441d-94f2-93ca29dd7e0b'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f2d727c3-5969-4a4f-b450-139bbd0e1c57"]]
+ [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", "f2d727c3-5969-4a4f-b450-139bbd0e1c57"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "f2d727c3-5969-4a4f-b450-139bbd0e1c57"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f2d727c3-5969-4a4f-b450-139bbd0e1c57'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f2d727c3-5969-4a4f-b450-139bbd0e1c57'
+);
+[0m
+ [1m[36mKithe::Work Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f2d727c3-5969-4a4f-b450-139bbd0e1c57"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d5f7bd23-8a83-441d-94f2-93ca29dd7e0b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:49.979846"], ["updated_at", "2020-05-19 20:35:49.979846"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "514624aa-6626-4cc8-aedc-8441961898c8"]]
+ [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-19 20:35:49.983216"], ["updated_at", "2020-05-19 20:35:49.983216"], ["representative_id", "514624aa-6626-4cc8-aedc-8441961898c8"], ["leaf_representative_id", "514624aa-6626-4cc8-aedc-8441961898c8"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '514624aa-6626-4cc8-aedc-8441961898c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '76e31329-e62e-4305-8d2c-bd500cfbba3b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '76e31329-e62e-4305-8d2c-bd500cfbba3b'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "76e31329-e62e-4305-8d2c-bd500cfbba3b"]]
+ [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-19 20:35:49.987630"], ["updated_at", "2020-05-19 20:35:49.987630"], ["representative_id", "76e31329-e62e-4305-8d2c-bd500cfbba3b"], ["leaf_representative_id", "514624aa-6626-4cc8-aedc-8441961898c8"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '514624aa-6626-4cc8-aedc-8441961898c8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '19579758-8171-4b1c-b983-0320cd458a65'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '19579758-8171-4b1c-b983-0320cd458a65'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "514624aa-6626-4cc8-aedc-8441961898c8"]]
+ [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", "514624aa-6626-4cc8-aedc-8441961898c8"]]
+ [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", "514624aa-6626-4cc8-aedc-8441961898c8"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '514624aa-6626-4cc8-aedc-8441961898c8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '514624aa-6626-4cc8-aedc-8441961898c8'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "514624aa-6626-4cc8-aedc-8441961898c8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "19579758-8171-4b1c-b983-0320cd458a65"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "76e31329-e62e-4305-8d2c-bd500cfbba3b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.004794"], ["updated_at", "2020-05-19 20:35:50.004794"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.016285"], ["updated_at", "2020-05-19 20:35:50.016285"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.019454"], ["updated_at", "2020-05-19 20:35:50.019454"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.022098"], ["parent_id", "0d1f8130-e0b0-4bc3-ac76-749a8fb5da7b"], ["id", "c920dad2-6a4b-4d5d-ac51-3cd741f74572"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "c920dad2-6a4b-4d5d-ac51-3cd741f74572"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "0d1f8130-e0b0-4bc3-ac76-749a8fb5da7b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.035485"], ["updated_at", "2020-05-19 20:35:50.035485"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.038515"], ["updated_at", "2020-05-19 20:35:50.038515"], ["kithe_model_type", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.043153"], ["parent_id", "cb9397eb-f183-4ff0-9ebe-a8a50dadae36"], ["id", "2a53c891-4cc8-44a5-a8ab-c56e9e38e9b3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2a53c891-4cc8-44a5-a8ab-c56e9e38e9b3"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "cb9397eb-f183-4ff0-9ebe-a8a50dadae36"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:35:50.059413"], ["updated_at", "2020-05-19 20:35:50.059413"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:35:50.062406"], ["updated_at", "2020-05-19 20:35:50.062406"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:35:50.067642"], ["updated_at", "2020-05-19 20:35:50.067642"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "fd8b82a2-70bd-42c1-ac67-ee7dbf234645"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:35:50.077778"], ["updated_at", "2020-05-19 20:35:50.077778"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "c4f80157-2f89-4f9b-8e66-54bc2885cdbe"], ["container_id", "fd8b82a2-70bd-42c1-ac67-ee7dbf234645"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.097169"], ["updated_at", "2020-05-19 20:35:50.097169"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "eb89f79f-84a8-4b21-afd1-76892e2313a6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:35:50.151405"], ["updated_at", "2020-05-19 20:35:50.151405"], ["file_data", "{\"id\":\"asset/c4faf2881014a849881a00f9ca7c2434.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (42.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:35:50.191892"], ["file_data", "{\"id\":\"asset/c8196b32-58f3-44ef-92dd-3a6a09fa2774/366fc679b1852573852e7fdfb7b644c6.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "c8196b32-58f3-44ef-92dd-3a6a09fa2774"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "c8196b32-58f3-44ef-92dd-3a6a09fa2774"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (2.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", "ChecksumAsset"], ["created_at", "2020-05-19 20:35:50.288827"], ["updated_at", "2020-05-19 20:35:50.288827"], ["file_data", "{\"id\":\"asset/9a6ffeeabc56321bfb458e0ae67994d8.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "a77b235c-ed24-470f-b57e-e3be4fed7fcb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:35:50.345220"], ["updated_at", "2020-05-19 20:35:50.345220"], ["file_data", "{\"id\":\"asset/7f45c120941cea3060f4c8d8cd83dcac.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.397481"], ["file_data", "{\"id\":\"asset/6ef3e422-95a8-4eda-b0f5-6fd102fd1caa/6cd7644b827ac1ad3fde359e9b57e744.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "6ef3e422-95a8-4eda-b0f5-6fd102fd1caa"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "6ef3e422-95a8-4eda-b0f5-6fd102fd1caa"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "6ef3e422-95a8-4eda-b0f5-6fd102fd1caa"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.435093"], ["file_data", "{\"id\":\"asset/6ef3e422-95a8-4eda-b0f5-6fd102fd1caa/6cd7644b827ac1ad3fde359e9b57e744.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\":\"6ef3e422-95a8-4eda-b0f5-6fd102fd1caa/test/81b9e5c4393592af4f5e225a5a85d21c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4vawf3yli_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6ef3e422-95a8-4eda-b0f5-6fd102fd1caa"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.1ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:50.456496"], ["updated_at", "2020-05-19 20:35:50.456496"], ["file_data", "{\"id\":\"asset/1e72d75b1dbacdfe904a6acff51937d6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.463074"], ["file_data", "{\"id\":\"asset/bb6bbaed-728c-49ac-ad39-451f7372c901/90f8faaf7f2a19cbd9b6f7767b0c62e3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "bb6bbaed-728c-49ac-ad39-451f7372c901"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "bb6bbaed-728c-49ac-ad39-451f7372c901"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:50.527805"], ["updated_at", "2020-05-19 20:35:50.527805"], ["file_data", "{\"id\":\"asset/e4759c7afb5705174940521b9b3276fd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.531356"], ["file_data", "{\"id\":\"asset/db3a724a-d701-4461-a926-96eb03d46fec/7d5dc58b889391f6961e010949bdbac7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "db3a724a-d701-4461-a926-96eb03d46fec"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:50.549441"], ["updated_at", "2020-05-19 20:35:50.549441"], ["file_data", "{\"id\":\"asset/1447ae3e5841d57c7cef890bf1e35c94.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.553083"], ["file_data", "{\"id\":\"asset/61a80bfc-7e4e-4250-a2d9-b8ceedea507b/642bb6e1cbffe0512132fa6fcde0e84e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "61a80bfc-7e4e-4250-a2d9-b8ceedea507b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 20:35:50.572437"], ["updated_at", "2020-05-19 20:35:50.572437"], ["file_data", "{\"id\":\"asset/d412dabdaf33fd42820c1a8f3ea20c65.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.578771"], ["file_data", "{\"id\":\"asset/2d11e6a4-17c9-436a-9302-db1941b9d356/9f4cd6847dd2fed44ef3342b936c17fe.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "2d11e6a4-17c9-436a-9302-db1941b9d356"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.599409"], ["updated_at", "2020-05-19 20:35:50.599409"], ["file_data", "{\"id\":\"asset/87bf4312df40cd11b483cf3d7cb6b0a4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.602800"], ["file_data", "{\"id\":\"asset/15e337fd-0801-4ab3-812c-d2dbd14bcb62/09ee101a9a8377227602eca0f4a6cbcb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "15e337fd-0801-4ab3-812c-d2dbd14bcb62"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "15e337fd-0801-4ab3-812c-d2dbd14bcb62"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:50.686705"], ["updated_at", "2020-05-19 20:35:50.686705"], ["file_data", "{\"id\":\"asset/f70616a8ee18532548e65c99a78871b6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.690361"], ["file_data", "{\"id\":\"asset/c945b7de-f882-4a29-977e-542509afe09d/88295b10d04024716e0a7f59dfb493ee.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c945b7de-f882-4a29-977e-542509afe09d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c945b7de-f882-4a29-977e-542509afe09d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.742454"], ["updated_at", "2020-05-19 20:35:50.742454"], ["file_data", "{\"id\":\"asset/f821f65cfb591c3126b1d4397c8cf2cf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.747673"], ["file_data", "{\"id\":\"asset/080fd672-78e5-45ca-b8e4-8aa189282634/defb9fd0b1e89510e1940cbf1b06cf50.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "080fd672-78e5-45ca-b8e4-8aa189282634"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "080fd672-78e5-45ca-b8e4-8aa189282634"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:50.800074"], ["updated_at", "2020-05-19 20:35:50.800074"], ["file_data", "{\"id\":\"asset/7ea7e78befa00e3c25f6324f327e02f2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:50.803692"], ["file_data", "{\"id\":\"asset/14223868-079b-47d9-abe2-bd3a06263513/c3e106f318ca491c36cb5158130f039d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "14223868-079b-47d9-abe2-bd3a06263513"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "14223868-079b-47d9-abe2-bd3a06263513"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:35:50.897667"], ["updated_at", "2020-05-19 20:35:50.897667"], ["file_data", "{\"id\":\"asset/fa0a9c12c3d1cedad1d1f697bd4f70e9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.901619"], ["file_data", "{\"id\":\"asset/ccc05523-17ed-41ec-b2ed-378dd8f3a276/bd5bc919661890bf34b6ce11ef2c8305.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ccc05523-17ed-41ec-b2ed-378dd8f3a276"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ccc05523-17ed-41ec-b2ed-378dd8f3a276"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:50.984126"], ["updated_at", "2020-05-19 20:35:50.984126"], ["file_data", "{\"id\":\"asset/1f5bb4ecefe365dc6b7c63c2dcc25d17.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:50.987761"], ["file_data", "{\"id\":\"asset/6a094a0b-6b14-4809-8467-c17f28ecbb6c/477f3ae1c82b821553443c38687432d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6a094a0b-6b14-4809-8467-c17f28ecbb6c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "6a094a0b-6b14-4809-8467-c17f28ecbb6c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:35:51.070819"], ["updated_at", "2020-05-19 20:35:51.070819"], ["file_data", "{\"id\":\"asset/88d15cec648a9081573647e797944735.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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-19 20:35:51.074689"], ["file_data", "{\"id\":\"asset/e02fddb1-c2d5-4f2f-997c-ff995d667a27/92528ddb3176b28876a8b677e0804b88.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e02fddb1-c2d5-4f2f-997c-ff995d667a27"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e02fddb1-c2d5-4f2f-997c-ff995d667a27"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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", "CustomAsset"], ["created_at", "2020-05-19 20:35:51.170019"], ["updated_at", "2020-05-19 20:35:51.170019"], ["file_data", "{\"id\":\"asset/8944913a061823c6c69d42d9dbc0eadb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.175980"], ["file_data", "{\"id\":\"asset/fad808e3-f064-4428-b2fb-0c18625dd33b/59ef3c0b2a75db39416b05f60cdfed7d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "fad808e3-f064-4428-b2fb-0c18625dd33b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "fad808e3-f064-4428-b2fb-0c18625dd33b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:51.296454"], ["updated_at", "2020-05-19 20:35:51.296454"], ["file_data", "{\"id\":\"asset/c4ac1c38b877a7cc5b1cda91f93ac23f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:51.300779"], ["file_data", "{\"id\":\"asset/ab2c694c-0690-4301-ab99-a8f523ef5c21/d6d2b117f9de88e3b44bea4f672ce668.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ab2c694c-0690-4301-ab99-a8f523ef5c21"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ab2c694c-0690-4301-ab99-a8f523ef5c21"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (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", "CustomAsset"], ["created_at", "2020-05-19 20:35:51.356556"], ["updated_at", "2020-05-19 20:35:51.356556"], ["file_data", "{\"id\":\"asset/49c779482bb8a35272ed35b8bc5d23d8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.362968"], ["file_data", "{\"id\":\"asset/f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/b3d05dbd1df4fe7f3fcbdba788c22b51.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.410225"], ["file_data", "{\"id\":\"asset/f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/b3d05dbd1df4fe7f3fcbdba788c22b51.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/some_data/2008e5178b935e929c39280c40af419a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"56ltw6smc_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.446253"], ["file_data", "{\"id\":\"asset/f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/b3d05dbd1df4fe7f3fcbdba788c22b51.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/some_data/2008e5178b935e929c39280c40af419a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"56ltw6smc_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746/a_jpg/dcbf565fa815fc81c76d0934c67ae4fc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"56ltw6smc_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f8f2c1ef-9ec4-4c7d-9c23-21294c3ea746"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.470197"], ["updated_at", "2020-05-19 20:35:51.470197"], ["file_data", "{\"id\":\"asset/050294406c8876333a6ecb07f7c2c84d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (2.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.473448"], ["file_data", "{\"id\":\"asset/270636cc-1eb2-4796-a3c4-b52bac14c822/ee7dc8589ed26c232b941e2d516c4a50.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "270636cc-1eb2-4796-a3c4-b52bac14c822"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "270636cc-1eb2-4796-a3c4-b52bac14c822"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "270636cc-1eb2-4796-a3c4-b52bac14c822"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.484987"], ["file_data", "{\"id\":\"asset/270636cc-1eb2-4796-a3c4-b52bac14c822/ee7dc8589ed26c232b941e2d516c4a50.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"270636cc-1eb2-4796-a3c4-b52bac14c822/sample/0350271529db77a27eef2f00483aa37d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"lrt7l21gz_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "270636cc-1eb2-4796-a3c4-b52bac14c822"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "270636cc-1eb2-4796-a3c4-b52bac14c822"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.493817"], ["updated_at", "2020-05-19 20:35:51.493817"], ["file_data", "{\"id\":\"asset/5880cdd25bd2cf0d3288ff2aa397e407.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:51.497556"], ["file_data", "{\"id\":\"asset/007b3087-42e7-4861-a065-c679a833a60f/2a31d20f19a9158496e17dde8ba2d323.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "007b3087-42e7-4861-a065-c679a833a60f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "007b3087-42e7-4861-a065-c679a833a60f"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "007b3087-42e7-4861-a065-c679a833a60f"], ["LIMIT", 1]]
+ [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-19 20:35:51.504301"], ["file_data", "{\"id\":\"asset/007b3087-42e7-4861-a065-c679a833a60f/2a31d20f19a9158496e17dde8ba2d323.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"007b3087-42e7-4861-a065-c679a833a60f/sample/a7304dbe1b0f93886145efde9a43dc5c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4jfsp1orr_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "007b3087-42e7-4861-a065-c679a833a60f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:51.511783"], ["updated_at", "2020-05-19 20:35:51.511783"], ["file_data", "{\"id\":\"asset/31f25c790d0178602838df7012b553b1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.515138"], ["file_data", "{\"id\":\"asset/82dff461-64cc-46c5-a1a1-9c9cddc45eb9/b95bc7cae3a11f35912794ef21810648.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "82dff461-64cc-46c5-a1a1-9c9cddc45eb9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "82dff461-64cc-46c5-a1a1-9c9cddc45eb9"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "82dff461-64cc-46c5-a1a1-9c9cddc45eb9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.522289"], ["file_data", "{\"id\":\"asset/82dff461-64cc-46c5-a1a1-9c9cddc45eb9/b95bc7cae3a11f35912794ef21810648.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"82dff461-64cc-46c5-a1a1-9c9cddc45eb9/sample/f099d652d4852a9e8ad80798d96f9308.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"z7xvtorj7_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "82dff461-64cc-46c5-a1a1-9c9cddc45eb9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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" 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "82dff461-64cc-46c5-a1a1-9c9cddc45eb9"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.532555"], ["updated_at", "2020-05-19 20:35:51.532555"], ["file_data", "{\"id\":\"asset/4c6324b6260fb4d71c1ee7ae21411f5c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.536751"], ["file_data", "{\"id\":\"asset/410b8137-1e6f-4030-8989-4c8534e7a1c9/09b648ce5d9e37b0dcb0ca770bb5d827.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "410b8137-1e6f-4030-8989-4c8534e7a1c9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "410b8137-1e6f-4030-8989-4c8534e7a1c9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "410b8137-1e6f-4030-8989-4c8534e7a1c9"], ["LIMIT", 1]]
+ [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-19 20:35:51.550722"], ["file_data", "{\"id\":\"asset/410b8137-1e6f-4030-8989-4c8534e7a1c9/09b648ce5d9e37b0dcb0ca770bb5d827.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"410b8137-1e6f-4030-8989-4c8534e7a1c9/sample/799eff743c83ae9fb5597fc20f2fd5b0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fxb2z5dvv_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "410b8137-1e6f-4030-8989-4c8534e7a1c9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "410b8137-1e6f-4030-8989-4c8534e7a1c9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:51.557075"], ["updated_at", "2020-05-19 20:35:51.557075"], ["file_data", "{\"id\":\"asset/ac2e61bd18c4b1703ca46487bd19fe70.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.563850"], ["file_data", "{\"id\":\"asset/51f519b0-fd78-4c0c-a032-e7c2f08fb320/9ffc79926194f1f3dc9771af2f057770.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "51f519b0-fd78-4c0c-a032-e7c2f08fb320"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.569306"], ["updated_at", "2020-05-19 20:35:51.569306"], ["file_data", "{\"id\":\"asset/02c2522f37182624b9197296d7bf4c62.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.572355"], ["file_data", "{\"id\":\"asset/057fef12-ae4e-4edc-ac49-6303f1ffda34/25a39fecf4aa09157aa50da42598c516.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "057fef12-ae4e-4edc-ac49-6303f1ffda34"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "057fef12-ae4e-4edc-ac49-6303f1ffda34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "057fef12-ae4e-4edc-ac49-6303f1ffda34"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:35:51.583457"], ["file_data", "{\"id\":\"asset/057fef12-ae4e-4edc-ac49-6303f1ffda34/25a39fecf4aa09157aa50da42598c516.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"057fef12-ae4e-4edc-ac49-6303f1ffda34/sample/ecce1330bc979b84b52e98fa23d909bd.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"t2jtfz92a_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "057fef12-ae4e-4edc-ac49-6303f1ffda34"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "057fef12-ae4e-4edc-ac49-6303f1ffda34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.598369"], ["updated_at", "2020-05-19 20:35:51.598369"], ["file_data", "{\"id\":\"asset/7abf5151b84cc8a1b267c21134c17d89.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:51.602234"], ["file_data", "{\"id\":\"asset/52707d74-27d2-428a-b6ba-7857178f8de0/47a749dbf62f241f584ec5df12a078f4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "52707d74-27d2-428a-b6ba-7857178f8de0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "52707d74-27d2-428a-b6ba-7857178f8de0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.644842"], ["file_data", "{\"id\":\"asset/52707d74-27d2-428a-b6ba-7857178f8de0/47a749dbf62f241f584ec5df12a078f4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"52707d74-27d2-428a-b6ba-7857178f8de0/key/966a601f032482de9ba67babcf9ef955.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ax2ktxwfo_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "52707d74-27d2-428a-b6ba-7857178f8de0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "52707d74-27d2-428a-b6ba-7857178f8de0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.681194"], ["file_data", "{\"id\":\"asset/52707d74-27d2-428a-b6ba-7857178f8de0/47a749dbf62f241f584ec5df12a078f4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"52707d74-27d2-428a-b6ba-7857178f8de0/key/67b6f6e59deaf2709e11ef1074e14a41.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ax2ktxwfo_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "52707d74-27d2-428a-b6ba-7857178f8de0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:51.687973"], ["updated_at", "2020-05-19 20:35:51.687973"], ["file_data", "{\"id\":\"asset/49e41091c651d02a2b0ae940b0d244ad.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.693250"], ["file_data", "{\"id\":\"asset/95714947-3d63-4ee0-800c-d60480828b61/8ecfe638da3cec339fbfe3f67ffa89ab.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "95714947-3d63-4ee0-800c-d60480828b61"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "95714947-3d63-4ee0-800c-d60480828b61"]]
+ [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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "95714947-3d63-4ee0-800c-d60480828b61"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "95714947-3d63-4ee0-800c-d60480828b61"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (6.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", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.708368"], ["updated_at", "2020-05-19 20:35:51.708368"], ["file_data", "{\"id\":\"asset/cfb978990e6b6dac88486f27c7fea069.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.721532"], ["file_data", "{\"id\":\"asset/4299f1f2-b5ca-463f-80e4-0d3ac6343d7a/f16907ac146f91fe092116a49459e1e8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/4299f1f2-b5ca-463f-80e4-0d3ac6343d7a/4f4120c119ed8384abc248a932e7cc98.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:35:51.728522"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 19d6c4b2-0484-4188-ad83-811fec8c3a5c) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/4299f1f2-b5ca-463f-80e4-0d3ac6343d7a/f16907ac146f91fe092116a49459e1e8.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 328bf3cf-af4b-4c2c-bd48-dc15db80596d) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a", "file", {"id"=>"asset/4299f1f2-b5ca-463f-80e4-0d3ac6343d7a/4f4120c119ed8384abc248a932e7cc98.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "4299f1f2-b5ca-463f-80e4-0d3ac6343d7a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:51.743617"], ["updated_at", "2020-05-19 20:35:51.743617"], ["file_data", "{\"id\":\"asset/7127a28812d7fc335600b9a796802c2b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.747760"], ["file_data", "{\"id\":\"asset/955cd701-6a99-4efb-83fa-d5046b1c53a2/158a202ebfe0208db63fe781dffd6728.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/955cd701-6a99-4efb-83fa-d5046b1c53a2/158a202ebfe0208db63fe781dffd6728.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"955cd701-6a99-4efb-83fa-d5046b1c53a2/one/819ce65608132cfdf33eb36301e65275.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fapqrn16g_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"955cd701-6a99-4efb-83fa-d5046b1c53a2/two/0ffd061f36a3790cdc37beb61268b36d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fapqrn16g_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:35:51.753991"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.766516"], ["file_data", "{\"id\":\"asset/955cd701-6a99-4efb-83fa-d5046b1c53a2/158a202ebfe0208db63fe781dffd6728.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"955cd701-6a99-4efb-83fa-d5046b1c53a2/one/819ce65608132cfdf33eb36301e65275.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"fapqrn16g_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"955cd701-6a99-4efb-83fa-d5046b1c53a2/two/36ffd95514b08774d28f96c83062a592.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fapqrn16g_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"955cd701-6a99-4efb-83fa-d5046b1c53a2/three/1e965f5e498ba6cc336fdabdd317d5d7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fapqrn16g_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "955cd701-6a99-4efb-83fa-d5046b1c53a2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:35:51.786820"], ["updated_at", "2020-05-19 20:35:51.786820"], ["file_data", "{\"id\":\"asset/344f5ccebe1711d10d30eb469b1a7dfd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.790108"], ["file_data", "{\"id\":\"asset/0ee314eb-30bc-457d-acfa-a8a93655b4b4/a1593afe2ed74f77acc4a8224ccc5e10.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0ee314eb-30bc-457d-acfa-a8a93655b4b4"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "0ee314eb-30bc-457d-acfa-a8a93655b4b4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "0ee314eb-30bc-457d-acfa-a8a93655b4b4"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.831158"], ["file_data", "{\"id\":\"asset/0ee314eb-30bc-457d-acfa-a8a93655b4b4/a1593afe2ed74f77acc4a8224ccc5e10.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"0ee314eb-30bc-457d-acfa-a8a93655b4b4/one/210f539145a097d0244a87bd761e835c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"m1wtaefgz_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"0ee314eb-30bc-457d-acfa-a8a93655b4b4/original_reflected/b73b6c7502ad786c78fd12297cb01eed.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"m1wtaefgz_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "0ee314eb-30bc-457d-acfa-a8a93655b4b4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "0ee314eb-30bc-457d-acfa-a8a93655b4b4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:35:51.852146"], ["updated_at", "2020-05-19 20:35:51.852146"], ["file_data", "{\"id\":\"asset/14c3511be3bc3efd0e39ca49e39f60d9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.856003"], ["file_data", "{\"id\":\"asset/87cb9d3a-1630-4645-9797-6381713d05a1/e4e6c0f3e45f3104bd2cbc8e0b0e7c38.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "87cb9d3a-1630-4645-9797-6381713d05a1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "87cb9d3a-1630-4645-9797-6381713d05a1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "87cb9d3a-1630-4645-9797-6381713d05a1"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.939664"], ["file_data", "{\"id\":\"asset/87cb9d3a-1630-4645-9797-6381713d05a1/e4e6c0f3e45f3104bd2cbc8e0b0e7c38.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"87cb9d3a-1630-4645-9797-6381713d05a1/options_one/7efe43ebbf2a9a1f52589a3f4e347906.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y5erdhq0b_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"87cb9d3a-1630-4645-9797-6381713d05a1/options_reflected/e45b1665e75b56a1f0261300d373e80a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y5erdhq0b_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "87cb9d3a-1630-4645-9797-6381713d05a1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:51.956982"], ["updated_at", "2020-05-19 20:35:51.956982"], ["file_data", "{\"id\":\"asset/df8719f1f644df7505e0377b3983afe7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:51.962614"], ["file_data", "{\"id\":\"asset/1f01443a-d7e3-4882-bf08-76537bb3d76c/a9ad4832a12104ce32b6cb1bd73d78c4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1f01443a-d7e3-4882-bf08-76537bb3d76c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "1f01443a-d7e3-4882-bf08-76537bb3d76c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "1f01443a-d7e3-4882-bf08-76537bb3d76c"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.035422"], ["file_data", "{\"id\":\"asset/1f01443a-d7e3-4882-bf08-76537bb3d76c/a9ad4832a12104ce32b6cb1bd73d78c4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"1f01443a-d7e3-4882-bf08-76537bb3d76c/options_one/5e74c163623ba0c36b05173cfb0b74dc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"iu5kjf6ms_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"1f01443a-d7e3-4882-bf08-76537bb3d76c/options_reflected/25bf3f0e6af454d4331e2c8d9fdc3fe4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"iu5kjf6ms_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "1f01443a-d7e3-4882-bf08-76537bb3d76c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:35:52.058384"], ["updated_at", "2020-05-19 20:35:52.058384"], ["file_data", "{\"id\":\"asset/6d4fd122a9ffe3e6b24443457e83bd1d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.064966"], ["file_data", "{\"id\":\"asset/86d4cdc0-bc8b-4e6f-8735-bd297a318a19/59afe3631d184ab38cc507d0e7eb6f25.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "86d4cdc0-bc8b-4e6f-8735-bd297a318a19"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "86d4cdc0-bc8b-4e6f-8735-bd297a318a19"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "86d4cdc0-bc8b-4e6f-8735-bd297a318a19"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.139708"], ["file_data", "{\"id\":\"asset/86d4cdc0-bc8b-4e6f-8735-bd297a318a19/59afe3631d184ab38cc507d0e7eb6f25.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"86d4cdc0-bc8b-4e6f-8735-bd297a318a19/options_one/6c8d84663a70c09c0a0b6d3065bff3ec.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1f1uwlhgp_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"86d4cdc0-bc8b-4e6f-8735-bd297a318a19/options_reflected/cf39d81fb72a0584d5adcbcb89325e14.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1f1uwlhgp_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "86d4cdc0-bc8b-4e6f-8735-bd297a318a19"]]
+ [1m[35m (6.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:52.167883"], ["updated_at", "2020-05-19 20:35:52.167883"], ["file_data", "{\"id\":\"asset/df7998588b30024de6715ca29ff29523.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.171889"], ["file_data", "{\"id\":\"asset/43676a96-fc57-4a7e-ac26-e8b1609759fc/8cc4d3b36552cd55b4d9ff621a9138a6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "43676a96-fc57-4a7e-ac26-e8b1609759fc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "43676a96-fc57-4a7e-ac26-e8b1609759fc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "43676a96-fc57-4a7e-ac26-e8b1609759fc"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.254165"], ["file_data", "{\"id\":\"asset/43676a96-fc57-4a7e-ac26-e8b1609759fc/8cc4d3b36552cd55b4d9ff621a9138a6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"43676a96-fc57-4a7e-ac26-e8b1609759fc/options_one/ccb16b409c7d38c1ac592b9077baa087.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4zw0gn072_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"43676a96-fc57-4a7e-ac26-e8b1609759fc/options_reflected/19bc94a8aa044795d1f8d375b7cbef97.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4zw0gn072_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "43676a96-fc57-4a7e-ac26-e8b1609759fc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:35:52.280223"], ["updated_at", "2020-05-19 20:35:52.280223"], ["file_data", "{\"id\":\"asset/c6f9fdf45c2d5deb5ba1e4d53684f8d9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.284098"], ["file_data", "{\"id\":\"asset/7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b/6cca4601c4e276bd88bcfc2505d6e5e1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.357662"], ["file_data", "{\"id\":\"asset/7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b/6cca4601c4e276bd88bcfc2505d6e5e1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b/one/8446803ddee51c5faa897fda76e0d7b8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"13eq4ndwd_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b/original_reflected/431c80dac4e7afd59e2a347dd3da3de4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"13eq4ndwd_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7248f7fe-dbf5-49b6-b72b-8bbe53f80f2b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:52.381832"], ["updated_at", "2020-05-19 20:35:52.381832"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:35:52.450843"], ["updated_at", "2020-05-19 20:35:52.450843"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:35:52.468186"], ["updated_at", "2020-05-19 20:35:52.468186"], ["file_data", "{\"id\":\"asset/b697e17712aae748541aa4ac0e41fe3e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.471424"], ["file_data", "{\"id\":\"asset/aabf2cd4-e70c-4bb2-979e-9d330cd7c451/e1a48c1bb237f922a0148630e57dfa4d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "aabf2cd4-e70c-4bb2-979e-9d330cd7c451"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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-19 20:35:52.488477"], ["updated_at", "2020-05-19 20:35:52.488477"], ["file_data", "{\"id\":\"asset/a1e57a0a0d92969a2149e229b26fe60e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.493242"], ["file_data", "{\"id\":\"asset/c66513f4-17a0-4934-af7e-5a7fae6e0078/7272b1feb3c3f33345c45427c0f1d01c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c66513f4-17a0-4934-af7e-5a7fae6e0078"]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c66513f4-17a0-4934-af7e-5a7fae6e0078"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "c66513f4-17a0-4934-af7e-5a7fae6e0078"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:35:52.536388"], ["file_data", "{\"id\":\"asset/c66513f4-17a0-4934-af7e-5a7fae6e0078/7272b1feb3c3f33345c45427c0f1d01c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"c66513f4-17a0-4934-af7e-5a7fae6e0078/one/b587f5f9ea2848bf5d839bf4e88253c2.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"i969st6dy_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"c66513f4-17a0-4934-af7e-5a7fae6e0078/original_reflected/169367cd9a345614b60ae1ded49ec894.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"i969st6dy_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "c66513f4-17a0-4934-af7e-5a7fae6e0078"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "c66513f4-17a0-4934-af7e-5a7fae6e0078"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:35:52.545115"], ["updated_at", "2020-05-19 20:35:52.545115"], ["file_data", "{\"id\":\"asset/7da25fbcdb04b1d624ef7c9aa62212c6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.548902"], ["file_data", "{\"id\":\"asset/4f34192c-b8e8-43c3-aef4-fecadf9d515c/166a9cebe288c68a24fd77343ab69c60.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.623982"], ["file_data", "{\"id\":\"asset/4f34192c-b8e8-43c3-aef4-fecadf9d515c/166a9cebe288c68a24fd77343ab69c60.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"4f34192c-b8e8-43c3-aef4-fecadf9d515c/sample1/ec23ed0f0e2ec2442b29d78901abb8d5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"12bxaj3ta_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"4f34192c-b8e8-43c3-aef4-fecadf9d515c/sample2/66826362d9c1a1cc0e3e59a298d8687d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"12bxaj3ta_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.630200"], ["file_data", "{\"id\":\"asset/4f34192c-b8e8-43c3-aef4-fecadf9d515c/166a9cebe288c68a24fd77343ab69c60.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"4f34192c-b8e8-43c3-aef4-fecadf9d515c/sample2/66826362d9c1a1cc0e3e59a298d8687d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"12bxaj3ta_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4f34192c-b8e8-43c3-aef4-fecadf9d515c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:35:52.638359"], ["updated_at", "2020-05-19 20:35:52.638359"], ["file_data", "{\"id\":\"asset/4da76f9371576766dbab9535f1b790af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.642559"], ["file_data", "{\"id\":\"asset/f59e361a-30fb-4001-87e7-ab875ba34ea7/84ee5f8b274e514c7ba366ffd28bfc0d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.717359"], ["file_data", "{\"id\":\"asset/f59e361a-30fb-4001-87e7-ab875ba34ea7/84ee5f8b274e514c7ba366ffd28bfc0d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"f59e361a-30fb-4001-87e7-ab875ba34ea7/sample1/1c9a933c5702288c1660a5e02f939926.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zoj7xrjp4_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"f59e361a-30fb-4001-87e7-ab875ba34ea7/sample2/7ad8f1684c0a1c11c4cf202e982655df.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zoj7xrjp4_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f59e361a-30fb-4001-87e7-ab875ba34ea7/84ee5f8b274e514c7ba366ffd28bfc0d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"f59e361a-30fb-4001-87e7-ab875ba34ea7/sample2/7ad8f1684c0a1c11c4cf202e982655df.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"zoj7xrjp4_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:35:52.723370"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.731944"], ["file_data", "{\"id\":\"asset/f59e361a-30fb-4001-87e7-ab875ba34ea7/84ee5f8b274e514c7ba366ffd28bfc0d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"f59e361a-30fb-4001-87e7-ab875ba34ea7/sample2/7ad8f1684c0a1c11c4cf202e982655df.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"zoj7xrjp4_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "f59e361a-30fb-4001-87e7-ab875ba34ea7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:52.737667"], ["updated_at", "2020-05-19 20:35:52.737667"], ["file_data", "{\"id\":\"asset/5c6ad7cc046807b4379cfd56ca62aa6f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.741962"], ["file_data", "{\"id\":\"asset/1a6383f7-f8d7-495a-a924-b2846d94ae66/7a67b0bf6c525e770e87059ff4648b83.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.816969"], ["file_data", "{\"id\":\"asset/1a6383f7-f8d7-495a-a924-b2846d94ae66/7a67b0bf6c525e770e87059ff4648b83.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample1/9cdeb7b32e4d272bf29dcd7499f302d0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hiap5keji_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample2/eba285a7c0ae4c65eb5fe6cef7634133.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hiap5keji_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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/1a6383f7-f8d7-495a-a924-b2846d94ae66/7a67b0bf6c525e770e87059ff4648b83.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample1/9cdeb7b32e4d272bf29dcd7499f302d0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"hiap5keji_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample2/eba285a7c0ae4c65eb5fe6cef7634133.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"hiap5keji_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample3/ccbc9a6ba74d7bf78a4be44ff4371279.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hiap5keji_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:35:52.858823"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.867663"], ["file_data", "{\"id\":\"asset/1a6383f7-f8d7-495a-a924-b2846d94ae66/7a67b0bf6c525e770e87059ff4648b83.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample2/eba285a7c0ae4c65eb5fe6cef7634133.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"hiap5keji_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"1a6383f7-f8d7-495a-a924-b2846d94ae66/sample3/ccbc9a6ba74d7bf78a4be44ff4371279.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"hiap5keji_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "1a6383f7-f8d7-495a-a924-b2846d94ae66"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:35:52.873439"], ["updated_at", "2020-05-19 20:35:52.873439"], ["file_data", "{\"id\":\"asset/3ed81c528a0751db9c9be43e580aa400.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.3ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.881749"], ["file_data", "{\"id\":\"asset/c6582d37-5eec-4835-beb5-6516e630d7da/9afb15032cdb1128649a5b078c855011.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.962134"], ["file_data", "{\"id\":\"asset/c6582d37-5eec-4835-beb5-6516e630d7da/9afb15032cdb1128649a5b078c855011.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"c6582d37-5eec-4835-beb5-6516e630d7da/sample1/9494afa55625021e49881a382d2ad7f7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3xrbjus1i_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"c6582d37-5eec-4835-beb5-6516e630d7da/sample2/a245a438c5434e6871db7a8a61244555.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3xrbjus1i_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [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", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c6582d37-5eec-4835-beb5-6516e630d7da'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c6582d37-5eec-4835-beb5-6516e630d7da'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c6582d37-5eec-4835-beb5-6516e630d7da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: ec23b6e5-f979-4be2-b851-0046b460a9ac) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/c6582d37-5eec-4835-beb5-6516e630d7da/9afb15032cdb1128649a5b078c855011.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"c6582d37-5eec-4835-beb5-6516e630d7da/sample1/9494afa55625021e49881a382d2ad7f7.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"3xrbjus1i_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"c6582d37-5eec-4835-beb5-6516e630d7da/sample2/a245a438c5434e6871db7a8a61244555.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"3xrbjus1i_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c6582d37-5eec-4835-beb5-6516e630d7da"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:52.979985"], ["updated_at", "2020-05-19 20:35:52.979985"], ["file_data", "{\"id\":\"asset/d3e6381e7b2c8045c442a80cae4367e8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:52.983109"], ["file_data", "{\"id\":\"asset/9e042797-8107-46b2-9abd-5608d1eb8460/696504fa91ebe8ee7ad3e4cf67ca13c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9e042797-8107-46b2-9abd-5608d1eb8460"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9e042797-8107-46b2-9abd-5608d1eb8460"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9e042797-8107-46b2-9abd-5608d1eb8460"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:53.058334"], ["file_data", "{\"id\":\"asset/9e042797-8107-46b2-9abd-5608d1eb8460/696504fa91ebe8ee7ad3e4cf67ca13c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"9e042797-8107-46b2-9abd-5608d1eb8460/sample1/f767726112f3d1b39049c2f7b233945a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"esydklow3_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"9e042797-8107-46b2-9abd-5608d1eb8460/sample2/721543742c48a51fd73fb4da60768723.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"esydklow3_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "9e042797-8107-46b2-9abd-5608d1eb8460"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:35:53.065134"], ["updated_at", "2020-05-19 20:35:53.065134"], ["file_data", "{\"id\":\"asset/01e8ccb2ba2e6b6fd8399828a8d58a41.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:35:53.069195"], ["file_data", "{\"id\":\"asset/274b9864-3326-46f6-838c-ca046bc825fe/be8503e2deec719e1bda565b702d28d5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14) AND "kithe_models"."id" = $15 LIMIT $16 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:35:53.147480"], ["file_data", "{\"id\":\"asset/274b9864-3326-46f6-838c-ca046bc825fe/be8503e2deec719e1bda565b702d28d5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"274b9864-3326-46f6-838c-ca046bc825fe/sample1/38bff0d2317f12b7d308cad26821c5d9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fbuyh86u4_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"274b9864-3326-46f6-838c-ca046bc825fe/sample2/be907e205d311a861c490168c4e166b0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fbuyh86u4_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:35:53.152801"], ["file_data", "{\"id\":\"asset/274b9864-3326-46f6-838c-ca046bc825fe/be8503e2deec719e1bda565b702d28d5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"274b9864-3326-46f6-838c-ca046bc825fe/sample2/be907e205d311a861c490168c4e166b0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"fbuyh86u4_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "274b9864-3326-46f6-838c-ca046bc825fe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["json_attributes", "{\"multi_model\":[{\"value\":\"one\"},{\"value\":\"two\"}]}"], ["created_at", "2020-05-19 20:35:53.200731"], ["updated_at", "2020-05-19 20:35:53.200731"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (5.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-19 20:35:53.414370"], ["updated_at", "2020-05-19 20:35:53.414370"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:35:53.436303"], ["updated_at", "2020-05-19 20:35:53.436303"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (20.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-19 20:35:53.485544"], ["updated_at", "2020-05-19 20:35:53.485544"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:35:53.583483"], ["updated_at", "2020-05-19 20:35:53.583483"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (1.0ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (6.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (5.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", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.496715"], ["updated_at", "2020-05-19 20:36:19.496715"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.542663"], ["updated_at", "2020-05-19 20:36:19.542663"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "fafc2375-a0cd-4f72-b113-a49b4a7a7f3a"]]
+ [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", "fafc2375-a0cd-4f72-b113-a49b4a7a7f3a"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "fafc2375-a0cd-4f72-b113-a49b4a7a7f3a"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'fafc2375-a0cd-4f72-b113-a49b4a7a7f3a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'fafc2375-a0cd-4f72-b113-a49b4a7a7f3a'
+);
+[0m
+ [1m[36mTestWork Destroy (2.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "fafc2375-a0cd-4f72-b113-a49b4a7a7f3a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.605513"], ["updated_at", "2020-05-19 20:36:19.605513"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.625711"], ["updated_at", "2020-05-19 20:36:19.625711"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:36:19.641626"], ["updated_at", "2020-05-19 20:36:19.641626"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7b6a3f67-2d2b-47c1-992d-8f9826b89791"]]
+ [1m[36mKithe::Model Load (4.0ms)[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", "7b6a3f67-2d2b-47c1-992d-8f9826b89791"]]
+ [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", "7b6a3f67-2d2b-47c1-992d-8f9826b89791"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7b6a3f67-2d2b-47c1-992d-8f9826b89791'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7b6a3f67-2d2b-47c1-992d-8f9826b89791'
+);
+[0m
+ [1m[36mTestWork Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7b6a3f67-2d2b-47c1-992d-8f9826b89791"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:36:19.673691"], ["updated_at", "2020-05-19 20:36:19.673691"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.690219"], ["updated_at", "2020-05-19 20:36:19.690219"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:19.693825"], ["updated_at", "2020-05-19 20:36:19.693825"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.713786"], ["updated_at", "2020-05-19 20:36:19.713786"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.719377"], ["updated_at", "2020-05-19 20:36:19.719377"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:36:19.745679"], ["updated_at", "2020-05-19 20:36:19.745679"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:36:19.755130"], ["updated_at", "2020-05-19 20:36:19.755130"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:36:19.775238"], ["updated_at", "2020-05-19 20:36:19.775238"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.795354"], ["updated_at", "2020-05-19 20:36:19.795354"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.799774"], ["updated_at", "2020-05-19 20:36:19.799774"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:36:19.813711"], ["updated_at", "2020-05-19 20:36:19.813711"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork 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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:36:19.816758"], ["updated_at", "2020-05-19 20:36:19.816758"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:19.862423"], ["updated_at", "2020-05-19 20:36:19.862423"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:19.905247"], ["updated_at", "2020-05-19 20:36:19.905247"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:36:19.943438"], ["updated_at", "2020-05-19 20:36:19.943438"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:36:19.990114"], ["updated_at", "2020-05-19 20:36:19.990114"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "2d3b4560-fa12-4934-96ed-c3ad33c9b542"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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", "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-19 20:36:20.031099"], ["updated_at", "2020-05-19 20:36:20.031099"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:20.145169"], ["updated_at", "2020-05-19 20:36:20.145169"], ["file_data", "{\"id\":\"asset/e6172ccae6d6797ebecea2c181a1d3d5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] Performing Kithe::AssetPromoteJob (Job ID: d72c3b49-a892-468f-86ca-cf5864cc2c44) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "d26b1d78-6cbe-430b-8df4-c86e132938f8", "file", {"id"=>"asset/e6172ccae6d6797ebecea2c181a1d3d5.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [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", "d26b1d78-6cbe-430b-8df4-c86e132938f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [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", "d26b1d78-6cbe-430b-8df4-c86e132938f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [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/d26b1d78-6cbe-430b-8df4-c86e132938f8/e1421b12621c795d4613ec94f607b687.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.170688"], ["id", "d26b1d78-6cbe-430b-8df4-c86e132938f8"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [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", "d26b1d78-6cbe-430b-8df4-c86e132938f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] Performing Kithe::CreateDerivativesJob (Job ID: 65030d23-fcc9-40a7-a446-cdd2cfa6a734) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff5b96258 @uri=#<URI::GID gid://dummy/CustomAsset/d26b1d78-6cbe-430b-8df4-c86e132938f8>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] [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", "d26b1d78-6cbe-430b-8df4-c86e132938f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] [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/d26b1d78-6cbe-430b-8df4-c86e132938f8/e1421b12621c795d4613ec94f607b687.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"d26b1d78-6cbe-430b-8df4-c86e132938f8/fixed/65e7c6d6023039cb7bbfbdd55ba45985.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qenan6diw_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.182994"], ["id", "d26b1d78-6cbe-430b-8df4-c86e132938f8"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] [Kithe::CreateDerivativesJob] [65030d23-fcc9-40a7-a446-cdd2cfa6a734] Performed Kithe::CreateDerivativesJob (Job ID: 65030d23-fcc9-40a7-a446-cdd2cfa6a734) from Inline(default) in 9.27ms
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] Enqueued Kithe::CreateDerivativesJob (Job ID: 65030d23-fcc9-40a7-a446-cdd2cfa6a734) to Inline(default) with arguments: #<GlobalID:0x00007f7ff5b5f258 @uri=#<URI::GID gid://dummy/CustomAsset/d26b1d78-6cbe-430b-8df4-c86e132938f8>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d72c3b49-a892-468f-86ca-cf5864cc2c44] Performed Kithe::AssetPromoteJob (Job ID: d72c3b49-a892-468f-86ca-cf5864cc2c44) from Inline(default) in 25.42ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d72c3b49-a892-468f-86ca-cf5864cc2c44) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "d26b1d78-6cbe-430b-8df4-c86e132938f8", "file", {"id"=>"asset/e6172ccae6d6797ebecea2c181a1d3d5.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d26b1d78-6cbe-430b-8df4-c86e132938f8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:20.203602"], ["updated_at", "2020-05-19 20:36:20.203602"], ["file_data", "{\"id\":\"asset/8e93cf6fce44c71c8b3834b41b244be9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] Performing Kithe::AssetPromoteJob (Job ID: eb461576-da3b-44e6-8952-eb52745bb13c) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f", "file", {"id"=>"asset/8e93cf6fce44c71c8b3834b41b244be9.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [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", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [1m[36mCustomAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [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/62efaa0f-7fd7-4a29-9ed2-66c473c7094f/139281e25b23b530027898af193de6e7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.212685"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [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", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] Performing Kithe::CreateDerivativesJob (Job ID: ffc1a2ae-4b80-414b-8d7b-e63d13d876dd) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ffa223ef0 @uri=#<URI::GID gid://dummy/CustomAsset/62efaa0f-7fd7-4a29-9ed2-66c473c7094f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] [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", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] [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/62efaa0f-7fd7-4a29-9ed2-66c473c7094f/139281e25b23b530027898af193de6e7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"62efaa0f-7fd7-4a29-9ed2-66c473c7094f/fixed/81f519f21b8d368151175f0af736f9a6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y6uyy77om_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.220188"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] [Kithe::CreateDerivativesJob] [ffc1a2ae-4b80-414b-8d7b-e63d13d876dd] Performed Kithe::CreateDerivativesJob (Job ID: ffc1a2ae-4b80-414b-8d7b-e63d13d876dd) from Inline(default) in 5.79ms
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] Enqueued Kithe::CreateDerivativesJob (Job ID: ffc1a2ae-4b80-414b-8d7b-e63d13d876dd) to Inline(default) with arguments: #<GlobalID:0x00007f7ffa2025c0 @uri=#<URI::GID gid://dummy/CustomAsset/62efaa0f-7fd7-4a29-9ed2-66c473c7094f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [eb461576-da3b-44e6-8952-eb52745bb13c] Performed Kithe::AssetPromoteJob (Job ID: eb461576-da3b-44e6-8952-eb52745bb13c) from Inline(default) in 14.43ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: eb461576-da3b-44e6-8952-eb52745bb13c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f", "file", {"id"=>"asset/8e93cf6fce44c71c8b3834b41b244be9.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/62efaa0f-7fd7-4a29-9ed2-66c473c7094f/139281e25b23b530027898af193de6e7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.224851"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/62efaa0f-7fd7-4a29-9ed2-66c473c7094f/139281e25b23b530027898af193de6e7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"62efaa0f-7fd7-4a29-9ed2-66c473c7094f/fixed/63ee2f6b4bf56538e5fcb96ce8596d11.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"y6uyy77om_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.231446"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "62efaa0f-7fd7-4a29-9ed2-66c473c7094f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:20.245420"], ["updated_at", "2020-05-19 20:36:20.245420"], ["file_data", "{\"id\":\"asset/0628feaa2a3355d55038546d9676f791.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] Performing Kithe::AssetPromoteJob (Job ID: 9a910573-4e85-432d-a51d-43e30ef1cf47) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86", "file", {"id"=>"asset/0628feaa2a3355d55038546d9676f791.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [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", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [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", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [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/1410f26b-9b47-4419-a6bf-3fa0fbdacc86/0d11eea8ff80821ba803cd6ce959a649.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.256597"], ["id", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [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", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] Performing Kithe::CreateDerivativesJob (Job ID: cb7eca38-7f35-48b5-a6c1-916c54e7201d) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff42ac418 @uri=#<URI::GID gid://dummy/CustomAsset/1410f26b-9b47-4419-a6bf-3fa0fbdacc86>>
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] [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", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] [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/1410f26b-9b47-4419-a6bf-3fa0fbdacc86/0d11eea8ff80821ba803cd6ce959a649.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"1410f26b-9b47-4419-a6bf-3fa0fbdacc86/fixed/d48f7d5d25ab739d0f55aa18950a8dac.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"n6dix6b13_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.264624"], ["id", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] [Kithe::CreateDerivativesJob] [cb7eca38-7f35-48b5-a6c1-916c54e7201d] Performed Kithe::CreateDerivativesJob (Job ID: cb7eca38-7f35-48b5-a6c1-916c54e7201d) from Inline(default) in 6.04ms
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] Enqueued Kithe::CreateDerivativesJob (Job ID: cb7eca38-7f35-48b5-a6c1-916c54e7201d) to Inline(default) with arguments: #<GlobalID:0x00007f7ff5b06b08 @uri=#<URI::GID gid://dummy/CustomAsset/1410f26b-9b47-4419-a6bf-3fa0fbdacc86>>
+[ActiveJob] [Kithe::AssetPromoteJob] [9a910573-4e85-432d-a51d-43e30ef1cf47] Performed Kithe::AssetPromoteJob (Job ID: 9a910573-4e85-432d-a51d-43e30ef1cf47) from Inline(default) in 14.91ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9a910573-4e85-432d-a51d-43e30ef1cf47) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86", "file", {"id"=>"asset/0628feaa2a3355d55038546d9676f791.jpg", "storage"=>"cache"}, {}
+ [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", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+ [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/1410f26b-9b47-4419-a6bf-3fa0fbdacc86/0d11eea8ff80821ba803cd6ce959a649.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.271360"], ["id", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "1410f26b-9b47-4419-a6bf-3fa0fbdacc86"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:20.296821"], ["updated_at", "2020-05-19 20:36:20.296821"], ["file_data", "{\"id\":\"asset/5e536d40f6fe294de0e1c1bc01d5dfb4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] Performing Kithe::AssetPromoteJob (Job ID: d2106fcd-e2be-4818-84cf-06c854a9bb71) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "c4c23ef8-f275-4386-96da-b3b57c48fcb0", "file", {"id"=>"asset/5e536d40f6fe294de0e1c1bc01d5dfb4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [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/c4c23ef8-f275-4386-96da-b3b57c48fcb0/efce39091cb45191cc7230448d2e7d5c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.306443"], ["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] Performing Kithe::CreateDerivativesJob (Job ID: 5fe39a5b-d8b3-4df9-9c5c-3f85c0780232) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ffa045020 @uri=#<URI::GID gid://dummy/CustomAsset/c4c23ef8-f275-4386-96da-b3b57c48fcb0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] [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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] [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/c4c23ef8-f275-4386-96da-b3b57c48fcb0/efce39091cb45191cc7230448d2e7d5c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c4c23ef8-f275-4386-96da-b3b57c48fcb0/fixed/a465b78c5537edffa41d08c86cf9592b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fiaruy37l_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.314511"], ["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] [Kithe::CreateDerivativesJob] [5fe39a5b-d8b3-4df9-9c5c-3f85c0780232] Performed Kithe::CreateDerivativesJob (Job ID: 5fe39a5b-d8b3-4df9-9c5c-3f85c0780232) from Inline(default) in 7.05ms
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] Enqueued Kithe::CreateDerivativesJob (Job ID: 5fe39a5b-d8b3-4df9-9c5c-3f85c0780232) to Inline(default) with arguments: #<GlobalID:0x00007f7ff87b2210 @uri=#<URI::GID gid://dummy/CustomAsset/c4c23ef8-f275-4386-96da-b3b57c48fcb0>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d2106fcd-e2be-4818-84cf-06c854a9bb71] Performed Kithe::AssetPromoteJob (Job ID: d2106fcd-e2be-4818-84cf-06c854a9bb71) from Inline(default) in 14.75ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d2106fcd-e2be-4818-84cf-06c854a9bb71) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "c4c23ef8-f275-4386-96da-b3b57c48fcb0", "file", {"id"=>"asset/5e536d40f6fe294de0e1c1bc01d5dfb4.jpg", "storage"=>"cache"}, {}
+ [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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c4c23ef8-f275-4386-96da-b3b57c48fcb0/efce39091cb45191cc7230448d2e7d5c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c4c23ef8-f275-4386-96da-b3b57c48fcb0/fixed/4bc8b596f07c909c8b1afd6272c21ac4.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fiaruy37l_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.323994"], ["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+ [1m[36mKithe::Model Load (3.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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+ [1m[36mKithe::Model Load (1.1ms)[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", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c4c23ef8-f275-4386-96da-b3b57c48fcb0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c4c23ef8-f275-4386-96da-b3b57c48fcb0'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.3ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c4c23ef8-f275-4386-96da-b3b57c48fcb0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [8cc59d42-7791-4ee9-801a-dca95608e2fc] Performing Kithe::AssetDeleteJob (Job ID: 8cc59d42-7791-4ee9-801a-dca95608e2fc) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/c4c23ef8-f275-4386-96da-b3b57c48fcb0/efce39091cb45191cc7230448d2e7d5c.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"c4c23ef8-f275-4386-96da-b3b57c48fcb0/fixed/4bc8b596f07c909c8b1afd6272c21ac4.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"fiaruy37l_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [8cc59d42-7791-4ee9-801a-dca95608e2fc] Performed Kithe::AssetDeleteJob (Job ID: 8cc59d42-7791-4ee9-801a-dca95608e2fc) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 8cc59d42-7791-4ee9-801a-dca95608e2fc) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/c4c23ef8-f275-4386-96da-b3b57c48fcb0/efce39091cb45191cc7230448d2e7d5c.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"c4c23ef8-f275-4386-96da-b3b57c48fcb0/fixed/4bc8b596f07c909c8b1afd6272c21ac4.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"fiaruy37l_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (54.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 20:36:20.359941"], ["updated_at", "2020-05-19 20:36:20.359941"], ["file_data", "{\"id\":\"asset/d8fb3886a5bff3ca1d64f62d35e634bd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] Performing Kithe::AssetPromoteJob (Job ID: cb342e5d-8170-405c-be45-5c6998f67cd5) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7bc9a78f-57dc-44da-a6eb-f624ec768000", "file", {"id"=>"asset/d8fb3886a5bff3ca1d64f62d35e634bd.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [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/7bc9a78f-57dc-44da-a6eb-f624ec768000/743d1c538c78d6567249feb95f220af8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.424314"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] Performing Kithe::CreateDerivativesJob (Job ID: 3aead1fd-d475-45a5-8155-9a8ff2ad18c2) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff856ad90 @uri=#<URI::GID gid://dummy/CustomAsset/7bc9a78f-57dc-44da-a6eb-f624ec768000>>
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] [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/7bc9a78f-57dc-44da-a6eb-f624ec768000/743d1c538c78d6567249feb95f220af8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bc9a78f-57dc-44da-a6eb-f624ec768000/fixed/24e0ab180c8c6a39f45a3299638c47a9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ch94a2c4j_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.432927"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] [Kithe::CreateDerivativesJob] [3aead1fd-d475-45a5-8155-9a8ff2ad18c2] Performed Kithe::CreateDerivativesJob (Job ID: 3aead1fd-d475-45a5-8155-9a8ff2ad18c2) from Inline(default) in 6.65ms
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] Enqueued Kithe::CreateDerivativesJob (Job ID: 3aead1fd-d475-45a5-8155-9a8ff2ad18c2) to Inline(default) with arguments: #<GlobalID:0x00007f7ff57452d0 @uri=#<URI::GID gid://dummy/CustomAsset/7bc9a78f-57dc-44da-a6eb-f624ec768000>>
+[ActiveJob] [Kithe::AssetPromoteJob] [cb342e5d-8170-405c-be45-5c6998f67cd5] Performed Kithe::AssetPromoteJob (Job ID: cb342e5d-8170-405c-be45-5c6998f67cd5) from Inline(default) in 15.24ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: cb342e5d-8170-405c-be45-5c6998f67cd5) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7bc9a78f-57dc-44da-a6eb-f624ec768000", "file", {"id"=>"asset/d8fb3886a5bff3ca1d64f62d35e634bd.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (8.1ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/743d1c538c78d6567249feb95f220af8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bc9a78f-57dc-44da-a6eb-f624ec768000/fixed/4854a197aa95466cdd4be1bf72e576cf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ch94a2c4j_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.441013"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/cced4f3f9c1af3337d53f1fba6750208.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:36:20.453009"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [2df664f1-c217-4b0e-962c-6708d6263983] Performing Kithe::AssetDeleteJob (Job ID: 2df664f1-c217-4b0e-962c-6708d6263983) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/743d1c538c78d6567249feb95f220af8.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7bc9a78f-57dc-44da-a6eb-f624ec768000/fixed/4854a197aa95466cdd4be1bf72e576cf.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ch94a2c4j_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [2df664f1-c217-4b0e-962c-6708d6263983] Performed Kithe::AssetDeleteJob (Job ID: 2df664f1-c217-4b0e-962c-6708d6263983) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 2df664f1-c217-4b0e-962c-6708d6263983) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/743d1c538c78d6567249feb95f220af8.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7bc9a78f-57dc-44da-a6eb-f624ec768000/fixed/4854a197aa95466cdd4be1bf72e576cf.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"ch94a2c4j_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] Performing Kithe::AssetPromoteJob (Job ID: c40e848d-2c41-469f-9d0b-5eeabba34832) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7bc9a78f-57dc-44da-a6eb-f624ec768000", "file", {"id"=>"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/cced4f3f9c1af3337d53f1fba6750208.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [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/7bc9a78f-57dc-44da-a6eb-f624ec768000/cfad91ffd65f00c45bbd7b01b7c05b25.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.460453"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] Performing Kithe::CreateDerivativesJob (Job ID: 43fbfd12-f4fc-414b-8c08-18b55124a0ca) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff83dfe30 @uri=#<URI::GID gid://dummy/CustomAsset/7bc9a78f-57dc-44da-a6eb-f624ec768000>>
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] [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", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] [1m[36mCustomAsset Update (5.9ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/cfad91ffd65f00c45bbd7b01b7c05b25.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bc9a78f-57dc-44da-a6eb-f624ec768000/fixed/04bd62c0a9a22de6a0b7a7d5d4b096c5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ch94a2c4j_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.467962"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] [Kithe::CreateDerivativesJob] [43fbfd12-f4fc-414b-8c08-18b55124a0ca] Performed Kithe::CreateDerivativesJob (Job ID: 43fbfd12-f4fc-414b-8c08-18b55124a0ca) from Inline(default) in 11.63ms
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] Enqueued Kithe::CreateDerivativesJob (Job ID: 43fbfd12-f4fc-414b-8c08-18b55124a0ca) to Inline(default) with arguments: #<GlobalID:0x00007f7ff8392bf8 @uri=#<URI::GID gid://dummy/CustomAsset/7bc9a78f-57dc-44da-a6eb-f624ec768000>>
+[ActiveJob] [Kithe::AssetPromoteJob] [c40e848d-2c41-469f-9d0b-5eeabba34832] Performed Kithe::AssetPromoteJob (Job ID: c40e848d-2c41-469f-9d0b-5eeabba34832) from Inline(default) in 19.65ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c40e848d-2c41-469f-9d0b-5eeabba34832) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7bc9a78f-57dc-44da-a6eb-f624ec768000", "file", {"id"=>"asset/7bc9a78f-57dc-44da-a6eb-f624ec768000/cced4f3f9c1af3337d53f1fba6750208.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bc9a78f-57dc-44da-a6eb-f624ec768000"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:20.489398"], ["updated_at", "2020-05-19 20:36:20.489398"], ["file_data", "{\"id\":\"asset/77ed91d601c96a34c8eb14d3fd2f2770.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] Performing Kithe::AssetPromoteJob (Job ID: 031809eb-e9df-416e-8f13-72a250761a11) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "2779cf41-403e-4548-8496-61ca16f3faba", "file", {"id"=>"asset/77ed91d601c96a34c8eb14d3fd2f2770.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [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", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [1m[36mCustomAsset Load (1.3ms)[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", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [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/2779cf41-403e-4548-8496-61ca16f3faba/a782e71273b1556d1f7be56c721c69b6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.501002"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [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", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] Performing Kithe::CreateDerivativesJob (Job ID: 2201860c-8048-4fd5-9eae-4c1ba09a06d1) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff4fa0c28 @uri=#<URI::GID gid://dummy/CustomAsset/2779cf41-403e-4548-8496-61ca16f3faba>>
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] [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", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] [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/2779cf41-403e-4548-8496-61ca16f3faba/a782e71273b1556d1f7be56c721c69b6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"2779cf41-403e-4548-8496-61ca16f3faba/fixed/7c56b2dd653254d034e2c073fc768ace.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h7o2e7c49_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.509145"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] [Kithe::CreateDerivativesJob] [2201860c-8048-4fd5-9eae-4c1ba09a06d1] Performed Kithe::CreateDerivativesJob (Job ID: 2201860c-8048-4fd5-9eae-4c1ba09a06d1) from Inline(default) in 6.41ms
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] Enqueued Kithe::CreateDerivativesJob (Job ID: 2201860c-8048-4fd5-9eae-4c1ba09a06d1) to Inline(default) with arguments: #<GlobalID:0x00007f7ff54b58d0 @uri=#<URI::GID gid://dummy/CustomAsset/2779cf41-403e-4548-8496-61ca16f3faba>>
+[ActiveJob] [Kithe::AssetPromoteJob] [031809eb-e9df-416e-8f13-72a250761a11] Performed Kithe::AssetPromoteJob (Job ID: 031809eb-e9df-416e-8f13-72a250761a11) from Inline(default) in 17.49ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 031809eb-e9df-416e-8f13-72a250761a11) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "2779cf41-403e-4548-8496-61ca16f3faba", "file", {"id"=>"asset/77ed91d601c96a34c8eb14d3fd2f2770.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2779cf41-403e-4548-8496-61ca16f3faba/a782e71273b1556d1f7be56c721c69b6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"2779cf41-403e-4548-8496-61ca16f3faba/fixed/817bf01a35c9a4e0e2fa6319847c0db5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h7o2e7c49_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.517722"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["id", "2779cf41-403e-4548-8496-61ca16f3faba"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:20.540140"], ["updated_at", "2020-05-19 20:36:20.540140"], ["file_data", "{\"id\":\"asset/cd3bcdbc93ca38525d108c045d6cc73f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] Performing Kithe::AssetPromoteJob (Job ID: 24cb4ed4-329f-4eaa-8ba5-c9890223b629) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "b8596c47-0bd7-4416-a242-41ee6682bac3", "file", {"id"=>"asset/cd3bcdbc93ca38525d108c045d6cc73f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [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", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [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", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [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/b8596c47-0bd7-4416-a242-41ee6682bac3/9070a18117f117ac7de51547c68b7912.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.550926"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [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", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] Performing Kithe::CreateDerivativesJob (Job ID: a1fafbc4-437b-4973-bc54-d7142fde02ce) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff5c85970 @uri=#<URI::GID gid://dummy/CustomAsset/b8596c47-0bd7-4416-a242-41ee6682bac3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] [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", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] [1m[36mCustomAsset 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/b8596c47-0bd7-4416-a242-41ee6682bac3/9070a18117f117ac7de51547c68b7912.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b8596c47-0bd7-4416-a242-41ee6682bac3/fixed/83e337ce93e98c2dc566c6ea96417b72.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap3kh4e9s_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.559860"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] [Kithe::CreateDerivativesJob] [a1fafbc4-437b-4973-bc54-d7142fde02ce] Performed Kithe::CreateDerivativesJob (Job ID: a1fafbc4-437b-4973-bc54-d7142fde02ce) from Inline(default) in 7.02ms
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] Enqueued Kithe::CreateDerivativesJob (Job ID: a1fafbc4-437b-4973-bc54-d7142fde02ce) to Inline(default) with arguments: #<GlobalID:0x00007f7ff5c64720 @uri=#<URI::GID gid://dummy/CustomAsset/b8596c47-0bd7-4416-a242-41ee6682bac3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [24cb4ed4-329f-4eaa-8ba5-c9890223b629] Performed Kithe::AssetPromoteJob (Job ID: 24cb4ed4-329f-4eaa-8ba5-c9890223b629) from Inline(default) in 17.69ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 24cb4ed4-329f-4eaa-8ba5-c9890223b629) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "b8596c47-0bd7-4416-a242-41ee6682bac3", "file", {"id"=>"asset/cd3bcdbc93ca38525d108c045d6cc73f.jpg", "storage"=>"cache"}, {}
+ [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", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b8596c47-0bd7-4416-a242-41ee6682bac3/9070a18117f117ac7de51547c68b7912.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b8596c47-0bd7-4416-a242-41ee6682bac3/fixed/3fcd4636d89037f1bf67f8d3c9fe7ccb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap3kh4e9s_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.568169"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b8596c47-0bd7-4416-a242-41ee6682bac3/9070a18117f117ac7de51547c68b7912.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b8596c47-0bd7-4416-a242-41ee6682bac3/fixed/230841f9942c5dada8b90e4add8ae153.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap3kh4e9s_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:36:20.604909"], ["id", "b8596c47-0bd7-4416-a242-41ee6682bac3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:20.623804"], ["updated_at", "2020-05-19 20:36:20.623804"], ["file_data", "{\"id\":\"asset/d032c90f6692476d3a7b49a2753a0a6c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] Performing Kithe::AssetPromoteJob (Job ID: 86781e4b-e136-45ca-a0db-bd4850c15783) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "CustomUploader::Attacher", "CustomAsset", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be", "file", {"id"=>"asset/d032c90f6692476d3a7b49a2753a0a6c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [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", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [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", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [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/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/4497cd9ab0a9e0321f793870a3d99538.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.633488"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [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", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] Performing Kithe::CreateDerivativesJob (Job ID: ee4ffd4d-abf7-4e79-b64b-f97058e7285a) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: #<GlobalID:0x00007f7ff9d468b0 @uri=#<URI::GID gid://dummy/CustomAsset/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be>>
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] [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", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] [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/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/4497cd9ab0a9e0321f793870a3d99538.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/fixed/5f0e1f1f1c865060ef0bd6dce43180f7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qr3am6uuf_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.641235"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] [Kithe::CreateDerivativesJob] [ee4ffd4d-abf7-4e79-b64b-f97058e7285a] Performed Kithe::CreateDerivativesJob (Job ID: ee4ffd4d-abf7-4e79-b64b-f97058e7285a) from Inline(default) in 5.9ms
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] Enqueued Kithe::CreateDerivativesJob (Job ID: ee4ffd4d-abf7-4e79-b64b-f97058e7285a) to Inline(default) with arguments: #<GlobalID:0x00007f7ff9d14fb8 @uri=#<URI::GID gid://dummy/CustomAsset/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be>>
+[ActiveJob] [Kithe::AssetPromoteJob] [86781e4b-e136-45ca-a0db-bd4850c15783] Performed Kithe::AssetPromoteJob (Job ID: 86781e4b-e136-45ca-a0db-bd4850c15783) from Inline(default) in 14.51ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 86781e4b-e136-45ca-a0db-bd4850c15783) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be", "file", {"id"=>"asset/d032c90f6692476d3a7b49a2753a0a6c.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/4497cd9ab0a9e0321f793870a3d99538.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/fixed/c6a2a29c63aeb75fb5cf87c7ee135d94.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qr3am6uuf_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:20.649369"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/4497cd9ab0a9e0321f793870a3d99538.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/fixed/c6a2a29c63aeb75fb5cf87c7ee135d94.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"qr3am6uuf_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"b3981f6f-1e48-4d02-bcd9-5f8bf8f708be/test/8126aacda739d0362bb89721640a6a49.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qr3am6uuf_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:36:20.686292"], ["id", "b3981f6f-1e48-4d02-bcd9-5f8bf8f708be"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:36:20.705296"], ["updated_at", "2020-05-19 20:36:20.705296"], ["file_data", "{\"id\":\"asset/2f4d5c51727958fbf8211575dbf25537.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] Performing Kithe::AssetPromoteJob (Job ID: 4cd29515-c383-4e94-91ce-c31bcd2a0fb6) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b8b0d40f-f96c-4ba8-9d1c-19f065bc0725", "file", {"id"=>"asset/2f4d5c51727958fbf8211575dbf25537.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] [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", "b8b0d40f-f96c-4ba8-9d1c-19f065bc0725"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] [1m[36mTestAsset 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", "TestAsset"], ["id", "b8b0d40f-f96c-4ba8-9d1c-19f065bc0725"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] [1m[36mTestAsset 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/b8b0d40f-f96c-4ba8-9d1c-19f065bc0725/7b1cb1109ca9c40138dace2134f1ff13.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.713506"], ["id", "b8b0d40f-f96c-4ba8-9d1c-19f065bc0725"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4cd29515-c383-4e94-91ce-c31bcd2a0fb6] Performed Kithe::AssetPromoteJob (Job ID: 4cd29515-c383-4e94-91ce-c31bcd2a0fb6) from Inline(default) in 6.44ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4cd29515-c383-4e94-91ce-c31bcd2a0fb6) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b8b0d40f-f96c-4ba8-9d1c-19f065bc0725", "file", {"id"=>"asset/2f4d5c51727958fbf8211575dbf25537.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:36:20.733678"], ["updated_at", "2020-05-19 20:36:20.733678"], ["file_data", "{\"id\":\"asset/d054bc815c50b02b0761233a6384d2c9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "b885003a-3e0b-42a7-984f-a40bf2486cf0"], ["LIMIT", 1]]
+ [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", "b885003a-3e0b-42a7-984f-a40bf2486cf0"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:36:20.755101"], ["updated_at", "2020-05-19 20:36:20.755101"], ["file_data", "{\"id\":\"asset/923cd978ac098cc7a89f09b83410d4d7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:20.758601"], ["file_data", "{\"id\":\"asset/bcfd3394-9f7f-490f-938b-997136d47a9d/b7bb93dda54f368bc0c3c26b56793733.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "bcfd3394-9f7f-490f-938b-997136d47a9d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "bcfd3394-9f7f-490f-938b-997136d47a9d"], ["LIMIT", 1]]
+ [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.776240"], ["updated_at", "2020-05-19 20:36:20.776240"], ["file_data", "{\"id\":\"asset/9c57b207838cd5c82d928276ba06d8e0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [afbbc5ef-b2fb-4baa-91ac-eefa80b95145] Performing Kithe::AssetPromoteJob (Job ID: afbbc5ef-b2fb-4baa-91ac-eefa80b95145) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "6f0e70a5-0840-47cd-9b0d-a2f35a2b265a", "file", {"id"=>"asset/9c57b207838cd5c82d928276ba06d8e0.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [afbbc5ef-b2fb-4baa-91ac-eefa80b95145] [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", "6f0e70a5-0840-47cd-9b0d-a2f35a2b265a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [afbbc5ef-b2fb-4baa-91ac-eefa80b95145] Performed Kithe::AssetPromoteJob (Job ID: afbbc5ef-b2fb-4baa-91ac-eefa80b95145) from Inline(default) in 1.9ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: afbbc5ef-b2fb-4baa-91ac-eefa80b95145) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "6f0e70a5-0840-47cd-9b0d-a2f35a2b265a", "file", {"id"=>"asset/9c57b207838cd5c82d928276ba06d8e0.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6f0e70a5-0840-47cd-9b0d-a2f35a2b265a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.800800"], ["updated_at", "2020-05-19 20:36:20.800800"], ["file_data", "{\"id\":\"asset/f46687d2360bf11a49001cb49167f568.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] Performing Kithe::AssetPromoteJob (Job ID: b9bd2b35-016a-437d-be67-2f33f3975645) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9ba30032-b974-4a9b-b010-026f882d1a70", "file", {"id"=>"asset/f46687d2360bf11a49001cb49167f568.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] [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", "9ba30032-b974-4a9b-b010-026f882d1a70"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] [1m[36mTestAsset 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", "TestAsset"], ["id", "9ba30032-b974-4a9b-b010-026f882d1a70"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] [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/9ba30032-b974-4a9b-b010-026f882d1a70/c86ce505b2ca084b5c68817162cbad44.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.808128"], ["id", "9ba30032-b974-4a9b-b010-026f882d1a70"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b9bd2b35-016a-437d-be67-2f33f3975645] Performed Kithe::AssetPromoteJob (Job ID: b9bd2b35-016a-437d-be67-2f33f3975645) from Inline(default) in 5.74ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b9bd2b35-016a-437d-be67-2f33f3975645) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9ba30032-b974-4a9b-b010-026f882d1a70", "file", {"id"=>"asset/f46687d2360bf11a49001cb49167f568.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "9ba30032-b974-4a9b-b010-026f882d1a70"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.823998"], ["updated_at", "2020-05-19 20:36:20.823998"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:20.828408"], ["file_data", "{\"id\":\"asset/69ecd31e-7621-44bf-a165-90847b3ecd12/1130e453993b6d4d94bf4816b17cf71f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "69ecd31e-7621-44bf-a165-90847b3ecd12"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "69ecd31e-7621-44bf-a165-90847b3ecd12"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:20.857142"], ["updated_at", "2020-05-19 20:36:20.857142"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:20.861608"], ["file_data", "{\"id\":\"asset/0506f596-dd12-4c04-86ea-efd0449a5fdf/96ac3beea67f82f10ff91d2a4a22067c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0506f596-dd12-4c04-86ea-efd0449a5fdf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0506f596-dd12-4c04-86ea-efd0449a5fdf"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:20.877357"], ["updated_at", "2020-05-19 20:36:20.877357"], ["file_data", "{\"id\":\"asset/aa45fce7e8d2388c9c99fcca54e5b6bb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b74ec5a6-2d76-4548-acbe-bbc9ec6d111a"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b74ec5a6-2d76-4548-acbe-bbc9ec6d111a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.902415"], ["updated_at", "2020-05-19 20:36:20.902415"], ["file_data", "{\"id\":\"asset/107fb9b9be6eef9e998ded18a2907af8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "ce78a83f-c88e-4337-b8a5-443bb576ac78"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "ce78a83f-c88e-4337-b8a5-443bb576ac78"], ["LIMIT", 1]]
+ [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/ce78a83f-c88e-4337-b8a5-443bb576ac78/e5b5f9229f88892dd0a9c5b251f07a74.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.910323"], ["id", "ce78a83f-c88e-4337-b8a5-443bb576ac78"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "ce78a83f-c88e-4337-b8a5-443bb576ac78"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.925874"], ["updated_at", "2020-05-19 20:36:20.925874"], ["file_data", "{\"id\":\"asset/e20bf7258d4c7807f5921918945c5f2e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] Performing Kithe::AssetPromoteJob (Job ID: 389844c0-03d1-4432-b9e4-1c5c95171ddd) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "7bf11910-05cb-4b73-9294-17378f9912f7", "file", {"id"=>"asset/e20bf7258d4c7807f5921918945c5f2e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7bf11910-05cb-4b73-9294-17378f9912f7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "7bf11910-05cb-4b73-9294-17378f9912f7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] [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/7bf11910-05cb-4b73-9294-17378f9912f7/87df7695aabf78855a3b4264226ad6d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.937264"], ["id", "7bf11910-05cb-4b73-9294-17378f9912f7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [389844c0-03d1-4432-b9e4-1c5c95171ddd] Performed Kithe::AssetPromoteJob (Job ID: 389844c0-03d1-4432-b9e4-1c5c95171ddd) from Inline(default) in 9.54ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 389844c0-03d1-4432-b9e4-1c5c95171ddd) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "7bf11910-05cb-4b73-9294-17378f9912f7", "file", {"id"=>"asset/e20bf7258d4c7807f5921918945c5f2e.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:20.955526"], ["updated_at", "2020-05-19 20:36:20.955526"], ["file_data", "{\"id\":\"asset/bf6cc5d0737223e26fdfffceae905026.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:20.959188"], ["file_data", "{\"id\":\"asset/7c7c934b-6051-4b9a-a53c-9397e6088397/086319d468a999eb50071bca460bf740.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7c7c934b-6051-4b9a-a53c-9397e6088397"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7c7c934b-6051-4b9a-a53c-9397e6088397"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:20.975369"], ["updated_at", "2020-05-19 20:36:20.975369"], ["file_data", "{\"id\":\"asset/894f2ba6e83f3e4265e59e3f4e001b6a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] Performing Kithe::AssetPromoteJob (Job ID: f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a) from Inline(default) enqueued at 2020-05-19T20:36:20Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "8b825b71-4267-4599-b639-71792a7615d3", "file", {"id"=>"asset/894f2ba6e83f3e4265e59e3f4e001b6a.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] [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", "8b825b71-4267-4599-b639-71792a7615d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] [1m[36mTestAsset 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", "TestAsset"], ["id", "8b825b71-4267-4599-b639-71792a7615d3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] [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/8b825b71-4267-4599-b639-71792a7615d3/859b58489c77de77a73b069c9b99e7ef.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:20.986548"], ["id", "8b825b71-4267-4599-b639-71792a7615d3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a] Performed Kithe::AssetPromoteJob (Job ID: f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a) from Inline(default) in 9.77ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f3cc2f79-34b4-40a3-a1c1-8d42dbe5653a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "8b825b71-4267-4599-b639-71792a7615d3", "file", {"id"=>"asset/894f2ba6e83f3e4265e59e3f4e001b6a.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.018495"], ["updated_at", "2020-05-19 20:36:21.018495"], ["file_data", "{\"id\":\"asset/b1e0d93fc5d4fe8102f84ee263952e83.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] Performing Kithe::AssetPromoteJob (Job ID: 25191b34-96fa-4d6b-91c0-4d506609567f) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "25c47e21-1044-464c-9b1b-62b3db29dc3e", "file", {"id"=>"asset/b1e0d93fc5d4fe8102f84ee263952e83.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] [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", "25c47e21-1044-464c-9b1b-62b3db29dc3e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] [1m[36mTestAsset 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", "TestAsset"], ["id", "25c47e21-1044-464c-9b1b-62b3db29dc3e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] [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/25c47e21-1044-464c-9b1b-62b3db29dc3e/a9dfec27b8fccda46cc7e0a7c61b1f4f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.030896"], ["id", "25c47e21-1044-464c-9b1b-62b3db29dc3e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25191b34-96fa-4d6b-91c0-4d506609567f] Performed Kithe::AssetPromoteJob (Job ID: 25191b34-96fa-4d6b-91c0-4d506609567f) from Inline(default) in 6.9ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 25191b34-96fa-4d6b-91c0-4d506609567f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "25c47e21-1044-464c-9b1b-62b3db29dc3e", "file", {"id"=>"asset/b1e0d93fc5d4fe8102f84ee263952e83.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "25c47e21-1044-464c-9b1b-62b3db29dc3e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.052857"], ["updated_at", "2020-05-19 20:36:21.052857"], ["file_data", "{\"id\":\"asset/c5c5a7aab3bd5781cca4bea0fef8636b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "b52a081d-8044-470c-b6ba-e4d41da756f1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.071249"], ["updated_at", "2020-05-19 20:36:21.071249"], ["file_data", "{\"id\":\"asset/c31c6525a0fcd09ad33e93c86b7ef191.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.074572"], ["file_data", "{\"id\":\"asset/4be67f56-4389-46b2-abf1-fd8688d9cd27/c74222ab96fb18e4c4c2ecb6bf09d950.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4be67f56-4389-46b2-abf1-fd8688d9cd27"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 8d302bbb-f0fc-4d39-baef-fd8bea778b47) to Test(default) with arguments: #<GlobalID:0x00007f7ff5bcfb48 @uri=#<URI::GID gid://dummy/TestAsset/4be67f56-4389-46b2-abf1-fd8688d9cd27>>
+ [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", "4be67f56-4389-46b2-abf1-fd8688d9cd27"], ["LIMIT", 1]]
+ [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", "4be67f56-4389-46b2-abf1-fd8688d9cd27"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.091269"], ["updated_at", "2020-05-19 20:36:21.091269"], ["file_data", "{\"id\":\"asset/3b3192d92f0e18c8e7a64e5bd5c689d5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.120043"], ["updated_at", "2020-05-19 20:36:21.120043"], ["file_data", "{\"id\":\"asset/bebccd498027a49830f3ea438d73ee7e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.123260"], ["file_data", "{\"id\":\"asset/2c103769-0b70-4ee1-941f-1900de2abf79/72b86998ae77f35486428bdad06549ea.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "2c103769-0b70-4ee1-941f-1900de2abf79"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "2c103769-0b70-4ee1-941f-1900de2abf79"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.153609"], ["updated_at", "2020-05-19 20:36:21.153609"], ["file_data", "{\"id\":\"asset/e7405893a6770d51ab41c9a163b4de17.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.156669"], ["file_data", "{\"id\":\"asset/9b4e7464-e74e-460d-a0ac-cb7edcc29856/1fd7e548dd722475ff60f82d02f298f6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "9b4e7464-e74e-460d-a0ac-cb7edcc29856"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [f22b8aaa-3031-4721-9bb1-53ccffb49920] Performing Kithe::CreateDerivativesJob (Job ID: f22b8aaa-3031-4721-9bb1-53ccffb49920) from Test(default) enqueued at with arguments: #<GlobalID:0x00007f7ff9c27e98 @uri=#<URI::GID gid://dummy/TestAsset/9b4e7464-e74e-460d-a0ac-cb7edcc29856>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [f22b8aaa-3031-4721-9bb1-53ccffb49920] Performed Kithe::CreateDerivativesJob (Job ID: f22b8aaa-3031-4721-9bb1-53ccffb49920) from Test(default) in 0.49ms
+ [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", "9b4e7464-e74e-460d-a0ac-cb7edcc29856"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:36:21.172299"], ["updated_at", "2020-05-19 20:36:21.172299"], ["file_data", "{\"id\":\"asset/1d81eb391b8759e7600a1101f5107380.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.175274"], ["file_data", "{\"id\":\"asset/5d1f53a4-d729-4f23-a550-0681957b3621/5662178f2fc965526d1a7712311483dd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5d1f53a4-d729-4f23-a550-0681957b3621"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "5d1f53a4-d729-4f23-a550-0681957b3621"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "5d1f53a4-d729-4f23-a550-0681957b3621"]]
+ [1m[36mKithe::Model Load (1.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", "5d1f53a4-d729-4f23-a550-0681957b3621"]]
+ [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", "5d1f53a4-d729-4f23-a550-0681957b3621"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5d1f53a4-d729-4f23-a550-0681957b3621'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5d1f53a4-d729-4f23-a550-0681957b3621'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "5d1f53a4-d729-4f23-a550-0681957b3621"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:36:21.203633"], ["updated_at", "2020-05-19 20:36:21.203633"], ["file_data", "{\"id\":\"asset/30d6f07c511e4b251f00f4991c4c31f7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.206727"], ["file_data", "{\"id\":\"asset/f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad/89e438347b41363809205e6b0143525a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f64b6a86-63e5-4ed9-a5dc-3a65e14ecfad"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.241766"], ["updated_at", "2020-05-19 20:36:21.241766"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $22 LIMIT $23[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "f7806a38-517d-4351-b665-1a551d24edf7"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:21.261584"], ["updated_at", "2020-05-19 20:36:21.261584"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:21.277474"], ["updated_at", "2020-05-19 20:36:21.277474"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.284228"], ["file_data", "{\"id\":\"asset/132d088d-091c-405e-a862-a68865281c48/1974560479610acdd796cfd420312824.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "132d088d-091c-405e-a862-a68865281c48"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.288555"], ["file_data", "{\"id\":\"asset/132d088d-091c-405e-a862-a68865281c48/6a4c7e26931f02ad734990802f6525b9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "132d088d-091c-405e-a862-a68865281c48"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "132d088d-091c-405e-a862-a68865281c48"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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::Asset"], ["created_at", "2020-05-19 20:36:21.293908"], ["updated_at", "2020-05-19 20:36:21.293908"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.305794"], ["updated_at", "2020-05-19 20:36:21.305794"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:36:21.308454"], ["updated_at", "2020-05-19 20:36:21.308454"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (60.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.376155"], ["updated_at", "2020-05-19 20:36:21.376155"], ["file_data", "{\"id\":\"asset/4b63d8c47d7754e730944a9da42ba594.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] Performing Kithe::AssetPromoteJob (Job ID: bd4ca1e9-2b48-4493-b857-89b19b9fb569) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "2fe99828-9eb7-4b01-8032-8151844a8942", "file", {"id"=>"asset/4b63d8c47d7754e730944a9da42ba594.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2fe99828-9eb7-4b01-8032-8151844a8942"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2fe99828-9eb7-4b01-8032-8151844a8942"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] [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/2fe99828-9eb7-4b01-8032-8151844a8942/2f6a3b9745a5133ea5339d8bbb3f75ab.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.387382"], ["id", "2fe99828-9eb7-4b01-8032-8151844a8942"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd4ca1e9-2b48-4493-b857-89b19b9fb569] Performed Kithe::AssetPromoteJob (Job ID: bd4ca1e9-2b48-4493-b857-89b19b9fb569) from Inline(default) in 9.27ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: bd4ca1e9-2b48-4493-b857-89b19b9fb569) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "2fe99828-9eb7-4b01-8032-8151844a8942", "file", {"id"=>"asset/4b63d8c47d7754e730944a9da42ba594.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2fe99828-9eb7-4b01-8032-8151844a8942"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:36:21.396751"], ["updated_at", "2020-05-19 20:36:21.396751"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.402750"], ["file_data", "{\"id\":\"asset/8d99c2ca963c315f037ac1dcb3247c0e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] Performing Kithe::AssetPromoteJob (Job ID: d9f20043-825b-4f9f-9545-b9a9f89cbdba) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf", "file", {"id"=>"asset/8d99c2ca963c315f037ac1dcb3247c0e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] [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/d9f202b0-899e-4376-9d4d-9be10a5f5dbf/2cdbd608fad42ebf316856fae0991311.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:36:21.410675"], ["id", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d9f20043-825b-4f9f-9545-b9a9f89cbdba] Performed Kithe::AssetPromoteJob (Job ID: d9f20043-825b-4f9f-9545-b9a9f89cbdba) from Inline(default) in 7.38ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d9f20043-825b-4f9f-9545-b9a9f89cbdba) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf", "file", {"id"=>"asset/8d99c2ca963c315f037ac1dcb3247c0e.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d9f202b0-899e-4376-9d4d-9be10a5f5dbf"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.418749"], ["updated_at", "2020-05-19 20:36:21.418749"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.421371"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "440d34e8-3b11-44a3-aa54-29ffaa1e846d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] Performing Kithe::AssetPromoteJob (Job ID: 2a1cdddd-fb36-4e0d-af24-40b6097eef01) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "440d34e8-3b11-44a3-aa54-29ffaa1e846d", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "440d34e8-3b11-44a3-aa54-29ffaa1e846d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "440d34e8-3b11-44a3-aa54-29ffaa1e846d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] [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/440d34e8-3b11-44a3-aa54-29ffaa1e846d/bbd666c66042debba857fbb5301fb1c7.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:36:21.475238"], ["id", "440d34e8-3b11-44a3-aa54-29ffaa1e846d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2a1cdddd-fb36-4e0d-af24-40b6097eef01] Performed Kithe::AssetPromoteJob (Job ID: 2a1cdddd-fb36-4e0d-af24-40b6097eef01) from Inline(default) in 53.6ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2a1cdddd-fb36-4e0d-af24-40b6097eef01) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "440d34e8-3b11-44a3-aa54-29ffaa1e846d", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "440d34e8-3b11-44a3-aa54-29ffaa1e846d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.484927"], ["updated_at", "2020-05-19 20:36:21.484927"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:21.487541"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "d7be9fd5-249f-4936-b45e-1d952a5b0089"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] Performing Kithe::AssetPromoteJob (Job ID: 9c8f223c-7943-4c4d-b682-0bd42e9eea13) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d7be9fd5-249f-4936-b45e-1d952a5b0089", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d7be9fd5-249f-4936-b45e-1d952a5b0089"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d7be9fd5-249f-4936-b45e-1d952a5b0089"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] [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/d7be9fd5-249f-4936-b45e-1d952a5b0089/e66f7283bc0bf1a3ab75fb4c50c056ef.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-19 20:36:21.543372"], ["id", "d7be9fd5-249f-4936-b45e-1d952a5b0089"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9c8f223c-7943-4c4d-b682-0bd42e9eea13] Performed Kithe::AssetPromoteJob (Job ID: 9c8f223c-7943-4c4d-b682-0bd42e9eea13) from Inline(default) in 55.62ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9c8f223c-7943-4c4d-b682-0bd42e9eea13) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d7be9fd5-249f-4936-b45e-1d952a5b0089", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:36:21.551895"], ["updated_at", "2020-05-19 20:36:21.551895"], ["file_data", "{\"id\":\"asset/eeefa21430f34ca47329a10094689694.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: dd48e659-a86e-4c39-bd23-309eab4c182f) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7d63170-25e1-41da-a45a-dcbf2984e606", "file", {"id"=>"asset/eeefa21430f34ca47329a10094689694.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f7d63170-25e1-41da-a45a-dcbf2984e606"], ["LIMIT", 1]]
+ [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-19 20:36:21.558515"], ["file_data", "{\"id\":\"asset/f7d63170-25e1-41da-a45a-dcbf2984e606/62d8aa17f472974bc25a602a5a5d1123.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f7d63170-25e1-41da-a45a-dcbf2984e606"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:36:21.563882"], ["updated_at", "2020-05-19 20:36:21.563882"], ["file_data", "{\"id\":\"asset/604a67eda497331ce90c0177d8960052.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] Performing Kithe::AssetPromoteJob (Job ID: 1f11441c-1e6d-4852-8cdd-8e5b61e283c2) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "4a7fa140-6120-4b2c-8286-0a13f7dc2c39", "file", {"id"=>"asset/604a67eda497331ce90c0177d8960052.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4a7fa140-6120-4b2c-8286-0a13f7dc2c39"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "4a7fa140-6120-4b2c-8286-0a13f7dc2c39"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] [1m[36mKithe::Asset 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/4a7fa140-6120-4b2c-8286-0a13f7dc2c39/e94913f9708655c6fb2bc6950f3b9a5d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.575708"], ["id", "4a7fa140-6120-4b2c-8286-0a13f7dc2c39"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1f11441c-1e6d-4852-8cdd-8e5b61e283c2] Performed Kithe::AssetPromoteJob (Job ID: 1f11441c-1e6d-4852-8cdd-8e5b61e283c2) from Inline(default) in 8.62ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1f11441c-1e6d-4852-8cdd-8e5b61e283c2) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "4a7fa140-6120-4b2c-8286-0a13f7dc2c39", "file", {"id"=>"asset/604a67eda497331ce90c0177d8960052.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.581605"], ["updated_at", "2020-05-19 20:36:21.581605"], ["file_data", "{\"id\":\"asset/e5c2b2b4b06e343702241e63a052eb16.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] Performing Kithe::AssetPromoteJob (Job ID: eb365b7c-fabf-48b4-a238-31c4aafa37e6) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "bd251c85-b710-44a5-a91e-c293dc02396f", "file", {"id"=>"asset/e5c2b2b4b06e343702241e63a052eb16.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "bd251c85-b710-44a5-a91e-c293dc02396f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "bd251c85-b710-44a5-a91e-c293dc02396f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] [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/bd251c85-b710-44a5-a91e-c293dc02396f/f24c6d337412c871ede324fd0a8916f3.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.590818"], ["id", "bd251c85-b710-44a5-a91e-c293dc02396f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [eb365b7c-fabf-48b4-a238-31c4aafa37e6] Performed Kithe::AssetPromoteJob (Job ID: eb365b7c-fabf-48b4-a238-31c4aafa37e6) from Inline(default) in 7.26ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: eb365b7c-fabf-48b4-a238-31c4aafa37e6) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "bd251c85-b710-44a5-a91e-c293dc02396f", "file", {"id"=>"asset/e5c2b2b4b06e343702241e63a052eb16.jpg", "storage"=>"cache"}, {}
+ [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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "bd251c85-b710-44a5-a91e-c293dc02396f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:21.599304"], ["updated_at", "2020-05-19 20:36:21.599304"], ["file_data", "{\"id\":\"asset/f4abe7c816881f411af02d26fe239e06.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] Performing Kithe::AssetPromoteJob (Job ID: 4ccd74f8-f776-4289-aa4e-23b735802734) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504", "file", {"id"=>"asset/f4abe7c816881f411af02d26fe239e06.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] [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/6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/512df64f82bb590e1d2ed604f6a92642.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.608396"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4ccd74f8-f776-4289-aa4e-23b735802734] Performed Kithe::AssetPromoteJob (Job ID: 4ccd74f8-f776-4289-aa4e-23b735802734) from Inline(default) in 8.05ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4ccd74f8-f776-4289-aa4e-23b735802734) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504", "file", {"id"=>"asset/f4abe7c816881f411af02d26fe239e06.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/512df64f82bb590e1d2ed604f6a92642.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/existing/58690236f560bce3205c2613664a40a7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mvme8fuwc_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:36:21.652839"], ["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6e3d4ac3-5d7a-47f9-a1cb-875e987c2504'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6e3d4ac3-5d7a-47f9-a1cb-875e987c2504'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "6e3d4ac3-5d7a-47f9-a1cb-875e987c2504"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [817de05f-7468-403b-9fb6-184c83ab8d43] Performing Kithe::AssetDeleteJob (Job ID: 817de05f-7468-403b-9fb6-184c83ab8d43) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/512df64f82bb590e1d2ed604f6a92642.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/existing/58690236f560bce3205c2613664a40a7.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"mvme8fuwc_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [817de05f-7468-403b-9fb6-184c83ab8d43] Performed Kithe::AssetDeleteJob (Job ID: 817de05f-7468-403b-9fb6-184c83ab8d43) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 817de05f-7468-403b-9fb6-184c83ab8d43) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/512df64f82bb590e1d2ed604f6a92642.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"6e3d4ac3-5d7a-47f9-a1cb-875e987c2504/existing/58690236f560bce3205c2613664a40a7.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"mvme8fuwc_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:21.674520"], ["updated_at", "2020-05-19 20:36:21.674520"], ["file_data", "{\"id\":\"asset/eb165f2a301e156dcdd2984a989efdd7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] Performing Kithe::AssetPromoteJob (Job ID: cb1439f7-c2cb-430a-97d3-55fd7d8c7c52) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8a3170a2-4876-40e9-9bfb-876ea6a05c28", "file", {"id"=>"asset/eb165f2a301e156dcdd2984a989efdd7.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] [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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] [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) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] [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/8a3170a2-4876-40e9-9bfb-876ea6a05c28/5eff34e48e0f64ba0cda92382b6468e4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.694023"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cb1439f7-c2cb-430a-97d3-55fd7d8c7c52] Performed Kithe::AssetPromoteJob (Job ID: cb1439f7-c2cb-430a-97d3-55fd7d8c7c52) from Inline(default) in 18.33ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: cb1439f7-c2cb-430a-97d3-55fd7d8c7c52) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8a3170a2-4876-40e9-9bfb-876ea6a05c28", "file", {"id"=>"asset/eb165f2a301e156dcdd2984a989efdd7.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset 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" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/5eff34e48e0f64ba0cda92382b6468e4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"8a3170a2-4876-40e9-9bfb-876ea6a05c28/existing/e4bc3299ea7235a9151fe521198d5753.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"80ne91rr1_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:36:21.738733"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/2aca2d2a321d79631e4faf9e1baf3870.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:36:21.774404"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [ad3b6964-4996-4905-82d7-b5fa9d899770] Performing Kithe::AssetDeleteJob (Job ID: ad3b6964-4996-4905-82d7-b5fa9d899770) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/5eff34e48e0f64ba0cda92382b6468e4.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"8a3170a2-4876-40e9-9bfb-876ea6a05c28/existing/e4bc3299ea7235a9151fe521198d5753.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"80ne91rr1_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [ad3b6964-4996-4905-82d7-b5fa9d899770] Performed Kithe::AssetDeleteJob (Job ID: ad3b6964-4996-4905-82d7-b5fa9d899770) from Inline(default) in 0.14ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: ad3b6964-4996-4905-82d7-b5fa9d899770) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/5eff34e48e0f64ba0cda92382b6468e4.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"8a3170a2-4876-40e9-9bfb-876ea6a05c28/existing/e4bc3299ea7235a9151fe521198d5753.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"80ne91rr1_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] Performing Kithe::AssetPromoteJob (Job ID: 3146f209-e206-4a98-82d1-4a774ee0194c) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8a3170a2-4876-40e9-9bfb-876ea6a05c28", "file", {"id"=>"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/2aca2d2a321d79631e4faf9e1baf3870.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] [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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] [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) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] [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/8a3170a2-4876-40e9-9bfb-876ea6a05c28/aea6c512de0d16b5611307428277afbe.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:36:21.791134"], ["id", "8a3170a2-4876-40e9-9bfb-876ea6a05c28"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3146f209-e206-4a98-82d1-4a774ee0194c] Performed Kithe::AssetPromoteJob (Job ID: 3146f209-e206-4a98-82d1-4a774ee0194c) from Inline(default) in 14.36ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3146f209-e206-4a98-82d1-4a774ee0194c) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8a3170a2-4876-40e9-9bfb-876ea6a05c28", "file", {"id"=>"asset/8a3170a2-4876-40e9-9bfb-876ea6a05c28/2aca2d2a321d79631e4faf9e1baf3870.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:21.796974"], ["updated_at", "2020-05-19 20:36:21.796974"], ["file_data", "{\"id\":\"asset/5e9a187f011e1dfce792b8998365b132.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] Performing Kithe::AssetPromoteJob (Job ID: ccbd04f4-19ef-4f97-9519-b18a2a1e677f) from Inline(default) enqueued at 2020-05-19T20:36:21Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c0ae5408-9436-4acf-93b6-8ce03c57c2db", "file", {"id"=>"asset/5e9a187f011e1dfce792b8998365b132.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] [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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] [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) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] [1m[36mKithe::Asset 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/c0ae5408-9436-4acf-93b6-8ce03c57c2db/43165ef8232ec6c8ebe610c7759dc6f4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:36:21.813664"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ccbd04f4-19ef-4f97-9519-b18a2a1e677f] Performed Kithe::AssetPromoteJob (Job ID: ccbd04f4-19ef-4f97-9519-b18a2a1e677f) from Inline(default) in 16.57ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ccbd04f4-19ef-4f97-9519-b18a2a1e677f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c0ae5408-9436-4acf-93b6-8ce03c57c2db", "file", {"id"=>"asset/5e9a187f011e1dfce792b8998365b132.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.8ms)[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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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/c0ae5408-9436-4acf-93b6-8ce03c57c2db/43165ef8232ec6c8ebe610c7759dc6f4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"c0ae5408-9436-4acf-93b6-8ce03c57c2db/existing/6195e5bdee1ac890950a1a865254f515.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"drqd4bzjp_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:36:21.866810"], ["id", "c0ae5408-9436-4acf-93b6-8ce03c57c2db"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:21.870813"], ["updated_at", "2020-05-19 20:36:21.870813"], ["file_data", "{\"id\":\"asset/2b8f0f9ca9f5ad921f56043a15e1e78a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "bcc4b791-3450-4cdc-b14a-a0486e8171c3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "bcc4b791-3450-4cdc-b14a-a0486e8171c3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2b8f0f9ca9f5ad921f56043a15e1e78a.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"bcc4b791-3450-4cdc-b14a-a0486e8171c3/test/2e2b4a006c0e30666bc3be94e779ad51.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7em4au1di_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:36:21.883987"], ["id", "bcc4b791-3450-4cdc-b14a-a0486e8171c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 title"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:21.906824"], ["updated_at", "2020-05-19 20:36:21.906824"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:21.986925"], ["updated_at", "2020-05-19 20:36:21.986925"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b4a5ed15-8f00-40c4-8702-ca81c9bc60ab"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:21.992685"], ["updated_at", "2020-05-19 20:36:21.992685"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "da6e810c-c266-4b35-b448-8b0e59bf4242"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:22.008088"], ["updated_at", "2020-05-19 20:36:22.008088"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 20:36:22.012099"], ["updated_at", "2020-05-19 20:36:22.012099"], ["kithe_model_type", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.7ms)[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", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["id", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.7ms)[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", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:22.029080"], ["updated_at", "2020-05-19 20:36:22.029080"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["container_id", "1101c484-444e-4e89-ac66-3090863b931e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "1101c484-444e-4e89-ac66-3090863b931e"]]
+ [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", "05061f2e-beae-460b-8d4d-bf61c92ff854"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "05061f2e-beae-460b-8d4d-bf61c92ff854"]]
+ [1m[36mKithe::ModelContains Load (0.5ms)[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", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["container_id", "1101c484-444e-4e89-ac66-3090863b931e"]]
+ [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", "05061f2e-beae-460b-8d4d-bf61c92ff854"], ["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["container_id", "1101c484-444e-4e89-ac66-3090863b931e"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "05061f2e-beae-460b-8d4d-bf61c92ff854"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '05061f2e-beae-460b-8d4d-bf61c92ff854'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '05061f2e-beae-460b-8d4d-bf61c92ff854'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "05061f2e-beae-460b-8d4d-bf61c92ff854"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.5ms)[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", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["LIMIT", 1]]
+ [1m[36mKithe::Collection Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "1101c484-444e-4e89-ac66-3090863b931e"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [1m[35m (0.5ms)[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", "1101c484-444e-4e89-ac66-3090863b931e"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.058222"], ["updated_at", "2020-05-19 20:36:22.058222"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "2f885a98-20d8-4d9b-8d1e-b7d626f77d08"], ["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [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", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [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", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["containee_id", "2f885a98-20d8-4d9b-8d1e-b7d626f77d08"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"], ["containee_id", "2f885a98-20d8-4d9b-8d1e-b7d626f77d08"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ea3e9cdb-7c97-408d-8d63-29bcb70ca06e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ea3e9cdb-7c97-408d-8d63-29bcb70ca06e'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ea3e9cdb-7c97-408d-8d63-29bcb70ca06e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2f885a98-20d8-4d9b-8d1e-b7d626f77d08"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "2f885a98-20d8-4d9b-8d1e-b7d626f77d08"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.102457"], ["updated_at", "2020-05-19 20:36:22.102457"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:22.106085"], ["updated_at", "2020-05-19 20:36:22.106085"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "349a1aa6-c3dc-43b3-a150-dabceae2e62b"]]
+ [1m[36mKithe::Work Update (2.1ms)[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-19 20:36:22.109759"], ["representative_id", "349a1aa6-c3dc-43b3-a150-dabceae2e62b"], ["leaf_representative_id", "349a1aa6-c3dc-43b3-a150-dabceae2e62b"], ["id", "ca63b71a-276b-4f10-acde-db2237c170b9"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '349a1aa6-c3dc-43b3-a150-dabceae2e62b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ca63b71a-276b-4f10-acde-db2237c170b9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ca63b71a-276b-4f10-acde-db2237c170b9'
+);
+[0m
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.8ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ca63b71a-276b-4f10-acde-db2237c170b9"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "349a1aa6-c3dc-43b3-a150-dabceae2e62b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:22.126880"], ["updated_at", "2020-05-19 20:36:22.126880"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:22.133433"], ["updated_at", "2020-05-19 20:36:22.133433"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "37f50bd6-d1ea-483b-9b95-744b331cac38"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.138786"], ["updated_at", "2020-05-19 20:36:22.138786"], ["representative_id", "37f50bd6-d1ea-483b-9b95-744b331cac38"], ["leaf_representative_id", "37f50bd6-d1ea-483b-9b95-744b331cac38"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '37f50bd6-d1ea-483b-9b95-744b331cac38'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd78d6d3a-66b0-48cc-b66c-20760283ea86'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd78d6d3a-66b0-48cc-b66c-20760283ea86'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "37f50bd6-d1ea-483b-9b95-744b331cac38"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d78d6d3a-66b0-48cc-b66c-20760283ea86"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.157734"], ["updated_at", "2020-05-19 20:36:22.157734"], ["representative_id", "d78d6d3a-66b0-48cc-b66c-20760283ea86"], ["leaf_representative_id", "37f50bd6-d1ea-483b-9b95-744b331cac38"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '37f50bd6-d1ea-483b-9b95-744b331cac38'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '54efdfdf-71c9-4116-a0f6-094aff31dbe8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '54efdfdf-71c9-4116-a0f6-094aff31dbe8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "37f50bd6-d1ea-483b-9b95-744b331cac38"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "representative_id" = $2, "leaf_representative_id" = $3 WHERE "kithe_models"."id" = $4[0m [["updated_at", "2020-05-19 20:36:22.164532"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "54efdfdf-71c9-4116-a0f6-094aff31dbe8"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '54efdfdf-71c9-4116-a0f6-094aff31dbe8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '54efdfdf-71c9-4116-a0f6-094aff31dbe8'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:22.170131"], ["updated_at", "2020-05-19 20:36:22.170131"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "67181996-98aa-4353-8e1a-d05884972f90"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.173765"], ["updated_at", "2020-05-19 20:36:22.173765"], ["representative_id", "67181996-98aa-4353-8e1a-d05884972f90"], ["leaf_representative_id", "67181996-98aa-4353-8e1a-d05884972f90"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '67181996-98aa-4353-8e1a-d05884972f90'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ce02175f-a367-4ecd-8fa8-ccefb14eaf56'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ce02175f-a367-4ecd-8fa8-ccefb14eaf56'
+);
+[0m
+ [1m[35m (3.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.7ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ce02175f-a367-4ecd-8fa8-ccefb14eaf56"]]
+ [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-19 20:36:22.184028"], ["updated_at", "2020-05-19 20:36:22.184028"], ["representative_id", "ce02175f-a367-4ecd-8fa8-ccefb14eaf56"], ["leaf_representative_id", "67181996-98aa-4353-8e1a-d05884972f90"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '67181996-98aa-4353-8e1a-d05884972f90'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'fea29f3a-4697-42cf-8b6e-3d9b9a88d7ac'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'fea29f3a-4697-42cf-8b6e-3d9b9a88d7ac'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.188335"], ["representative_id", "67181996-98aa-4353-8e1a-d05884972f90"], ["leaf_representative_id", "ce02175f-a367-4ecd-8fa8-ccefb14eaf56"], ["id", "fea29f3a-4697-42cf-8b6e-3d9b9a88d7ac"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ce02175f-a367-4ecd-8fa8-ccefb14eaf56'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'fea29f3a-4697-42cf-8b6e-3d9b9a88d7ac'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'fea29f3a-4697-42cf-8b6e-3d9b9a88d7ac'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:22.193251"], ["updated_at", "2020-05-19 20:36:22.193251"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:22.196313"], ["updated_at", "2020-05-19 20:36:22.196313"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a8e33b41-521d-4e0c-842e-2144becf3b60"]]
+ [1m[36mKithe::Work Create (1.1ms)[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-19 20:36:22.201818"], ["updated_at", "2020-05-19 20:36:22.201818"], ["representative_id", "a8e33b41-521d-4e0c-842e-2144becf3b60"], ["leaf_representative_id", "a8e33b41-521d-4e0c-842e-2144becf3b60"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a8e33b41-521d-4e0c-842e-2144becf3b60'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0eca9ed8-95cc-45da-baa1-cc894781b0af'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0eca9ed8-95cc-45da-baa1-cc894781b0af'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0eca9ed8-95cc-45da-baa1-cc894781b0af"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.207107"], ["updated_at", "2020-05-19 20:36:22.207107"], ["representative_id", "0eca9ed8-95cc-45da-baa1-cc894781b0af"], ["leaf_representative_id", "a8e33b41-521d-4e0c-842e-2144becf3b60"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a8e33b41-521d-4e0c-842e-2144becf3b60'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5b137ebf-28b5-41ff-b1a0-15b811480a8e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5b137ebf-28b5-41ff-b1a0-15b811480a8e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:22.210297"], ["leaf_representative_id", "887b7a37-fb6d-4b50-9197-6007fcb41665"], ["id", "5b137ebf-28b5-41ff-b1a0-15b811480a8e"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '887b7a37-fb6d-4b50-9197-6007fcb41665'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5b137ebf-28b5-41ff-b1a0-15b811480a8e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5b137ebf-28b5-41ff-b1a0-15b811480a8e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "887b7a37-fb6d-4b50-9197-6007fcb41665"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (1.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0eca9ed8-95cc-45da-baa1-cc894781b0af"]]
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "a8e33b41-521d-4e0c-842e-2144becf3b60"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:22.225341"], ["updated_at", "2020-05-19 20:36:22.225341"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.227782"], ["updated_at", "2020-05-19 20:36:22.227782"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "92f9be70-96c2-42e6-9dd2-669dd78cf8f6"]]
+ [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-19 20:36:22.233354"], ["representative_id", "92f9be70-96c2-42e6-9dd2-669dd78cf8f6"], ["leaf_representative_id", "92f9be70-96c2-42e6-9dd2-669dd78cf8f6"], ["id", "78f5e674-1aff-4542-94bb-031c1050d288"]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '92f9be70-96c2-42e6-9dd2-669dd78cf8f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '78f5e674-1aff-4542-94bb-031c1050d288'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '78f5e674-1aff-4542-94bb-031c1050d288'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "78f5e674-1aff-4542-94bb-031c1050d288"]]
+ [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-19 20:36:22.238768"], ["representative_id", "78f5e674-1aff-4542-94bb-031c1050d288"], ["leaf_representative_id", "92f9be70-96c2-42e6-9dd2-669dd78cf8f6"], ["id", "92f9be70-96c2-42e6-9dd2-669dd78cf8f6"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '92f9be70-96c2-42e6-9dd2-669dd78cf8f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '92f9be70-96c2-42e6-9dd2-669dd78cf8f6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '92f9be70-96c2-42e6-9dd2-669dd78cf8f6'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:22.244046"], ["updated_at", "2020-05-19 20:36:22.244046"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:36:22.291371"], ["updated_at", "2020-05-19 20:36:22.291371"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.295134"], ["updated_at", "2020-05-19 20:36:22.295134"], ["representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2537ac46-d762-49cd-a7a7-ed720b676289'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2537ac46-d762-49cd-a7a7-ed720b676289'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1deae359-cbc8-446d-8a1f-80e1c8379f02"]]
+ [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-19 20:36:22.299443"], ["updated_at", "2020-05-19 20:36:22.299443"], ["representative_id", "1deae359-cbc8-446d-8a1f-80e1c8379f02"], ["leaf_representative_id", "1deae359-cbc8-446d-8a1f-80e1c8379f02"], ["kithe_model_type", 1]]
+ [1m[35m (5.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1deae359-cbc8-446d-8a1f-80e1c8379f02'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '516981d1-bf1d-49bc-aedd-14edf77c006c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '516981d1-bf1d-49bc-aedd-14edf77c006c'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2537ac46-d762-49cd-a7a7-ed720b676289"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.307650"], ["updated_at", "2020-05-19 20:36:22.307650"], ["representative_id", "2537ac46-d762-49cd-a7a7-ed720b676289"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e2fb93e5-5230-4c31-9869-47c6412b75f8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e2fb93e5-5230-4c31-9869-47c6412b75f8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2537ac46-d762-49cd-a7a7-ed720b676289"]]
+ [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-19 20:36:22.312430"], ["updated_at", "2020-05-19 20:36:22.312430"], ["representative_id", "2537ac46-d762-49cd-a7a7-ed720b676289"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '8fa7d6ee-dff2-4506-aff9-537d72d59845'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '8fa7d6ee-dff2-4506-aff9-537d72d59845'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "516981d1-bf1d-49bc-aedd-14edf77c006c"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.316340"], ["updated_at", "2020-05-19 20:36:22.316340"], ["representative_id", "516981d1-bf1d-49bc-aedd-14edf77c006c"], ["leaf_representative_id", "1deae359-cbc8-446d-8a1f-80e1c8379f02"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1deae359-cbc8-446d-8a1f-80e1c8379f02'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b43f8500-99a4-40c0-8dd9-e762e6136202'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b43f8500-99a4-40c0-8dd9-e762e6136202'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e2fb93e5-5230-4c31-9869-47c6412b75f8"]]
+ [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", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.321974"], ["updated_at", "2020-05-19 20:36:22.321974"], ["representative_id", "e2fb93e5-5230-4c31-9869-47c6412b75f8"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ae78f498-ca93-42e8-b1dd-44d6377a9536'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ae78f498-ca93-42e8-b1dd-44d6377a9536'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ae78f498-ca93-42e8-b1dd-44d6377a9536"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.325887"], ["updated_at", "2020-05-19 20:36:22.325887"], ["representative_id", "ae78f498-ca93-42e8-b1dd-44d6377a9536"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9298ba49-bcc9-4924-b60c-b6393f0bded7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9298ba49-bcc9-4924-b60c-b6393f0bded7'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ae78f498-ca93-42e8-b1dd-44d6377a9536"]]
+ [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-19 20:36:22.329832"], ["updated_at", "2020-05-19 20:36:22.329832"], ["representative_id", "ae78f498-ca93-42e8-b1dd-44d6377a9536"], ["leaf_representative_id", "34ca51f9-52d8-4954-9795-8a1fb1dd9b52"], ["kithe_model_type", 1]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '34ca51f9-52d8-4954-9795-8a1fb1dd9b52'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a901bd08-137d-4660-a40c-040b367960e6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a901bd08-137d-4660-a40c-040b367960e6'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "516981d1-bf1d-49bc-aedd-14edf77c006c"]]
+ [1m[36mKithe::Work Update (1.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-19 20:36:22.337965"], ["representative_id", "516981d1-bf1d-49bc-aedd-14edf77c006c"], ["leaf_representative_id", "1deae359-cbc8-446d-8a1f-80e1c8379f02"], ["id", "e2fb93e5-5230-4c31-9869-47c6412b75f8"]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1deae359-cbc8-446d-8a1f-80e1c8379f02'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e2fb93e5-5230-4c31-9869-47c6412b75f8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e2fb93e5-5230-4c31-9869-47c6412b75f8'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e2fb93e5-5230-4c31-9869-47c6412b75f8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ae78f498-ca93-42e8-b1dd-44d6377a9536"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "9298ba49-bcc9-4924-b60c-b6393f0bded7"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a901bd08-137d-4660-a40c-040b367960e6"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "8fa7d6ee-dff2-4506-aff9-537d72d59845"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2537ac46-d762-49cd-a7a7-ed720b676289"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:22.357361"], ["updated_at", "2020-05-19 20:36:22.357361"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:36:22.360042"], ["updated_at", "2020-05-19 20:36:22.360042"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "9f228308-6d9a-4f03-92b7-22b86826f596"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.364713"], ["updated_at", "2020-05-19 20:36:22.364713"], ["representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '223317d0-11cd-4a67-bf01-e7b4fe8817f2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '223317d0-11cd-4a67-bf01-e7b4fe8817f2'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "49434012-d7ea-41e4-862a-936d227ff755"]]
+ [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-19 20:36:22.371242"], ["updated_at", "2020-05-19 20:36:22.371242"], ["representative_id", "49434012-d7ea-41e4-862a-936d227ff755"], ["leaf_representative_id", "49434012-d7ea-41e4-862a-936d227ff755"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '49434012-d7ea-41e4-862a-936d227ff755'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7f6b7fbf-9aa8-4a3b-b9db-a306d91aa2ea'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7f6b7fbf-9aa8-4a3b-b9db-a306d91aa2ea'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "223317d0-11cd-4a67-bf01-e7b4fe8817f2"]]
+ [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-19 20:36:22.375663"], ["updated_at", "2020-05-19 20:36:22.375663"], ["representative_id", "223317d0-11cd-4a67-bf01-e7b4fe8817f2"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b0f357c8-235d-42b0-b8ed-a62769e9da64'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b0f357c8-235d-42b0-b8ed-a62769e9da64'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "223317d0-11cd-4a67-bf01-e7b4fe8817f2"]]
+ [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-19 20:36:22.380904"], ["updated_at", "2020-05-19 20:36:22.380904"], ["representative_id", "223317d0-11cd-4a67-bf01-e7b4fe8817f2"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '8a5770c1-ed01-4f5e-b8aa-b354799fe365'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '8a5770c1-ed01-4f5e-b8aa-b354799fe365'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7f6b7fbf-9aa8-4a3b-b9db-a306d91aa2ea"]]
+ [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-19 20:36:22.385403"], ["updated_at", "2020-05-19 20:36:22.385403"], ["representative_id", "7f6b7fbf-9aa8-4a3b-b9db-a306d91aa2ea"], ["leaf_representative_id", "49434012-d7ea-41e4-862a-936d227ff755"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '49434012-d7ea-41e4-862a-936d227ff755'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7d66f9fc-6291-4eaf-8b1b-57ea7d5752ff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7d66f9fc-6291-4eaf-8b1b-57ea7d5752ff'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b0f357c8-235d-42b0-b8ed-a62769e9da64"]]
+ [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-19 20:36:22.389670"], ["updated_at", "2020-05-19 20:36:22.389670"], ["representative_id", "b0f357c8-235d-42b0-b8ed-a62769e9da64"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '428bb238-2ce0-4978-b127-509d6f870ce2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '428bb238-2ce0-4978-b127-509d6f870ce2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (2.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "428bb238-2ce0-4978-b127-509d6f870ce2"]]
+ [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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.396353"], ["updated_at", "2020-05-19 20:36:22.396353"], ["representative_id", "428bb238-2ce0-4978-b127-509d6f870ce2"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c8f35910-0b6f-4c59-b222-4f7a94b95dd4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c8f35910-0b6f-4c59-b222-4f7a94b95dd4'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "428bb238-2ce0-4978-b127-509d6f870ce2"]]
+ [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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.401410"], ["updated_at", "2020-05-19 20:36:22.401410"], ["representative_id", "428bb238-2ce0-4978-b127-509d6f870ce2"], ["leaf_representative_id", "9f228308-6d9a-4f03-92b7-22b86826f596"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '9f228308-6d9a-4f03-92b7-22b86826f596'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '303818a9-31af-4731-9be0-8b9434662bce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '303818a9-31af-4731-9be0-8b9434662bce'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "49434012-d7ea-41e4-862a-936d227ff755"]]
+ [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-19 20:36:22.405864"], ["representative_id", "49434012-d7ea-41e4-862a-936d227ff755"], ["leaf_representative_id", "49434012-d7ea-41e4-862a-936d227ff755"], ["id", "223317d0-11cd-4a67-bf01-e7b4fe8817f2"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '49434012-d7ea-41e4-862a-936d227ff755'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '223317d0-11cd-4a67-bf01-e7b4fe8817f2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '223317d0-11cd-4a67-bf01-e7b4fe8817f2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b0f357c8-235d-42b0-b8ed-a62769e9da64"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "8a5770c1-ed01-4f5e-b8aa-b354799fe365"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "428bb238-2ce0-4978-b127-509d6f870ce2"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c8f35910-0b6f-4c59-b222-4f7a94b95dd4"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "303818a9-31af-4731-9be0-8b9434662bce"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:22.419284"], ["updated_at", "2020-05-19 20:36:22.419284"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b5ec90b4-c011-4c95-9926-dab1cbeb8db4"]]
+ [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-19 20:36:22.422839"], ["updated_at", "2020-05-19 20:36:22.422839"], ["representative_id", "b5ec90b4-c011-4c95-9926-dab1cbeb8db4"], ["leaf_representative_id", "b5ec90b4-c011-4c95-9926-dab1cbeb8db4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b5ec90b4-c011-4c95-9926-dab1cbeb8db4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2503281b-041f-414c-a91a-18d033a1f8ce'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2503281b-041f-414c-a91a-18d033a1f8ce'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2503281b-041f-414c-a91a-18d033a1f8ce"]]
+ [1m[36mKithe::Collection 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", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:22.427641"], ["updated_at", "2020-05-19 20:36:22.427641"], ["representative_id", "2503281b-041f-414c-a91a-18d033a1f8ce"], ["leaf_representative_id", "b5ec90b4-c011-4c95-9926-dab1cbeb8db4"], ["kithe_model_type", 0]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b5ec90b4-c011-4c95-9926-dab1cbeb8db4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '28ebb99b-72aa-48f2-b9bc-4a4b50cb9ae0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '28ebb99b-72aa-48f2-b9bc-4a4b50cb9ae0'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b5ec90b4-c011-4c95-9926-dab1cbeb8db4"]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:22.454972"], ["updated_at", "2020-05-19 20:36:22.454972"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"]]
+ [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-19 20:36:22.458467"], ["updated_at", "2020-05-19 20:36:22.458467"], ["representative_id", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"], ["leaf_representative_id", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a9c956ee-23aa-47a9-9cf1-d3f01a70ec34'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f0e7efc6-cd4d-4266-9459-8a1b74e97be9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f0e7efc6-cd4d-4266-9459-8a1b74e97be9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"]]
+ [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", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"]]
+ [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", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a9c956ee-23aa-47a9-9cf1-d3f01a70ec34'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a9c956ee-23aa-47a9-9cf1-d3f01a70ec34'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a9c956ee-23aa-47a9-9cf1-d3f01a70ec34"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f0e7efc6-cd4d-4266-9459-8a1b74e97be9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.477066"], ["updated_at", "2020-05-19 20:36:22.477066"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.483151"], ["updated_at", "2020-05-19 20:36:22.483151"], ["representative_id", "5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1"], ["leaf_representative_id", "5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '93419631-2bed-4623-beef-7df78974baa9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '93419631-2bed-4623-beef-7df78974baa9'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "93419631-2bed-4623-beef-7df78974baa9"]]
+ [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-19 20:36:22.488864"], ["updated_at", "2020-05-19 20:36:22.488864"], ["representative_id", "93419631-2bed-4623-beef-7df78974baa9"], ["leaf_representative_id", "5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5c89c9b9-8dfc-495c-ad20-8f7db7f3a5a1'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '13c426ce-7cd5-44cd-92e9-0d3878947746'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '13c426ce-7cd5-44cd-92e9-0d3878947746'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "93419631-2bed-4623-beef-7df78974baa9"]]
+ [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", "93419631-2bed-4623-beef-7df78974baa9"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "93419631-2bed-4623-beef-7df78974baa9"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '93419631-2bed-4623-beef-7df78974baa9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '93419631-2bed-4623-beef-7df78974baa9'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "93419631-2bed-4623-beef-7df78974baa9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "13c426ce-7cd5-44cd-92e9-0d3878947746"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:22.503122"], ["updated_at", "2020-05-19 20:36:22.503122"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ba05464b-97d1-4f64-a852-152474cccac8"]]
+ [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-19 20:36:22.506597"], ["updated_at", "2020-05-19 20:36:22.506597"], ["representative_id", "ba05464b-97d1-4f64-a852-152474cccac8"], ["leaf_representative_id", "ba05464b-97d1-4f64-a852-152474cccac8"], ["kithe_model_type", 1]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ba05464b-97d1-4f64-a852-152474cccac8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f0ebc486-376a-4309-9dc2-529a3f02e512'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f0ebc486-376a-4309-9dc2-529a3f02e512'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f0ebc486-376a-4309-9dc2-529a3f02e512"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.514132"], ["updated_at", "2020-05-19 20:36:22.514132"], ["representative_id", "f0ebc486-376a-4309-9dc2-529a3f02e512"], ["leaf_representative_id", "ba05464b-97d1-4f64-a852-152474cccac8"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ba05464b-97d1-4f64-a852-152474cccac8'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dcc970ee-a4c9-46ba-8ae8-e554c7a8324b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dcc970ee-a4c9-46ba-8ae8-e554c7a8324b'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "ba05464b-97d1-4f64-a852-152474cccac8"]]
+ [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", "ba05464b-97d1-4f64-a852-152474cccac8"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "ba05464b-97d1-4f64-a852-152474cccac8"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ba05464b-97d1-4f64-a852-152474cccac8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ba05464b-97d1-4f64-a852-152474cccac8'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ba05464b-97d1-4f64-a852-152474cccac8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dcc970ee-a4c9-46ba-8ae8-e554c7a8324b"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f0ebc486-376a-4309-9dc2-529a3f02e512"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.531738"], ["updated_at", "2020-05-19 20:36:22.531738"], ["kithe_model_type", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.539864"], ["updated_at", "2020-05-19 20:36:22.539864"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:22.542739"], ["updated_at", "2020-05-19 20:36:22.542739"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.2ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:22.545917"], ["parent_id", "04efe06c-651d-42e0-9755-d238fce16add"], ["id", "38eea122-555f-47eb-95a1-da84ec5cbf02"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "38eea122-555f-47eb-95a1-da84ec5cbf02"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "04efe06c-651d-42e0-9755-d238fce16add"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:22.558682"], ["updated_at", "2020-05-19 20:36:22.558682"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 20:36:22.561706"], ["updated_at", "2020-05-19 20:36:22.561706"], ["kithe_model_type", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:22.565975"], ["parent_id", "2d73fa1d-655d-426d-a30c-31899dae14a2"], ["id", "2f22b515-e09a-486c-9c50-056c42dd0659"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2f22b515-e09a-486c-9c50-056c42dd0659"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "2d73fa1d-655d-426d-a30c-31899dae14a2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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 Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.576923"], ["updated_at", "2020-05-19 20:36:22.576923"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:22.587035"], ["updated_at", "2020-05-19 20:36:22.587035"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:36:22.592503"], ["updated_at", "2020-05-19 20:36:22.592503"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7f812823-c12e-4a19-97b4-13db66d9c6c4"]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:36:22.602116"], ["updated_at", "2020-05-19 20:36:22.602116"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "a4bd1880-79be-423c-951d-01048a6894ea"], ["container_id", "7f812823-c12e-4a19-97b4-13db66d9c6c4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.622427"], ["updated_at", "2020-05-19 20:36:22.622427"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "fb05af5c-74fe-40d6-8cf6-81ed57020ef4"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.672235"], ["updated_at", "2020-05-19 20:36:22.672235"], ["file_data", "{\"id\":\"asset/e32e63ae388f38a0581a5af21420c244.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:36:22.710984"], ["file_data", "{\"id\":\"asset/914d81b3-a96c-4411-bd1e-b22222232a5e/832b9343c30502643ef809691562850d.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "914d81b3-a96c-4411-bd1e-b22222232a5e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "914d81b3-a96c-4411-bd1e-b22222232a5e"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.763799"], ["updated_at", "2020-05-19 20:36:22.763799"], ["file_data", "{\"id\":\"asset/137874ef84760168e5588dced608ab09.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "7baac226-4718-41dd-a45e-e6d0e9016627"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:36:22.818424"], ["updated_at", "2020-05-19 20:36:22.818424"], ["file_data", "{\"id\":\"asset/4a04d1710be48878616e56334aed1c6e.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:36:22.864682"], ["file_data", "{\"id\":\"asset/2f93ad7f-ad98-46a7-bf42-62e29b35aa3e/65f069d2dc0970689aa3183a276b36c0.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "2f93ad7f-ad98-46a7-bf42-62e29b35aa3e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "2f93ad7f-ad98-46a7-bf42-62e29b35aa3e"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "2f93ad7f-ad98-46a7-bf42-62e29b35aa3e"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:22.901738"], ["file_data", "{\"id\":\"asset/2f93ad7f-ad98-46a7-bf42-62e29b35aa3e/65f069d2dc0970689aa3183a276b36c0.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\":\"2f93ad7f-ad98-46a7-bf42-62e29b35aa3e/test/218372b985bb5fad9a2bbd99eeacef2d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h5y3r0isi_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "2f93ad7f-ad98-46a7-bf42-62e29b35aa3e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:22.923867"], ["updated_at", "2020-05-19 20:36:22.923867"], ["file_data", "{\"id\":\"asset/9c8612ac182a8be3816049accf13bcbc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.927340"], ["file_data", "{\"id\":\"asset/e02cb7ed-895b-4ab4-a1f4-407f8a1b247a/b164566e630b9efa6dcb9aba44066e8c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e02cb7ed-895b-4ab4-a1f4-407f8a1b247a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e02cb7ed-895b-4ab4-a1f4-407f8a1b247a"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:22.987826"], ["updated_at", "2020-05-19 20:36:22.987826"], ["file_data", "{\"id\":\"asset/e8218de9aa7e06ebb87b940775f6797b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:22.991866"], ["file_data", "{\"id\":\"asset/b1e92420-f002-4dc3-95cb-ab3b826a3008/71a4f88ed54f5bcbe610824037bf5eae.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b1e92420-f002-4dc3-95cb-ab3b826a3008"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.007824"], ["updated_at", "2020-05-19 20:36:23.007824"], ["file_data", "{\"id\":\"asset/7903d0dbaa4814fc179c29b123fff981.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (1.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.011127"], ["file_data", "{\"id\":\"asset/6fd4fbc0-0642-4123-b78b-1af66a241367/42b5a65746b7d9c39198f4d5c9e6d6b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6fd4fbc0-0642-4123-b78b-1af66a241367"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.035307"], ["updated_at", "2020-05-19 20:36:23.035307"], ["file_data", "{\"id\":\"asset/9cce3401768ac2411cf48e28bacdc739.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.039341"], ["file_data", "{\"id\":\"asset/c562c408-7d92-4f7d-9cda-e17b011752e5/6595f6f4e820dd2f7b36d96d72ae7aa8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c562c408-7d92-4f7d-9cda-e17b011752e5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:23.056997"], ["updated_at", "2020-05-19 20:36:23.056997"], ["file_data", "{\"id\":\"asset/7b13ca8314441ac3e7a619ce20310c1c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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-19 20:36:23.060092"], ["file_data", "{\"id\":\"asset/e3f4df1e-964c-4ea7-abd5-1efcd83a46be/4b5e4a9b7b02f3407fabc18e029e39f6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e3f4df1e-964c-4ea7-abd5-1efcd83a46be"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e3f4df1e-964c-4ea7-abd5-1efcd83a46be"], ["LIMIT", 1]]
+ [1m[35m (12.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.206622"], ["updated_at", "2020-05-19 20:36:23.206622"], ["file_data", "{\"id\":\"asset/626cd4961b663e38c07677161a153b28.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (1.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.210431"], ["file_data", "{\"id\":\"asset/964d216b-9bf8-4de4-b5fc-364936db6939/821ae3c012516c0af56ebc18d6f557d0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "964d216b-9bf8-4de4-b5fc-364936db6939"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "964d216b-9bf8-4de4-b5fc-364936db6939"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:23.261533"], ["updated_at", "2020-05-19 20:36:23.261533"], ["file_data", "{\"id\":\"asset/ca6b8a8c0eaf0dcc73836bc11eae8ad5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.266995"], ["file_data", "{\"id\":\"asset/8e7017b0-a15b-4ab9-ba56-383111e6bcb4/0cbb2c6f33f2654e61005d4974e21951.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8e7017b0-a15b-4ab9-ba56-383111e6bcb4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8e7017b0-a15b-4ab9-ba56-383111e6bcb4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:23.318828"], ["updated_at", "2020-05-19 20:36:23.318828"], ["file_data", "{\"id\":\"asset/ee872bfb941687c0777a233812d1902e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.323066"], ["file_data", "{\"id\":\"asset/cd380f57-a11b-41db-9952-772d8e13acd4/f6b66607c9b72fedbfa14b7534371301.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "cd380f57-a11b-41db-9952-772d8e13acd4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "cd380f57-a11b-41db-9952-772d8e13acd4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:23.409148"], ["updated_at", "2020-05-19 20:36:23.409148"], ["file_data", "{\"id\":\"asset/1f2892633584b6abd2288e51cb27a743.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.413232"], ["file_data", "{\"id\":\"asset/188c9b1f-5896-4af4-ab7f-62ea382bb747/20fcc95a9ddac7a945a81a7f00d7597b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "188c9b1f-5896-4af4-ab7f-62ea382bb747"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "188c9b1f-5896-4af4-ab7f-62ea382bb747"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.501231"], ["updated_at", "2020-05-19 20:36:23.501231"], ["file_data", "{\"id\":\"asset/0c4a039139425ec5b126c97978e25f88.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.506158"], ["file_data", "{\"id\":\"asset/41f00031-f157-4cae-ae31-0b34b223a9be/ce7661be083b7c3204d7a69ebb90bc43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "41f00031-f157-4cae-ae31-0b34b223a9be"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "41f00031-f157-4cae-ae31-0b34b223a9be"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:36:23.591927"], ["updated_at", "2020-05-19 20:36:23.591927"], ["file_data", "{\"id\":\"asset/bd04c7606df33e9e69b677e80fa421c4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.595935"], ["file_data", "{\"id\":\"asset/91c2c033-a046-4f29-adb0-e41178fa5f74/f8b829bc49d88a21593fe39a4b4ace10.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "91c2c033-a046-4f29-adb0-e41178fa5f74"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "91c2c033-a046-4f29-adb0-e41178fa5f74"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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", "CustomAsset"], ["created_at", "2020-05-19 20:36:23.675879"], ["updated_at", "2020-05-19 20:36:23.675879"], ["file_data", "{\"id\":\"asset/56af0cd593dbfcc8124379f7fe55bb0f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.681206"], ["file_data", "{\"id\":\"asset/5c052300-17e2-4bbe-bf83-4bb14430c5a3/d5844ee74405617ed0bc852f777b37c8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5c052300-17e2-4bbe-bf83-4bb14430c5a3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5c052300-17e2-4bbe-bf83-4bb14430c5a3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:36:23.738339"], ["updated_at", "2020-05-19 20:36:23.738339"], ["file_data", "{\"id\":\"asset/25a5c440fe02a2214cf46e8ce2a984fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:23.747167"], ["file_data", "{\"id\":\"asset/456eee08-653a-4a93-bb14-3a1f117244e2/36544ea8b0ca93372b312b58ed917c61.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "456eee08-653a-4a93-bb14-3a1f117244e2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "456eee08-653a-4a93-bb14-3a1f117244e2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.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-19 20:36:23.800989"], ["updated_at", "2020-05-19 20:36:23.800989"], ["file_data", "{\"id\":\"asset/b9aa53a7ca882dd8fd99869e18553e28.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.806253"], ["file_data", "{\"id\":\"asset/e2fa8be1-2a44-4675-a459-061b3fda8191/4bae8d08569cd36a2475db9dc44db224.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (2.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.852937"], ["file_data", "{\"id\":\"asset/e2fa8be1-2a44-4675-a459-061b3fda8191/4bae8d08569cd36a2475db9dc44db224.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"e2fa8be1-2a44-4675-a459-061b3fda8191/some_data/c2bb2f5404880e571e3a7f5a1b04019a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"cejfie4vp_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.896465"], ["file_data", "{\"id\":\"asset/e2fa8be1-2a44-4675-a459-061b3fda8191/4bae8d08569cd36a2475db9dc44db224.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"e2fa8be1-2a44-4675-a459-061b3fda8191/some_data/c2bb2f5404880e571e3a7f5a1b04019a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"cejfie4vp_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"e2fa8be1-2a44-4675-a459-061b3fda8191/a_jpg/729246f7fb38e2466ae7585c9fee2bc3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"cejfie4vp_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e2fa8be1-2a44-4675-a459-061b3fda8191"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:23.921168"], ["updated_at", "2020-05-19 20:36:23.921168"], ["file_data", "{\"id\":\"asset/04cc8a09d4050e73c0bee01031cdb1f8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.924565"], ["file_data", "{\"id\":\"asset/5cb00b6c-a43c-491d-95a9-83850e71252f/a18a9cb78fa78037a36a133e6eb5993e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5cb00b6c-a43c-491d-95a9-83850e71252f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5cb00b6c-a43c-491d-95a9-83850e71252f"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5cb00b6c-a43c-491d-95a9-83850e71252f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.933913"], ["file_data", "{\"id\":\"asset/5cb00b6c-a43c-491d-95a9-83850e71252f/a18a9cb78fa78037a36a133e6eb5993e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"5cb00b6c-a43c-491d-95a9-83850e71252f/sample/ad61f7056b442326a68c02cc8ac41dfc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7cs9cn5zb_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "5cb00b6c-a43c-491d-95a9-83850e71252f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5cb00b6c-a43c-491d-95a9-83850e71252f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:23.942562"], ["updated_at", "2020-05-19 20:36:23.942562"], ["file_data", "{\"id\":\"asset/d5b18f9cbe9e42e6ae9fca2243d93866.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.946376"], ["file_data", "{\"id\":\"asset/99412d65-3301-4c52-a11e-4161627f1785/0b4e4d94721ac455f4557ab46168f238.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "99412d65-3301-4c52-a11e-4161627f1785"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "99412d65-3301-4c52-a11e-4161627f1785"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "99412d65-3301-4c52-a11e-4161627f1785"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.956060"], ["file_data", "{\"id\":\"asset/99412d65-3301-4c52-a11e-4161627f1785/0b4e4d94721ac455f4557ab46168f238.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"99412d65-3301-4c52-a11e-4161627f1785/sample/ba0aaf806f1d41f96e445123934841fb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4d2lgotck_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "99412d65-3301-4c52-a11e-4161627f1785"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:23.962298"], ["updated_at", "2020-05-19 20:36:23.962298"], ["file_data", "{\"id\":\"asset/c0f8cb9b8b6367705a02fcd7f90bdabb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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-19 20:36:23.971494"], ["file_data", "{\"id\":\"asset/e6f4c71f-5321-4d65-9399-4952f40c85e0/999f70f2c0c1c1d6bcb3eaa517d7915d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e6f4c71f-5321-4d65-9399-4952f40c85e0"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e6f4c71f-5321-4d65-9399-4952f40c85e0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e6f4c71f-5321-4d65-9399-4952f40c85e0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.982027"], ["file_data", "{\"id\":\"asset/e6f4c71f-5321-4d65-9399-4952f40c85e0/999f70f2c0c1c1d6bcb3eaa517d7915d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"e6f4c71f-5321-4d65-9399-4952f40c85e0/sample/8cac2dc2ddd3577076a2c14cc78084c4.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"3jhc1h007_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "e6f4c71f-5321-4d65-9399-4952f40c85e0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e6f4c71f-5321-4d65-9399-4952f40c85e0"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:23.991179"], ["updated_at", "2020-05-19 20:36:23.991179"], ["file_data", "{\"id\":\"asset/fe84a7cf98d8294bcc3ef463dc7b4ba0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:23.995729"], ["file_data", "{\"id\":\"asset/ac2f9c6e-94be-493e-ba70-92000131eadb/b6043562ca8c2f08473e468fb6162574.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ac2f9c6e-94be-493e-ba70-92000131eadb"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ac2f9c6e-94be-493e-ba70-92000131eadb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.2ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ac2f9c6e-94be-493e-ba70-92000131eadb"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (2.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.006848"], ["file_data", "{\"id\":\"asset/ac2f9c6e-94be-493e-ba70-92000131eadb/b6043562ca8c2f08473e468fb6162574.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"ac2f9c6e-94be-493e-ba70-92000131eadb/sample/640056b5324a0f0e5d4b7eab2ef45f47.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"kai9g25k8_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "ac2f9c6e-94be-493e-ba70-92000131eadb"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ac2f9c6e-94be-493e-ba70-92000131eadb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:24.016208"], ["updated_at", "2020-05-19 20:36:24.016208"], ["file_data", "{\"id\":\"asset/84d1c96978e6fab4c70d91d3b0713662.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.019818"], ["file_data", "{\"id\":\"asset/9fb1b3b2-e0aa-475f-adb4-78f363859271/b4591b5ad240deb1f8135157ef3b2c23.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9fb1b3b2-e0aa-475f-adb4-78f363859271"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:24.025612"], ["updated_at", "2020-05-19 20:36:24.025612"], ["file_data", "{\"id\":\"asset/4030c032b0bef4ca9a0877314ad1d1fa.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.029216"], ["file_data", "{\"id\":\"asset/d056092f-4425-413c-997e-93c8f83fb9c5/1a0aa4296edcbb6d41bf4b5d1d7cedb4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "d056092f-4425-413c-997e-93c8f83fb9c5"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d056092f-4425-413c-997e-93c8f83fb9c5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d056092f-4425-413c-997e-93c8f83fb9c5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:36:24.038679"], ["file_data", "{\"id\":\"asset/d056092f-4425-413c-997e-93c8f83fb9c5/1a0aa4296edcbb6d41bf4b5d1d7cedb4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"d056092f-4425-413c-997e-93c8f83fb9c5/sample/6d0e618e7ee811adb3a67f358d2a22f9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"yufrr2v57_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "d056092f-4425-413c-997e-93c8f83fb9c5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d056092f-4425-413c-997e-93c8f83fb9c5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:24.051626"], ["updated_at", "2020-05-19 20:36:24.051626"], ["file_data", "{\"id\":\"asset/c76a8c6fbeec27e58181d5110b172de4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.056730"], ["file_data", "{\"id\":\"asset/109fbe9e-b1cd-4164-95bc-321d6e845ba8/e5d6ed686ffa29059f98b920d9e3fe9f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "109fbe9e-b1cd-4164-95bc-321d6e845ba8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "109fbe9e-b1cd-4164-95bc-321d6e845ba8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.100245"], ["file_data", "{\"id\":\"asset/109fbe9e-b1cd-4164-95bc-321d6e845ba8/e5d6ed686ffa29059f98b920d9e3fe9f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"109fbe9e-b1cd-4164-95bc-321d6e845ba8/key/a716daa463cb6830610e0cce6fae993e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xwp5p53yl_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "109fbe9e-b1cd-4164-95bc-321d6e845ba8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "109fbe9e-b1cd-4164-95bc-321d6e845ba8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.139252"], ["file_data", "{\"id\":\"asset/109fbe9e-b1cd-4164-95bc-321d6e845ba8/e5d6ed686ffa29059f98b920d9e3fe9f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"109fbe9e-b1cd-4164-95bc-321d6e845ba8/key/78d8c07bc83ba9c195c11c8a5e6130c5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xwp5p53yl_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "109fbe9e-b1cd-4164-95bc-321d6e845ba8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 20:36:24.146652"], ["updated_at", "2020-05-19 20:36:24.146652"], ["file_data", "{\"id\":\"asset/3c6cdb5a7c9d54f36e5a086376c304b5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.152727"], ["file_data", "{\"id\":\"asset/bb13ee25-54a7-4320-9dd7-f83190015ad2/835d979fb1b8573a37eeb5ba8a7bfd98.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bb13ee25-54a7-4320-9dd7-f83190015ad2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "bb13ee25-54a7-4320-9dd7-f83190015ad2"]]
+ [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) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bb13ee25-54a7-4320-9dd7-f83190015ad2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bb13ee25-54a7-4320-9dd7-f83190015ad2"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:24.167242"], ["updated_at", "2020-05-19 20:36:24.167242"], ["file_data", "{\"id\":\"asset/9a1a31900cc75b8e104c6185b9ceeae1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.171433"], ["file_data", "{\"id\":\"asset/742813fc-63d6-4d11-aada-ad956c96ce4f/b08b1beef51f7e4f8b4045f29b7f620a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/742813fc-63d6-4d11-aada-ad956c96ce4f/0aa9b150a6065dfedcd6eb1a4d712683.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:36:24.177008"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 1f6b52d9-5e49-440f-8d07-0b94839cf6ed) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/742813fc-63d6-4d11-aada-ad956c96ce4f/b08b1beef51f7e4f8b4045f29b7f620a.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 91cd9f30-38bf-4cde-a9bc-9ba7422cd6e2) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "742813fc-63d6-4d11-aada-ad956c96ce4f", "file", {"id"=>"asset/742813fc-63d6-4d11-aada-ad956c96ce4f/0aa9b150a6065dfedcd6eb1a4d712683.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "742813fc-63d6-4d11-aada-ad956c96ce4f"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:36:24.198032"], ["updated_at", "2020-05-19 20:36:24.198032"], ["file_data", "{\"id\":\"asset/9b3ced8da3886190c02732d650aa5d17.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.203413"], ["file_data", "{\"id\":\"asset/1d2a16de-bcd8-46ac-9f35-c8297d293b00/78ad87d02296a95aaceff6e2baf283e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1d2a16de-bcd8-46ac-9f35-c8297d293b00/78ad87d02296a95aaceff6e2baf283e6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"1d2a16de-bcd8-46ac-9f35-c8297d293b00/one/fc578befbee8fb69427c54bb107cbadb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2zccdv15_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"1d2a16de-bcd8-46ac-9f35-c8297d293b00/two/0ff9dfb9034c2f2ec579c26973e8cf4e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2zccdv15_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:36:24.211691"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.222329"], ["file_data", "{\"id\":\"asset/1d2a16de-bcd8-46ac-9f35-c8297d293b00/78ad87d02296a95aaceff6e2baf283e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"1d2a16de-bcd8-46ac-9f35-c8297d293b00/one/fc578befbee8fb69427c54bb107cbadb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"z2zccdv15_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"1d2a16de-bcd8-46ac-9f35-c8297d293b00/two/d7882b901be696a05319b4f02843bb99.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2zccdv15_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"1d2a16de-bcd8-46ac-9f35-c8297d293b00/three/76ce7e99b1eded0e84cc8aea6f68ede7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2zccdv15_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "1d2a16de-bcd8-46ac-9f35-c8297d293b00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.240702"], ["updated_at", "2020-05-19 20:36:24.240702"], ["file_data", "{\"id\":\"asset/2f23b65f43954c72a8c42a43e3ab4941.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.243825"], ["file_data", "{\"id\":\"asset/14c47e1a-5ab0-4a95-821a-048abd5536a5/35c1a2df071859c6e2894bab89a8801a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "14c47e1a-5ab0-4a95-821a-048abd5536a5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "14c47e1a-5ab0-4a95-821a-048abd5536a5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "14c47e1a-5ab0-4a95-821a-048abd5536a5"], ["LIMIT", 1]]
+ [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-19 20:36:24.293856"], ["file_data", "{\"id\":\"asset/14c47e1a-5ab0-4a95-821a-048abd5536a5/35c1a2df071859c6e2894bab89a8801a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"14c47e1a-5ab0-4a95-821a-048abd5536a5/one/d773a92e720b105175cbaa554351af5a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zkmrlbhar_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"14c47e1a-5ab0-4a95-821a-048abd5536a5/original_reflected/f7f6e661b9c04d53593c8e29633857f7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zkmrlbhar_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "14c47e1a-5ab0-4a95-821a-048abd5536a5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "14c47e1a-5ab0-4a95-821a-048abd5536a5"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.325818"], ["updated_at", "2020-05-19 20:36:24.325818"], ["file_data", "{\"id\":\"asset/c3ed1d93a2974285f957b47dccefe0da.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.329854"], ["file_data", "{\"id\":\"asset/2b715965-6955-464f-8efe-af7e5732e927/e65debb32ac7a057ecba527b2ea9c17e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2b715965-6955-464f-8efe-af7e5732e927"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "2b715965-6955-464f-8efe-af7e5732e927"], ["LIMIT", 1]]
+ [1m[35m (21.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (2.0ms)[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", "2b715965-6955-464f-8efe-af7e5732e927"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (2.2ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.461203"], ["file_data", "{\"id\":\"asset/2b715965-6955-464f-8efe-af7e5732e927/e65debb32ac7a057ecba527b2ea9c17e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"2b715965-6955-464f-8efe-af7e5732e927/options_one/176be4eabf0e523b3129093c28a999bd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dixg1q84a_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"2b715965-6955-464f-8efe-af7e5732e927/options_reflected/d08f802cb857b96c9500ae1b42953164.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dixg1q84a_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "2b715965-6955-464f-8efe-af7e5732e927"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:24.489087"], ["updated_at", "2020-05-19 20:36:24.489087"], ["file_data", "{\"id\":\"asset/bab6284eb88e3cc69bb35793476118d2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.492797"], ["file_data", "{\"id\":\"asset/4f7d7775-4186-4cad-a958-790463fca71b/ac744387c5b4c144cf6c037d9176e035.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4f7d7775-4186-4cad-a958-790463fca71b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "4f7d7775-4186-4cad-a958-790463fca71b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "4f7d7775-4186-4cad-a958-790463fca71b"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.571825"], ["file_data", "{\"id\":\"asset/4f7d7775-4186-4cad-a958-790463fca71b/ac744387c5b4c144cf6c037d9176e035.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"4f7d7775-4186-4cad-a958-790463fca71b/options_one/d249be356440d07682056f642a997f6f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u7yxokh71_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"4f7d7775-4186-4cad-a958-790463fca71b/options_reflected/a24cc69e1e042a33f53524554956770d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u7yxokh71_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "4f7d7775-4186-4cad-a958-790463fca71b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.591285"], ["updated_at", "2020-05-19 20:36:24.591285"], ["file_data", "{\"id\":\"asset/ca81418cefadedc0816805c3e7c0015e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.595250"], ["file_data", "{\"id\":\"asset/6e14084d-72ec-4d34-9fa4-e883760a9c96/138f82d200f1e6c2841d35d68098be21.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6e14084d-72ec-4d34-9fa4-e883760a9c96"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "6e14084d-72ec-4d34-9fa4-e883760a9c96"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "6e14084d-72ec-4d34-9fa4-e883760a9c96"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.672930"], ["file_data", "{\"id\":\"asset/6e14084d-72ec-4d34-9fa4-e883760a9c96/138f82d200f1e6c2841d35d68098be21.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"6e14084d-72ec-4d34-9fa4-e883760a9c96/options_one/706c53666c4f085d83fa740832de9e39.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"f8ukp7h39_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"6e14084d-72ec-4d34-9fa4-e883760a9c96/options_reflected/05b71866e3c3a8fa47058cb2c3ce4046.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"f8ukp7h39_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6e14084d-72ec-4d34-9fa4-e883760a9c96"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.693575"], ["updated_at", "2020-05-19 20:36:24.693575"], ["file_data", "{\"id\":\"asset/ac23f57ae372980319b3e8fe89118649.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.697643"], ["file_data", "{\"id\":\"asset/58c77327-449e-4b1f-979b-955fb19c98f6/e8a0104b9f5ee2e821568790200152e9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "58c77327-449e-4b1f-979b-955fb19c98f6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "58c77327-449e-4b1f-979b-955fb19c98f6"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "58c77327-449e-4b1f-979b-955fb19c98f6"], ["LIMIT", 1]]
+ [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-19 20:36:24.770378"], ["file_data", "{\"id\":\"asset/58c77327-449e-4b1f-979b-955fb19c98f6/e8a0104b9f5ee2e821568790200152e9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"58c77327-449e-4b1f-979b-955fb19c98f6/options_one/ad9d144038774f12855450d16c51ce85.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r0wbvzczb_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"58c77327-449e-4b1f-979b-955fb19c98f6/options_reflected/154973483d7906c95de089679cc293d4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r0wbvzczb_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "58c77327-449e-4b1f-979b-955fb19c98f6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.799154"], ["updated_at", "2020-05-19 20:36:24.799154"], ["file_data", "{\"id\":\"asset/6261c2fbfa74511e64392952f7a573cc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.802930"], ["file_data", "{\"id\":\"asset/c44ecbae-c3ca-49f8-a325-b6d963b59b2f/6c7a751ed2a8188c9f41a173f3255549.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c44ecbae-c3ca-49f8-a325-b6d963b59b2f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c44ecbae-c3ca-49f8-a325-b6d963b59b2f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "c44ecbae-c3ca-49f8-a325-b6d963b59b2f"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.884597"], ["file_data", "{\"id\":\"asset/c44ecbae-c3ca-49f8-a325-b6d963b59b2f/6c7a751ed2a8188c9f41a173f3255549.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"c44ecbae-c3ca-49f8-a325-b6d963b59b2f/one/ad0e55671ba79b2c5f8820abf28542c3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1w11l4cmr_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"c44ecbae-c3ca-49f8-a325-b6d963b59b2f/original_reflected/bafd5a517ed7713586252120559ac12b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1w11l4cmr_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c44ecbae-c3ca-49f8-a325-b6d963b59b2f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.904467"], ["updated_at", "2020-05-19 20:36:24.904467"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.922218"], ["updated_at", "2020-05-19 20:36:24.922218"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:36:24.941129"], ["updated_at", "2020-05-19 20:36:24.941129"], ["file_data", "{\"id\":\"asset/989de81961bdc3cf8143e22d5ccf6110.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.944448"], ["file_data", "{\"id\":\"asset/d3dff314-40bd-4313-bd6b-0e7b9578988a/5bd37f70b125677fe0b218f160e9e737.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "d3dff314-40bd-4313-bd6b-0e7b9578988a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:36:24.959727"], ["updated_at", "2020-05-19 20:36:24.959727"], ["file_data", "{\"id\":\"asset/983bfdac2c45c629a35378b191ec954c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:24.963955"], ["file_data", "{\"id\":\"asset/3408c5f2-62e1-4e2f-9431-e1711a00581f/5b3d41d770c9f9230ce4814a5c7918ea.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "3408c5f2-62e1-4e2f-9431-e1711a00581f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "3408c5f2-62e1-4e2f-9431-e1711a00581f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "3408c5f2-62e1-4e2f-9431-e1711a00581f"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:36:25.006019"], ["file_data", "{\"id\":\"asset/3408c5f2-62e1-4e2f-9431-e1711a00581f/5b3d41d770c9f9230ce4814a5c7918ea.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"3408c5f2-62e1-4e2f-9431-e1711a00581f/one/b7c5fbcce4216137635b5d94904f0c0c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ojejhkeiv_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"3408c5f2-62e1-4e2f-9431-e1711a00581f/original_reflected/494b1ae61332d411c77b931b7d93b678.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ojejhkeiv_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "3408c5f2-62e1-4e2f-9431-e1711a00581f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "3408c5f2-62e1-4e2f-9431-e1711a00581f"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:36:25.014871"], ["updated_at", "2020-05-19 20:36:25.014871"], ["file_data", "{\"id\":\"asset/cfd96d8c16c83b0e1f4935f10717649f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:25.018409"], ["file_data", "{\"id\":\"asset/f94dcc9a-11df-49a0-b41c-410263c089a5/0966c7ef4355dc795089d900d91ad45f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.093398"], ["file_data", "{\"id\":\"asset/f94dcc9a-11df-49a0-b41c-410263c089a5/0966c7ef4355dc795089d900d91ad45f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"f94dcc9a-11df-49a0-b41c-410263c089a5/sample1/42b0b8c59be6361ae74fd0de977b4999.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"guzuw6g9k_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"f94dcc9a-11df-49a0-b41c-410263c089a5/sample2/5f43b434530383acfd50ed34e22af7a1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"guzuw6g9k_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.098953"], ["file_data", "{\"id\":\"asset/f94dcc9a-11df-49a0-b41c-410263c089a5/0966c7ef4355dc795089d900d91ad45f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"f94dcc9a-11df-49a0-b41c-410263c089a5/sample2/5f43b434530383acfd50ed34e22af7a1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"guzuw6g9k_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "f94dcc9a-11df-49a0-b41c-410263c089a5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:25.107516"], ["updated_at", "2020-05-19 20:36:25.107516"], ["file_data", "{\"id\":\"asset/0453d380a6c438b87ed97d8d91bd7582.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.110861"], ["file_data", "{\"id\":\"asset/c1969aba-c9f2-48b3-9a24-33e602b435e9/55c375b4c4766f6d8e3bef12c8ecced0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.188930"], ["file_data", "{\"id\":\"asset/c1969aba-c9f2-48b3-9a24-33e602b435e9/55c375b4c4766f6d8e3bef12c8ecced0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"c1969aba-c9f2-48b3-9a24-33e602b435e9/sample1/b2ff4d7483abdf0ad4e93177d9b351eb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"v5f4x081o_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"c1969aba-c9f2-48b3-9a24-33e602b435e9/sample2/70fa2c4a20e2beead15afaa25482e3f0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"v5f4x081o_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/c1969aba-c9f2-48b3-9a24-33e602b435e9/55c375b4c4766f6d8e3bef12c8ecced0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"c1969aba-c9f2-48b3-9a24-33e602b435e9/sample2/70fa2c4a20e2beead15afaa25482e3f0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"v5f4x081o_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:36:25.194373"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.204375"], ["file_data", "{\"id\":\"asset/c1969aba-c9f2-48b3-9a24-33e602b435e9/55c375b4c4766f6d8e3bef12c8ecced0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"c1969aba-c9f2-48b3-9a24-33e602b435e9/sample2/70fa2c4a20e2beead15afaa25482e3f0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"v5f4x081o_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "c1969aba-c9f2-48b3-9a24-33e602b435e9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:36:25.210538"], ["updated_at", "2020-05-19 20:36:25.210538"], ["file_data", "{\"id\":\"asset/5dfece0e70cfd9a31ecc8aff3aac4537.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.216433"], ["file_data", "{\"id\":\"asset/2d90381b-3dd1-438d-b8a0-affa8188ab40/6e94b15e1758c07cc5fc638b02fec43b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.287728"], ["file_data", "{\"id\":\"asset/2d90381b-3dd1-438d-b8a0-affa8188ab40/6e94b15e1758c07cc5fc638b02fec43b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample1/93549556873f46a92b213f46d2229c9b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap2ldgd9b_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample2/42cf86b04a9cf9be5b8c1b4758c17307.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap2ldgd9b_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2d90381b-3dd1-438d-b8a0-affa8188ab40/6e94b15e1758c07cc5fc638b02fec43b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample1/93549556873f46a92b213f46d2229c9b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ap2ldgd9b_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample2/42cf86b04a9cf9be5b8c1b4758c17307.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ap2ldgd9b_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample3/f85e5353569f5a99225d9ce6488c0264.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ap2ldgd9b_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:36:25.330866"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.345455"], ["file_data", "{\"id\":\"asset/2d90381b-3dd1-438d-b8a0-affa8188ab40/6e94b15e1758c07cc5fc638b02fec43b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample2/42cf86b04a9cf9be5b8c1b4758c17307.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ap2ldgd9b_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"2d90381b-3dd1-438d-b8a0-affa8188ab40/sample3/f85e5353569f5a99225d9ce6488c0264.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ap2ldgd9b_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "2d90381b-3dd1-438d-b8a0-affa8188ab40"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:25.353828"], ["updated_at", "2020-05-19 20:36:25.353828"], ["file_data", "{\"id\":\"asset/bd06ee64ca95985f9b411f02b9ae3d77.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.358456"], ["file_data", "{\"id\":\"asset/674858ea-1c51-4bfb-8495-505a636bade3/d4fef419bea74334c0d36033de43c5cd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"], ["LIMIT", 1]]
+ [1m[35m (2.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.1ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.473339"], ["file_data", "{\"id\":\"asset/674858ea-1c51-4bfb-8495-505a636bade3/d4fef419bea74334c0d36033de43c5cd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"674858ea-1c51-4bfb-8495-505a636bade3/sample1/540470bb72481ff987104f0249b05a55.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9z5y1ku84_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"674858ea-1c51-4bfb-8495-505a636bade3/sample2/a51e127820a48b6811a6ba4deaf29e69.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9z5y1ku84_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [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", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '674858ea-1c51-4bfb-8495-505a636bade3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '674858ea-1c51-4bfb-8495-505a636bade3'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "674858ea-1c51-4bfb-8495-505a636bade3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 93761260-f69c-453b-aaf2-e77c6f310b3b) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/674858ea-1c51-4bfb-8495-505a636bade3/d4fef419bea74334c0d36033de43c5cd.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"674858ea-1c51-4bfb-8495-505a636bade3/sample1/540470bb72481ff987104f0249b05a55.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"9z5y1ku84_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"674858ea-1c51-4bfb-8495-505a636bade3/sample2/a51e127820a48b6811a6ba4deaf29e69.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"9z5y1ku84_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "674858ea-1c51-4bfb-8495-505a636bade3"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:36:25.493670"], ["updated_at", "2020-05-19 20:36:25.493670"], ["file_data", "{\"id\":\"asset/3bcaa892ea199328e3e64a247867af5b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.499789"], ["file_data", "{\"id\":\"asset/d407b1ae-e10b-4303-8417-ec1ddc06bd5b/be9193d15f264a853a21b65244bab94b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "d407b1ae-e10b-4303-8417-ec1ddc06bd5b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d407b1ae-e10b-4303-8417-ec1ddc06bd5b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d407b1ae-e10b-4303-8417-ec1ddc06bd5b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.572176"], ["file_data", "{\"id\":\"asset/d407b1ae-e10b-4303-8417-ec1ddc06bd5b/be9193d15f264a853a21b65244bab94b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"d407b1ae-e10b-4303-8417-ec1ddc06bd5b/sample1/0d5a1814e03d2a3d1028668f9dc18cc3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zvrs4gn6j_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"d407b1ae-e10b-4303-8417-ec1ddc06bd5b/sample2/e26081b5db71d1650ada04cda5a06e96.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zvrs4gn6j_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "d407b1ae-e10b-4303-8417-ec1ddc06bd5b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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", "Kithe::Asset"], ["created_at", "2020-05-19 20:36:25.579119"], ["updated_at", "2020-05-19 20:36:25.579119"], ["file_data", "{\"id\":\"asset/f27cde9fbf937ddcc397601c61dd0ade.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.584743"], ["file_data", "{\"id\":\"asset/969e6e05-57c3-4dc2-84f3-0ede3ae790bd/b9212c28a4b34a6b9385029291a3a8d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:36:25.658151"], ["file_data", "{\"id\":\"asset/969e6e05-57c3-4dc2-84f3-0ede3ae790bd/b9212c28a4b34a6b9385029291a3a8d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"969e6e05-57c3-4dc2-84f3-0ede3ae790bd/sample1/554d65bd7eb526bd2929e685535e9ed6.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dzk2vief0_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"969e6e05-57c3-4dc2-84f3-0ede3ae790bd/sample2/d296a48bf0f96bea4c34838a13da6c8c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"dzk2vief0_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:36:25.663678"], ["file_data", "{\"id\":\"asset/969e6e05-57c3-4dc2-84f3-0ede3ae790bd/b9212c28a4b34a6b9385029291a3a8d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"969e6e05-57c3-4dc2-84f3-0ede3ae790bd/sample2/d296a48bf0f96bea4c34838a13da6c8c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"dzk2vief0_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "969e6e05-57c3-4dc2-84f3-0ede3ae790bd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["json_attributes", "{\"multi_model\":[{\"value\":\"one\"},{\"value\":\"two\"}]}"], ["created_at", "2020-05-19 20:36:25.718116"], ["updated_at", "2020-05-19 20:36:25.718116"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:36:25.981047"], ["updated_at", "2020-05-19 20:36:25.981047"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:36:26.007566"], ["updated_at", "2020-05-19 20:36:26.007566"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:36:26.027982"], ["updated_at", "2020-05-19 20:36:26.027982"], ["kithe_model_type", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:36:26.108534"], ["updated_at", "2020-05-19 20:36:26.108534"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (57.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (13.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-19 20:38:53.224022"], ["updated_at", "2020-05-19 20:38:53.224022"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.277256"], ["updated_at", "2020-05-19 20:38:53.277256"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d421586c-9c2c-4409-aba1-1b8a44c3d2b1"]]
+ [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", "d421586c-9c2c-4409-aba1-1b8a44c3d2b1"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "d421586c-9c2c-4409-aba1-1b8a44c3d2b1"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd421586c-9c2c-4409-aba1-1b8a44c3d2b1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd421586c-9c2c-4409-aba1-1b8a44c3d2b1'
+);
+[0m
+ [1m[36mTestWork Destroy (2.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d421586c-9c2c-4409-aba1-1b8a44c3d2b1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:38:53.344684"], ["updated_at", "2020-05-19 20:38:53.344684"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 20:38:53.369747"], ["updated_at", "2020-05-19 20:38:53.369747"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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", "TestWork"], ["created_at", "2020-05-19 20:38:53.386759"], ["updated_at", "2020-05-19 20:38:53.386759"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "699f045f-9cdd-4a25-834f-610e03b13522"]]
+ [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", "699f045f-9cdd-4a25-834f-610e03b13522"]]
+ [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", "699f045f-9cdd-4a25-834f-610e03b13522"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '699f045f-9cdd-4a25-834f-610e03b13522'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '699f045f-9cdd-4a25-834f-610e03b13522'
+);
+[0m
+ [1m[36mTestWork Destroy (1.3ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "699f045f-9cdd-4a25-834f-610e03b13522"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (54.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.2ms)[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-19 20:38:53.435274"], ["updated_at", "2020-05-19 20:38:53.435274"], ["kithe_model_type", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.510539"], ["updated_at", "2020-05-19 20:38:53.510539"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:38:53.514543"], ["updated_at", "2020-05-19 20:38:53.514543"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.538489"], ["updated_at", "2020-05-19 20:38:53.538489"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:38:53.542766"], ["updated_at", "2020-05-19 20:38:53.542766"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:38:53.564890"], ["updated_at", "2020-05-19 20:38:53.564890"], ["kithe_model_type", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:38:53.571598"], ["updated_at", "2020-05-19 20:38:53.571598"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:38:53.590930"], ["updated_at", "2020-05-19 20:38:53.590930"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.611546"], ["updated_at", "2020-05-19 20:38:53.611546"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:38:53.614223"], ["updated_at", "2020-05-19 20:38:53.614223"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.628138"], ["updated_at", "2020-05-19 20:38:53.628138"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:38:53.630882"], ["updated_at", "2020-05-19 20:38:53.630882"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 20:38:53.669416"], ["updated_at", "2020-05-19 20:38:53.669416"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.708422"], ["updated_at", "2020-05-19 20:38:53.708422"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.747333"], ["updated_at", "2020-05-19 20:38:53.747333"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-19 20:38:53.795741"], ["updated_at", "2020-05-19 20:38:53.795741"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.2ms)[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", "73a083e2-2329-405e-94fb-b6a9dbbc379a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:38:53.838125"], ["updated_at", "2020-05-19 20:38:53.838125"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:53.960204"], ["updated_at", "2020-05-19 20:38:53.960204"], ["file_data", "{\"id\":\"asset/16477df450bf690380e5be6a1e5eb589.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] Performing Kithe::AssetPromoteJob (Job ID: 672e1977-417a-44a3-bb6d-8e6f548171ba) from Inline(default) enqueued at 2020-05-19T20:38:53Z with arguments: "CustomUploader::Attacher", "CustomAsset", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd", "file", {"id"=>"asset/16477df450bf690380e5be6a1e5eb589.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [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", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [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", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [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/a4c072f1-d6fd-49df-bfe1-ca8f497256cd/0bb9dffc970926311cfa4d1d5243d671.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:53.988958"], ["id", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [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", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] Performing Kithe::CreateDerivativesJob (Job ID: 3b0a0668-3173-4872-888a-b16c9a63a899) from Inline(default) enqueued at 2020-05-19T20:38:53Z with arguments: #<GlobalID:0x00007fd5d192a460 @uri=#<URI::GID gid://dummy/CustomAsset/a4c072f1-d6fd-49df-bfe1-ca8f497256cd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] [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", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] [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/a4c072f1-d6fd-49df-bfe1-ca8f497256cd/0bb9dffc970926311cfa4d1d5243d671.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"a4c072f1-d6fd-49df-bfe1-ca8f497256cd/fixed/2e41b81a89a4c7c0d4bb13eb6cb32a29.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"nf7jw6il4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.003399"], ["id", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] [Kithe::CreateDerivativesJob] [3b0a0668-3173-4872-888a-b16c9a63a899] Performed Kithe::CreateDerivativesJob (Job ID: 3b0a0668-3173-4872-888a-b16c9a63a899) from Inline(default) in 9.43ms
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] Enqueued Kithe::CreateDerivativesJob (Job ID: 3b0a0668-3173-4872-888a-b16c9a63a899) to Inline(default) with arguments: #<GlobalID:0x00007fd5d5b1f460 @uri=#<URI::GID gid://dummy/CustomAsset/a4c072f1-d6fd-49df-bfe1-ca8f497256cd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [672e1977-417a-44a3-bb6d-8e6f548171ba] Performed Kithe::AssetPromoteJob (Job ID: 672e1977-417a-44a3-bb6d-8e6f548171ba) from Inline(default) in 28.64ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 672e1977-417a-44a3-bb6d-8e6f548171ba) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd", "file", {"id"=>"asset/16477df450bf690380e5be6a1e5eb589.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a4c072f1-d6fd-49df-bfe1-ca8f497256cd"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:54.022789"], ["updated_at", "2020-05-19 20:38:54.022789"], ["file_data", "{\"id\":\"asset/a191b38daa58768d617116ca1b374240.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] Performing Kithe::AssetPromoteJob (Job ID: 4716c889-99d7-4e05-9910-5d980b824474) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7bf2738f-e53f-45dd-9592-41dd5e797ada", "file", {"id"=>"asset/a191b38daa58768d617116ca1b374240.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [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/7bf2738f-e53f-45dd-9592-41dd5e797ada/c1c3b6b4bae611aee810aa2d35227775.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.031940"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] Performing Kithe::CreateDerivativesJob (Job ID: 4c335004-1989-4e19-a8e3-1dfa1c909d2a) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d5a57f78 @uri=#<URI::GID gid://dummy/CustomAsset/7bf2738f-e53f-45dd-9592-41dd5e797ada>>
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] [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/7bf2738f-e53f-45dd-9592-41dd5e797ada/c1c3b6b4bae611aee810aa2d35227775.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bf2738f-e53f-45dd-9592-41dd5e797ada/fixed/0a1fe802640965b8c27f3fffac7bea39.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"asvncd5wc_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.039544"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] [Kithe::CreateDerivativesJob] [4c335004-1989-4e19-a8e3-1dfa1c909d2a] Performed Kithe::CreateDerivativesJob (Job ID: 4c335004-1989-4e19-a8e3-1dfa1c909d2a) from Inline(default) in 5.71ms
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] Enqueued Kithe::CreateDerivativesJob (Job ID: 4c335004-1989-4e19-a8e3-1dfa1c909d2a) to Inline(default) with arguments: #<GlobalID:0x00007fd5d190e698 @uri=#<URI::GID gid://dummy/CustomAsset/7bf2738f-e53f-45dd-9592-41dd5e797ada>>
+[ActiveJob] [Kithe::AssetPromoteJob] [4716c889-99d7-4e05-9910-5d980b824474] Performed Kithe::AssetPromoteJob (Job ID: 4716c889-99d7-4e05-9910-5d980b824474) from Inline(default) in 14.78ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4716c889-99d7-4e05-9910-5d980b824474) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7bf2738f-e53f-45dd-9592-41dd5e797ada", "file", {"id"=>"asset/a191b38daa58768d617116ca1b374240.jpg", "storage"=>"cache"}, {}
+ [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bf2738f-e53f-45dd-9592-41dd5e797ada/c1c3b6b4bae611aee810aa2d35227775.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.044789"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7bf2738f-e53f-45dd-9592-41dd5e797ada/c1c3b6b4bae611aee810aa2d35227775.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7bf2738f-e53f-45dd-9592-41dd5e797ada/fixed/f5ab255bcee72b00f86dedf19ed064c1.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"asvncd5wc_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.051784"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7bf2738f-e53f-45dd-9592-41dd5e797ada"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:54.066208"], ["updated_at", "2020-05-19 20:38:54.066208"], ["file_data", "{\"id\":\"asset/0266002e53b19750ad306de1c6f51092.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] Performing Kithe::AssetPromoteJob (Job ID: 582e6fec-a9ad-429d-aa07-84d40f745201) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "5f3e0027-109f-4318-9137-78afa3c0790a", "file", {"id"=>"asset/0266002e53b19750ad306de1c6f51092.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [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", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [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", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [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/5f3e0027-109f-4318-9137-78afa3c0790a/7d929a6055ea27e9f2a686e612fd4218.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.076460"], ["id", "5f3e0027-109f-4318-9137-78afa3c0790a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [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", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] Performing Kithe::CreateDerivativesJob (Job ID: c617a2fa-9046-4281-88a2-90c2409ce87d) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d596c078 @uri=#<URI::GID gid://dummy/CustomAsset/5f3e0027-109f-4318-9137-78afa3c0790a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] [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", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] [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/5f3e0027-109f-4318-9137-78afa3c0790a/7d929a6055ea27e9f2a686e612fd4218.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5f3e0027-109f-4318-9137-78afa3c0790a/fixed/d75b714aa129631a6e67525c342516f9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"192dpu1bb_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.084644"], ["id", "5f3e0027-109f-4318-9137-78afa3c0790a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] [Kithe::CreateDerivativesJob] [c617a2fa-9046-4281-88a2-90c2409ce87d] Performed Kithe::CreateDerivativesJob (Job ID: c617a2fa-9046-4281-88a2-90c2409ce87d) from Inline(default) in 6.26ms
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] Enqueued Kithe::CreateDerivativesJob (Job ID: c617a2fa-9046-4281-88a2-90c2409ce87d) to Inline(default) with arguments: #<GlobalID:0x00007fd5d1096740 @uri=#<URI::GID gid://dummy/CustomAsset/5f3e0027-109f-4318-9137-78afa3c0790a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [582e6fec-a9ad-429d-aa07-84d40f745201] Performed Kithe::AssetPromoteJob (Job ID: 582e6fec-a9ad-429d-aa07-84d40f745201) from Inline(default) in 14.52ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 582e6fec-a9ad-429d-aa07-84d40f745201) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "5f3e0027-109f-4318-9137-78afa3c0790a", "file", {"id"=>"asset/0266002e53b19750ad306de1c6f51092.jpg", "storage"=>"cache"}, {}
+ [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", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5f3e0027-109f-4318-9137-78afa3c0790a/7d929a6055ea27e9f2a686e612fd4218.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.090831"], ["id", "5f3e0027-109f-4318-9137-78afa3c0790a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5f3e0027-109f-4318-9137-78afa3c0790a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:54.106684"], ["updated_at", "2020-05-19 20:38:54.106684"], ["file_data", "{\"id\":\"asset/ac16856019b81115d28017faa73c14a2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] Performing Kithe::AssetPromoteJob (Job ID: 55f2315c-2239-4acc-b35b-dca95752e994) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7cff74db-221b-48fe-80f8-794395f62160", "file", {"id"=>"asset/ac16856019b81115d28017faa73c14a2.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [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", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [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", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [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/7cff74db-221b-48fe-80f8-794395f62160/adb46b017c5677af6ebb9d860b14e4be.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.115964"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [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", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] Performing Kithe::CreateDerivativesJob (Job ID: 9fd3eab6-7742-459d-ad0c-55da58238d92) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d537b718 @uri=#<URI::GID gid://dummy/CustomAsset/7cff74db-221b-48fe-80f8-794395f62160>>
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] [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", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] [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/7cff74db-221b-48fe-80f8-794395f62160/adb46b017c5677af6ebb9d860b14e4be.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7cff74db-221b-48fe-80f8-794395f62160/fixed/e04655d706047f3846980f64c3674aeb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9uz815elx_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.123773"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] [Kithe::CreateDerivativesJob] [9fd3eab6-7742-459d-ad0c-55da58238d92] Performed Kithe::CreateDerivativesJob (Job ID: 9fd3eab6-7742-459d-ad0c-55da58238d92) from Inline(default) in 5.88ms
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] Enqueued Kithe::CreateDerivativesJob (Job ID: 9fd3eab6-7742-459d-ad0c-55da58238d92) to Inline(default) with arguments: #<GlobalID:0x00007fd5d5315968 @uri=#<URI::GID gid://dummy/CustomAsset/7cff74db-221b-48fe-80f8-794395f62160>>
+[ActiveJob] [Kithe::AssetPromoteJob] [55f2315c-2239-4acc-b35b-dca95752e994] Performed Kithe::AssetPromoteJob (Job ID: 55f2315c-2239-4acc-b35b-dca95752e994) from Inline(default) in 14.75ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 55f2315c-2239-4acc-b35b-dca95752e994) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7cff74db-221b-48fe-80f8-794395f62160", "file", {"id"=>"asset/ac16856019b81115d28017faa73c14a2.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7cff74db-221b-48fe-80f8-794395f62160/adb46b017c5677af6ebb9d860b14e4be.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7cff74db-221b-48fe-80f8-794395f62160/fixed/65dc91e06935eb9fbd6866d8ec33e6d2.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9uz815elx_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.132830"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7cff74db-221b-48fe-80f8-794395f62160"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7cff74db-221b-48fe-80f8-794395f62160"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "7cff74db-221b-48fe-80f8-794395f62160"]]
+ [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", "7cff74db-221b-48fe-80f8-794395f62160"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7cff74db-221b-48fe-80f8-794395f62160'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7cff74db-221b-48fe-80f8-794395f62160'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7cff74db-221b-48fe-80f8-794395f62160"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [2c67cd43-0bbd-4f81-bb6a-751fa931826e] Performing Kithe::AssetDeleteJob (Job ID: 2c67cd43-0bbd-4f81-bb6a-751fa931826e) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/7cff74db-221b-48fe-80f8-794395f62160/adb46b017c5677af6ebb9d860b14e4be.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7cff74db-221b-48fe-80f8-794395f62160/fixed/65dc91e06935eb9fbd6866d8ec33e6d2.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"9uz815elx_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [2c67cd43-0bbd-4f81-bb6a-751fa931826e] Performed Kithe::AssetDeleteJob (Job ID: 2c67cd43-0bbd-4f81-bb6a-751fa931826e) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 2c67cd43-0bbd-4f81-bb6a-751fa931826e) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/7cff74db-221b-48fe-80f8-794395f62160/adb46b017c5677af6ebb9d860b14e4be.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"7cff74db-221b-48fe-80f8-794395f62160/fixed/65dc91e06935eb9fbd6866d8ec33e6d2.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"9uz815elx_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:54.162958"], ["updated_at", "2020-05-19 20:38:54.162958"], ["file_data", "{\"id\":\"asset/3f3e7f67296c2d85ab929efdcd643469.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] Performing Kithe::AssetPromoteJob (Job ID: 93d13b0a-1f48-49c0-ba35-a57e53fddb2e) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "89ad53c2-8f9d-47b3-b272-1b16d02da399", "file", {"id"=>"asset/3f3e7f67296c2d85ab929efdcd643469.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [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/89ad53c2-8f9d-47b3-b272-1b16d02da399/3d05dad8c12ccacd63634c2b0c947a68.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.173641"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] Performing Kithe::CreateDerivativesJob (Job ID: a3df0673-41c6-49aa-8628-5c0a3e9abf57) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d50b4a98 @uri=#<URI::GID gid://dummy/CustomAsset/89ad53c2-8f9d-47b3-b272-1b16d02da399>>
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] [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/89ad53c2-8f9d-47b3-b272-1b16d02da399/3d05dad8c12ccacd63634c2b0c947a68.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"89ad53c2-8f9d-47b3-b272-1b16d02da399/fixed/71b35ac06e7e860a202fd239a54084f9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"40gk6i11o_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.181235"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] [Kithe::CreateDerivativesJob] [a3df0673-41c6-49aa-8628-5c0a3e9abf57] Performed Kithe::CreateDerivativesJob (Job ID: a3df0673-41c6-49aa-8628-5c0a3e9abf57) from Inline(default) in 6.29ms
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] Enqueued Kithe::CreateDerivativesJob (Job ID: a3df0673-41c6-49aa-8628-5c0a3e9abf57) to Inline(default) with arguments: #<GlobalID:0x00007fd5d37d4c80 @uri=#<URI::GID gid://dummy/CustomAsset/89ad53c2-8f9d-47b3-b272-1b16d02da399>>
+[ActiveJob] [Kithe::AssetPromoteJob] [93d13b0a-1f48-49c0-ba35-a57e53fddb2e] Performed Kithe::AssetPromoteJob (Job ID: 93d13b0a-1f48-49c0-ba35-a57e53fddb2e) from Inline(default) in 14.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 93d13b0a-1f48-49c0-ba35-a57e53fddb2e) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "89ad53c2-8f9d-47b3-b272-1b16d02da399", "file", {"id"=>"asset/3f3e7f67296c2d85ab929efdcd643469.jpg", "storage"=>"cache"}, {}
+ [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (1.0ms)[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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/3d05dad8c12ccacd63634c2b0c947a68.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"89ad53c2-8f9d-47b3-b272-1b16d02da399/fixed/eb1f1231d72f78701f1771644d7d1dc8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"40gk6i11o_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.190434"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/72752efd022ee11ca3c84403255c6a0e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:38:54.194801"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [5ca628d0-7b81-4a54-bb31-b351737fd6b3] Performing Kithe::AssetDeleteJob (Job ID: 5ca628d0-7b81-4a54-bb31-b351737fd6b3) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/3d05dad8c12ccacd63634c2b0c947a68.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"89ad53c2-8f9d-47b3-b272-1b16d02da399/fixed/eb1f1231d72f78701f1771644d7d1dc8.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"40gk6i11o_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [5ca628d0-7b81-4a54-bb31-b351737fd6b3] Performed Kithe::AssetDeleteJob (Job ID: 5ca628d0-7b81-4a54-bb31-b351737fd6b3) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 5ca628d0-7b81-4a54-bb31-b351737fd6b3) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/3d05dad8c12ccacd63634c2b0c947a68.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"89ad53c2-8f9d-47b3-b272-1b16d02da399/fixed/eb1f1231d72f78701f1771644d7d1dc8.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"40gk6i11o_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] Performing Kithe::AssetPromoteJob (Job ID: b1837749-0862-4fbf-982c-c4890327a7f9) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "89ad53c2-8f9d-47b3-b272-1b16d02da399", "file", {"id"=>"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/72752efd022ee11ca3c84403255c6a0e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [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/89ad53c2-8f9d-47b3-b272-1b16d02da399/97463084e1ddbf40bff80b5fcd11aaa7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.202472"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] Performing Kithe::CreateDerivativesJob (Job ID: fd50662f-27c8-426b-a78c-28b2fcd84727) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d07957e0 @uri=#<URI::GID gid://dummy/CustomAsset/89ad53c2-8f9d-47b3-b272-1b16d02da399>>
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] [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", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] [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/89ad53c2-8f9d-47b3-b272-1b16d02da399/97463084e1ddbf40bff80b5fcd11aaa7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"89ad53c2-8f9d-47b3-b272-1b16d02da399/fixed/1b8dbb7301d4f916fc771be873c52dde.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"40gk6i11o_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.210018"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] [Kithe::CreateDerivativesJob] [fd50662f-27c8-426b-a78c-28b2fcd84727] Performed Kithe::CreateDerivativesJob (Job ID: fd50662f-27c8-426b-a78c-28b2fcd84727) from Inline(default) in 6.07ms
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] Enqueued Kithe::CreateDerivativesJob (Job ID: fd50662f-27c8-426b-a78c-28b2fcd84727) to Inline(default) with arguments: #<GlobalID:0x00007fd5d343b5d8 @uri=#<URI::GID gid://dummy/CustomAsset/89ad53c2-8f9d-47b3-b272-1b16d02da399>>
+[ActiveJob] [Kithe::AssetPromoteJob] [b1837749-0862-4fbf-982c-c4890327a7f9] Performed Kithe::AssetPromoteJob (Job ID: b1837749-0862-4fbf-982c-c4890327a7f9) from Inline(default) in 13.81ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b1837749-0862-4fbf-982c-c4890327a7f9) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "89ad53c2-8f9d-47b3-b272-1b16d02da399", "file", {"id"=>"asset/89ad53c2-8f9d-47b3-b272-1b16d02da399/72752efd022ee11ca3c84403255c6a0e.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "89ad53c2-8f9d-47b3-b272-1b16d02da399"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:54.226576"], ["updated_at", "2020-05-19 20:38:54.226576"], ["file_data", "{\"id\":\"asset/02ad5893b28631c7735dbd8d522174ef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] Performing Kithe::AssetPromoteJob (Job ID: 47d225de-51b7-4e83-82ea-99ccdeb91403) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "476b159a-7468-4f3e-a76b-a01a8dbb49dd", "file", {"id"=>"asset/02ad5893b28631c7735dbd8d522174ef.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [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", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [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", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [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/476b159a-7468-4f3e-a76b-a01a8dbb49dd/02a3e3a9daf18398100fc6cd0094eb99.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.237808"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [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", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] Performing Kithe::CreateDerivativesJob (Job ID: 2e76751d-0af8-498e-a239-d7ca3770ae55) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d331fe10 @uri=#<URI::GID gid://dummy/CustomAsset/476b159a-7468-4f3e-a76b-a01a8dbb49dd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] [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", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] [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/476b159a-7468-4f3e-a76b-a01a8dbb49dd/02a3e3a9daf18398100fc6cd0094eb99.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"476b159a-7468-4f3e-a76b-a01a8dbb49dd/fixed/94c34dbdedfbc3bfa2fe3a13db23dd9a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"owvn7wx11_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.245717"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] [Kithe::CreateDerivativesJob] [2e76751d-0af8-498e-a239-d7ca3770ae55] Performed Kithe::CreateDerivativesJob (Job ID: 2e76751d-0af8-498e-a239-d7ca3770ae55) from Inline(default) in 6.09ms
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] Enqueued Kithe::CreateDerivativesJob (Job ID: 2e76751d-0af8-498e-a239-d7ca3770ae55) to Inline(default) with arguments: #<GlobalID:0x00007fd5d31ec520 @uri=#<URI::GID gid://dummy/CustomAsset/476b159a-7468-4f3e-a76b-a01a8dbb49dd>>
+[ActiveJob] [Kithe::AssetPromoteJob] [47d225de-51b7-4e83-82ea-99ccdeb91403] Performed Kithe::AssetPromoteJob (Job ID: 47d225de-51b7-4e83-82ea-99ccdeb91403) from Inline(default) in 16.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 47d225de-51b7-4e83-82ea-99ccdeb91403) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "476b159a-7468-4f3e-a76b-a01a8dbb49dd", "file", {"id"=>"asset/02ad5893b28631c7735dbd8d522174ef.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/476b159a-7468-4f3e-a76b-a01a8dbb49dd/02a3e3a9daf18398100fc6cd0094eb99.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"476b159a-7468-4f3e-a76b-a01a8dbb49dd/fixed/0d492a6fdbfeba726995a848e24bbcf8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"owvn7wx11_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.254098"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "476b159a-7468-4f3e-a76b-a01a8dbb49dd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:54.277907"], ["updated_at", "2020-05-19 20:38:54.277907"], ["file_data", "{\"id\":\"asset/4fef3b02b57b2d3ad27c6ac2c84c77c3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] Performing Kithe::AssetPromoteJob (Job ID: 49895101-69e8-4c17-b09d-c1c51e88378a) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e44da584-51bf-4e9b-80bd-a6848ba21999", "file", {"id"=>"asset/4fef3b02b57b2d3ad27c6ac2c84c77c3.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [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", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [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", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [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/e44da584-51bf-4e9b-80bd-a6848ba21999/418eeb0e882d981788faf08362937ba4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.288539"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [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", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] Performing Kithe::CreateDerivativesJob (Job ID: bafb8514-7e27-40e7-af5e-63b2357fbbfc) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d5e2da80 @uri=#<URI::GID gid://dummy/CustomAsset/e44da584-51bf-4e9b-80bd-a6848ba21999>>
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] [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", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] [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/e44da584-51bf-4e9b-80bd-a6848ba21999/418eeb0e882d981788faf08362937ba4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e44da584-51bf-4e9b-80bd-a6848ba21999/fixed/7e4948c0ea5c35fc8646d5e167e965d7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1u37l0uwt_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.295963"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] [Kithe::CreateDerivativesJob] [bafb8514-7e27-40e7-af5e-63b2357fbbfc] Performed Kithe::CreateDerivativesJob (Job ID: bafb8514-7e27-40e7-af5e-63b2357fbbfc) from Inline(default) in 5.65ms
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] Enqueued Kithe::CreateDerivativesJob (Job ID: bafb8514-7e27-40e7-af5e-63b2357fbbfc) to Inline(default) with arguments: #<GlobalID:0x00007fd5d57e07e0 @uri=#<URI::GID gid://dummy/CustomAsset/e44da584-51bf-4e9b-80bd-a6848ba21999>>
+[ActiveJob] [Kithe::AssetPromoteJob] [49895101-69e8-4c17-b09d-c1c51e88378a] Performed Kithe::AssetPromoteJob (Job ID: 49895101-69e8-4c17-b09d-c1c51e88378a) from Inline(default) in 15.03ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 49895101-69e8-4c17-b09d-c1c51e88378a) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e44da584-51bf-4e9b-80bd-a6848ba21999", "file", {"id"=>"asset/4fef3b02b57b2d3ad27c6ac2c84c77c3.jpg", "storage"=>"cache"}, {}
+ [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", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e44da584-51bf-4e9b-80bd-a6848ba21999/418eeb0e882d981788faf08362937ba4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e44da584-51bf-4e9b-80bd-a6848ba21999/fixed/2aa0741fc047a173d626e0fa813f0850.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1u37l0uwt_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.304343"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e44da584-51bf-4e9b-80bd-a6848ba21999/418eeb0e882d981788faf08362937ba4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e44da584-51bf-4e9b-80bd-a6848ba21999/fixed/8f4fd2fb40f841af228daabf33cf8d88.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1u37l0uwt_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:38:54.355505"], ["id", "e44da584-51bf-4e9b-80bd-a6848ba21999"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:54.374245"], ["updated_at", "2020-05-19 20:38:54.374245"], ["file_data", "{\"id\":\"asset/286a848992d9e9823a60b9282c015494.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] Performing Kithe::AssetPromoteJob (Job ID: 10387f9d-452c-4c75-9c63-87a0c7f52636) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90", "file", {"id"=>"asset/286a848992d9e9823a60b9282c015494.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [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", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [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", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [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/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/1ac38a96ba5e7b7a7db47ad5ca1c9660.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.384753"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [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", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] Performing Kithe::CreateDerivativesJob (Job ID: 0c0d0f66-cffa-421a-bfe8-87b20a0f6d91) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: #<GlobalID:0x00007fd5d54b6a10 @uri=#<URI::GID gid://dummy/CustomAsset/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90>>
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] [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", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] [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/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/1ac38a96ba5e7b7a7db47ad5ca1c9660.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/fixed/5b32ce5d03365c7e4120118f0c540716.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r5b9b9ejp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.392602"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] [Kithe::CreateDerivativesJob] [0c0d0f66-cffa-421a-bfe8-87b20a0f6d91] Performed Kithe::CreateDerivativesJob (Job ID: 0c0d0f66-cffa-421a-bfe8-87b20a0f6d91) from Inline(default) in 6.84ms
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] Enqueued Kithe::CreateDerivativesJob (Job ID: 0c0d0f66-cffa-421a-bfe8-87b20a0f6d91) to Inline(default) with arguments: #<GlobalID:0x00007fd5d5d85128 @uri=#<URI::GID gid://dummy/CustomAsset/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90>>
+[ActiveJob] [Kithe::AssetPromoteJob] [10387f9d-452c-4c75-9c63-87a0c7f52636] Performed Kithe::AssetPromoteJob (Job ID: 10387f9d-452c-4c75-9c63-87a0c7f52636) from Inline(default) in 15.95ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 10387f9d-452c-4c75-9c63-87a0c7f52636) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90", "file", {"id"=>"asset/286a848992d9e9823a60b9282c015494.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (2.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/1ac38a96ba5e7b7a7db47ad5ca1c9660.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/fixed/12f0c732d67f6e748392c13140a2d3c3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r5b9b9ejp_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:54.401728"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/1ac38a96ba5e7b7a7db47ad5ca1c9660.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/fixed/12f0c732d67f6e748392c13140a2d3c3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"r5b9b9ejp_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90/test/765bf49203b6a4268200ec820356e494.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r5b9b9ejp_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:38:54.486735"], ["id", "e6270d3a-c3c6-4ced-a58d-1b5ebf3a8c90"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:38:54.505925"], ["updated_at", "2020-05-19 20:38:54.505925"], ["file_data", "{\"id\":\"asset/0321a8b5f2da850b4adf948c7e0679a4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] Performing Kithe::AssetPromoteJob (Job ID: ecde77ea-d6bd-47a2-acef-bf824629e6af) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d6663265-aa72-425a-807c-83e98aba801b", "file", {"id"=>"asset/0321a8b5f2da850b4adf948c7e0679a4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] [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", "d6663265-aa72-425a-807c-83e98aba801b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] [1m[36mTestAsset 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", "TestAsset"], ["id", "d6663265-aa72-425a-807c-83e98aba801b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] [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/d6663265-aa72-425a-807c-83e98aba801b/88b9d874897b7e3ef0946d986d8a191e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.514568"], ["id", "d6663265-aa72-425a-807c-83e98aba801b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ecde77ea-d6bd-47a2-acef-bf824629e6af] Performed Kithe::AssetPromoteJob (Job ID: ecde77ea-d6bd-47a2-acef-bf824629e6af) from Inline(default) in 7.77ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ecde77ea-d6bd-47a2-acef-bf824629e6af) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d6663265-aa72-425a-807c-83e98aba801b", "file", {"id"=>"asset/0321a8b5f2da850b4adf948c7e0679a4.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.533127"], ["updated_at", "2020-05-19 20:38:54.533127"], ["file_data", "{\"id\":\"asset/94ff4306e4bfef82cddc55151d7ae81d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "18dc8246-80f5-42c6-a055-06a47623e5f4"], ["LIMIT", 1]]
+ [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", "18dc8246-80f5-42c6-a055-06a47623e5f4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:38:54.558582"], ["updated_at", "2020-05-19 20:38:54.558582"], ["file_data", "{\"id\":\"asset/76bbab0a660917676da82c20b4b3ee5b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.562616"], ["file_data", "{\"id\":\"asset/3f80a427-3da4-4a8f-a9db-9d67b29edff8/8d2fae50cd9237b6fee7a2e101290008.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3f80a427-3da4-4a8f-a9db-9d67b29edff8"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "3f80a427-3da4-4a8f-a9db-9d67b29edff8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.0ms)[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-19 20:38:54.580220"], ["updated_at", "2020-05-19 20:38:54.580220"], ["file_data", "{\"id\":\"asset/70e7dad6d83147ebcb534dcb7484a9b5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1c468caf-45df-4a45-ae0b-d694801891d4] Performing Kithe::AssetPromoteJob (Job ID: 1c468caf-45df-4a45-ae0b-d694801891d4) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "0991af05-883a-411e-8d8c-c5c61c00f975", "file", {"id"=>"asset/70e7dad6d83147ebcb534dcb7484a9b5.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1c468caf-45df-4a45-ae0b-d694801891d4] [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", "0991af05-883a-411e-8d8c-c5c61c00f975"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1c468caf-45df-4a45-ae0b-d694801891d4] Performed Kithe::AssetPromoteJob (Job ID: 1c468caf-45df-4a45-ae0b-d694801891d4) from Inline(default) in 2.44ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1c468caf-45df-4a45-ae0b-d694801891d4) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "0991af05-883a-411e-8d8c-c5c61c00f975", "file", {"id"=>"asset/70e7dad6d83147ebcb534dcb7484a9b5.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0991af05-883a-411e-8d8c-c5c61c00f975"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.605152"], ["updated_at", "2020-05-19 20:38:54.605152"], ["file_data", "{\"id\":\"asset/806fad6c738b3f31e6a006ec6df7d6b3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] Performing Kithe::AssetPromoteJob (Job ID: 032dae87-239b-4a42-8b60-e1939a6b5e02) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "bed178d4-102c-4f37-a334-9ca86715ee91", "file", {"id"=>"asset/806fad6c738b3f31e6a006ec6df7d6b3.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] [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", "bed178d4-102c-4f37-a334-9ca86715ee91"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] [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", "bed178d4-102c-4f37-a334-9ca86715ee91"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] [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/bed178d4-102c-4f37-a334-9ca86715ee91/1b60120d4e607e57f60c7049c5bdc04d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.612255"], ["id", "bed178d4-102c-4f37-a334-9ca86715ee91"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [032dae87-239b-4a42-8b60-e1939a6b5e02] Performed Kithe::AssetPromoteJob (Job ID: 032dae87-239b-4a42-8b60-e1939a6b5e02) from Inline(default) in 7.26ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 032dae87-239b-4a42-8b60-e1939a6b5e02) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "bed178d4-102c-4f37-a334-9ca86715ee91", "file", {"id"=>"asset/806fad6c738b3f31e6a006ec6df7d6b3.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "bed178d4-102c-4f37-a334-9ca86715ee91"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:38:54.630198"], ["updated_at", "2020-05-19 20:38:54.630198"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.636383"], ["file_data", "{\"id\":\"asset/5e1f8011-bda4-43bc-bffd-8bcbc4f3c344/ae86347bfe8225d2fb1faef4b0ffc711.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "5e1f8011-bda4-43bc-bffd-8bcbc4f3c344"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "5e1f8011-bda4-43bc-bffd-8bcbc4f3c344"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["created_at", "2020-05-19 20:38:54.653870"], ["updated_at", "2020-05-19 20:38:54.653870"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.658643"], ["file_data", "{\"id\":\"asset/a0209d26-885d-4fe3-a334-57864ed6eb14/b276fb40d4894aff91b9d42765b5e1d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a0209d26-885d-4fe3-a334-57864ed6eb14"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "a0209d26-885d-4fe3-a334-57864ed6eb14"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.676008"], ["updated_at", "2020-05-19 20:38:54.676008"], ["file_data", "{\"id\":\"asset/6c855308d691e75e1a352a9e12f86ea1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6e4313fb-3f34-4a3f-a3cd-067b9d9370ef"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6e4313fb-3f34-4a3f-a3cd-067b9d9370ef"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:38:54.695780"], ["updated_at", "2020-05-19 20:38:54.695780"], ["file_data", "{\"id\":\"asset/bddcaff7774e018ad83a6c21e97421f2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "TestAsset"], ["id", "c30c751a-1e45-4171-a8b9-2f0cd5e0a0eb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "c30c751a-1e45-4171-a8b9-2f0cd5e0a0eb"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c30c751a-1e45-4171-a8b9-2f0cd5e0a0eb/a30e3a6d8a9cc1c046833caa70679497.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.706469"], ["id", "c30c751a-1e45-4171-a8b9-2f0cd5e0a0eb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c30c751a-1e45-4171-a8b9-2f0cd5e0a0eb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.723391"], ["updated_at", "2020-05-19 20:38:54.723391"], ["file_data", "{\"id\":\"asset/05a8e740150a546e0236dedea09862ea.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] Performing Kithe::AssetPromoteJob (Job ID: c2f8ed5b-9497-49bf-8898-f9206e10461e) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5a3db6e2-ac23-4a18-b963-b7a339037fab", "file", {"id"=>"asset/05a8e740150a546e0236dedea09862ea.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] [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", "5a3db6e2-ac23-4a18-b963-b7a339037fab"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] [1m[36mTestAsset 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", "TestAsset"], ["id", "5a3db6e2-ac23-4a18-b963-b7a339037fab"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] [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/5a3db6e2-ac23-4a18-b963-b7a339037fab/519251c0664cc141f1d97d6d0ff00e76.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.731431"], ["id", "5a3db6e2-ac23-4a18-b963-b7a339037fab"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c2f8ed5b-9497-49bf-8898-f9206e10461e] Performed Kithe::AssetPromoteJob (Job ID: c2f8ed5b-9497-49bf-8898-f9206e10461e) from Inline(default) in 7.59ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c2f8ed5b-9497-49bf-8898-f9206e10461e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5a3db6e2-ac23-4a18-b963-b7a339037fab", "file", {"id"=>"asset/05a8e740150a546e0236dedea09862ea.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.746747"], ["updated_at", "2020-05-19 20:38:54.746747"], ["file_data", "{\"id\":\"asset/ec3994d596db46a5911a5b2413999c86.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.750602"], ["file_data", "{\"id\":\"asset/c74c1064-4aaf-4b57-adb3-adfd03cb358a/e33ce296451587a2ec1e1ec51f88194c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c74c1064-4aaf-4b57-adb3-adfd03cb358a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c74c1064-4aaf-4b57-adb3-adfd03cb358a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:54.767930"], ["updated_at", "2020-05-19 20:38:54.767930"], ["file_data", "{\"id\":\"asset/3f2d43c6806e0fdb0098b1c4b514dba9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] Performing Kithe::AssetPromoteJob (Job ID: 4c7599f0-2aad-44e1-9b94-d0a4707c13cd) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2", "file", {"id"=>"asset/3f2d43c6806e0fdb0098b1c4b514dba9.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] [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", "fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] [1m[36mTestAsset 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", "TestAsset"], ["id", "fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] [1m[36mTestAsset 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/fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2/81f61968613e729bc84623e0f3391829.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.776040"], ["id", "fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c7599f0-2aad-44e1-9b94-d0a4707c13cd] Performed Kithe::AssetPromoteJob (Job ID: 4c7599f0-2aad-44e1-9b94-d0a4707c13cd) from Inline(default) in 5.73ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4c7599f0-2aad-44e1-9b94-d0a4707c13cd) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "fc37b6c0-7863-494d-b3dc-0c4ac6eeeec2", "file", {"id"=>"asset/3f2d43c6806e0fdb0098b1c4b514dba9.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:54.804143"], ["updated_at", "2020-05-19 20:38:54.804143"], ["file_data", "{\"id\":\"asset/a743007278d00fa17c2c865f08a367ba.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] Performing Kithe::AssetPromoteJob (Job ID: b68ab73a-1a12-4954-a4c4-b9cfb99a5993) from Inline(default) enqueued at 2020-05-19T20:38:54Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3", "file", {"id"=>"asset/a743007278d00fa17c2c865f08a367ba.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] [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", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] [1m[36mTestAsset 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", "TestAsset"], ["id", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] [1m[36mTestAsset 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/73ab3811-61d7-4455-b0cb-52eebc9cf9b3/5787f4b57c81c49253c22b4348c76712.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:54.816670"], ["id", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b68ab73a-1a12-4954-a4c4-b9cfb99a5993] Performed Kithe::AssetPromoteJob (Job ID: b68ab73a-1a12-4954-a4c4-b9cfb99a5993) from Inline(default) in 6.82ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b68ab73a-1a12-4954-a4c4-b9cfb99a5993) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3", "file", {"id"=>"asset/a743007278d00fa17c2c865f08a367ba.jpg", "storage"=>"cache"}, {}
+ [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", "73ab3811-61d7-4455-b0cb-52eebc9cf9b3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.833255"], ["updated_at", "2020-05-19 20:38:54.833255"], ["file_data", "{\"id\":\"asset/3aac2392d7c471b72d93ef84f0d2e06f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "830d78b5-d265-4de7-bd07-de6b510aea6a"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:54.852698"], ["updated_at", "2020-05-19 20:38:54.852698"], ["file_data", "{\"id\":\"asset/37ac6c9fdad7091561a040dc1cdd520d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.856260"], ["file_data", "{\"id\":\"asset/0a0bef30-d0a7-4395-aa60-164e84a4d7a1/16c553acdf7501fd5a8f237469893253.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0a0bef30-d0a7-4395-aa60-164e84a4d7a1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: d2ff30dd-2a48-472a-99fb-fd175e56c99b) to Test(default) with arguments: #<GlobalID:0x00007fd5d577b890 @uri=#<URI::GID gid://dummy/TestAsset/0a0bef30-d0a7-4395-aa60-164e84a4d7a1>>
+ [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", "0a0bef30-d0a7-4395-aa60-164e84a4d7a1"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0a0bef30-d0a7-4395-aa60-164e84a4d7a1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.874789"], ["updated_at", "2020-05-19 20:38:54.874789"], ["file_data", "{\"id\":\"asset/fc5b104a5595efd670f01f1f81e9db5b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.898569"], ["updated_at", "2020-05-19 20:38:54.898569"], ["file_data", "{\"id\":\"asset/6a483d28708f8a7dcb29dfbca641c62b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.902437"], ["file_data", "{\"id\":\"asset/8492b45a-d473-4698-89c3-276ede40da82/1b0fbd762b7b7a78a65bf51892e1bf1a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8492b45a-d473-4698-89c3-276ede40da82"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "8492b45a-d473-4698-89c3-276ede40da82"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.935123"], ["updated_at", "2020-05-19 20:38:54.935123"], ["file_data", "{\"id\":\"asset/f9041092ca81ced06e89131a7e85eb5e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.938468"], ["file_data", "{\"id\":\"asset/aa7dbe99-0474-481e-8cb8-e94627067fa6/f720e7c4aa48afc8162a4ff5dc8f481b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "aa7dbe99-0474-481e-8cb8-e94627067fa6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [f306e754-34c8-4837-afd3-681a6e1fb1bb] Performing Kithe::CreateDerivativesJob (Job ID: f306e754-34c8-4837-afd3-681a6e1fb1bb) from Test(default) enqueued at with arguments: #<GlobalID:0x00007fd5d5c1fd38 @uri=#<URI::GID gid://dummy/TestAsset/aa7dbe99-0474-481e-8cb8-e94627067fa6>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [f306e754-34c8-4837-afd3-681a6e1fb1bb] Performed Kithe::CreateDerivativesJob (Job ID: f306e754-34c8-4837-afd3-681a6e1fb1bb) from Test(default) in 0.49ms
+ [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", "aa7dbe99-0474-481e-8cb8-e94627067fa6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:38:54.955426"], ["updated_at", "2020-05-19 20:38:54.955426"], ["file_data", "{\"id\":\"asset/108da6077091de9adf9e85676aa59a1b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.958419"], ["file_data", "{\"id\":\"asset/2c31c1ff-94b4-4fda-a427-4898f3c60efb/7a9b2684ad79a1f39a37ed6d5bff77ea.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"]]
+ [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", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"]]
+ [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", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2c31c1ff-94b4-4fda-a427-4898f3c60efb'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2c31c1ff-94b4-4fda-a427-4898f3c60efb'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2c31c1ff-94b4-4fda-a427-4898f3c60efb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:38:54.981279"], ["updated_at", "2020-05-19 20:38:54.981279"], ["file_data", "{\"id\":\"asset/9b882c0cdfeb3757d9ad0d70b902abf3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:54.986210"], ["file_data", "{\"id\":\"asset/4a546b05-6d01-4cc3-a6dc-92ac98139cf4/6bb97965a1421ce435daff0e8c887d87.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"]]
+ [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", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4a546b05-6d01-4cc3-a6dc-92ac98139cf4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4a546b05-6d01-4cc3-a6dc-92ac98139cf4'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "4a546b05-6d01-4cc3-a6dc-92ac98139cf4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.017700"], ["updated_at", "2020-05-19 20:38:55.017700"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21) AND "kithe_models"."id" = $22 LIMIT $23[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "48540e32-c2eb-4213-bbeb-475e0e8d5909"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:38:55.037039"], ["updated_at", "2020-05-19 20:38:55.037039"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:55.049229"], ["updated_at", "2020-05-19 20:38:55.049229"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.054589"], ["file_data", "{\"id\":\"asset/7a3d07c6-8529-4935-a89a-088c1b35e66a/b88f42f7eaa3749066981c3e09d41e43.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "7a3d07c6-8529-4935-a89a-088c1b35e66a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.058792"], ["file_data", "{\"id\":\"asset/7a3d07c6-8529-4935-a89a-088c1b35e66a/5b68b0a5b308c956943fa77c41977574.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "7a3d07c6-8529-4935-a89a-088c1b35e66a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "7a3d07c6-8529-4935-a89a-088c1b35e66a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.065045"], ["updated_at", "2020-05-19 20:38:55.065045"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:55.075054"], ["updated_at", "2020-05-19 20:38:55.075054"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:38:55.077496"], ["updated_at", "2020-05-19 20:38:55.077496"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.086067"], ["updated_at", "2020-05-19 20:38:55.086067"], ["file_data", "{\"id\":\"asset/be54159c18238fb664dfcc57868f30bc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] Performing Kithe::AssetPromoteJob (Job ID: d95144cb-4809-4a36-b190-ce6583fbb63b) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ac158f23-3859-4f04-885f-941ba7020345", "file", {"id"=>"asset/be54159c18238fb664dfcc57868f30bc.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac158f23-3859-4f04-885f-941ba7020345"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac158f23-3859-4f04-885f-941ba7020345"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] [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/ac158f23-3859-4f04-885f-941ba7020345/24a9297e9f47ee04f3309350eced57be.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.096079"], ["id", "ac158f23-3859-4f04-885f-941ba7020345"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d95144cb-4809-4a36-b190-ce6583fbb63b] Performed Kithe::AssetPromoteJob (Job ID: d95144cb-4809-4a36-b190-ce6583fbb63b) from Inline(default) in 7.86ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d95144cb-4809-4a36-b190-ce6583fbb63b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ac158f23-3859-4f04-885f-941ba7020345", "file", {"id"=>"asset/be54159c18238fb664dfcc57868f30bc.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac158f23-3859-4f04-885f-941ba7020345"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.108092"], ["updated_at", "2020-05-19 20:38:55.108092"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.110935"], ["file_data", "{\"id\":\"asset/94ec8a9792449b69f35b9f01a03a9e7e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "ea8a49d2-38db-4545-9b2e-715031f1e7f8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] Performing Kithe::AssetPromoteJob (Job ID: 1b40176f-d18f-41f5-9c38-51a2ad5799c5) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ea8a49d2-38db-4545-9b2e-715031f1e7f8", "file", {"id"=>"asset/94ec8a9792449b69f35b9f01a03a9e7e.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] [1m[36mKithe::Asset Load (1.0ms)[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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ea8a49d2-38db-4545-9b2e-715031f1e7f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ea8a49d2-38db-4545-9b2e-715031f1e7f8"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] [1m[36mKithe::Asset 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/ea8a49d2-38db-4545-9b2e-715031f1e7f8/13e9211fc332d2f523b3ac1ccff75137.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:38:55.122942"], ["id", "ea8a49d2-38db-4545-9b2e-715031f1e7f8"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1b40176f-d18f-41f5-9c38-51a2ad5799c5] Performed Kithe::AssetPromoteJob (Job ID: 1b40176f-d18f-41f5-9c38-51a2ad5799c5) from Inline(default) in 11.84ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1b40176f-d18f-41f5-9c38-51a2ad5799c5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ea8a49d2-38db-4545-9b2e-715031f1e7f8", "file", {"id"=>"asset/94ec8a9792449b69f35b9f01a03a9e7e.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset 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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ea8a49d2-38db-4545-9b2e-715031f1e7f8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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 Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.132823"], ["updated_at", "2020-05-19 20:38:55.132823"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.138462"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "56445d53-c557-43a8-9991-73d9a2e41f5e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] Performing Kithe::AssetPromoteJob (Job ID: 8273889b-9c02-42d0-a6f9-925325b99973) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "56445d53-c557-43a8-9991-73d9a2e41f5e", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "56445d53-c557-43a8-9991-73d9a2e41f5e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "56445d53-c557-43a8-9991-73d9a2e41f5e"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] [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/56445d53-c557-43a8-9991-73d9a2e41f5e/9204570e999490de8dc2df757e5e6dad.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:38:55.191681"], ["id", "56445d53-c557-43a8-9991-73d9a2e41f5e"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8273889b-9c02-42d0-a6f9-925325b99973] Performed Kithe::AssetPromoteJob (Job ID: 8273889b-9c02-42d0-a6f9-925325b99973) from Inline(default) in 53.07ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8273889b-9c02-42d0-a6f9-925325b99973) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "56445d53-c557-43a8-9991-73d9a2e41f5e", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "56445d53-c557-43a8-9991-73d9a2e41f5e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:55.202351"], ["updated_at", "2020-05-19 20:38:55.202351"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.204976"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] Performing Kithe::AssetPromoteJob (Job ID: b6355f0a-2556-4ad6-9760-614e1281180a) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] [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/9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5/31ed7ecefb5e925e8047e0effa27c9a1.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-19 20:38:55.262511"], ["id", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6355f0a-2556-4ad6-9760-614e1281180a] Performed Kithe::AssetPromoteJob (Job ID: b6355f0a-2556-4ad6-9760-614e1281180a) from Inline(default) in 62.33ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b6355f0a-2556-4ad6-9760-614e1281180a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "9f7c5f9d-ac2b-4d8c-8c06-3aee956062f5", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:38:55.275824"], ["updated_at", "2020-05-19 20:38:55.275824"], ["file_data", "{\"id\":\"asset/1a4ab6a51e28c4a3e90761210f9b04e8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a1abd02c-a931-44fa-a94a-1b8989981b4e) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0032353c-05f9-4568-97df-2260bc9bccdf", "file", {"id"=>"asset/1a4ab6a51e28c4a3e90761210f9b04e8.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (2.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, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0032353c-05f9-4568-97df-2260bc9bccdf"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.287554"], ["file_data", "{\"id\":\"asset/0032353c-05f9-4568-97df-2260bc9bccdf/69e6733ba8626b8f51cd1bce06082552.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0032353c-05f9-4568-97df-2260bc9bccdf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.294249"], ["updated_at", "2020-05-19 20:38:55.294249"], ["file_data", "{\"id\":\"asset/c6444d606612ccf3658822b7191e20f6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] Performing Kithe::AssetPromoteJob (Job ID: d85b08c0-537e-4533-b9ea-875f4c05df9a) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8cf29761-20f8-4f39-be5b-4f55549fb6a7", "file", {"id"=>"asset/c6444d606612ccf3658822b7191e20f6.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] [1m[36mKithe::Asset Load (2.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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "8cf29761-20f8-4f39-be5b-4f55549fb6a7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "8cf29761-20f8-4f39-be5b-4f55549fb6a7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] [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/8cf29761-20f8-4f39-be5b-4f55549fb6a7/2351bb40d35bd0792fab96f06c99d02a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.306214"], ["id", "8cf29761-20f8-4f39-be5b-4f55549fb6a7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d85b08c0-537e-4533-b9ea-875f4c05df9a] Performed Kithe::AssetPromoteJob (Job ID: d85b08c0-537e-4533-b9ea-875f4c05df9a) from Inline(default) in 10.87ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d85b08c0-537e-4533-b9ea-875f4c05df9a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8cf29761-20f8-4f39-be5b-4f55549fb6a7", "file", {"id"=>"asset/c6444d606612ccf3658822b7191e20f6.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.310896"], ["updated_at", "2020-05-19 20:38:55.310896"], ["file_data", "{\"id\":\"asset/a09cf6f8bea6d40467c8db7151c6bc4a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] Performing Kithe::AssetPromoteJob (Job ID: a00be6d9-844c-4697-970f-d2fd5c2250da) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "84a9c855-2633-41cd-bebb-9185a47d5f6d", "file", {"id"=>"asset/a09cf6f8bea6d40467c8db7151c6bc4a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "84a9c855-2633-41cd-bebb-9185a47d5f6d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "84a9c855-2633-41cd-bebb-9185a47d5f6d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] [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/84a9c855-2633-41cd-bebb-9185a47d5f6d/fece56e1a5186707f7e5f3f3c1fdb56c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.320610"], ["id", "84a9c855-2633-41cd-bebb-9185a47d5f6d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a00be6d9-844c-4697-970f-d2fd5c2250da] Performed Kithe::AssetPromoteJob (Job ID: a00be6d9-844c-4697-970f-d2fd5c2250da) from Inline(default) in 8.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a00be6d9-844c-4697-970f-d2fd5c2250da) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "84a9c855-2633-41cd-bebb-9185a47d5f6d", "file", {"id"=>"asset/a09cf6f8bea6d40467c8db7151c6bc4a.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "84a9c855-2633-41cd-bebb-9185a47d5f6d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.328297"], ["updated_at", "2020-05-19 20:38:55.328297"], ["file_data", "{\"id\":\"asset/dd82ed6e72fc7225414a436fbeebfc7c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] Performing Kithe::AssetPromoteJob (Job ID: cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d79285c2-3616-48d7-bc2c-8b456ae19400", "file", {"id"=>"asset/dd82ed6e72fc7225414a436fbeebfc7c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] [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/d79285c2-3616-48d7-bc2c-8b456ae19400/43ae89cdab816fc207fffe28e1d92628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.341078"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3] Performed Kithe::AssetPromoteJob (Job ID: cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3) from Inline(default) in 11.55ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: cf1f8d7c-7ab5-46f7-903c-6e2235ba7ef3) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d79285c2-3616-48d7-bc2c-8b456ae19400", "file", {"id"=>"asset/dd82ed6e72fc7225414a436fbeebfc7c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d79285c2-3616-48d7-bc2c-8b456ae19400/43ae89cdab816fc207fffe28e1d92628.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"d79285c2-3616-48d7-bc2c-8b456ae19400/existing/6f952f0094ef4a8825f539cf3c0274c9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hl3w7q59m_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:38:55.385798"], ["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd79285c2-3616-48d7-bc2c-8b456ae19400'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd79285c2-3616-48d7-bc2c-8b456ae19400'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d79285c2-3616-48d7-bc2c-8b456ae19400"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [6f281a70-f441-4f3f-9139-85e8909bcefd] Performing Kithe::AssetDeleteJob (Job ID: 6f281a70-f441-4f3f-9139-85e8909bcefd) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/d79285c2-3616-48d7-bc2c-8b456ae19400/43ae89cdab816fc207fffe28e1d92628.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"d79285c2-3616-48d7-bc2c-8b456ae19400/existing/6f952f0094ef4a8825f539cf3c0274c9.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"hl3w7q59m_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [6f281a70-f441-4f3f-9139-85e8909bcefd] Performed Kithe::AssetDeleteJob (Job ID: 6f281a70-f441-4f3f-9139-85e8909bcefd) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 6f281a70-f441-4f3f-9139-85e8909bcefd) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/d79285c2-3616-48d7-bc2c-8b456ae19400/43ae89cdab816fc207fffe28e1d92628.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"d79285c2-3616-48d7-bc2c-8b456ae19400/existing/6f952f0094ef4a8825f539cf3c0274c9.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"hl3w7q59m_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.408505"], ["updated_at", "2020-05-19 20:38:55.408505"], ["file_data", "{\"id\":\"asset/a61db1a50114d8827ff2f705ecc99d7c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] Performing Kithe::AssetPromoteJob (Job ID: 4c261bf3-2c43-4d77-9943-43296ec63676) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5", "file", {"id"=>"asset/a61db1a50114d8827ff2f705ecc99d7c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] [1m[36mKithe::Asset Load (6.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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] [1m[35m (37.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] [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) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] [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/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/eae6054ad9879f8ae9832e106e428369.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.479018"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [4c261bf3-2c43-4d77-9943-43296ec63676] Performed Kithe::AssetPromoteJob (Job ID: 4c261bf3-2c43-4d77-9943-43296ec63676) from Inline(default) in 67.25ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 4c261bf3-2c43-4d77-9943-43296ec63676) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5", "file", {"id"=>"asset/a61db1a50114d8827ff2f705ecc99d7c.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+ [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/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/eae6054ad9879f8ae9832e106e428369.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/existing/9e1a896c117c7512b99a6afa974b6b15.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9ol4f6imn_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:38:55.524748"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/cee180b46c8b4820845d068e32de3aa8.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:38:55.559797"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [d6ce0705-a3f6-4bff-833f-80961bb46fff] Performing Kithe::AssetDeleteJob (Job ID: d6ce0705-a3f6-4bff-833f-80961bb46fff) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/eae6054ad9879f8ae9832e106e428369.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/existing/9e1a896c117c7512b99a6afa974b6b15.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"9ol4f6imn_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [d6ce0705-a3f6-4bff-833f-80961bb46fff] Performed Kithe::AssetDeleteJob (Job ID: d6ce0705-a3f6-4bff-833f-80961bb46fff) from Inline(default) in 0.17ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: d6ce0705-a3f6-4bff-833f-80961bb46fff) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/eae6054ad9879f8ae9832e106e428369.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/existing/9e1a896c117c7512b99a6afa974b6b15.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"9ol4f6imn_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] Performing Kithe::AssetPromoteJob (Job ID: 8c288852-5bfd-416f-8a1d-dbfd1c1ee17c) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5", "file", {"id"=>"asset/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/cee180b46c8b4820845d068e32de3aa8.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] [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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] [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) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] [1m[36mKithe::Asset 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/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/79b033b2379199f7b22151ff66cc84a4.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:38:55.577090"], ["id", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8c288852-5bfd-416f-8a1d-dbfd1c1ee17c] Performed Kithe::AssetPromoteJob (Job ID: 8c288852-5bfd-416f-8a1d-dbfd1c1ee17c) from Inline(default) in 14.54ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8c288852-5bfd-416f-8a1d-dbfd1c1ee17c) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e964eae2-b2fe-40d2-80f7-30c6bba3e5a5", "file", {"id"=>"asset/e964eae2-b2fe-40d2-80f7-30c6bba3e5a5/cee180b46c8b4820845d068e32de3aa8.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:55.583521"], ["updated_at", "2020-05-19 20:38:55.583521"], ["file_data", "{\"id\":\"asset/3bac54f8dcefe06c8139870b3ef705ca.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] Performing Kithe::AssetPromoteJob (Job ID: a6d474cf-a180-4267-aed3-0578b0058f19) from Inline(default) enqueued at 2020-05-19T20:38:55Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "95d6fd71-e427-4e8d-9551-c390ff21d958", "file", {"id"=>"asset/3bac54f8dcefe06c8139870b3ef705ca.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] [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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] [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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] [1m[36mKithe::Asset 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/95d6fd71-e427-4e8d-9551-c390ff21d958/1a0f0ed51e5590903652402c6ebe9142.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:38:55.599902"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a6d474cf-a180-4267-aed3-0578b0058f19] Performed Kithe::AssetPromoteJob (Job ID: a6d474cf-a180-4267-aed3-0578b0058f19) from Inline(default) in 16.74ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a6d474cf-a180-4267-aed3-0578b0058f19) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "95d6fd71-e427-4e8d-9551-c390ff21d958", "file", {"id"=>"asset/3bac54f8dcefe06c8139870b3ef705ca.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/95d6fd71-e427-4e8d-9551-c390ff21d958/1a0f0ed51e5590903652402c6ebe9142.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"95d6fd71-e427-4e8d-9551-c390ff21d958/existing/44e9a600444f87a816cf6b81a187c78f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1w3xf9gld_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:38:55.645115"], ["id", "95d6fd71-e427-4e8d-9551-c390ff21d958"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.649602"], ["updated_at", "2020-05-19 20:38:55.649602"], ["file_data", "{\"id\":\"asset/e80aaf8000c0df4bce5aa7fab82070c3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "33067d88-b992-4666-a93f-9ed566c0e533"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "33067d88-b992-4666-a93f-9ed566c0e533"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e80aaf8000c0df4bce5aa7fab82070c3.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"33067d88-b992-4666-a93f-9ed566c0e533/test/7922c95ffe4ca4275778c1c792823c70.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ebwpghsbc_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:38:55.660572"], ["id", "33067d88-b992-4666-a93f-9ed566c0e533"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.677090"], ["updated_at", "2020-05-19 20:38:55.677090"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:55.754864"], ["updated_at", "2020-05-19 20:38:55.754864"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "5535c238-76b5-4e06-b46c-d5515d7995f2"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.760364"], ["updated_at", "2020-05-19 20:38:55.760364"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "45d24d55-9302-4a62-83ff-7ee39199bea7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:38:55.776181"], ["updated_at", "2020-05-19 20:38:55.776181"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.778907"], ["updated_at", "2020-05-19 20:38:55.778907"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.5ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:38:55.793637"], ["updated_at", "2020-05-19 20:38:55.793637"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["container_id", "b2a164e9-259e-4bad-866e-863113e37ea6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "b2a164e9-259e-4bad-866e-863113e37ea6"]]
+ [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", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["container_id", "b2a164e9-259e-4bad-866e-863113e37ea6"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[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", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"], ["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["container_id", "b2a164e9-259e-4bad-866e-863113e37ea6"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a9fe7170-70dd-4b2a-a178-a05baf9dcf14'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a9fe7170-70dd-4b2a-a178-a05baf9dcf14'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a9fe7170-70dd-4b2a-a178-a05baf9dcf14"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["LIMIT", 1]]
+ [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", "b2a164e9-259e-4bad-866e-863113e37ea6"], ["LIMIT", 1]]
+ [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", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [1m[35m (0.5ms)[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", "b2a164e9-259e-4bad-866e-863113e37ea6"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:55.821098"], ["updated_at", "2020-05-19 20:38:55.821098"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "8969f9ac-a61a-4a56-ab93-9daef002468a"], ["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [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", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [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", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["containee_id", "8969f9ac-a61a-4a56-ab93-9daef002468a"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"], ["containee_id", "8969f9ac-a61a-4a56-ab93-9daef002468a"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '55442ca8-1d02-4828-bb3a-2a97bbc21ebc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '55442ca8-1d02-4828-bb3a-2a97bbc21ebc'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "55442ca8-1d02-4828-bb3a-2a97bbc21ebc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "8969f9ac-a61a-4a56-ab93-9daef002468a"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[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", "8969f9ac-a61a-4a56-ab93-9daef002468a"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.859721"], ["updated_at", "2020-05-19 20:38:55.859721"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.862378"], ["updated_at", "2020-05-19 20:38:55.862378"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c911164c-8d79-4363-bf47-88cf7a2fc62a"]]
+ [1m[36mKithe::Work Update (1.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-19 20:38:55.866535"], ["representative_id", "c911164c-8d79-4363-bf47-88cf7a2fc62a"], ["leaf_representative_id", "c911164c-8d79-4363-bf47-88cf7a2fc62a"], ["id", "56c608b0-ade3-459c-96a5-fa526dd3e85a"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c911164c-8d79-4363-bf47-88cf7a2fc62a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '56c608b0-ade3-459c-96a5-fa526dd3e85a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '56c608b0-ade3-459c-96a5-fa526dd3e85a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "56c608b0-ade3-459c-96a5-fa526dd3e85a"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "c911164c-8d79-4363-bf47-88cf7a2fc62a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (4.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-19 20:38:55.880071"], ["updated_at", "2020-05-19 20:38:55.880071"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:55.893405"], ["updated_at", "2020-05-19 20:38:55.893405"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "43aef29b-bf32-4825-b502-52c85df2ca80"]]
+ [1m[36mKithe::Work Create (1.4ms)[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-19 20:38:55.898564"], ["updated_at", "2020-05-19 20:38:55.898564"], ["representative_id", "43aef29b-bf32-4825-b502-52c85df2ca80"], ["leaf_representative_id", "43aef29b-bf32-4825-b502-52c85df2ca80"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '43aef29b-bf32-4825-b502-52c85df2ca80'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '26687562-fddb-4159-a518-97b4d034257a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '26687562-fddb-4159-a518-97b4d034257a'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "43aef29b-bf32-4825-b502-52c85df2ca80"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "26687562-fddb-4159-a518-97b4d034257a"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:55.908741"], ["updated_at", "2020-05-19 20:38:55.908741"], ["representative_id", "26687562-fddb-4159-a518-97b4d034257a"], ["leaf_representative_id", "43aef29b-bf32-4825-b502-52c85df2ca80"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '43aef29b-bf32-4825-b502-52c85df2ca80'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a735009e-3a81-431f-b55d-7411390304e0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a735009e-3a81-431f-b55d-7411390304e0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "43aef29b-bf32-4825-b502-52c85df2ca80"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [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-19 20:38:55.915760"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "a735009e-3a81-431f-b55d-7411390304e0"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a735009e-3a81-431f-b55d-7411390304e0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a735009e-3a81-431f-b55d-7411390304e0'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:55.927574"], ["updated_at", "2020-05-19 20:38:55.927574"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "08292ef1-a2f3-4aea-8d79-614800bd78d5"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:55.934296"], ["updated_at", "2020-05-19 20:38:55.934296"], ["representative_id", "08292ef1-a2f3-4aea-8d79-614800bd78d5"], ["leaf_representative_id", "08292ef1-a2f3-4aea-8d79-614800bd78d5"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '08292ef1-a2f3-4aea-8d79-614800bd78d5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '56494e25-5a72-4cd8-83ca-2d301335d8ff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '56494e25-5a72-4cd8-83ca-2d301335d8ff'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "56494e25-5a72-4cd8-83ca-2d301335d8ff"]]
+ [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-19 20:38:55.941052"], ["updated_at", "2020-05-19 20:38:55.941052"], ["representative_id", "56494e25-5a72-4cd8-83ca-2d301335d8ff"], ["leaf_representative_id", "08292ef1-a2f3-4aea-8d79-614800bd78d5"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '08292ef1-a2f3-4aea-8d79-614800bd78d5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd4f4c5ca-af04-4861-a6b4-f5b6678335b4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd4f4c5ca-af04-4861-a6b4-f5b6678335b4'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.9ms)[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-19 20:38:55.944753"], ["representative_id", "08292ef1-a2f3-4aea-8d79-614800bd78d5"], ["leaf_representative_id", "56494e25-5a72-4cd8-83ca-2d301335d8ff"], ["id", "d4f4c5ca-af04-4861-a6b4-f5b6678335b4"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '56494e25-5a72-4cd8-83ca-2d301335d8ff'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd4f4c5ca-af04-4861-a6b4-f5b6678335b4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd4f4c5ca-af04-4861-a6b4-f5b6678335b4'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-19 20:38:55.950559"], ["updated_at", "2020-05-19 20:38:55.950559"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:38:55.953586"], ["updated_at", "2020-05-19 20:38:55.953586"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "544f681c-495c-4533-827b-063ddc4c71fa"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:55.956914"], ["updated_at", "2020-05-19 20:38:55.956914"], ["representative_id", "544f681c-495c-4533-827b-063ddc4c71fa"], ["leaf_representative_id", "544f681c-495c-4533-827b-063ddc4c71fa"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '544f681c-495c-4533-827b-063ddc4c71fa'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '391cc519-d397-46e9-a4e1-5638a898867e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '391cc519-d397-46e9-a4e1-5638a898867e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "391cc519-d397-46e9-a4e1-5638a898867e"]]
+ [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-19 20:38:55.961045"], ["updated_at", "2020-05-19 20:38:55.961045"], ["representative_id", "391cc519-d397-46e9-a4e1-5638a898867e"], ["leaf_representative_id", "544f681c-495c-4533-827b-063ddc4c71fa"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '544f681c-495c-4533-827b-063ddc4c71fa'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '762be16d-9ac4-4dc9-9d8d-ed20b3e5c08f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '762be16d-9ac4-4dc9-9d8d-ed20b3e5c08f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:55.964442"], ["leaf_representative_id", "e0a6326c-8ca7-42d4-b311-19029665a63c"], ["id", "762be16d-9ac4-4dc9-9d8d-ed20b3e5c08f"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e0a6326c-8ca7-42d4-b311-19029665a63c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '762be16d-9ac4-4dc9-9d8d-ed20b3e5c08f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '762be16d-9ac4-4dc9-9d8d-ed20b3e5c08f'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "e0a6326c-8ca7-42d4-b311-19029665a63c"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "391cc519-d397-46e9-a4e1-5638a898867e"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "544f681c-495c-4533-827b-063ddc4c71fa"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.976967"], ["updated_at", "2020-05-19 20:38:55.976967"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:55.979439"], ["updated_at", "2020-05-19 20:38:55.979439"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5e69327b-a810-4139-ba04-4af176fcf903"]]
+ [1m[36mKithe::Work Update (0.9ms)[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-19 20:38:55.982503"], ["representative_id", "5e69327b-a810-4139-ba04-4af176fcf903"], ["leaf_representative_id", "5e69327b-a810-4139-ba04-4af176fcf903"], ["id", "b13cb244-059f-4151-9f19-1dff43e90d84"]]
+ [1m[35m (1.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5e69327b-a810-4139-ba04-4af176fcf903'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b13cb244-059f-4151-9f19-1dff43e90d84'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b13cb244-059f-4151-9f19-1dff43e90d84'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b13cb244-059f-4151-9f19-1dff43e90d84"]]
+ [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-19 20:38:55.989366"], ["representative_id", "b13cb244-059f-4151-9f19-1dff43e90d84"], ["leaf_representative_id", "5e69327b-a810-4139-ba04-4af176fcf903"], ["id", "5e69327b-a810-4139-ba04-4af176fcf903"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '5e69327b-a810-4139-ba04-4af176fcf903'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5e69327b-a810-4139-ba04-4af176fcf903'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5e69327b-a810-4139-ba04-4af176fcf903'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:55.994857"], ["updated_at", "2020-05-19 20:38:55.994857"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:38:55.997785"], ["updated_at", "2020-05-19 20:38:55.997785"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e7e32a5a-470e-472c-ab38-70ff80d5454e"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.004155"], ["updated_at", "2020-05-19 20:38:56.004155"], ["representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ed8378af-8369-44ec-a1f0-f2e8fb175e98'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ed8378af-8369-44ec-a1f0-f2e8fb175e98'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1c4e21b4-8e9e-4e3e-bcac-69552bc708ca"]]
+ [1m[36mKithe::Work Create (0.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-19 20:38:56.008299"], ["updated_at", "2020-05-19 20:38:56.008299"], ["representative_id", "1c4e21b4-8e9e-4e3e-bcac-69552bc708ca"], ["leaf_representative_id", "1c4e21b4-8e9e-4e3e-bcac-69552bc708ca"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1c4e21b4-8e9e-4e3e-bcac-69552bc708ca'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '95190731-0489-4eb4-abda-820da19caeef'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '95190731-0489-4eb4-abda-820da19caeef'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ed8378af-8369-44ec-a1f0-f2e8fb175e98"]]
+ [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-19 20:38:56.012371"], ["updated_at", "2020-05-19 20:38:56.012371"], ["representative_id", "ed8378af-8369-44ec-a1f0-f2e8fb175e98"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dc602a11-fd86-49fa-9532-22711fcfc31f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dc602a11-fd86-49fa-9532-22711fcfc31f'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ed8378af-8369-44ec-a1f0-f2e8fb175e98"]]
+ [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-19 20:38:56.017034"], ["updated_at", "2020-05-19 20:38:56.017034"], ["representative_id", "ed8378af-8369-44ec-a1f0-f2e8fb175e98"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4d216eee-e62f-4410-a698-657222cc516b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4d216eee-e62f-4410-a698-657222cc516b'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "95190731-0489-4eb4-abda-820da19caeef"]]
+ [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-19 20:38:56.021818"], ["updated_at", "2020-05-19 20:38:56.021818"], ["representative_id", "95190731-0489-4eb4-abda-820da19caeef"], ["leaf_representative_id", "1c4e21b4-8e9e-4e3e-bcac-69552bc708ca"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1c4e21b4-8e9e-4e3e-bcac-69552bc708ca'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '52ddbeb9-cbd4-4df2-aa80-1be931b498e1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '52ddbeb9-cbd4-4df2-aa80-1be931b498e1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "dc602a11-fd86-49fa-9532-22711fcfc31f"]]
+ [1m[36mKithe::Work Create (0.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", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.025605"], ["updated_at", "2020-05-19 20:38:56.025605"], ["representative_id", "dc602a11-fd86-49fa-9532-22711fcfc31f"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '00e3f0dc-7567-4dd8-9f25-8771caa7d827'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '00e3f0dc-7567-4dd8-9f25-8771caa7d827'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "00e3f0dc-7567-4dd8-9f25-8771caa7d827"]]
+ [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-19 20:38:56.029590"], ["updated_at", "2020-05-19 20:38:56.029590"], ["representative_id", "00e3f0dc-7567-4dd8-9f25-8771caa7d827"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd4791267-f92e-4470-95ff-3a7238443695'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd4791267-f92e-4470-95ff-3a7238443695'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "00e3f0dc-7567-4dd8-9f25-8771caa7d827"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.033856"], ["updated_at", "2020-05-19 20:38:56.033856"], ["representative_id", "00e3f0dc-7567-4dd8-9f25-8771caa7d827"], ["leaf_representative_id", "e7e32a5a-470e-472c-ab38-70ff80d5454e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e7e32a5a-470e-472c-ab38-70ff80d5454e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a8a01574-56ca-40ce-a49e-4bff0d1974ba'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a8a01574-56ca-40ce-a49e-4bff0d1974ba'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "95190731-0489-4eb4-abda-820da19caeef"]]
+ [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-19 20:38:56.037283"], ["representative_id", "95190731-0489-4eb4-abda-820da19caeef"], ["leaf_representative_id", "1c4e21b4-8e9e-4e3e-bcac-69552bc708ca"], ["id", "dc602a11-fd86-49fa-9532-22711fcfc31f"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1c4e21b4-8e9e-4e3e-bcac-69552bc708ca'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dc602a11-fd86-49fa-9532-22711fcfc31f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dc602a11-fd86-49fa-9532-22711fcfc31f'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dc602a11-fd86-49fa-9532-22711fcfc31f"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "00e3f0dc-7567-4dd8-9f25-8771caa7d827"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d4791267-f92e-4470-95ff-3a7238443695"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a8a01574-56ca-40ce-a49e-4bff0d1974ba"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "4d216eee-e62f-4410-a698-657222cc516b"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ed8378af-8369-44ec-a1f0-f2e8fb175e98"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:56.050029"], ["updated_at", "2020-05-19 20:38:56.050029"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:38:56.052404"], ["updated_at", "2020-05-19 20:38:56.052404"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d4529d41-bd98-4261-94c0-5d1e1112e572"]]
+ [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-19 20:38:56.055443"], ["updated_at", "2020-05-19 20:38:56.055443"], ["representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4b2041c4-f838-412c-b1a6-7c9a6a30a4b3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4b2041c4-f838-412c-b1a6-7c9a6a30a4b3'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4ff52789-2d78-4131-9daa-3a409b99942e"]]
+ [1m[36mKithe::Work Create (0.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-19 20:38:56.059329"], ["updated_at", "2020-05-19 20:38:56.059329"], ["representative_id", "4ff52789-2d78-4131-9daa-3a409b99942e"], ["leaf_representative_id", "4ff52789-2d78-4131-9daa-3a409b99942e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4ff52789-2d78-4131-9daa-3a409b99942e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '3c436489-3000-44d3-9d0f-39aee6c3daf6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '3c436489-3000-44d3-9d0f-39aee6c3daf6'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4b2041c4-f838-412c-b1a6-7c9a6a30a4b3"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.063364"], ["updated_at", "2020-05-19 20:38:56.063364"], ["representative_id", "4b2041c4-f838-412c-b1a6-7c9a6a30a4b3"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '8593a127-1ee4-4995-bc7a-cfcebf3252f1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '8593a127-1ee4-4995-bc7a-cfcebf3252f1'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4b2041c4-f838-412c-b1a6-7c9a6a30a4b3"]]
+ [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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.068250"], ["updated_at", "2020-05-19 20:38:56.068250"], ["representative_id", "4b2041c4-f838-412c-b1a6-7c9a6a30a4b3"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'dde07938-89ba-4129-8e0a-f459711a8197'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'dde07938-89ba-4129-8e0a-f459711a8197'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "3c436489-3000-44d3-9d0f-39aee6c3daf6"]]
+ [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-19 20:38:56.073359"], ["updated_at", "2020-05-19 20:38:56.073359"], ["representative_id", "3c436489-3000-44d3-9d0f-39aee6c3daf6"], ["leaf_representative_id", "4ff52789-2d78-4131-9daa-3a409b99942e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4ff52789-2d78-4131-9daa-3a409b99942e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '04ee95be-ff16-4bc8-881b-4ac971d08a3a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '04ee95be-ff16-4bc8-881b-4ac971d08a3a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "8593a127-1ee4-4995-bc7a-cfcebf3252f1"]]
+ [1m[36mKithe::Work Create (0.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", "grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.077276"], ["updated_at", "2020-05-19 20:38:56.077276"], ["representative_id", "8593a127-1ee4-4995-bc7a-cfcebf3252f1"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9531ed91-63a6-4567-989d-8b3820151951'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9531ed91-63a6-4567-989d-8b3820151951'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "9531ed91-63a6-4567-989d-8b3820151951"]]
+ [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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.081471"], ["updated_at", "2020-05-19 20:38:56.081471"], ["representative_id", "9531ed91-63a6-4567-989d-8b3820151951"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ffe48ee8-2f4d-47eb-ba73-19ec3ccb6b42'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ffe48ee8-2f4d-47eb-ba73-19ec3ccb6b42'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "9531ed91-63a6-4567-989d-8b3820151951"]]
+ [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-19 20:38:56.086425"], ["updated_at", "2020-05-19 20:38:56.086425"], ["representative_id", "9531ed91-63a6-4567-989d-8b3820151951"], ["leaf_representative_id", "d4529d41-bd98-4261-94c0-5d1e1112e572"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd4529d41-bd98-4261-94c0-5d1e1112e572'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4ed7ebe9-3acd-4774-93f2-f216ed502bda'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4ed7ebe9-3acd-4774-93f2-f216ed502bda'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "4ff52789-2d78-4131-9daa-3a409b99942e"]]
+ [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-19 20:38:56.090112"], ["representative_id", "4ff52789-2d78-4131-9daa-3a409b99942e"], ["leaf_representative_id", "4ff52789-2d78-4131-9daa-3a409b99942e"], ["id", "4b2041c4-f838-412c-b1a6-7c9a6a30a4b3"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '4ff52789-2d78-4131-9daa-3a409b99942e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4b2041c4-f838-412c-b1a6-7c9a6a30a4b3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4b2041c4-f838-412c-b1a6-7c9a6a30a4b3'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "8593a127-1ee4-4995-bc7a-cfcebf3252f1"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "dde07938-89ba-4129-8e0a-f459711a8197"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "9531ed91-63a6-4567-989d-8b3820151951"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ffe48ee8-2f4d-47eb-ba73-19ec3ccb6b42"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "4ed7ebe9-3acd-4774-93f2-f216ed502bda"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:56.102501"], ["updated_at", "2020-05-19 20:38:56.102501"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2b74b366-97e8-4732-9f07-04f44236409c"]]
+ [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-19 20:38:56.106016"], ["updated_at", "2020-05-19 20:38:56.106016"], ["representative_id", "2b74b366-97e8-4732-9f07-04f44236409c"], ["leaf_representative_id", "2b74b366-97e8-4732-9f07-04f44236409c"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2b74b366-97e8-4732-9f07-04f44236409c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1544e7dd-ba2e-4c15-8e6b-20c2993d973e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1544e7dd-ba2e-4c15-8e6b-20c2993d973e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1544e7dd-ba2e-4c15-8e6b-20c2993d973e"]]
+ [1m[36mKithe::Collection Create (0.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", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:38:56.110031"], ["updated_at", "2020-05-19 20:38:56.110031"], ["representative_id", "1544e7dd-ba2e-4c15-8e6b-20c2993d973e"], ["leaf_representative_id", "2b74b366-97e8-4732-9f07-04f44236409c"], ["kithe_model_type", 0]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '2b74b366-97e8-4732-9f07-04f44236409c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7d0fac36-9e31-43b6-a840-4fce0375c6bd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7d0fac36-9e31-43b6-a840-4fce0375c6bd'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2b74b366-97e8-4732-9f07-04f44236409c"]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.133711"], ["updated_at", "2020-05-19 20:38:56.133711"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "aaed88cb-3797-448f-b659-fa201b8fe169"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.138787"], ["updated_at", "2020-05-19 20:38:56.138787"], ["representative_id", "aaed88cb-3797-448f-b659-fa201b8fe169"], ["leaf_representative_id", "aaed88cb-3797-448f-b659-fa201b8fe169"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'aaed88cb-3797-448f-b659-fa201b8fe169'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b57fa331-69c8-45c5-b6ae-43eb272a3e43'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b57fa331-69c8-45c5-b6ae-43eb272a3e43'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "aaed88cb-3797-448f-b659-fa201b8fe169"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "aaed88cb-3797-448f-b659-fa201b8fe169"]]
+ [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", "aaed88cb-3797-448f-b659-fa201b8fe169"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "aaed88cb-3797-448f-b659-fa201b8fe169"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'aaed88cb-3797-448f-b659-fa201b8fe169'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'aaed88cb-3797-448f-b659-fa201b8fe169'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.8ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "aaed88cb-3797-448f-b659-fa201b8fe169"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (1.0ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b57fa331-69c8-45c5-b6ae-43eb272a3e43"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:56.156301"], ["updated_at", "2020-05-19 20:38:56.156301"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "291df019-b56d-42a1-8234-7bca121eeb62"]]
+ [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-19 20:38:56.162609"], ["updated_at", "2020-05-19 20:38:56.162609"], ["representative_id", "291df019-b56d-42a1-8234-7bca121eeb62"], ["leaf_representative_id", "291df019-b56d-42a1-8234-7bca121eeb62"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '291df019-b56d-42a1-8234-7bca121eeb62'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '21d844e5-c27c-4ca5-bbd7-abc762bd7ac7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '21d844e5-c27c-4ca5-bbd7-abc762bd7ac7'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"]]
+ [1m[36mKithe::Work Create (1.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.168860"], ["updated_at", "2020-05-19 20:38:56.168860"], ["representative_id", "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"], ["leaf_representative_id", "291df019-b56d-42a1-8234-7bca121eeb62"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '291df019-b56d-42a1-8234-7bca121eeb62'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7fa8de63-49f3-447f-8a22-bcf12f7c9133'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7fa8de63-49f3-447f-8a22-bcf12f7c9133'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"]]
+ [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", "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '21d844e5-c27c-4ca5-bbd7-abc762bd7ac7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '21d844e5-c27c-4ca5-bbd7-abc762bd7ac7'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "21d844e5-c27c-4ca5-bbd7-abc762bd7ac7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "7fa8de63-49f3-447f-8a22-bcf12f7c9133"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:56.182038"], ["updated_at", "2020-05-19 20:38:56.182038"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "18cdf901-d7b3-4c2d-9814-dda21a4889bf"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.188623"], ["updated_at", "2020-05-19 20:38:56.188623"], ["representative_id", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"], ["leaf_representative_id", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '18cdf901-d7b3-4c2d-9814-dda21a4889bf'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '18ab2f70-1912-4ab3-9b80-d6dc2e9511dd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '18ab2f70-1912-4ab3-9b80-d6dc2e9511dd'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "18ab2f70-1912-4ab3-9b80-d6dc2e9511dd"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.193572"], ["updated_at", "2020-05-19 20:38:56.193572"], ["representative_id", "18ab2f70-1912-4ab3-9b80-d6dc2e9511dd"], ["leaf_representative_id", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '18cdf901-d7b3-4c2d-9814-dda21a4889bf'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ed0119bc-f5e0-4264-bc40-9c8ba982bdc9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ed0119bc-f5e0-4264-bc40-9c8ba982bdc9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"]]
+ [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", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"]]
+ [1m[35m (2.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '18cdf901-d7b3-4c2d-9814-dda21a4889bf'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '18cdf901-d7b3-4c2d-9814-dda21a4889bf'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "18cdf901-d7b3-4c2d-9814-dda21a4889bf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ed0119bc-f5e0-4264-bc40-9c8ba982bdc9"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "18ab2f70-1912-4ab3-9b80-d6dc2e9511dd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.209098"], ["updated_at", "2020-05-19 20:38:56.209098"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.217530"], ["updated_at", "2020-05-19 20:38:56.217530"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:56.221880"], ["updated_at", "2020-05-19 20:38:56.221880"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.224880"], ["parent_id", "ff0cb9ff-43a1-4227-b9d7-b59aa276e15b"], ["id", "b59bd109-f241-45d5-9091-bc095159003e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "b59bd109-f241-45d5-9091-bc095159003e"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "ff0cb9ff-43a1-4227-b9d7-b59aa276e15b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 20:38:56.235357"], ["updated_at", "2020-05-19 20:38:56.235357"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:38:56.237988"], ["updated_at", "2020-05-19 20:38:56.237988"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.240260"], ["parent_id", "945408a0-3eb5-45b6-b8c2-50ac336add7a"], ["id", "ae6055a6-c52a-4fc6-9f40-8c69564e393a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ae6055a6-c52a-4fc6-9f40-8c69564e393a"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "945408a0-3eb5-45b6-b8c2-50ac336add7a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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 Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.250295"], ["updated_at", "2020-05-19 20:38:56.250295"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:38:56.258261"], ["updated_at", "2020-05-19 20:38:56.258261"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:38:56.263290"], ["updated_at", "2020-05-19 20:38:56.263290"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "90fbd62f-88d3-401d-8256-49c3aa236f9c"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:38:56.272528"], ["updated_at", "2020-05-19 20:38:56.272528"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "638bb47e-6aff-4b5b-8b6d-c08bddfd880a"], ["container_id", "90fbd62f-88d3-401d-8256-49c3aa236f9c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Create (0.5ms)[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-19 20:38:56.291199"], ["updated_at", "2020-05-19 20:38:56.291199"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "29c49dab-d44a-4b45-bff7-2bf80d3d9ecd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:38:56.343476"], ["updated_at", "2020-05-19 20:38:56.343476"], ["file_data", "{\"id\":\"asset/3893cc541eea99154290d00f91e11349.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.382628"], ["file_data", "{\"id\":\"asset/c1258c03-bad1-4ce1-a4c5-a93565ba2071/834fe5c6d733c422fab1bf3946ab79ce.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "c1258c03-bad1-4ce1-a4c5-a93565ba2071"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "c1258c03-bad1-4ce1-a4c5-a93565ba2071"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.496397"], ["updated_at", "2020-05-19 20:38:56.496397"], ["file_data", "{\"id\":\"asset/62384093f938d3c4111a48416c2843ce.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "ba90d157-0d78-4389-9f91-a28e9e18dccf"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (5.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "ChecksumAsset"], ["created_at", "2020-05-19 20:38:56.556344"], ["updated_at", "2020-05-19 20:38:56.556344"], ["file_data", "{\"id\":\"asset/7e658a346dd3760d6dcb46968042f654.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.600680"], ["file_data", "{\"id\":\"asset/6feff346-6568-4739-b740-86b59074aa1c/f8cc6c3c75e17e779de392d2e53abd8d.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "6feff346-6568-4739-b740-86b59074aa1c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "6feff346-6568-4739-b740-86b59074aa1c"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "ChecksumAsset"], ["id", "6feff346-6568-4739-b740-86b59074aa1c"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.637646"], ["file_data", "{\"id\":\"asset/6feff346-6568-4739-b740-86b59074aa1c/f8cc6c3c75e17e779de392d2e53abd8d.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\":\"6feff346-6568-4739-b740-86b59074aa1c/test/faf64c087fd31b10de6ff2df97bb9c15.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"i4x4tzf3r_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6feff346-6568-4739-b740-86b59074aa1c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:56.658248"], ["updated_at", "2020-05-19 20:38:56.658248"], ["file_data", "{\"id\":\"asset/4703068d3b3236b030b90c0ae8e62535.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.661761"], ["file_data", "{\"id\":\"asset/15da798d-1955-4ad4-a35e-5d87458eff8f/ef9274c696a416945c8e9fba1f01264e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "15da798d-1955-4ad4-a35e-5d87458eff8f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "15da798d-1955-4ad4-a35e-5d87458eff8f"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:56.715535"], ["updated_at", "2020-05-19 20:38:56.715535"], ["file_data", "{\"id\":\"asset/0c3c62ff35e3c9bd8b4495f119e9b738.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.721482"], ["file_data", "{\"id\":\"asset/0dab95f2-7441-4412-83df-f9cd8b3f9cd2/7c7f802b48758d05ebd0a170f2899ffa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0dab95f2-7441-4412-83df-f9cd8b3f9cd2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:56.739104"], ["updated_at", "2020-05-19 20:38:56.739104"], ["file_data", "{\"id\":\"asset/d9816cb9cd12199159b3046c97477d7e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.742477"], ["file_data", "{\"id\":\"asset/eabdb85e-ea58-4468-beef-a733fff25f00/6f9778e8e5cd7714aeb57f254be1eeac.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "eabdb85e-ea58-4468-beef-a733fff25f00"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:56.762406"], ["updated_at", "2020-05-19 20:38:56.762406"], ["file_data", "{\"id\":\"asset/9616941af69a13721f0ad1e6b7f34fef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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-19 20:38:56.765941"], ["file_data", "{\"id\":\"asset/f4580404-cbe1-4303-aa16-7c7f274f84f8/91dc1a430dcf49c6a14f043ceb39d627.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f4580404-cbe1-4303-aa16-7c7f274f84f8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 20:38:56.782781"], ["updated_at", "2020-05-19 20:38:56.782781"], ["file_data", "{\"id\":\"asset/273ab669057e9412a8709a51718c2269.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:56.787747"], ["file_data", "{\"id\":\"asset/a79f0c24-7100-4afa-936c-a80531cc9fe7/8e2e8c534779272236e1a855391ceee4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a79f0c24-7100-4afa-936c-a80531cc9fe7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a79f0c24-7100-4afa-936c-a80531cc9fe7"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:56.871162"], ["updated_at", "2020-05-19 20:38:56.871162"], ["file_data", "{\"id\":\"asset/1de6ae330dfcb96ae52f1520a46cac3d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.874639"], ["file_data", "{\"id\":\"asset/bfef8f97-23ff-4f56-bc14-a525c4509fe3/3a89fffc3d5caffad6adc03091180e06.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "bfef8f97-23ff-4f56-bc14-a525c4509fe3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "bfef8f97-23ff-4f56-bc14-a525c4509fe3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.939946"], ["updated_at", "2020-05-19 20:38:56.939946"], ["file_data", "{\"id\":\"asset/fe05c83fb0659132f867eed05664640b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.944217"], ["file_data", "{\"id\":\"asset/cb9a88a0-c0dc-4f2a-a43c-a809ce98756c/0cff9292db10a9d6fede9b3e1e93bb79.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "cb9a88a0-c0dc-4f2a-a43c-a809ce98756c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "cb9a88a0-c0dc-4f2a-a43c-a809ce98756c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:56.994691"], ["updated_at", "2020-05-19 20:38:56.994691"], ["file_data", "{\"id\":\"asset/53019ec1516c694c248b72e08f51ea8e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:56.998441"], ["file_data", "{\"id\":\"asset/ef60ba8d-0f3e-411a-b617-8eb8295527d5/9566d9e54fbcb5908700d788fb91d875.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ef60ba8d-0f3e-411a-b617-8eb8295527d5"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "ef60ba8d-0f3e-411a-b617-8eb8295527d5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:57.078534"], ["updated_at", "2020-05-19 20:38:57.078534"], ["file_data", "{\"id\":\"asset/4227f9ad3f0a810ccb16337495740c07.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.082987"], ["file_data", "{\"id\":\"asset/d11bd2f5-e69c-418b-9f45-717366003bfc/93ef32cb7e10d1485dae8f21cd71fc0f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d11bd2f5-e69c-418b-9f45-717366003bfc"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d11bd2f5-e69c-418b-9f45-717366003bfc"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:57.171156"], ["updated_at", "2020-05-19 20:38:57.171156"], ["file_data", "{\"id\":\"asset/8d81d23a7835eacaddbbc4cc306af137.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.175498"], ["file_data", "{\"id\":\"asset/1d1f20c4-d674-4f69-b28a-d0b33de0f5c0/6003e939cf0643ba9bbce5250e7421c6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "1d1f20c4-d674-4f69-b28a-d0b33de0f5c0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "1d1f20c4-d674-4f69-b28a-d0b33de0f5c0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:57.259240"], ["updated_at", "2020-05-19 20:38:57.259240"], ["file_data", "{\"id\":\"asset/a68402a9d52e38bde394194ace6418ec.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.262906"], ["file_data", "{\"id\":\"asset/12e20f43-a735-4a4b-9d8d-77c319bd35b4/eaa9550c0299d54e962576a5a587f482.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "12e20f43-a735-4a4b-9d8d-77c319bd35b4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "12e20f43-a735-4a4b-9d8d-77c319bd35b4"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:38:57.351394"], ["updated_at", "2020-05-19 20:38:57.351394"], ["file_data", "{\"id\":\"asset/a8c0b237fd05145b9583d99c10da9d74.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.356485"], ["file_data", "{\"id\":\"asset/f6636cab-4e29-4e4b-a930-465ed1821a17/7fe38a9c9d9efea0342ce33d3818cea7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f6636cab-4e29-4e4b-a930-465ed1821a17"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (56.9ms)[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", "f6636cab-4e29-4e4b-a930-465ed1821a17"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:38:57.475320"], ["updated_at", "2020-05-19 20:38:57.475320"], ["file_data", "{\"id\":\"asset/631dc25428f6254dc216b045b6cf721e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.485310"], ["file_data", "{\"id\":\"asset/b1cdbe43-b108-40b0-aa87-dfbc012ac450/25bdf65f3c5d466be43838c9b5383583.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b1cdbe43-b108-40b0-aa87-dfbc012ac450"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b1cdbe43-b108-40b0-aa87-dfbc012ac450"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.539008"], ["updated_at", "2020-05-19 20:38:57.539008"], ["file_data", "{\"id\":\"asset/e2d76a1cba9a113cfa615dcb4ffc234e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.543327"], ["file_data", "{\"id\":\"asset/a1b7e926-9e33-4010-a94d-586a91a722f5/9743fe32ce142a36877ccbc141e2dfc2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"], ["LIMIT", 1]]
+ [1m[36mCustomAsset 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-19 20:38:57.581313"], ["file_data", "{\"id\":\"asset/a1b7e926-9e33-4010-a94d-586a91a722f5/9743fe32ce142a36877ccbc141e2dfc2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"a1b7e926-9e33-4010-a94d-586a91a722f5/some_data/7c1535a6366f560b4261614981c1fae1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sj3svktk0_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.618095"], ["file_data", "{\"id\":\"asset/a1b7e926-9e33-4010-a94d-586a91a722f5/9743fe32ce142a36877ccbc141e2dfc2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"a1b7e926-9e33-4010-a94d-586a91a722f5/some_data/7c1535a6366f560b4261614981c1fae1.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"sj3svktk0_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"a1b7e926-9e33-4010-a94d-586a91a722f5/a_jpg/c4e8553f7971528138f5c20ee4e3ba99.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sj3svktk0_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a1b7e926-9e33-4010-a94d-586a91a722f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:57.643506"], ["updated_at", "2020-05-19 20:38:57.643506"], ["file_data", "{\"id\":\"asset/7f4c8b21e21b32a7f38ea1ceb4fbac01.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.646967"], ["file_data", "{\"id\":\"asset/865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1/774826ab6516d9a8f5c0150a986bcee9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.656775"], ["file_data", "{\"id\":\"asset/865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1/774826ab6516d9a8f5c0150a986bcee9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1/sample/ffc18f503a568de7d959cde74d6e3bf3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4epskmeho_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "865231fd-cf2f-46e5-b8db-f8e1f1a8c9b1"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:57.664521"], ["updated_at", "2020-05-19 20:38:57.664521"], ["file_data", "{\"id\":\"asset/9a02b61483a872d5993853e7b2866f22.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.669605"], ["file_data", "{\"id\":\"asset/dfffc740-7b3e-4a7e-8887-f7d693602537/12b32cf74f6adb1cedf3f8e2070a72b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "dfffc740-7b3e-4a7e-8887-f7d693602537"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dfffc740-7b3e-4a7e-8887-f7d693602537"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "dfffc740-7b3e-4a7e-8887-f7d693602537"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.677594"], ["file_data", "{\"id\":\"asset/dfffc740-7b3e-4a7e-8887-f7d693602537/12b32cf74f6adb1cedf3f8e2070a72b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"dfffc740-7b3e-4a7e-8887-f7d693602537/sample/bee2d42f5871756ffdf5949a479696dc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ip0a5rdbe_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "dfffc740-7b3e-4a7e-8887-f7d693602537"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.683460"], ["updated_at", "2020-05-19 20:38:57.683460"], ["file_data", "{\"id\":\"asset/a0027b087bffd29455c928d58d4b1dad.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.689161"], ["file_data", "{\"id\":\"asset/5a9d5ef0-a9d9-456c-8118-924da996453e/a52287db9c52a63947e0c9bea56c5804.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "5a9d5ef0-a9d9-456c-8118-924da996453e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a9d5ef0-a9d9-456c-8118-924da996453e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a9d5ef0-a9d9-456c-8118-924da996453e"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.696261"], ["file_data", "{\"id\":\"asset/5a9d5ef0-a9d9-456c-8118-924da996453e/a52287db9c52a63947e0c9bea56c5804.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"5a9d5ef0-a9d9-456c-8118-924da996453e/sample/d11c9557dee8bd47266308d3d16740b2.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"o69anotqj_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "5a9d5ef0-a9d9-456c-8118-924da996453e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "5a9d5ef0-a9d9-456c-8118-924da996453e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:57.704675"], ["updated_at", "2020-05-19 20:38:57.704675"], ["file_data", "{\"id\":\"asset/1f4913469bb345ce60fb1bad9c19ed05.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.708291"], ["file_data", "{\"id\":\"asset/9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e/d2036d03a5961d51eb8ba207b3cf41fa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.715390"], ["file_data", "{\"id\":\"asset/9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e/d2036d03a5961d51eb8ba207b3cf41fa.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e/sample/5b46ce93c907716ce57026c2c181b977.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5hsqrrhhh_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9ad9c82a-ae7f-46f8-bbb9-1af7a1d61d2e"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:57.724058"], ["updated_at", "2020-05-19 20:38:57.724058"], ["file_data", "{\"id\":\"asset/4e8d74aea9f3f3a1add51cab1b6eeccb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.726898"], ["file_data", "{\"id\":\"asset/bf76f24d-be74-4f6a-b87e-358081fbd0a9/b8cbd9aa0d91b497fa7872186558d862.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bf76f24d-be74-4f6a-b87e-358081fbd0a9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:57.732511"], ["updated_at", "2020-05-19 20:38:57.732511"], ["file_data", "{\"id\":\"asset/8c9caf95954473ace150fbb0caee694f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.738420"], ["file_data", "{\"id\":\"asset/9293354e-60c9-4aa4-ba71-c336a833fee8/dcfe2f9f0bbf4e1ae3ffa6db463391ce.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9293354e-60c9-4aa4-ba71-c336a833fee8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9293354e-60c9-4aa4-ba71-c336a833fee8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9293354e-60c9-4aa4-ba71-c336a833fee8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 20:38:57.745443"], ["file_data", "{\"id\":\"asset/9293354e-60c9-4aa4-ba71-c336a833fee8/dcfe2f9f0bbf4e1ae3ffa6db463391ce.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"9293354e-60c9-4aa4-ba71-c336a833fee8/sample/c0f0558250aeb656ee56c32a44354d61.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zafgrypzr_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "9293354e-60c9-4aa4-ba71-c336a833fee8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "9293354e-60c9-4aa4-ba71-c336a833fee8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:57.758123"], ["updated_at", "2020-05-19 20:38:57.758123"], ["file_data", "{\"id\":\"asset/136ee6c65856f06551faf81936857883.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.761517"], ["file_data", "{\"id\":\"asset/707c7624-e597-4359-aa6a-75e30528ff43/828908ee0b773baba8a17340c55b4006.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "707c7624-e597-4359-aa6a-75e30528ff43"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "707c7624-e597-4359-aa6a-75e30528ff43"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.801898"], ["file_data", "{\"id\":\"asset/707c7624-e597-4359-aa6a-75e30528ff43/828908ee0b773baba8a17340c55b4006.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"707c7624-e597-4359-aa6a-75e30528ff43/key/1097beecef14041d093511c510b25ad4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ommllhxh7_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "707c7624-e597-4359-aa6a-75e30528ff43"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "707c7624-e597-4359-aa6a-75e30528ff43"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.844410"], ["file_data", "{\"id\":\"asset/707c7624-e597-4359-aa6a-75e30528ff43/828908ee0b773baba8a17340c55b4006.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"707c7624-e597-4359-aa6a-75e30528ff43/key/d843a906258da00ac0b5a5520eea94d6.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ommllhxh7_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "707c7624-e597-4359-aa6a-75e30528ff43"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:57.851640"], ["updated_at", "2020-05-19 20:38:57.851640"], ["file_data", "{\"id\":\"asset/0b70b5a2326e9c547a938fe735ee9231.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.857093"], ["file_data", "{\"id\":\"asset/c7502ddf-99ec-4618-b5fb-cf9c2d8db495/09e3fb5d623d69068e06eaef94fec49e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c7502ddf-99ec-4618-b5fb-cf9c2d8db495"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c7502ddf-99ec-4618-b5fb-cf9c2d8db495"]]
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c7502ddf-99ec-4618-b5fb-cf9c2d8db495"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "c7502ddf-99ec-4618-b5fb-cf9c2d8db495"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:57.870898"], ["updated_at", "2020-05-19 20:38:57.870898"], ["file_data", "{\"id\":\"asset/6128419e8c8eaf90a62e19bfa06022f1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.874350"], ["file_data", "{\"id\":\"asset/761e05df-bddd-45de-b646-1dab58ee6ea4/50f5bed4b3a11f3c5c691c88df1a9a37.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/761e05df-bddd-45de-b646-1dab58ee6ea4/032cbd7f39006bd9f57bb46317791b8b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:38:57.881453"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 87ed8500-1e42-4395-8d0a-f22bb517aaa6) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/761e05df-bddd-45de-b646-1dab58ee6ea4/50f5bed4b3a11f3c5c691c88df1a9a37.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fb58dc1a-9dc6-4fbd-91bf-c59cc5099f38) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "761e05df-bddd-45de-b646-1dab58ee6ea4", "file", {"id"=>"asset/761e05df-bddd-45de-b646-1dab58ee6ea4/032cbd7f39006bd9f57bb46317791b8b.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "761e05df-bddd-45de-b646-1dab58ee6ea4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:57.905504"], ["updated_at", "2020-05-19 20:38:57.905504"], ["file_data", "{\"id\":\"asset/a385df6cc77edc602623b9c0c47d96a9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.908800"], ["file_data", "{\"id\":\"asset/bf02553d-9af4-46ae-809f-ae558183440b/516c6122eab63cabb41bbc0fa5973ea4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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/bf02553d-9af4-46ae-809f-ae558183440b/516c6122eab63cabb41bbc0fa5973ea4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"bf02553d-9af4-46ae-809f-ae558183440b/one/2492420392687fa3868e184ad4818e4f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8eb99jvqk_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"bf02553d-9af4-46ae-809f-ae558183440b/two/09a7f92a0c7df2f2a028ec01f862e8a9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8eb99jvqk_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:38:57.915798"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"], ["LIMIT", 1]]
+ [1m[35m (1.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.936786"], ["file_data", "{\"id\":\"asset/bf02553d-9af4-46ae-809f-ae558183440b/516c6122eab63cabb41bbc0fa5973ea4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"bf02553d-9af4-46ae-809f-ae558183440b/one/2492420392687fa3868e184ad4818e4f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"8eb99jvqk_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"bf02553d-9af4-46ae-809f-ae558183440b/two/96f7633acade6f975a7bb536ff58429d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8eb99jvqk_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"bf02553d-9af4-46ae-809f-ae558183440b/three/712f2ee17a6a41266834d02d1206c5de.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8eb99jvqk_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "bf02553d-9af4-46ae-809f-ae558183440b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:38:57.955311"], ["updated_at", "2020-05-19 20:38:57.955311"], ["file_data", "{\"id\":\"asset/25a2397134202e95c169d8602df87b18.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:57.958679"], ["file_data", "{\"id\":\"asset/67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9/118bf6b7323a365c89ac8a71f186867e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.000355"], ["file_data", "{\"id\":\"asset/67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9/118bf6b7323a365c89ac8a71f186867e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9/one/78735da761bc28b2d30e0755b98805e6.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d6vw2zmbg_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9/original_reflected/61674c04dfe9996e097e01deebdf24dc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d6vw2zmbg_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "67ef6f5d-0ae2-40b5-a6dd-9965ddac5ea9"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.021514"], ["updated_at", "2020-05-19 20:38:58.021514"], ["file_data", "{\"id\":\"asset/d750c4dc94bfc3866fdee4aed477412f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.025241"], ["file_data", "{\"id\":\"asset/56ed7bfc-28fb-4758-a419-de78908f21cd/c21956edf1852a4a25ba43d4b72e075a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "56ed7bfc-28fb-4758-a419-de78908f21cd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "56ed7bfc-28fb-4758-a419-de78908f21cd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "56ed7bfc-28fb-4758-a419-de78908f21cd"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.098382"], ["file_data", "{\"id\":\"asset/56ed7bfc-28fb-4758-a419-de78908f21cd/c21956edf1852a4a25ba43d4b72e075a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"56ed7bfc-28fb-4758-a419-de78908f21cd/options_one/9861f5f3235571a6806596e5d5b96b66.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"b5ok52riz_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"56ed7bfc-28fb-4758-a419-de78908f21cd/options_reflected/0e487c4b579bcbe67b4857b74c413d77.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"b5ok52riz_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "56ed7bfc-28fb-4758-a419-de78908f21cd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.117783"], ["updated_at", "2020-05-19 20:38:58.117783"], ["file_data", "{\"id\":\"asset/06adb9f96b5901f29578d3716b7b9fbf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.123422"], ["file_data", "{\"id\":\"asset/b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c/284c3480c7a9531297b08ed5ffd5c4c1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.208047"], ["file_data", "{\"id\":\"asset/b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c/284c3480c7a9531297b08ed5ffd5c4c1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c/options_one/16951a0fdb52e7a2f501cab3e50750fd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"54rf8e53n_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c/options_reflected/bcd34f36fc722412016f7086621c0a15.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"54rf8e53n_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b37f2ff1-e72e-4ad8-b7d8-540f7dc4a75c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.226127"], ["updated_at", "2020-05-19 20:38:58.226127"], ["file_data", "{\"id\":\"asset/dd8e2ad396e467bdd292558fa3f66abd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.229856"], ["file_data", "{\"id\":\"asset/bbebb636-6daf-4358-90cf-4e56d25a5087/9f3fd9b1d87c1cadc116e3388e16c014.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bbebb636-6daf-4358-90cf-4e56d25a5087"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "bbebb636-6daf-4358-90cf-4e56d25a5087"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "bbebb636-6daf-4358-90cf-4e56d25a5087"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.302832"], ["file_data", "{\"id\":\"asset/bbebb636-6daf-4358-90cf-4e56d25a5087/9f3fd9b1d87c1cadc116e3388e16c014.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"bbebb636-6daf-4358-90cf-4e56d25a5087/options_one/10fcea7a10d06d12834a7295c61f2558.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"9k2cztgdv_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"bbebb636-6daf-4358-90cf-4e56d25a5087/options_reflected/548f4a47103f810fad05f09f8edaa5a6.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"9k2cztgdv_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "bbebb636-6daf-4358-90cf-4e56d25a5087"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.323265"], ["updated_at", "2020-05-19 20:38:58.323265"], ["file_data", "{\"id\":\"asset/5d750144ff40670943157afa9c9da7af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.327269"], ["file_data", "{\"id\":\"asset/f7c781e6-958c-4ec3-beeb-9e770ebb5630/0fe577b0af85c4bd9b5a2a6e056cea46.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f7c781e6-958c-4ec3-beeb-9e770ebb5630"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f7c781e6-958c-4ec3-beeb-9e770ebb5630"], ["LIMIT", 1]]
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "f7c781e6-958c-4ec3-beeb-9e770ebb5630"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.411615"], ["file_data", "{\"id\":\"asset/f7c781e6-958c-4ec3-beeb-9e770ebb5630/0fe577b0af85c4bd9b5a2a6e056cea46.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f7c781e6-958c-4ec3-beeb-9e770ebb5630/options_one/55f71ef2377c264bf53dcf166ebfa8ab.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8g2a6m69n_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f7c781e6-958c-4ec3-beeb-9e770ebb5630/options_reflected/5c8ed4b5db9878673377628d56640c59.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8g2a6m69n_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f7c781e6-958c-4ec3-beeb-9e770ebb5630"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.488929"], ["updated_at", "2020-05-19 20:38:58.488929"], ["file_data", "{\"id\":\"asset/284eeb2345bd8ab22c93b0033b33a7b3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.493599"], ["file_data", "{\"id\":\"asset/1e424ba9-633f-4412-aba4-6d6c808aeec2/ac3d74c94b8b7a75072ddfba0f4ef4c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1e424ba9-633f-4412-aba4-6d6c808aeec2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "1e424ba9-633f-4412-aba4-6d6c808aeec2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "1e424ba9-633f-4412-aba4-6d6c808aeec2"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.572125"], ["file_data", "{\"id\":\"asset/1e424ba9-633f-4412-aba4-6d6c808aeec2/ac3d74c94b8b7a75072ddfba0f4ef4c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"1e424ba9-633f-4412-aba4-6d6c808aeec2/one/8ec08bffd37194af5baf68fe5569e75e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8werekhsn_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"1e424ba9-633f-4412-aba4-6d6c808aeec2/original_reflected/a639fd0b6dde42f38e4d25d77b5c1d6d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8werekhsn_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "1e424ba9-633f-4412-aba4-6d6c808aeec2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.591367"], ["updated_at", "2020-05-19 20:38:58.591367"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.607760"], ["updated_at", "2020-05-19 20:38:58.607760"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:38:58.624698"], ["updated_at", "2020-05-19 20:38:58.624698"], ["file_data", "{\"id\":\"asset/b0facf4f14ace455b3029b9d79aa2fa9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.627871"], ["file_data", "{\"id\":\"asset/a58da746-e98e-424d-a076-da3098277dfe/1e113689163f94560bf0b468e80c86b2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a58da746-e98e-424d-a076-da3098277dfe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:38:58.644849"], ["updated_at", "2020-05-19 20:38:58.644849"], ["file_data", "{\"id\":\"asset/eb1de0fd8a89e285b7e4b2165834c6c8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.648144"], ["file_data", "{\"id\":\"asset/3aae2f86-3031-4aed-a181-edff2bfc88fe/0bfd937c52c487451fc40bebbb10cde6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "3aae2f86-3031-4aed-a181-edff2bfc88fe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "3aae2f86-3031-4aed-a181-edff2bfc88fe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "3aae2f86-3031-4aed-a181-edff2bfc88fe"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:38:58.687694"], ["file_data", "{\"id\":\"asset/3aae2f86-3031-4aed-a181-edff2bfc88fe/0bfd937c52c487451fc40bebbb10cde6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"3aae2f86-3031-4aed-a181-edff2bfc88fe/one/1e66ee5ddc2947c9c7c47243ee766d4e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6pafkzly8_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"3aae2f86-3031-4aed-a181-edff2bfc88fe/original_reflected/084e8ba5f6183f1e36f960356da77ccb.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6pafkzly8_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "3aae2f86-3031-4aed-a181-edff2bfc88fe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "3aae2f86-3031-4aed-a181-edff2bfc88fe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:38:58.696633"], ["updated_at", "2020-05-19 20:38:58.696633"], ["file_data", "{\"id\":\"asset/1f7db047ef962f90b2e05b98aa64dc17.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.701848"], ["file_data", "{\"id\":\"asset/c2413b10-7671-4f31-90c5-c2434caa1999/38ae84c40dbc4aa406b638973f2342e0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.774082"], ["file_data", "{\"id\":\"asset/c2413b10-7671-4f31-90c5-c2434caa1999/38ae84c40dbc4aa406b638973f2342e0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"c2413b10-7671-4f31-90c5-c2434caa1999/sample1/2a5fb3b320e7e9c561f3ebcaee5e9c49.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9bvzackuc_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"c2413b10-7671-4f31-90c5-c2434caa1999/sample2/ea3ceb8a5bbdc47e99ef21b1ec3beb2e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9bvzackuc_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.779006"], ["file_data", "{\"id\":\"asset/c2413b10-7671-4f31-90c5-c2434caa1999/38ae84c40dbc4aa406b638973f2342e0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"c2413b10-7671-4f31-90c5-c2434caa1999/sample2/ea3ceb8a5bbdc47e99ef21b1ec3beb2e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"9bvzackuc_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c2413b10-7671-4f31-90c5-c2434caa1999"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:38:58.788104"], ["updated_at", "2020-05-19 20:38:58.788104"], ["file_data", "{\"id\":\"asset/5197c17ecc3d7c0f016dc13abb62ade8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.791753"], ["file_data", "{\"id\":\"asset/98d67cd1-0c3c-436e-a056-d4e279b6b3e9/e69ceba2c628f7fa0af63d0d96659859.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.866692"], ["file_data", "{\"id\":\"asset/98d67cd1-0c3c-436e-a056-d4e279b6b3e9/e69ceba2c628f7fa0af63d0d96659859.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"98d67cd1-0c3c-436e-a056-d4e279b6b3e9/sample1/c2e943713c445f188c619b2369934866.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"f4gyrnymr_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"98d67cd1-0c3c-436e-a056-d4e279b6b3e9/sample2/4d62f0488b9d1edb9e53a0a051f85794.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"f4gyrnymr_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/98d67cd1-0c3c-436e-a056-d4e279b6b3e9/e69ceba2c628f7fa0af63d0d96659859.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"98d67cd1-0c3c-436e-a056-d4e279b6b3e9/sample2/4d62f0488b9d1edb9e53a0a051f85794.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"f4gyrnymr_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:38:58.872410"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.879922"], ["file_data", "{\"id\":\"asset/98d67cd1-0c3c-436e-a056-d4e279b6b3e9/e69ceba2c628f7fa0af63d0d96659859.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"98d67cd1-0c3c-436e-a056-d4e279b6b3e9/sample2/4d62f0488b9d1edb9e53a0a051f85794.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"f4gyrnymr_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "98d67cd1-0c3c-436e-a056-d4e279b6b3e9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:58.886756"], ["updated_at", "2020-05-19 20:38:58.886756"], ["file_data", "{\"id\":\"asset/32ef8dce8f24ef88452812ce21666508.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.890291"], ["file_data", "{\"id\":\"asset/103d90af-a614-4a4e-afeb-f6a0b997b22f/a96885038d3a98ec5175b0bb083b26ff.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:58.970159"], ["file_data", "{\"id\":\"asset/103d90af-a614-4a4e-afeb-f6a0b997b22f/a96885038d3a98ec5175b0bb083b26ff.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample1/ef6e860c9515d6dddcd2153899e56901.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xt940cgxj_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample2/b04b4c61bca0edc58d79819fa9dce3c0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xt940cgxj_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/103d90af-a614-4a4e-afeb-f6a0b997b22f/a96885038d3a98ec5175b0bb083b26ff.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample1/ef6e860c9515d6dddcd2153899e56901.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"xt940cgxj_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample2/b04b4c61bca0edc58d79819fa9dce3c0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"xt940cgxj_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample3/1131a82bb6ce2c18f777f948d0cf356a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xt940cgxj_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:38:59.011079"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.020634"], ["file_data", "{\"id\":\"asset/103d90af-a614-4a4e-afeb-f6a0b997b22f/a96885038d3a98ec5175b0bb083b26ff.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample2/b04b4c61bca0edc58d79819fa9dce3c0.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"xt940cgxj_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"103d90af-a614-4a4e-afeb-f6a0b997b22f/sample3/1131a82bb6ce2c18f777f948d0cf356a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"xt940cgxj_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "103d90af-a614-4a4e-afeb-f6a0b997b22f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:59.025992"], ["updated_at", "2020-05-19 20:38:59.025992"], ["file_data", "{\"id\":\"asset/7a2a538c5223ce93b7e64f94cd360c77.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.029215"], ["file_data", "{\"id\":\"asset/36073f33-3616-4e75-ac84-d9846468c1cb/f3077f7d88609bc6d3705d0a62438689.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.103792"], ["file_data", "{\"id\":\"asset/36073f33-3616-4e75-ac84-d9846468c1cb/f3077f7d88609bc6d3705d0a62438689.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"36073f33-3616-4e75-ac84-d9846468c1cb/sample1/1ad3eb88d602b59e7446edb2538c1ac9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jy37tvxah_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"36073f33-3616-4e75-ac84-d9846468c1cb/sample2/20a7e4618127d4cb0bac83206a258ef4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jy37tvxah_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [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", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '36073f33-3616-4e75-ac84-d9846468c1cb'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '36073f33-3616-4e75-ac84-d9846468c1cb'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "36073f33-3616-4e75-ac84-d9846468c1cb"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 6b73d6ef-f40a-4680-900f-42d51c043c74) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/36073f33-3616-4e75-ac84-d9846468c1cb/f3077f7d88609bc6d3705d0a62438689.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"36073f33-3616-4e75-ac84-d9846468c1cb/sample1/1ad3eb88d602b59e7446edb2538c1ac9.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"jy37tvxah_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"36073f33-3616-4e75-ac84-d9846468c1cb/sample2/20a7e4618127d4cb0bac83206a258ef4.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"jy37tvxah_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "36073f33-3616-4e75-ac84-d9846468c1cb"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:38:59.126457"], ["updated_at", "2020-05-19 20:38:59.126457"], ["file_data", "{\"id\":\"asset/0264386d91a2d374020505fdb1c50b6a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.129834"], ["file_data", "{\"id\":\"asset/184d9993-ba27-467c-ae34-8ecf370729a0/e8bcb4af2bd9cdce4a51b499413b7318.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "184d9993-ba27-467c-ae34-8ecf370729a0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "184d9993-ba27-467c-ae34-8ecf370729a0"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (3.0ms)[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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "184d9993-ba27-467c-ae34-8ecf370729a0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.215014"], ["file_data", "{\"id\":\"asset/184d9993-ba27-467c-ae34-8ecf370729a0/e8bcb4af2bd9cdce4a51b499413b7318.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"184d9993-ba27-467c-ae34-8ecf370729a0/sample1/3a7f3ba83b54648efa3a67af9b8d301a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"2kup9uicl_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"184d9993-ba27-467c-ae34-8ecf370729a0/sample2/0df569d84bf9619e2b6b2f82f4fe3739.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"2kup9uicl_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "184d9993-ba27-467c-ae34-8ecf370729a0"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:38:59.224094"], ["updated_at", "2020-05-19 20:38:59.224094"], ["file_data", "{\"id\":\"asset/8d0dbc1bdb053dec2cc9042797d03666.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.229191"], ["file_data", "{\"id\":\"asset/849b20f7-1854-4ba9-b949-367c46ec0cff/b0a8a483407e4e8108de7e6f0a82f69d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:38:59.307733"], ["file_data", "{\"id\":\"asset/849b20f7-1854-4ba9-b949-367c46ec0cff/b0a8a483407e4e8108de7e6f0a82f69d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"849b20f7-1854-4ba9-b949-367c46ec0cff/sample1/9ab4410bab0b2576621ffe4c197949dd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"brogoiki4_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"849b20f7-1854-4ba9-b949-367c46ec0cff/sample2/40e1667b930f60a9ba5dcd7b8e31335c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"brogoiki4_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $12 LIMIT $13 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.8ms)[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-19 20:38:59.312507"], ["file_data", "{\"id\":\"asset/849b20f7-1854-4ba9-b949-367c46ec0cff/b0a8a483407e4e8108de7e6f0a82f69d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"849b20f7-1854-4ba9-b949-367c46ec0cff/sample2/40e1667b930f60a9ba5dcd7b8e31335c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"brogoiki4_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11) AND "kithe_models"."id" = $12 LIMIT $13[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "849b20f7-1854-4ba9-b949-367c46ec0cff"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:38:59.357730"], ["updated_at", "2020-05-19 20:38:59.357730"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:38:59.629005"], ["updated_at", "2020-05-19 20:38:59.629005"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:38:59.651112"], ["updated_at", "2020-05-19 20:38:59.651112"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:38:59.674465"], ["updated_at", "2020-05-19 20:38:59.674465"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:38:59.744574"], ["updated_at", "2020-05-19 20:38:59.744574"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (1.1ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (19.2ms)[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-19 20:43:57.120971"], ["updated_at", "2020-05-19 20:43:57.120971"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:43:57.168063"], ["updated_at", "2020-05-19 20:43:57.168063"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "80f6104f-3fab-46d2-85d0-1034ba1787c0"]]
+ [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", "80f6104f-3fab-46d2-85d0-1034ba1787c0"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "80f6104f-3fab-46d2-85d0-1034ba1787c0"]]
+ [1m[35m (1.2ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '80f6104f-3fab-46d2-85d0-1034ba1787c0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '80f6104f-3fab-46d2-85d0-1034ba1787c0'
+);
+[0m
+ [1m[36mTestWork Destroy (2.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "80f6104f-3fab-46d2-85d0-1034ba1787c0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.227524"], ["updated_at", "2020-05-19 20:43:57.227524"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.255117"], ["updated_at", "2020-05-19 20:43:57.255117"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.271713"], ["updated_at", "2020-05-19 20:43:57.271713"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500'
+);
+[0m
+ [1m[36mTestWork Destroy (1.9ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "9b9f90ea-ef8a-476a-9a4a-3f5fcbc36500"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:43:57.304594"], ["updated_at", "2020-05-19 20:43:57.304594"], ["kithe_model_type", 1]]
+ [1m[35m (3.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.383855"], ["updated_at", "2020-05-19 20:43:57.383855"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (2.2ms)[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-19 20:43:57.387989"], ["updated_at", "2020-05-19 20:43:57.387989"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:43:57.412421"], ["updated_at", "2020-05-19 20:43:57.412421"], ["kithe_model_type", 1]]
+ [1m[35m (2.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (2.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-19 20:43:57.419394"], ["updated_at", "2020-05-19 20:43:57.419394"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.441948"], ["updated_at", "2020-05-19 20:43:57.441948"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:43:57.448999"], ["updated_at", "2020-05-19 20:43:57.448999"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.471834"], ["updated_at", "2020-05-19 20:43:57.471834"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.492394"], ["updated_at", "2020-05-19 20:43:57.492394"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.495525"], ["updated_at", "2020-05-19 20:43:57.495525"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.511675"], ["updated_at", "2020-05-19 20:43:57.511675"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 20:43:57.515575"], ["updated_at", "2020-05-19 20:43:57.515575"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 20:43:57.555891"], ["updated_at", "2020-05-19 20:43:57.555891"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 20:43:57.599039"], ["updated_at", "2020-05-19 20:43:57.599039"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.644451"], ["updated_at", "2020-05-19 20:43:57.644451"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-19 20:43:57.687260"], ["updated_at", "2020-05-19 20:43:57.687260"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "cebab5e0-d68f-4a62-8079-fb21c3c9499b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 20:43:57.734474"], ["updated_at", "2020-05-19 20:43:57.734474"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:43:57.854792"], ["updated_at", "2020-05-19 20:43:57.854792"], ["file_data", "{\"id\":\"asset/bda4de94510562be3c3138036240547b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] Performing Kithe::AssetPromoteJob (Job ID: d3b8131c-13ad-49ce-bdf9-68fdead7c380) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: "CustomUploader::Attacher", "CustomAsset", "1891b088-e1b0-4325-a008-f0519261573a", "file", {"id"=>"asset/bda4de94510562be3c3138036240547b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [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", "1891b088-e1b0-4325-a008-f0519261573a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [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", "1891b088-e1b0-4325-a008-f0519261573a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [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/1891b088-e1b0-4325-a008-f0519261573a/f48d5a0f9c8242a0946faaa56b903018.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:57.883321"], ["id", "1891b088-e1b0-4325-a008-f0519261573a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [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", "1891b088-e1b0-4325-a008-f0519261573a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] Performing Kithe::CreateDerivativesJob (Job ID: c6b4cfd0-c27a-4621-86cd-f1ff83c26876) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: #<GlobalID:0x00007ff541716c70 @uri=#<URI::GID gid://dummy/CustomAsset/1891b088-e1b0-4325-a008-f0519261573a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] [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", "1891b088-e1b0-4325-a008-f0519261573a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] [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/1891b088-e1b0-4325-a008-f0519261573a/f48d5a0f9c8242a0946faaa56b903018.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"1891b088-e1b0-4325-a008-f0519261573a/fixed/ca06c9a36dc0b52d4153c09a671038b1.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r2hs5cim3_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:57.908947"], ["id", "1891b088-e1b0-4325-a008-f0519261573a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] [Kithe::CreateDerivativesJob] [c6b4cfd0-c27a-4621-86cd-f1ff83c26876] Performed Kithe::CreateDerivativesJob (Job ID: c6b4cfd0-c27a-4621-86cd-f1ff83c26876) from Inline(default) in 19.03ms
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] Enqueued Kithe::CreateDerivativesJob (Job ID: c6b4cfd0-c27a-4621-86cd-f1ff83c26876) to Inline(default) with arguments: #<GlobalID:0x00007ff5465d2288 @uri=#<URI::GID gid://dummy/CustomAsset/1891b088-e1b0-4325-a008-f0519261573a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d3b8131c-13ad-49ce-bdf9-68fdead7c380] Performed Kithe::AssetPromoteJob (Job ID: d3b8131c-13ad-49ce-bdf9-68fdead7c380) from Inline(default) in 40.41ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d3b8131c-13ad-49ce-bdf9-68fdead7c380) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "1891b088-e1b0-4325-a008-f0519261573a", "file", {"id"=>"asset/bda4de94510562be3c3138036240547b.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "1891b088-e1b0-4325-a008-f0519261573a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:43:57.926671"], ["updated_at", "2020-05-19 20:43:57.926671"], ["file_data", "{\"id\":\"asset/1868c7f9a6fd1a03c54f56b23fb98c18.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] Performing Kithe::AssetPromoteJob (Job ID: a36c143d-91ae-4787-ac6e-f98133fa3929) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: "CustomUploader::Attacher", "CustomAsset", "9ad77702-daee-4995-96c2-0344fdf9414a", "file", {"id"=>"asset/1868c7f9a6fd1a03c54f56b23fb98c18.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [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", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [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", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [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/9ad77702-daee-4995-96c2-0344fdf9414a/b97e9777f0bfcfe1a6c314ea3f472d3b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:57.937958"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [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", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] Performing Kithe::CreateDerivativesJob (Job ID: 926a89bc-4fc1-40ef-8ebb-9f396e857f71) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: #<GlobalID:0x00007ff5416a3400 @uri=#<URI::GID gid://dummy/CustomAsset/9ad77702-daee-4995-96c2-0344fdf9414a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] [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", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] [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/9ad77702-daee-4995-96c2-0344fdf9414a/b97e9777f0bfcfe1a6c314ea3f472d3b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"9ad77702-daee-4995-96c2-0344fdf9414a/fixed/86d8e59541583e9e48d8992f3ce5323a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gs5nca85j_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:57.946657"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] [Kithe::CreateDerivativesJob] [926a89bc-4fc1-40ef-8ebb-9f396e857f71] Performed Kithe::CreateDerivativesJob (Job ID: 926a89bc-4fc1-40ef-8ebb-9f396e857f71) from Inline(default) in 6.65ms
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] Enqueued Kithe::CreateDerivativesJob (Job ID: 926a89bc-4fc1-40ef-8ebb-9f396e857f71) to Inline(default) with arguments: #<GlobalID:0x00007ff5464f3f88 @uri=#<URI::GID gid://dummy/CustomAsset/9ad77702-daee-4995-96c2-0344fdf9414a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a36c143d-91ae-4787-ac6e-f98133fa3929] Performed Kithe::AssetPromoteJob (Job ID: a36c143d-91ae-4787-ac6e-f98133fa3929) from Inline(default) in 15.48ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a36c143d-91ae-4787-ac6e-f98133fa3929) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "9ad77702-daee-4995-96c2-0344fdf9414a", "file", {"id"=>"asset/1868c7f9a6fd1a03c54f56b23fb98c18.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/9ad77702-daee-4995-96c2-0344fdf9414a/b97e9777f0bfcfe1a6c314ea3f472d3b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:57.951570"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/9ad77702-daee-4995-96c2-0344fdf9414a/b97e9777f0bfcfe1a6c314ea3f472d3b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"9ad77702-daee-4995-96c2-0344fdf9414a/fixed/888ba47293e7351227e82c4ef50aeb72.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"gs5nca85j_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:57.958690"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "9ad77702-daee-4995-96c2-0344fdf9414a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:43:57.972782"], ["updated_at", "2020-05-19 20:43:57.972782"], ["file_data", "{\"id\":\"asset/47a0e11aeebb90bf689a71596d8d7430.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] Performing Kithe::AssetPromoteJob (Job ID: 46186e74-5d10-4c42-8d88-a211780c6163) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: "CustomUploader::Attacher", "CustomAsset", "021402c0-c129-4190-bb2a-f21c6d2412ed", "file", {"id"=>"asset/47a0e11aeebb90bf689a71596d8d7430.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [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", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [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", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [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/021402c0-c129-4190-bb2a-f21c6d2412ed/1200a56029a4b2c34b80ec46473b4fd7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:57.983978"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [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", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] Performing Kithe::CreateDerivativesJob (Job ID: 56899d8b-87c0-412a-8ae5-ea6073f0f9c3) from Inline(default) enqueued at 2020-05-19T20:43:57Z with arguments: #<GlobalID:0x00007ff546239f18 @uri=#<URI::GID gid://dummy/CustomAsset/021402c0-c129-4190-bb2a-f21c6d2412ed>>
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] [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", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] [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/021402c0-c129-4190-bb2a-f21c6d2412ed/1200a56029a4b2c34b80ec46473b4fd7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"021402c0-c129-4190-bb2a-f21c6d2412ed/fixed/009c1617c31a5dc671e302c25a27a67c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3vsux280o_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:57.991694"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] [Kithe::CreateDerivativesJob] [56899d8b-87c0-412a-8ae5-ea6073f0f9c3] Performed Kithe::CreateDerivativesJob (Job ID: 56899d8b-87c0-412a-8ae5-ea6073f0f9c3) from Inline(default) in 6.97ms
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] Enqueued Kithe::CreateDerivativesJob (Job ID: 56899d8b-87c0-412a-8ae5-ea6073f0f9c3) to Inline(default) with arguments: #<GlobalID:0x00007ff5415bba88 @uri=#<URI::GID gid://dummy/CustomAsset/021402c0-c129-4190-bb2a-f21c6d2412ed>>
+[ActiveJob] [Kithe::AssetPromoteJob] [46186e74-5d10-4c42-8d88-a211780c6163] Performed Kithe::AssetPromoteJob (Job ID: 46186e74-5d10-4c42-8d88-a211780c6163) from Inline(default) in 17.06ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 46186e74-5d10-4c42-8d88-a211780c6163) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "021402c0-c129-4190-bb2a-f21c6d2412ed", "file", {"id"=>"asset/47a0e11aeebb90bf689a71596d8d7430.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/021402c0-c129-4190-bb2a-f21c6d2412ed/1200a56029a4b2c34b80ec46473b4fd7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:57.998833"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "021402c0-c129-4190-bb2a-f21c6d2412ed"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:43:58.013920"], ["updated_at", "2020-05-19 20:43:58.013920"], ["file_data", "{\"id\":\"asset/f4759428601d0b94672a4396762fd553.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] Performing Kithe::AssetPromoteJob (Job ID: 72483825-6593-4206-a105-48fafd9265a5) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "703ca622-4017-462a-818c-a13c49b5d1d7", "file", {"id"=>"asset/f4759428601d0b94672a4396762fd553.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [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", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [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", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [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/703ca622-4017-462a-818c-a13c49b5d1d7/0ed597cbc45bad7809a9cf839f999e1e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.024340"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [1m[36mCustomAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] Performing Kithe::CreateDerivativesJob (Job ID: 9bb3572b-3e2b-43cc-a66a-8c5877f1395c) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff5414f7f20 @uri=#<URI::GID gid://dummy/CustomAsset/703ca622-4017-462a-818c-a13c49b5d1d7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] [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", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] [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/703ca622-4017-462a-818c-a13c49b5d1d7/0ed597cbc45bad7809a9cf839f999e1e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"703ca622-4017-462a-818c-a13c49b5d1d7/fixed/1d8904e4f1973e30c3e246eaa2c0b61f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"yund7anj0_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.034654"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] [Kithe::CreateDerivativesJob] [9bb3572b-3e2b-43cc-a66a-8c5877f1395c] Performed Kithe::CreateDerivativesJob (Job ID: 9bb3572b-3e2b-43cc-a66a-8c5877f1395c) from Inline(default) in 6.84ms
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] Enqueued Kithe::CreateDerivativesJob (Job ID: 9bb3572b-3e2b-43cc-a66a-8c5877f1395c) to Inline(default) with arguments: #<GlobalID:0x00007ff5447c9318 @uri=#<URI::GID gid://dummy/CustomAsset/703ca622-4017-462a-818c-a13c49b5d1d7>>
+[ActiveJob] [Kithe::AssetPromoteJob] [72483825-6593-4206-a105-48fafd9265a5] Performed Kithe::AssetPromoteJob (Job ID: 72483825-6593-4206-a105-48fafd9265a5) from Inline(default) in 16.88ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 72483825-6593-4206-a105-48fafd9265a5) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "703ca622-4017-462a-818c-a13c49b5d1d7", "file", {"id"=>"asset/f4759428601d0b94672a4396762fd553.jpg", "storage"=>"cache"}, {}
+ [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", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/703ca622-4017-462a-818c-a13c49b5d1d7/0ed597cbc45bad7809a9cf839f999e1e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"703ca622-4017-462a-818c-a13c49b5d1d7/fixed/b6e6ef412668b1c53b8681846535fb02.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"yund7anj0_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.042921"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "703ca622-4017-462a-818c-a13c49b5d1d7"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+ [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", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '703ca622-4017-462a-818c-a13c49b5d1d7'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '703ca622-4017-462a-818c-a13c49b5d1d7'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "703ca622-4017-462a-818c-a13c49b5d1d7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [4a7a67a5-42c1-49ec-bf18-304194fea608] Performing Kithe::AssetDeleteJob (Job ID: 4a7a67a5-42c1-49ec-bf18-304194fea608) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/703ca622-4017-462a-818c-a13c49b5d1d7/0ed597cbc45bad7809a9cf839f999e1e.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"703ca622-4017-462a-818c-a13c49b5d1d7/fixed/b6e6ef412668b1c53b8681846535fb02.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"yund7anj0_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [4a7a67a5-42c1-49ec-bf18-304194fea608] Performed Kithe::AssetDeleteJob (Job ID: 4a7a67a5-42c1-49ec-bf18-304194fea608) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 4a7a67a5-42c1-49ec-bf18-304194fea608) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/703ca622-4017-462a-818c-a13c49b5d1d7/0ed597cbc45bad7809a9cf839f999e1e.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"703ca622-4017-462a-818c-a13c49b5d1d7/fixed/b6e6ef412668b1c53b8681846535fb02.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"yund7anj0_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:43:58.067903"], ["updated_at", "2020-05-19 20:43:58.067903"], ["file_data", "{\"id\":\"asset/7805e4e85c091c635bcc48273e2181d1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] Performing Kithe::AssetPromoteJob (Job ID: e757462b-e10e-405e-b092-6fa4aa20dbd0) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "3816a05e-18c0-499e-a939-404a0552d6b5", "file", {"id"=>"asset/7805e4e85c091c635bcc48273e2181d1.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [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/3816a05e-18c0-499e-a939-404a0552d6b5/43c5759879caa9853e285d205f877159.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.077633"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] Performing Kithe::CreateDerivativesJob (Job ID: a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff5429772e8 @uri=#<URI::GID gid://dummy/CustomAsset/3816a05e-18c0-499e-a939-404a0552d6b5>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] [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/3816a05e-18c0-499e-a939-404a0552d6b5/43c5759879caa9853e285d205f877159.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"3816a05e-18c0-499e-a939-404a0552d6b5/fixed/f9ffa03206e445bff32fec436152bbd6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"oncg2djdm_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.085108"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] [Kithe::CreateDerivativesJob] [a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9] Performed Kithe::CreateDerivativesJob (Job ID: a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9) from Inline(default) in 5.56ms
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] Enqueued Kithe::CreateDerivativesJob (Job ID: a1eb4fea-bfa4-4b5e-b25c-5f0e177921a9) to Inline(default) with arguments: #<GlobalID:0x00007ff5440e6050 @uri=#<URI::GID gid://dummy/CustomAsset/3816a05e-18c0-499e-a939-404a0552d6b5>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e757462b-e10e-405e-b092-6fa4aa20dbd0] Performed Kithe::AssetPromoteJob (Job ID: e757462b-e10e-405e-b092-6fa4aa20dbd0) from Inline(default) in 14.67ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e757462b-e10e-405e-b092-6fa4aa20dbd0) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "3816a05e-18c0-499e-a939-404a0552d6b5", "file", {"id"=>"asset/7805e4e85c091c635bcc48273e2181d1.jpg", "storage"=>"cache"}, {}
+ [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/3816a05e-18c0-499e-a939-404a0552d6b5/43c5759879caa9853e285d205f877159.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"3816a05e-18c0-499e-a939-404a0552d6b5/fixed/e5c7281afcc6e69facbef15c45acc714.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"oncg2djdm_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.098616"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/3816a05e-18c0-499e-a939-404a0552d6b5/b91d925e7cf42ae13404e62dd81cb947.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:43:58.102675"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [67a4f0a5-d218-4c0f-bf6b-710ebca59e11] Performing Kithe::AssetDeleteJob (Job ID: 67a4f0a5-d218-4c0f-bf6b-710ebca59e11) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/3816a05e-18c0-499e-a939-404a0552d6b5/43c5759879caa9853e285d205f877159.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"3816a05e-18c0-499e-a939-404a0552d6b5/fixed/e5c7281afcc6e69facbef15c45acc714.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"oncg2djdm_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [67a4f0a5-d218-4c0f-bf6b-710ebca59e11] Performed Kithe::AssetDeleteJob (Job ID: 67a4f0a5-d218-4c0f-bf6b-710ebca59e11) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 67a4f0a5-d218-4c0f-bf6b-710ebca59e11) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/3816a05e-18c0-499e-a939-404a0552d6b5/43c5759879caa9853e285d205f877159.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"3816a05e-18c0-499e-a939-404a0552d6b5/fixed/e5c7281afcc6e69facbef15c45acc714.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"oncg2djdm_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] Performing Kithe::AssetPromoteJob (Job ID: 95e32662-ef95-4725-a666-781428e85594) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "3816a05e-18c0-499e-a939-404a0552d6b5", "file", {"id"=>"asset/3816a05e-18c0-499e-a939-404a0552d6b5/b91d925e7cf42ae13404e62dd81cb947.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [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/3816a05e-18c0-499e-a939-404a0552d6b5/f6e05597a92025a831dc8bcf39508349.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.109671"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] Performing Kithe::CreateDerivativesJob (Job ID: f02b9653-c0c0-4ebc-aadd-05cf17ee5b29) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff5488a9428 @uri=#<URI::GID gid://dummy/CustomAsset/3816a05e-18c0-499e-a939-404a0552d6b5>>
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] [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/3816a05e-18c0-499e-a939-404a0552d6b5/f6e05597a92025a831dc8bcf39508349.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"3816a05e-18c0-499e-a939-404a0552d6b5/fixed/b84954301ab4fa5bf3daf440bbdadfcf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"oncg2djdm_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.117172"], ["id", "3816a05e-18c0-499e-a939-404a0552d6b5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] [Kithe::CreateDerivativesJob] [f02b9653-c0c0-4ebc-aadd-05cf17ee5b29] Performed Kithe::CreateDerivativesJob (Job ID: f02b9653-c0c0-4ebc-aadd-05cf17ee5b29) from Inline(default) in 5.88ms
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] Enqueued Kithe::CreateDerivativesJob (Job ID: f02b9653-c0c0-4ebc-aadd-05cf17ee5b29) to Inline(default) with arguments: #<GlobalID:0x00007ff548868a40 @uri=#<URI::GID gid://dummy/CustomAsset/3816a05e-18c0-499e-a939-404a0552d6b5>>
+[ActiveJob] [Kithe::AssetPromoteJob] [95e32662-ef95-4725-a666-781428e85594] Performed Kithe::AssetPromoteJob (Job ID: 95e32662-ef95-4725-a666-781428e85594) from Inline(default) in 13.48ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 95e32662-ef95-4725-a666-781428e85594) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "3816a05e-18c0-499e-a939-404a0552d6b5", "file", {"id"=>"asset/3816a05e-18c0-499e-a939-404a0552d6b5/b91d925e7cf42ae13404e62dd81cb947.jpg", "storage"=>"cache"}, {}
+ [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", "3816a05e-18c0-499e-a939-404a0552d6b5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:43:58.136795"], ["updated_at", "2020-05-19 20:43:58.136795"], ["file_data", "{\"id\":\"asset/9925030a0d4beaec39faa2c52392729c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] Performing Kithe::AssetPromoteJob (Job ID: 1df19130-b1c3-4255-bd47-a3f629341876) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "56b157bf-6b74-4f55-9e53-7b23402d8627", "file", {"id"=>"asset/9925030a0d4beaec39faa2c52392729c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [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", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [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", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [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/56b157bf-6b74-4f55-9e53-7b23402d8627/3a9e8b36c54d2838fe58dd30ab787dae.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.146766"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [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", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] Performing Kithe::CreateDerivativesJob (Job ID: 620186aa-9747-4a69-9942-230df9303701) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff5464ae168 @uri=#<URI::GID gid://dummy/CustomAsset/56b157bf-6b74-4f55-9e53-7b23402d8627>>
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] [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", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] [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/56b157bf-6b74-4f55-9e53-7b23402d8627/3a9e8b36c54d2838fe58dd30ab787dae.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"56b157bf-6b74-4f55-9e53-7b23402d8627/fixed/788e5923d6f17f0a169919000dcafdf2.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2hk8m7v4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.153898"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] [Kithe::CreateDerivativesJob] [620186aa-9747-4a69-9942-230df9303701] Performed Kithe::CreateDerivativesJob (Job ID: 620186aa-9747-4a69-9942-230df9303701) from Inline(default) in 5.45ms
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] Enqueued Kithe::CreateDerivativesJob (Job ID: 620186aa-9747-4a69-9942-230df9303701) to Inline(default) with arguments: #<GlobalID:0x00007ff541aa0030 @uri=#<URI::GID gid://dummy/CustomAsset/56b157bf-6b74-4f55-9e53-7b23402d8627>>
+[ActiveJob] [Kithe::AssetPromoteJob] [1df19130-b1c3-4255-bd47-a3f629341876] Performed Kithe::AssetPromoteJob (Job ID: 1df19130-b1c3-4255-bd47-a3f629341876) from Inline(default) in 14.36ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1df19130-b1c3-4255-bd47-a3f629341876) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "56b157bf-6b74-4f55-9e53-7b23402d8627", "file", {"id"=>"asset/9925030a0d4beaec39faa2c52392729c.jpg", "storage"=>"cache"}, {}
+ [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", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/56b157bf-6b74-4f55-9e53-7b23402d8627/3a9e8b36c54d2838fe58dd30ab787dae.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"56b157bf-6b74-4f55-9e53-7b23402d8627/fixed/15e4cadfb953d768ee0b053873f67adf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z2hk8m7v4_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.161775"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "56b157bf-6b74-4f55-9e53-7b23402d8627"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:43:58.181136"], ["updated_at", "2020-05-19 20:43:58.181136"], ["file_data", "{\"id\":\"asset/79330581e99c85424eb044a41febce18.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] Performing Kithe::AssetPromoteJob (Job ID: c183ea38-5ec0-4212-b635-6e74347a8766) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "200ef68f-a2bd-40d7-baf7-b52d02fe169f", "file", {"id"=>"asset/79330581e99c85424eb044a41febce18.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [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", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [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", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [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/200ef68f-a2bd-40d7-baf7-b52d02fe169f/b567dd3ab87b7c52640e0a034415fa33.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.190242"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [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", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] Performing Kithe::CreateDerivativesJob (Job ID: 160839e9-f47d-4fc0-91bd-b5354c7f94e1) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff541a7be38 @uri=#<URI::GID gid://dummy/CustomAsset/200ef68f-a2bd-40d7-baf7-b52d02fe169f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] [1m[35m (0.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] [1m[36mCustomAsset 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", "CustomAsset"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] [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/200ef68f-a2bd-40d7-baf7-b52d02fe169f/b567dd3ab87b7c52640e0a034415fa33.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"200ef68f-a2bd-40d7-baf7-b52d02fe169f/fixed/889899b22160bd588b9148f33140ecbc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zny7318dl_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.200938"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] [Kithe::CreateDerivativesJob] [160839e9-f47d-4fc0-91bd-b5354c7f94e1] Performed Kithe::CreateDerivativesJob (Job ID: 160839e9-f47d-4fc0-91bd-b5354c7f94e1) from Inline(default) in 8.03ms
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] Enqueued Kithe::CreateDerivativesJob (Job ID: 160839e9-f47d-4fc0-91bd-b5354c7f94e1) to Inline(default) with arguments: #<GlobalID:0x00007ff541a49550 @uri=#<URI::GID gid://dummy/CustomAsset/200ef68f-a2bd-40d7-baf7-b52d02fe169f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [c183ea38-5ec0-4212-b635-6e74347a8766] Performed Kithe::AssetPromoteJob (Job ID: c183ea38-5ec0-4212-b635-6e74347a8766) from Inline(default) in 17.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c183ea38-5ec0-4212-b635-6e74347a8766) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "200ef68f-a2bd-40d7-baf7-b52d02fe169f", "file", {"id"=>"asset/79330581e99c85424eb044a41febce18.jpg", "storage"=>"cache"}, {}
+ [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", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/200ef68f-a2bd-40d7-baf7-b52d02fe169f/b567dd3ab87b7c52640e0a034415fa33.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"200ef68f-a2bd-40d7-baf7-b52d02fe169f/fixed/6ea9dcf15adab34bb8a7115f6bf24396.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zny7318dl_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.209306"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/200ef68f-a2bd-40d7-baf7-b52d02fe169f/b567dd3ab87b7c52640e0a034415fa33.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"200ef68f-a2bd-40d7-baf7-b52d02fe169f/fixed/722257e33af52cfd684fa62776758c11.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zny7318dl_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:43:58.256666"], ["id", "200ef68f-a2bd-40d7-baf7-b52d02fe169f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:43:58.274360"], ["updated_at", "2020-05-19 20:43:58.274360"], ["file_data", "{\"id\":\"asset/93c3c5ebba2e5a750811d8beb1d57243.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] Performing Kithe::AssetPromoteJob (Job ID: e7ee8016-e476-4e55-9b04-7b39fc06a0b2) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "CustomUploader::Attacher", "CustomAsset", "bdd8df90-46ea-4c29-b128-b5d386532376", "file", {"id"=>"asset/93c3c5ebba2e5a750811d8beb1d57243.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [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", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [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", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [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/bdd8df90-46ea-4c29-b128-b5d386532376/fa515105cdcd7a2fac46867b4d984702.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.284769"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [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", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] Performing Kithe::CreateDerivativesJob (Job ID: b405bc82-fead-4d3a-970c-90784807bcff) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: #<GlobalID:0x00007ff546709750 @uri=#<URI::GID gid://dummy/CustomAsset/bdd8df90-46ea-4c29-b128-b5d386532376>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] [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", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] [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/bdd8df90-46ea-4c29-b128-b5d386532376/fa515105cdcd7a2fac46867b4d984702.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"bdd8df90-46ea-4c29-b128-b5d386532376/fixed/b8dfd6ca0d1354d9727f77ede61f945d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ams4agrko_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.292660"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] [Kithe::CreateDerivativesJob] [b405bc82-fead-4d3a-970c-90784807bcff] Performed Kithe::CreateDerivativesJob (Job ID: b405bc82-fead-4d3a-970c-90784807bcff) from Inline(default) in 6.3ms
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] Enqueued Kithe::CreateDerivativesJob (Job ID: b405bc82-fead-4d3a-970c-90784807bcff) to Inline(default) with arguments: #<GlobalID:0x00007ff5466d3c68 @uri=#<URI::GID gid://dummy/CustomAsset/bdd8df90-46ea-4c29-b128-b5d386532376>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e7ee8016-e476-4e55-9b04-7b39fc06a0b2] Performed Kithe::AssetPromoteJob (Job ID: e7ee8016-e476-4e55-9b04-7b39fc06a0b2) from Inline(default) in 14.62ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e7ee8016-e476-4e55-9b04-7b39fc06a0b2) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "bdd8df90-46ea-4c29-b128-b5d386532376", "file", {"id"=>"asset/93c3c5ebba2e5a750811d8beb1d57243.jpg", "storage"=>"cache"}, {}
+ [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", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/bdd8df90-46ea-4c29-b128-b5d386532376/fa515105cdcd7a2fac46867b4d984702.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"bdd8df90-46ea-4c29-b128-b5d386532376/fixed/0d1ae39e2ce88af79f34a98ce5396a2a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ams4agrko_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:43:58.300716"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+ [1m[35m (69.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/bdd8df90-46ea-4c29-b128-b5d386532376/fa515105cdcd7a2fac46867b4d984702.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"bdd8df90-46ea-4c29-b128-b5d386532376/fixed/0d1ae39e2ce88af79f34a98ce5396a2a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"ams4agrko_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"bdd8df90-46ea-4c29-b128-b5d386532376/test/2351ab6e6fd35868bbd4b2057c6a51fa.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ams4agrko_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 20:43:58.415444"], ["id", "bdd8df90-46ea-4c29-b128-b5d386532376"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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-19 20:43:58.435622"], ["updated_at", "2020-05-19 20:43:58.435622"], ["file_data", "{\"id\":\"asset/bae0d527d170af7ad2652fafcaa22487.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] Performing Kithe::AssetPromoteJob (Job ID: 1dd46c74-1cf2-417d-8d87-8ed4bfc4e715) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616", "file", {"id"=>"asset/bae0d527d170af7ad2652fafcaa22487.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] [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", "f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] [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", "f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] [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/f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616/110ac6fac1e8912ead1044ad0ec5af6c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.445081"], ["id", "f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [1dd46c74-1cf2-417d-8d87-8ed4bfc4e715] Performed Kithe::AssetPromoteJob (Job ID: 1dd46c74-1cf2-417d-8d87-8ed4bfc4e715) from Inline(default) in 9.35ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 1dd46c74-1cf2-417d-8d87-8ed4bfc4e715) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f599c7cb-3ad6-455e-8eb5-2ff0c7a9e616", "file", {"id"=>"asset/bae0d527d170af7ad2652fafcaa22487.jpg", "storage"=>"cache"}, {}
+ [1m[35m (3.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:43:58.471029"], ["updated_at", "2020-05-19 20:43:58.471029"], ["file_data", "{\"id\":\"asset/70b761351f315b02ba487f16cd80aaa0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "b787f954-09a6-4fed-a8ad-16afeabad1d8"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b787f954-09a6-4fed-a8ad-16afeabad1d8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:43:58.494350"], ["updated_at", "2020-05-19 20:43:58.494350"], ["file_data", "{\"id\":\"asset/f66a3f4795fc05d361c0ff649d993082.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.500066"], ["file_data", "{\"id\":\"asset/0e4962f1-acb7-43b2-8d58-8795251baa95/129733f87e4752b8d9806c70d39920b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0e4962f1-acb7-43b2-8d58-8795251baa95"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0e4962f1-acb7-43b2-8d58-8795251baa95"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.519324"], ["updated_at", "2020-05-19 20:43:58.519324"], ["file_data", "{\"id\":\"asset/7d74e43fd5dccc9b7064d2f87335ca3f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fe6216d9-152c-443b-8b27-35c519ec7d92] Performing Kithe::AssetPromoteJob (Job ID: fe6216d9-152c-443b-8b27-35c519ec7d92) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b426184b-22a1-4712-b4de-c3e40082d015", "file", {"id"=>"asset/7d74e43fd5dccc9b7064d2f87335ca3f.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [fe6216d9-152c-443b-8b27-35c519ec7d92] [1m[36mTestAsset 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", "TestAsset"], ["id", "b426184b-22a1-4712-b4de-c3e40082d015"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fe6216d9-152c-443b-8b27-35c519ec7d92] Performed Kithe::AssetPromoteJob (Job ID: fe6216d9-152c-443b-8b27-35c519ec7d92) from Inline(default) in 2.53ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fe6216d9-152c-443b-8b27-35c519ec7d92) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "b426184b-22a1-4712-b4de-c3e40082d015", "file", {"id"=>"asset/7d74e43fd5dccc9b7064d2f87335ca3f.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "b426184b-22a1-4712-b4de-c3e40082d015"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.542223"], ["updated_at", "2020-05-19 20:43:58.542223"], ["file_data", "{\"id\":\"asset/2d59ec2a7629bd2769546adf9d51e972.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] Performing Kithe::AssetPromoteJob (Job ID: ae6cacf2-042d-4caa-9388-ca1bf94dc738) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "ebd5e923-2a62-4998-86b5-0253e061f820", "file", {"id"=>"asset/2d59ec2a7629bd2769546adf9d51e972.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] [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", "ebd5e923-2a62-4998-86b5-0253e061f820"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] [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", "ebd5e923-2a62-4998-86b5-0253e061f820"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] [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/ebd5e923-2a62-4998-86b5-0253e061f820/cff626f66c29d457eb047ed2eaa15759.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.551899"], ["id", "ebd5e923-2a62-4998-86b5-0253e061f820"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ae6cacf2-042d-4caa-9388-ca1bf94dc738] Performed Kithe::AssetPromoteJob (Job ID: ae6cacf2-042d-4caa-9388-ca1bf94dc738) from Inline(default) in 7.9ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ae6cacf2-042d-4caa-9388-ca1bf94dc738) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "ebd5e923-2a62-4998-86b5-0253e061f820", "file", {"id"=>"asset/2d59ec2a7629bd2769546adf9d51e972.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "ebd5e923-2a62-4998-86b5-0253e061f820"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:43:58.570066"], ["updated_at", "2020-05-19 20:43:58.570066"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.574385"], ["file_data", "{\"id\":\"asset/83a6a2af-6453-4faf-a07e-b0a1e433a009/d78fc5154a27a2e71c36a3bc0cafbaa1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "83a6a2af-6453-4faf-a07e-b0a1e433a009"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "83a6a2af-6453-4faf-a07e-b0a1e433a009"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.592757"], ["updated_at", "2020-05-19 20:43:58.592757"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.599807"], ["file_data", "{\"id\":\"asset/a5e02bc2-6f28-4a89-94ae-db7e22bac42c/b953f2f78cd14c333ecdb013f4fc5dbb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a5e02bc2-6f28-4a89-94ae-db7e22bac42c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "a5e02bc2-6f28-4a89-94ae-db7e22bac42c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.620269"], ["updated_at", "2020-05-19 20:43:58.620269"], ["file_data", "{\"id\":\"asset/679a93c8963287b849e5ab4cb9e85b3c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "bdc106fe-b0f4-43bb-a4ea-caceb5450950"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "bdc106fe-b0f4-43bb-a4ea-caceb5450950"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:43:58.640296"], ["updated_at", "2020-05-19 20:43:58.640296"], ["file_data", "{\"id\":\"asset/abafe876c782eeecd14b22c1dac0f064.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "503a540d-065a-4d9c-90c3-ad10841be288"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "503a540d-065a-4d9c-90c3-ad10841be288"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/503a540d-065a-4d9c-90c3-ad10841be288/449eac97f7040f58a20a95f4c1dafc56.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.651464"], ["id", "503a540d-065a-4d9c-90c3-ad10841be288"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "503a540d-065a-4d9c-90c3-ad10841be288"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.670083"], ["updated_at", "2020-05-19 20:43:58.670083"], ["file_data", "{\"id\":\"asset/07966d87e46029d7678c6b3fe73ee3c0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] Performing Kithe::AssetPromoteJob (Job ID: ba10f144-0cd8-4fd7-87be-5db44e334186) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "90e0678c-b1a1-4101-aefe-77cffe753929", "file", {"id"=>"asset/07966d87e46029d7678c6b3fe73ee3c0.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] [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", "90e0678c-b1a1-4101-aefe-77cffe753929"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] [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", "90e0678c-b1a1-4101-aefe-77cffe753929"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] [1m[36mTestAsset 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/90e0678c-b1a1-4101-aefe-77cffe753929/86a0b5de1c5e0533e710f17bfb1d5046.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.678918"], ["id", "90e0678c-b1a1-4101-aefe-77cffe753929"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ba10f144-0cd8-4fd7-87be-5db44e334186] Performed Kithe::AssetPromoteJob (Job ID: ba10f144-0cd8-4fd7-87be-5db44e334186) from Inline(default) in 7.87ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ba10f144-0cd8-4fd7-87be-5db44e334186) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "90e0678c-b1a1-4101-aefe-77cffe753929", "file", {"id"=>"asset/07966d87e46029d7678c6b3fe73ee3c0.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 20:43:58.702350"], ["updated_at", "2020-05-19 20:43:58.702350"], ["file_data", "{\"id\":\"asset/182c296438a40a992d5f9783fa4fbbf5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.705678"], ["file_data", "{\"id\":\"asset/57c1b992-db62-4ab5-b82a-0eea53b28464/a65472a46bd65cec40e9cb4368dc38d2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "57c1b992-db62-4ab5-b82a-0eea53b28464"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "57c1b992-db62-4ab5-b82a-0eea53b28464"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 20:43:58.723386"], ["updated_at", "2020-05-19 20:43:58.723386"], ["file_data", "{\"id\":\"asset/71e8ec1f0cf0b2443740653cb3fbf51b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] Performing Kithe::AssetPromoteJob (Job ID: 80932936-c892-4f50-81d7-fc96bc0e952f) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862", "file", {"id"=>"asset/71e8ec1f0cf0b2443740653cb3fbf51b.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] [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", "cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] [1m[36mTestAsset 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", "TestAsset"], ["id", "cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] [1m[36mTestAsset 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/cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862/708ff16f66e0636112f8c314a5df8188.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.731436"], ["id", "cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [80932936-c892-4f50-81d7-fc96bc0e952f] Performed Kithe::AssetPromoteJob (Job ID: 80932936-c892-4f50-81d7-fc96bc0e952f) from Inline(default) in 5.49ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 80932936-c892-4f50-81d7-fc96bc0e952f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "cae0e3ab-a16d-4c75-a1a9-e74d5ccb4862", "file", {"id"=>"asset/71e8ec1f0cf0b2443740653cb3fbf51b.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.756691"], ["updated_at", "2020-05-19 20:43:58.756691"], ["file_data", "{\"id\":\"asset/5b89802b3dc461f352158e12f716f3e6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] Performing Kithe::AssetPromoteJob (Job ID: 8612bb1b-ad3b-4f2e-9406-d63595dee248) from Inline(default) enqueued at 2020-05-19T20:43:58Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "2cd723a1-fb58-4254-907b-ee8be384b14c", "file", {"id"=>"asset/5b89802b3dc461f352158e12f716f3e6.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] [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", "2cd723a1-fb58-4254-907b-ee8be384b14c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] [1m[36mTestAsset 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", "TestAsset"], ["id", "2cd723a1-fb58-4254-907b-ee8be384b14c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] [1m[36mTestAsset 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/2cd723a1-fb58-4254-907b-ee8be384b14c/70ddad791465205b12c8bd116897b612.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:58.765824"], ["id", "2cd723a1-fb58-4254-907b-ee8be384b14c"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8612bb1b-ad3b-4f2e-9406-d63595dee248] Performed Kithe::AssetPromoteJob (Job ID: 8612bb1b-ad3b-4f2e-9406-d63595dee248) from Inline(default) in 6.55ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8612bb1b-ad3b-4f2e-9406-d63595dee248) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "2cd723a1-fb58-4254-907b-ee8be384b14c", "file", {"id"=>"asset/5b89802b3dc461f352158e12f716f3e6.jpg", "storage"=>"cache"}, {}
+ [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", "2cd723a1-fb58-4254-907b-ee8be384b14c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.784492"], ["updated_at", "2020-05-19 20:43:58.784492"], ["file_data", "{\"id\":\"asset/faec1a93c66af8860dd6ad05f4daae31.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "eccf9128-54db-42ce-9aca-551c229c4566"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.803259"], ["updated_at", "2020-05-19 20:43:58.803259"], ["file_data", "{\"id\":\"asset/8a5c93d7123f01cc81b7491953f3bc25.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.806491"], ["file_data", "{\"id\":\"asset/6b7df6db-ef93-4939-9480-16ee75befaaf/598eba8ef6e684620ac0136c5b7e5248.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6b7df6db-ef93-4939-9480-16ee75befaaf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: f192850e-6de4-4911-8b86-e93bd41463b1) to Test(default) with arguments: #<GlobalID:0x00007ff54671b3b0 @uri=#<URI::GID gid://dummy/TestAsset/6b7df6db-ef93-4939-9480-16ee75befaaf>>
+ [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", "6b7df6db-ef93-4939-9480-16ee75befaaf"], ["LIMIT", 1]]
+ [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", "6b7df6db-ef93-4939-9480-16ee75befaaf"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.823084"], ["updated_at", "2020-05-19 20:43:58.823084"], ["file_data", "{\"id\":\"asset/8dc85feae8eb23cd4f8c7759a1af245f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.854902"], ["updated_at", "2020-05-19 20:43:58.854902"], ["file_data", "{\"id\":\"asset/ffe83fd4b1e5c105265ec9f2b2e3bb10.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.858776"], ["file_data", "{\"id\":\"asset/f2af4d39-f732-4604-bbeb-8125d3ae5aed/86ffcb7584c290056753d59eb755f20c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f2af4d39-f732-4604-bbeb-8125d3ae5aed"]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f2af4d39-f732-4604-bbeb-8125d3ae5aed"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 20:43:58.884350"], ["updated_at", "2020-05-19 20:43:58.884350"], ["file_data", "{\"id\":\"asset/5c9804f0a551119c5deec306f264b4dd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.887748"], ["file_data", "{\"id\":\"asset/b97be854-338d-433c-bcdf-9966e633f899/3188c5732b9afcc5cf410d5e38f84d63.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b97be854-338d-433c-bcdf-9966e633f899"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [d571ed17-706a-4b98-85f7-ffcc5f4eb5c6] Performing Kithe::CreateDerivativesJob (Job ID: d571ed17-706a-4b98-85f7-ffcc5f4eb5c6) from Test(default) enqueued at with arguments: #<GlobalID:0x00007ff5417aeb60 @uri=#<URI::GID gid://dummy/TestAsset/b97be854-338d-433c-bcdf-9966e633f899>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [d571ed17-706a-4b98-85f7-ffcc5f4eb5c6] Performed Kithe::CreateDerivativesJob (Job ID: d571ed17-706a-4b98-85f7-ffcc5f4eb5c6) from Test(default) in 0.52ms
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "b97be854-338d-433c-bcdf-9966e633f899"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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", "TestAsset"], ["created_at", "2020-05-19 20:43:58.905136"], ["updated_at", "2020-05-19 20:43:58.905136"], ["file_data", "{\"id\":\"asset/755964a80405f781f698ae22f38b2e87.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.908936"], ["file_data", "{\"id\":\"asset/c7e44f15-3099-4ffb-a022-dd5ca0ae2263/5160e73daafe104f7d99f9c7b5d910b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c7e44f15-3099-4ffb-a022-dd5ca0ae2263'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c7e44f15-3099-4ffb-a022-dd5ca0ae2263'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "c7e44f15-3099-4ffb-a022-dd5ca0ae2263"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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-19 20:43:58.938029"], ["updated_at", "2020-05-19 20:43:58.938029"], ["file_data", "{\"id\":\"asset/d3ba032b5826940236bbdd8e77b82889.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:58.941772"], ["file_data", "{\"id\":\"asset/7c59b776-7dd3-465f-8ebb-c19b746df04f/695f4fbed24e7a32f1a3724c9e429c8b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7c59b776-7dd3-465f-8ebb-c19b746df04f"]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "7c59b776-7dd3-465f-8ebb-c19b746df04f"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7c59b776-7dd3-465f-8ebb-c19b746df04f"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "7c59b776-7dd3-465f-8ebb-c19b746df04f"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "7c59b776-7dd3-465f-8ebb-c19b746df04f"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7c59b776-7dd3-465f-8ebb-c19b746df04f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7c59b776-7dd3-465f-8ebb-c19b746df04f'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7c59b776-7dd3-465f-8ebb-c19b746df04f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:58.973542"], ["updated_at", "2020-05-19 20:43:58.973542"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.0ms)[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, $24, $25, $26, $27) AND "kithe_models"."id" = $28 LIMIT $29[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "ba206e1c-b8e7-4eae-ab8b-79a5cb7bb9b8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:43:58.994028"], ["updated_at", "2020-05-19 20:43:58.994028"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:43:59.009874"], ["updated_at", "2020-05-19 20:43:59.009874"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.015511"], ["file_data", "{\"id\":\"asset/4044a580-bbc1-4647-8857-1b4851870025/54394940fb4bde9acfc5471e07e3408e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "4044a580-bbc1-4647-8857-1b4851870025"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.018419"], ["file_data", "{\"id\":\"asset/4044a580-bbc1-4647-8857-1b4851870025/38345f3591e2600b94f99b1da2b8be66.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "4044a580-bbc1-4647-8857-1b4851870025"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "4044a580-bbc1-4647-8857-1b4851870025"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "some title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.023727"], ["updated_at", "2020-05-19 20:43:59.023727"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:43:59.034830"], ["updated_at", "2020-05-19 20:43:59.034830"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:43:59.037409"], ["updated_at", "2020-05-19 20:43:59.037409"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.044621"], ["updated_at", "2020-05-19 20:43:59.044621"], ["file_data", "{\"id\":\"asset/11c7e246fa4cb7871f3db66da7cc4a88.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] Performing Kithe::AssetPromoteJob (Job ID: 6170e7dd-c65b-4af0-9706-4487639dc7d9) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ac962115-a5da-493f-a3b1-3c279b120a46", "file", {"id"=>"asset/11c7e246fa4cb7871f3db66da7cc4a88.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac962115-a5da-493f-a3b1-3c279b120a46"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac962115-a5da-493f-a3b1-3c279b120a46"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] [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/ac962115-a5da-493f-a3b1-3c279b120a46/5625a909be156e661c040109cb09421b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.055564"], ["id", "ac962115-a5da-493f-a3b1-3c279b120a46"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6170e7dd-c65b-4af0-9706-4487639dc7d9] Performed Kithe::AssetPromoteJob (Job ID: 6170e7dd-c65b-4af0-9706-4487639dc7d9) from Inline(default) in 7.68ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6170e7dd-c65b-4af0-9706-4487639dc7d9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ac962115-a5da-493f-a3b1-3c279b120a46", "file", {"id"=>"asset/11c7e246fa4cb7871f3db66da7cc4a88.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (1.0ms)[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, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ac962115-a5da-493f-a3b1-3c279b120a46"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.065060"], ["updated_at", "2020-05-19 20:43:59.065060"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.067988"], ["file_data", "{\"id\":\"asset/df9e6f7915ac831ee91b68adc268b52b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "8d695b34-232f-42ed-8913-3a8cace05007"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] Performing Kithe::AssetPromoteJob (Job ID: 52aea7ca-6081-4015-99d7-6390fecfec3b) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8d695b34-232f-42ed-8913-3a8cace05007", "file", {"id"=>"asset/df9e6f7915ac831ee91b68adc268b52b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "8d695b34-232f-42ed-8913-3a8cace05007"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "8d695b34-232f-42ed-8913-3a8cace05007"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] [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/8d695b34-232f-42ed-8913-3a8cace05007/d5f30d70475a9602065a3cba494a9ff5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:43:59.075933"], ["id", "8d695b34-232f-42ed-8913-3a8cace05007"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [52aea7ca-6081-4015-99d7-6390fecfec3b] Performed Kithe::AssetPromoteJob (Job ID: 52aea7ca-6081-4015-99d7-6390fecfec3b) from Inline(default) in 7.76ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 52aea7ca-6081-4015-99d7-6390fecfec3b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8d695b34-232f-42ed-8913-3a8cace05007", "file", {"id"=>"asset/df9e6f7915ac831ee91b68adc268b52b.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "8d695b34-232f-42ed-8913-3a8cace05007"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.086409"], ["updated_at", "2020-05-19 20:43:59.086409"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.088649"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "c4a571a4-ead4-4063-b8b5-9815c415c2fe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] Performing Kithe::AssetPromoteJob (Job ID: bd63a21a-6781-49a9-a024-e2b4da68c37c) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c4a571a4-ead4-4063-b8b5-9815c415c2fe", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c4a571a4-ead4-4063-b8b5-9815c415c2fe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c4a571a4-ead4-4063-b8b5-9815c415c2fe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] [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/c4a571a4-ead4-4063-b8b5-9815c415c2fe/0965a2f0de5d63005c942586d15e933b.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:43:59.144267"], ["id", "c4a571a4-ead4-4063-b8b5-9815c415c2fe"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [bd63a21a-6781-49a9-a024-e2b4da68c37c] Performed Kithe::AssetPromoteJob (Job ID: bd63a21a-6781-49a9-a024-e2b4da68c37c) from Inline(default) in 56.27ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: bd63a21a-6781-49a9-a024-e2b4da68c37c) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "c4a571a4-ead4-4063-b8b5-9815c415c2fe", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "c4a571a4-ead4-4063-b8b5-9815c415c2fe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.162575"], ["updated_at", "2020-05-19 20:43:59.162575"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.167066"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] Performing Kithe::AssetPromoteJob (Job ID: fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] [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/d0a313ac-60b6-4ad3-a45d-c5e8c878039a/a1d1c66cd6019b83e0fc398063fb7779.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-19 20:43:59.231575"], ["id", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56] Performed Kithe::AssetPromoteJob (Job ID: fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56) from Inline(default) in 64.02ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fcd5fb34-14cd-4b10-a1fb-ae8bf2128b56) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d0a313ac-60b6-4ad3-a45d-c5e8c878039a", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.238850"], ["updated_at", "2020-05-19 20:43:59.238850"], ["file_data", "{\"id\":\"asset/d973ecbbaac21129aef5b4a3582a3ff4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 490ecadb-68f6-4d4d-8a2f-17c33e44d8ae) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "8ea93db9-c49b-42e4-a7c0-fc5f2fb7ddec", "file", {"id"=>"asset/d973ecbbaac21129aef5b4a3582a3ff4.jpg", "storage"=>"cache"}, {}
+ [1m[35m (1.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "8ea93db9-c49b-42e4-a7c0-fc5f2fb7ddec"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.252547"], ["file_data", "{\"id\":\"asset/8ea93db9-c49b-42e4-a7c0-fc5f2fb7ddec/151235c3c638f1dd7a12565526200422.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8ea93db9-c49b-42e4-a7c0-fc5f2fb7ddec"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.257216"], ["updated_at", "2020-05-19 20:43:59.257216"], ["file_data", "{\"id\":\"asset/28fa9eefad3753ca7a5174c10b28fadc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] Performing Kithe::AssetPromoteJob (Job ID: 133b0d17-1439-4306-8b8c-fadbede032ce) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a12db59c-c699-42a0-8a6b-41e056204f8b", "file", {"id"=>"asset/28fa9eefad3753ca7a5174c10b28fadc.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] [1m[36mKithe::Asset Load (31.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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "a12db59c-c699-42a0-8a6b-41e056204f8b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "a12db59c-c699-42a0-8a6b-41e056204f8b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] [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/a12db59c-c699-42a0-8a6b-41e056204f8b/e7b32cc3b0c9581a0184aaa58cd8139e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.318285"], ["id", "a12db59c-c699-42a0-8a6b-41e056204f8b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [133b0d17-1439-4306-8b8c-fadbede032ce] Performed Kithe::AssetPromoteJob (Job ID: 133b0d17-1439-4306-8b8c-fadbede032ce) from Inline(default) in 57.91ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 133b0d17-1439-4306-8b8c-fadbede032ce) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a12db59c-c699-42a0-8a6b-41e056204f8b", "file", {"id"=>"asset/28fa9eefad3753ca7a5174c10b28fadc.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 20:43:59.322267"], ["updated_at", "2020-05-19 20:43:59.322267"], ["file_data", "{\"id\":\"asset/2a2c146e8aa99b03072c6911bfb42945.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] Performing Kithe::AssetPromoteJob (Job ID: 3f2abcd5-2570-4520-88b8-615a2bde9470) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16", "file", {"id"=>"asset/2a2c146e8aa99b03072c6911bfb42945.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] [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/50a0347d-8876-4c92-a0b0-9a0e0b66fe16/e3afe11a772a3511dcdc1c5466280739.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.348861"], ["id", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [3f2abcd5-2570-4520-88b8-615a2bde9470] Performed Kithe::AssetPromoteJob (Job ID: 3f2abcd5-2570-4520-88b8-615a2bde9470) from Inline(default) in 25.51ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 3f2abcd5-2570-4520-88b8-615a2bde9470) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16", "file", {"id"=>"asset/2a2c146e8aa99b03072c6911bfb42945.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "50a0347d-8876-4c92-a0b0-9a0e0b66fe16"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.357942"], ["updated_at", "2020-05-19 20:43:59.357942"], ["file_data", "{\"id\":\"asset/af217ca003cc98a46de4100977dfcbac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] Performing Kithe::AssetPromoteJob (Job ID: 31dba08a-632c-43d0-b488-ee3a9423ac4a) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1033eedd-cb32-4ea2-afa5-b4387984e6fd", "file", {"id"=>"asset/af217ca003cc98a46de4100977dfcbac.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] [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/1033eedd-cb32-4ea2-afa5-b4387984e6fd/60d66c41c491c4acd4987b39ab63b085.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.378926"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [31dba08a-632c-43d0-b488-ee3a9423ac4a] Performed Kithe::AssetPromoteJob (Job ID: 31dba08a-632c-43d0-b488-ee3a9423ac4a) from Inline(default) in 19.8ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 31dba08a-632c-43d0-b488-ee3a9423ac4a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1033eedd-cb32-4ea2-afa5-b4387984e6fd", "file", {"id"=>"asset/af217ca003cc98a46de4100977dfcbac.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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/1033eedd-cb32-4ea2-afa5-b4387984e6fd/60d66c41c491c4acd4987b39ab63b085.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"1033eedd-cb32-4ea2-afa5-b4387984e6fd/existing/2e027b4d727ad4ee904f3a066bcea3d3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ksb0nrt9e_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:43:59.424255"], ["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1033eedd-cb32-4ea2-afa5-b4387984e6fd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1033eedd-cb32-4ea2-afa5-b4387984e6fd'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1033eedd-cb32-4ea2-afa5-b4387984e6fd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [7ee98e6d-914f-4e8c-bf69-4c141604610b] Performing Kithe::AssetDeleteJob (Job ID: 7ee98e6d-914f-4e8c-bf69-4c141604610b) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1033eedd-cb32-4ea2-afa5-b4387984e6fd/60d66c41c491c4acd4987b39ab63b085.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1033eedd-cb32-4ea2-afa5-b4387984e6fd/existing/2e027b4d727ad4ee904f3a066bcea3d3.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"ksb0nrt9e_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [7ee98e6d-914f-4e8c-bf69-4c141604610b] Performed Kithe::AssetDeleteJob (Job ID: 7ee98e6d-914f-4e8c-bf69-4c141604610b) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 7ee98e6d-914f-4e8c-bf69-4c141604610b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1033eedd-cb32-4ea2-afa5-b4387984e6fd/60d66c41c491c4acd4987b39ab63b085.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1033eedd-cb32-4ea2-afa5-b4387984e6fd/existing/2e027b4d727ad4ee904f3a066bcea3d3.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"ksb0nrt9e_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.439022"], ["updated_at", "2020-05-19 20:43:59.439022"], ["file_data", "{\"id\":\"asset/f95f50174915ba9bd0864256e4b9ef44.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] Performing Kithe::AssetPromoteJob (Job ID: 6c292012-aba7-47e8-bb6e-44badcf0cdcf) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1d67223d-5970-4fcc-9223-026c6a6594b6", "file", {"id"=>"asset/f95f50174915ba9bd0864256e4b9ef44.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] [1m[36mKithe::Asset Load (1.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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] [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/1d67223d-5970-4fcc-9223-026c6a6594b6/aa5df711b344d437346b4bf3b0485249.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.464919"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6c292012-aba7-47e8-bb6e-44badcf0cdcf] Performed Kithe::AssetPromoteJob (Job ID: 6c292012-aba7-47e8-bb6e-44badcf0cdcf) from Inline(default) in 24.86ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6c292012-aba7-47e8-bb6e-44badcf0cdcf) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1d67223d-5970-4fcc-9223-026c6a6594b6", "file", {"id"=>"asset/f95f50174915ba9bd0864256e4b9ef44.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/aa5df711b344d437346b4bf3b0485249.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"1d67223d-5970-4fcc-9223-026c6a6594b6/existing/eab284734b6b6bf5464cf7e83a033411.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"936597fv9_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:43:59.510916"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/8c1ce403b8a005275512e03e7e08f442.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 20:43:59.545206"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [bac4027f-606f-4675-8cc9-e3aa254cc7f6] Performing Kithe::AssetDeleteJob (Job ID: bac4027f-606f-4675-8cc9-e3aa254cc7f6) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/aa5df711b344d437346b4bf3b0485249.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1d67223d-5970-4fcc-9223-026c6a6594b6/existing/eab284734b6b6bf5464cf7e83a033411.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"936597fv9_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [bac4027f-606f-4675-8cc9-e3aa254cc7f6] Performed Kithe::AssetDeleteJob (Job ID: bac4027f-606f-4675-8cc9-e3aa254cc7f6) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: bac4027f-606f-4675-8cc9-e3aa254cc7f6) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/aa5df711b344d437346b4bf3b0485249.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"1d67223d-5970-4fcc-9223-026c6a6594b6/existing/eab284734b6b6bf5464cf7e83a033411.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"936597fv9_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] Performing Kithe::AssetPromoteJob (Job ID: 8ecdab81-1949-451b-9cc3-f1c1211454c0) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1d67223d-5970-4fcc-9223-026c6a6594b6", "file", {"id"=>"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/8c1ce403b8a005275512e03e7e08f442.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] [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/1d67223d-5970-4fcc-9223-026c6a6594b6/952be17b5bdf438f0d54bb4f5a62308d.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 20:43:59.563532"], ["id", "1d67223d-5970-4fcc-9223-026c6a6594b6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [8ecdab81-1949-451b-9cc3-f1c1211454c0] Performed Kithe::AssetPromoteJob (Job ID: 8ecdab81-1949-451b-9cc3-f1c1211454c0) from Inline(default) in 16.25ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 8ecdab81-1949-451b-9cc3-f1c1211454c0) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1d67223d-5970-4fcc-9223-026c6a6594b6", "file", {"id"=>"asset/1d67223d-5970-4fcc-9223-026c6a6594b6/8c1ce403b8a005275512e03e7e08f442.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.570017"], ["updated_at", "2020-05-19 20:43:59.570017"], ["file_data", "{\"id\":\"asset/461f2d772d5cc6ffb314eca4abe82af1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] Performing Kithe::AssetPromoteJob (Job ID: a0fb9206-ed5e-4dff-a4d3-69050e3bea57) from Inline(default) enqueued at 2020-05-19T20:43:59Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "652cd202-a801-49b9-b41b-9f114e56422b", "file", {"id"=>"asset/461f2d772d5cc6ffb314eca4abe82af1.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] [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/652cd202-a801-49b9-b41b-9f114e56422b/fef62f2fd8c3044e505c7b4bf459563a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 20:43:59.590459"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a0fb9206-ed5e-4dff-a4d3-69050e3bea57] Performed Kithe::AssetPromoteJob (Job ID: a0fb9206-ed5e-4dff-a4d3-69050e3bea57) from Inline(default) in 19.7ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a0fb9206-ed5e-4dff-a4d3-69050e3bea57) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "652cd202-a801-49b9-b41b-9f114e56422b", "file", {"id"=>"asset/461f2d772d5cc6ffb314eca4abe82af1.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/652cd202-a801-49b9-b41b-9f114e56422b/fef62f2fd8c3044e505c7b4bf459563a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"652cd202-a801-49b9-b41b-9f114e56422b/existing/005923f0c532b84bcfd2519179fda830.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"53w11bms4_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:43:59.635818"], ["id", "652cd202-a801-49b9-b41b-9f114e56422b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.639489"], ["updated_at", "2020-05-19 20:43:59.639489"], ["file_data", "{\"id\":\"asset/4b4ec4ca7cc759053a20909feb8d71fa.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d284929f-7564-4d4e-83ff-2155f0e41d08"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "d284929f-7564-4d4e-83ff-2155f0e41d08"], ["LIMIT", 1]]
+ [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/4b4ec4ca7cc759053a20909feb8d71fa.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"d284929f-7564-4d4e-83ff-2155f0e41d08/test/9b9a549861a609d6d7897180a5072c84.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7plvkhkwu_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 20:43:59.652245"], ["id", "d284929f-7564-4d4e-83ff-2155f0e41d08"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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::Collection"], ["created_at", "2020-05-19 20:43:59.670848"], ["updated_at", "2020-05-19 20:43:59.670848"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:43:59.754030"], ["updated_at", "2020-05-19 20:43:59.754030"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a45040e3-b749-4ff8-a389-5b5257e174c3"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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 Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.759712"], ["updated_at", "2020-05-19 20:43:59.759712"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[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::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "096a8e78-8932-4148-bd53-09b6f70bca74"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (1.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-19 20:43:59.775879"], ["updated_at", "2020-05-19 20:43:59.775879"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.780948"], ["updated_at", "2020-05-19 20:43:59.780948"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.8ms)[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", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["LIMIT", 1]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["containee_id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:43:59.796925"], ["updated_at", "2020-05-19 20:43:59.796925"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["container_id", "5079633e-511e-4c19-aab6-7b6f912b9957"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "5079633e-511e-4c19-aab6-7b6f912b9957"]]
+ [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", "3012fe29-0642-4ba7-93c7-f31fcb319d21"]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["container_id", "5079633e-511e-4c19-aab6-7b6f912b9957"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[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", "3012fe29-0642-4ba7-93c7-f31fcb319d21"], ["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["container_id", "5079633e-511e-4c19-aab6-7b6f912b9957"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '3012fe29-0642-4ba7-93c7-f31fcb319d21'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '3012fe29-0642-4ba7-93c7-f31fcb319d21'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "3012fe29-0642-4ba7-93c7-f31fcb319d21"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["LIMIT", 1]]
+ [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", "5079633e-511e-4c19-aab6-7b6f912b9957"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [1m[35m (0.8ms)[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", "5079633e-511e-4c19-aab6-7b6f912b9957"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.824378"], ["updated_at", "2020-05-19 20:43:59.824378"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "143050bc-0041-44c0-a90f-b80d083236f0"], ["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [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", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [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", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [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", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["containee_id", "143050bc-0041-44c0-a90f-b80d083236f0"]]
+ [1m[36mKithe::ModelContains Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"], ["containee_id", "143050bc-0041-44c0-a90f-b80d083236f0"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7161fcba-8043-495c-8aeb-a12bf2f2584a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7161fcba-8043-495c-8aeb-a12bf2f2584a'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7161fcba-8043-495c-8aeb-a12bf2f2584a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "143050bc-0041-44c0-a90f-b80d083236f0"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "143050bc-0041-44c0-a90f-b80d083236f0"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:43:59.878868"], ["updated_at", "2020-05-19 20:43:59.878868"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:43:59.883845"], ["updated_at", "2020-05-19 20:43:59.883845"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7f3b77ca-8925-4fbb-bb31-eb15bc118ee3"]]
+ [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-19 20:43:59.888850"], ["representative_id", "7f3b77ca-8925-4fbb-bb31-eb15bc118ee3"], ["leaf_representative_id", "7f3b77ca-8925-4fbb-bb31-eb15bc118ee3"], ["id", "11b94a4a-24d3-4d07-a38e-88bb758731e0"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7f3b77ca-8925-4fbb-bb31-eb15bc118ee3'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '11b94a4a-24d3-4d07-a38e-88bb758731e0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '11b94a4a-24d3-4d07-a38e-88bb758731e0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "11b94a4a-24d3-4d07-a38e-88bb758731e0"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "7f3b77ca-8925-4fbb-bb31-eb15bc118ee3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.901169"], ["updated_at", "2020-05-19 20:43:59.901169"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.906172"], ["updated_at", "2020-05-19 20:43:59.906172"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a7a338bc-6ce8-435e-bb0f-e03774f44471"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.910246"], ["updated_at", "2020-05-19 20:43:59.910246"], ["representative_id", "a7a338bc-6ce8-435e-bb0f-e03774f44471"], ["leaf_representative_id", "a7a338bc-6ce8-435e-bb0f-e03774f44471"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a7a338bc-6ce8-435e-bb0f-e03774f44471'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2efa8655-b731-4e3e-beee-46a5a311e110'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2efa8655-b731-4e3e-beee-46a5a311e110'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (1.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "a7a338bc-6ce8-435e-bb0f-e03774f44471"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "2efa8655-b731-4e3e-beee-46a5a311e110"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.920633"], ["updated_at", "2020-05-19 20:43:59.920633"], ["representative_id", "2efa8655-b731-4e3e-beee-46a5a311e110"], ["leaf_representative_id", "a7a338bc-6ce8-435e-bb0f-e03774f44471"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a7a338bc-6ce8-435e-bb0f-e03774f44471'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f15e4b68-679c-4a4d-86fb-ac6fbd6eb180'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f15e4b68-679c-4a4d-86fb-ac6fbd6eb180'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "a7a338bc-6ce8-435e-bb0f-e03774f44471"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.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-19 20:43:59.929193"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "f15e4b68-679c-4a4d-86fb-ac6fbd6eb180"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f15e4b68-679c-4a4d-86fb-ac6fbd6eb180'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f15e4b68-679c-4a4d-86fb-ac6fbd6eb180'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.933513"], ["updated_at", "2020-05-19 20:43:59.933513"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "55567c5b-e42c-4a00-a223-58b2fc8d7daf"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.936994"], ["updated_at", "2020-05-19 20:43:59.936994"], ["representative_id", "55567c5b-e42c-4a00-a223-58b2fc8d7daf"], ["leaf_representative_id", "55567c5b-e42c-4a00-a223-58b2fc8d7daf"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '55567c5b-e42c-4a00-a223-58b2fc8d7daf'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f1dd375d-3c32-4982-b84c-587f9e6047c5'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f1dd375d-3c32-4982-b84c-587f9e6047c5'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f1dd375d-3c32-4982-b84c-587f9e6047c5"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.941661"], ["updated_at", "2020-05-19 20:43:59.941661"], ["representative_id", "f1dd375d-3c32-4982-b84c-587f9e6047c5"], ["leaf_representative_id", "55567c5b-e42c-4a00-a223-58b2fc8d7daf"], ["kithe_model_type", 1]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '55567c5b-e42c-4a00-a223-58b2fc8d7daf'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0cbc783e-ac22-4280-80d2-d0c3c968f1ff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0cbc783e-ac22-4280-80d2-d0c3c968f1ff'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (1.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-19 20:43:59.946329"], ["representative_id", "55567c5b-e42c-4a00-a223-58b2fc8d7daf"], ["leaf_representative_id", "f1dd375d-3c32-4982-b84c-587f9e6047c5"], ["id", "0cbc783e-ac22-4280-80d2-d0c3c968f1ff"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f1dd375d-3c32-4982-b84c-587f9e6047c5'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0cbc783e-ac22-4280-80d2-d0c3c968f1ff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0cbc783e-ac22-4280-80d2-d0c3c968f1ff'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:43:59.953387"], ["updated_at", "2020-05-19 20:43:59.953387"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:43:59.955857"], ["updated_at", "2020-05-19 20:43:59.955857"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b8653c80-8ab7-48aa-8680-d162db57bd16"]]
+ [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-19 20:43:59.959348"], ["updated_at", "2020-05-19 20:43:59.959348"], ["representative_id", "b8653c80-8ab7-48aa-8680-d162db57bd16"], ["leaf_representative_id", "b8653c80-8ab7-48aa-8680-d162db57bd16"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b8653c80-8ab7-48aa-8680-d162db57bd16'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '10c8d996-64cf-4a85-9c93-c22bffed5e31'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '10c8d996-64cf-4a85-9c93-c22bffed5e31'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "10c8d996-64cf-4a85-9c93-c22bffed5e31"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:43:59.966478"], ["updated_at", "2020-05-19 20:43:59.966478"], ["representative_id", "10c8d996-64cf-4a85-9c93-c22bffed5e31"], ["leaf_representative_id", "b8653c80-8ab7-48aa-8680-d162db57bd16"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b8653c80-8ab7-48aa-8680-d162db57bd16'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a22a631f-0213-4a21-a8ac-b81f81cfcf53'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a22a631f-0213-4a21-a8ac-b81f81cfcf53'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:43:59.969837"], ["leaf_representative_id", "8351ed4c-e981-4c2d-88b3-beff49eaf69b"], ["id", "a22a631f-0213-4a21-a8ac-b81f81cfcf53"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8351ed4c-e981-4c2d-88b3-beff49eaf69b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a22a631f-0213-4a21-a8ac-b81f81cfcf53'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a22a631f-0213-4a21-a8ac-b81f81cfcf53'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "8351ed4c-e981-4c2d-88b3-beff49eaf69b"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "10c8d996-64cf-4a85-9c93-c22bffed5e31"]]
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "b8653c80-8ab7-48aa-8680-d162db57bd16"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:43:59.981661"], ["updated_at", "2020-05-19 20:43:59.981661"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:43:59.984047"], ["updated_at", "2020-05-19 20:43:59.984047"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "168841aa-6460-4481-8634-50969f0c4268"]]
+ [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-19 20:43:59.986696"], ["representative_id", "168841aa-6460-4481-8634-50969f0c4268"], ["leaf_representative_id", "168841aa-6460-4481-8634-50969f0c4268"], ["id", "e46fd1ac-5db4-4b7b-84da-5f80d77f310d"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '168841aa-6460-4481-8634-50969f0c4268'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e46fd1ac-5db4-4b7b-84da-5f80d77f310d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e46fd1ac-5db4-4b7b-84da-5f80d77f310d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e46fd1ac-5db4-4b7b-84da-5f80d77f310d"]]
+ [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-19 20:43:59.990132"], ["representative_id", "e46fd1ac-5db4-4b7b-84da-5f80d77f310d"], ["leaf_representative_id", "168841aa-6460-4481-8634-50969f0c4268"], ["id", "168841aa-6460-4481-8634-50969f0c4268"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '168841aa-6460-4481-8634-50969f0c4268'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '168841aa-6460-4481-8634-50969f0c4268'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '168841aa-6460-4481-8634-50969f0c4268'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.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-19 20:43:59.996117"], ["updated_at", "2020-05-19 20:43:59.996117"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:00.000451"], ["updated_at", "2020-05-19 20:44:00.000451"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "fe058229-d0c2-4a80-8118-55a0882e3c99"]]
+ [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-19 20:44:00.004463"], ["updated_at", "2020-05-19 20:44:00.004463"], ["representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '590a8fbb-4998-4b91-a132-243e764a6174'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '590a8fbb-4998-4b91-a132-243e764a6174'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "459bbbe1-15dc-4e61-9ccb-f7f67bc49d99"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.008719"], ["updated_at", "2020-05-19 20:44:00.008719"], ["representative_id", "459bbbe1-15dc-4e61-9ccb-f7f67bc49d99"], ["leaf_representative_id", "459bbbe1-15dc-4e61-9ccb-f7f67bc49d99"], ["kithe_model_type", 1]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '459bbbe1-15dc-4e61-9ccb-f7f67bc49d99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ebfeebe-4bd4-4bb5-9231-91a05564ddfc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ebfeebe-4bd4-4bb5-9231-91a05564ddfc'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "590a8fbb-4998-4b91-a132-243e764a6174"]]
+ [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-19 20:44:00.013936"], ["updated_at", "2020-05-19 20:44:00.013936"], ["representative_id", "590a8fbb-4998-4b91-a132-243e764a6174"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '76c88634-938c-42dc-b322-2577b0f737e0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '76c88634-938c-42dc-b322-2577b0f737e0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "590a8fbb-4998-4b91-a132-243e764a6174"]]
+ [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-19 20:44:00.018216"], ["updated_at", "2020-05-19 20:44:00.018216"], ["representative_id", "590a8fbb-4998-4b91-a132-243e764a6174"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bc515ef0-8fba-45a0-a027-3c4365da21b8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bc515ef0-8fba-45a0-a027-3c4365da21b8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0ebfeebe-4bd4-4bb5-9231-91a05564ddfc"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.022036"], ["updated_at", "2020-05-19 20:44:00.022036"], ["representative_id", "0ebfeebe-4bd4-4bb5-9231-91a05564ddfc"], ["leaf_representative_id", "459bbbe1-15dc-4e61-9ccb-f7f67bc49d99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '459bbbe1-15dc-4e61-9ccb-f7f67bc49d99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7ec9228a-b8e4-468d-8993-df697f486ef2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7ec9228a-b8e4-468d-8993-df697f486ef2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "76c88634-938c-42dc-b322-2577b0f737e0"]]
+ [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-19 20:44:00.026255"], ["updated_at", "2020-05-19 20:44:00.026255"], ["representative_id", "76c88634-938c-42dc-b322-2577b0f737e0"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '612e9d2a-29ab-431f-951e-19965dfca8b3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '612e9d2a-29ab-431f-951e-19965dfca8b3'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "612e9d2a-29ab-431f-951e-19965dfca8b3"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.030918"], ["updated_at", "2020-05-19 20:44:00.030918"], ["representative_id", "612e9d2a-29ab-431f-951e-19965dfca8b3"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '24861571-1fc2-483e-ac64-b00674d2c4da'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '24861571-1fc2-483e-ac64-b00674d2c4da'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "612e9d2a-29ab-431f-951e-19965dfca8b3"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.034739"], ["updated_at", "2020-05-19 20:44:00.034739"], ["representative_id", "612e9d2a-29ab-431f-951e-19965dfca8b3"], ["leaf_representative_id", "fe058229-d0c2-4a80-8118-55a0882e3c99"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fe058229-d0c2-4a80-8118-55a0882e3c99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5cc7b6b0-221a-4260-8706-37f0f9347da6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5cc7b6b0-221a-4260-8706-37f0f9347da6'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0ebfeebe-4bd4-4bb5-9231-91a05564ddfc"]]
+ [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-19 20:44:00.038202"], ["representative_id", "0ebfeebe-4bd4-4bb5-9231-91a05564ddfc"], ["leaf_representative_id", "459bbbe1-15dc-4e61-9ccb-f7f67bc49d99"], ["id", "76c88634-938c-42dc-b322-2577b0f737e0"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '459bbbe1-15dc-4e61-9ccb-f7f67bc49d99'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '76c88634-938c-42dc-b322-2577b0f737e0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '76c88634-938c-42dc-b322-2577b0f737e0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "76c88634-938c-42dc-b322-2577b0f737e0"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "612e9d2a-29ab-431f-951e-19965dfca8b3"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "24861571-1fc2-483e-ac64-b00674d2c4da"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "5cc7b6b0-221a-4260-8706-37f0f9347da6"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "bc515ef0-8fba-45a0-a027-3c4365da21b8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "590a8fbb-4998-4b91-a132-243e764a6174"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:00.051876"], ["updated_at", "2020-05-19 20:44:00.051876"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 20:44:00.054460"], ["updated_at", "2020-05-19 20:44:00.054460"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"]]
+ [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-19 20:44:00.057603"], ["updated_at", "2020-05-19 20:44:00.057603"], ["representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7a0327f3-1e73-492d-aeab-e988cbb1ef29'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7a0327f3-1e73-492d-aeab-e988cbb1ef29'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "54d079a4-0361-42d6-a901-db2ed0c04738"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.062536"], ["updated_at", "2020-05-19 20:44:00.062536"], ["representative_id", "54d079a4-0361-42d6-a901-db2ed0c04738"], ["leaf_representative_id", "54d079a4-0361-42d6-a901-db2ed0c04738"], ["kithe_model_type", 1]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '54d079a4-0361-42d6-a901-db2ed0c04738'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '5787b177-b2a1-4509-8bc7-2cc1ae1d8ebc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '5787b177-b2a1-4509-8bc7-2cc1ae1d8ebc'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7a0327f3-1e73-492d-aeab-e988cbb1ef29"]]
+ [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-19 20:44:00.068566"], ["updated_at", "2020-05-19 20:44:00.068566"], ["representative_id", "7a0327f3-1e73-492d-aeab-e988cbb1ef29"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '23fda9e6-5e95-43b9-b604-a6a17dc29124'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '23fda9e6-5e95-43b9-b604-a6a17dc29124'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7a0327f3-1e73-492d-aeab-e988cbb1ef29"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.072473"], ["updated_at", "2020-05-19 20:44:00.072473"], ["representative_id", "7a0327f3-1e73-492d-aeab-e988cbb1ef29"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '19ea30e0-1d8e-49cd-9e71-bbbcc0ad47df'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '19ea30e0-1d8e-49cd-9e71-bbbcc0ad47df'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "5787b177-b2a1-4509-8bc7-2cc1ae1d8ebc"]]
+ [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-19 20:44:00.076887"], ["updated_at", "2020-05-19 20:44:00.076887"], ["representative_id", "5787b177-b2a1-4509-8bc7-2cc1ae1d8ebc"], ["leaf_representative_id", "54d079a4-0361-42d6-a901-db2ed0c04738"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '54d079a4-0361-42d6-a901-db2ed0c04738'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1c2dc0e3-7a20-413f-8474-bd6d066fdf7d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1c2dc0e3-7a20-413f-8474-bd6d066fdf7d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "23fda9e6-5e95-43b9-b604-a6a17dc29124"]]
+ [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-19 20:44:00.081710"], ["updated_at", "2020-05-19 20:44:00.081710"], ["representative_id", "23fda9e6-5e95-43b9-b604-a6a17dc29124"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b6c6c968-e5fa-4e90-9e6b-3946100c6fb6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b6c6c968-e5fa-4e90-9e6b-3946100c6fb6'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b6c6c968-e5fa-4e90-9e6b-3946100c6fb6"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.085958"], ["updated_at", "2020-05-19 20:44:00.085958"], ["representative_id", "b6c6c968-e5fa-4e90-9e6b-3946100c6fb6"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1f2cda59-a674-471d-9526-b97e639dc83c'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1f2cda59-a674-471d-9526-b97e639dc83c'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b6c6c968-e5fa-4e90-9e6b-3946100c6fb6"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.089781"], ["updated_at", "2020-05-19 20:44:00.089781"], ["representative_id", "b6c6c968-e5fa-4e90-9e6b-3946100c6fb6"], ["leaf_representative_id", "61179cd3-02bf-4aa7-b870-56ffa65d9ea4"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '61179cd3-02bf-4aa7-b870-56ffa65d9ea4'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2d1b55c3-c7c5-4f24-8c1c-8e609343b282'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2d1b55c3-c7c5-4f24-8c1c-8e609343b282'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "54d079a4-0361-42d6-a901-db2ed0c04738"]]
+ [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-19 20:44:00.093849"], ["representative_id", "54d079a4-0361-42d6-a901-db2ed0c04738"], ["leaf_representative_id", "54d079a4-0361-42d6-a901-db2ed0c04738"], ["id", "7a0327f3-1e73-492d-aeab-e988cbb1ef29"]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '54d079a4-0361-42d6-a901-db2ed0c04738'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7a0327f3-1e73-492d-aeab-e988cbb1ef29'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7a0327f3-1e73-492d-aeab-e988cbb1ef29'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "23fda9e6-5e95-43b9-b604-a6a17dc29124"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "19ea30e0-1d8e-49cd-9e71-bbbcc0ad47df"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b6c6c968-e5fa-4e90-9e6b-3946100c6fb6"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "1f2cda59-a674-471d-9526-b97e639dc83c"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2d1b55c3-c7c5-4f24-8c1c-8e609343b282"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:00.106012"], ["updated_at", "2020-05-19 20:44:00.106012"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "20aceb88-7f63-4c1c-bfc2-912a9796379a"]]
+ [1m[36mKithe::Work Create (2.4ms)[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-19 20:44:00.109476"], ["updated_at", "2020-05-19 20:44:00.109476"], ["representative_id", "20aceb88-7f63-4c1c-bfc2-912a9796379a"], ["leaf_representative_id", "20aceb88-7f63-4c1c-bfc2-912a9796379a"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '20aceb88-7f63-4c1c-bfc2-912a9796379a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'cd1439f5-addb-4cfd-a4e2-9bb4e5a0e594'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'cd1439f5-addb-4cfd-a4e2-9bb4e5a0e594'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "cd1439f5-addb-4cfd-a4e2-9bb4e5a0e594"]]
+ [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-19 20:44:00.117678"], ["updated_at", "2020-05-19 20:44:00.117678"], ["representative_id", "cd1439f5-addb-4cfd-a4e2-9bb4e5a0e594"], ["leaf_representative_id", "20aceb88-7f63-4c1c-bfc2-912a9796379a"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '20aceb88-7f63-4c1c-bfc2-912a9796379a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c58cc408-eb6f-4b00-b536-9cdf1db655fd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c58cc408-eb6f-4b00-b536-9cdf1db655fd'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "20aceb88-7f63-4c1c-bfc2-912a9796379a"]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:00.141712"], ["updated_at", "2020-05-19 20:44:00.141712"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"]]
+ [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-19 20:44:00.145497"], ["updated_at", "2020-05-19 20:44:00.145497"], ["representative_id", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"], ["leaf_representative_id", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"], ["kithe_model_type", 1]]
+ [1m[35m (2.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'aef1dba8-0699-49ba-91c7-1affdfc15bd8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'aef1dba8-0699-49ba-91c7-1affdfc15bd8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"]]
+ [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", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"]]
+ [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", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"]]
+ [1m[35m (4.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f1ba6ca0-1a80-4fdb-b32f-f0de625fa5dc"]]
+ [1m[35m (26.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "aef1dba8-0699-49ba-91c7-1affdfc15bd8"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:00.200050"], ["updated_at", "2020-05-19 20:44:00.200050"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "89b96b59-8341-40ad-9f67-6ecf1d61d956"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.203281"], ["updated_at", "2020-05-19 20:44:00.203281"], ["representative_id", "89b96b59-8341-40ad-9f67-6ecf1d61d956"], ["leaf_representative_id", "89b96b59-8341-40ad-9f67-6ecf1d61d956"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '89b96b59-8341-40ad-9f67-6ecf1d61d956'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7c3475ee-8b96-40ee-9526-2a7539216d80'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7c3475ee-8b96-40ee-9526-2a7539216d80'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7c3475ee-8b96-40ee-9526-2a7539216d80"]]
+ [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-19 20:44:00.207132"], ["updated_at", "2020-05-19 20:44:00.207132"], ["representative_id", "7c3475ee-8b96-40ee-9526-2a7539216d80"], ["leaf_representative_id", "89b96b59-8341-40ad-9f67-6ecf1d61d956"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '89b96b59-8341-40ad-9f67-6ecf1d61d956'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0b6a54cc-62a1-4c51-902a-44441d5986c1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0b6a54cc-62a1-4c51-902a-44441d5986c1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "7c3475ee-8b96-40ee-9526-2a7539216d80"]]
+ [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", "7c3475ee-8b96-40ee-9526-2a7539216d80"]]
+ [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", "7c3475ee-8b96-40ee-9526-2a7539216d80"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7c3475ee-8b96-40ee-9526-2a7539216d80'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7c3475ee-8b96-40ee-9526-2a7539216d80'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "7c3475ee-8b96-40ee-9526-2a7539216d80"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "0b6a54cc-62a1-4c51-902a-44441d5986c1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:00.223271"], ["updated_at", "2020-05-19 20:44:00.223271"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b80cfbc7-d691-45bb-9258-d06263d0380b"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.227176"], ["updated_at", "2020-05-19 20:44:00.227176"], ["representative_id", "b80cfbc7-d691-45bb-9258-d06263d0380b"], ["leaf_representative_id", "b80cfbc7-d691-45bb-9258-d06263d0380b"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b80cfbc7-d691-45bb-9258-d06263d0380b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f567ae46-f039-4a93-bccf-1f56bf216287'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f567ae46-f039-4a93-bccf-1f56bf216287'
+);
+[0m
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f567ae46-f039-4a93-bccf-1f56bf216287"]]
+ [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-19 20:44:00.234037"], ["updated_at", "2020-05-19 20:44:00.234037"], ["representative_id", "f567ae46-f039-4a93-bccf-1f56bf216287"], ["leaf_representative_id", "b80cfbc7-d691-45bb-9258-d06263d0380b"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'b80cfbc7-d691-45bb-9258-d06263d0380b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '49cb4e59-4902-4c73-9515-b3067f8c335e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '49cb4e59-4902-4c73-9515-b3067f8c335e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "b80cfbc7-d691-45bb-9258-d06263d0380b"]]
+ [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", "b80cfbc7-d691-45bb-9258-d06263d0380b"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "b80cfbc7-d691-45bb-9258-d06263d0380b"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b80cfbc7-d691-45bb-9258-d06263d0380b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b80cfbc7-d691-45bb-9258-d06263d0380b'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b80cfbc7-d691-45bb-9258-d06263d0380b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "49cb4e59-4902-4c73-9515-b3067f8c335e"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f567ae46-f039-4a93-bccf-1f56bf216287"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.248555"], ["updated_at", "2020-05-19 20:44:00.248555"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:44:00.255560"], ["updated_at", "2020-05-19 20:44:00.255560"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:44:00.258320"], ["updated_at", "2020-05-19 20:44:00.258320"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.261172"], ["parent_id", "900342d7-0c83-4188-b5e2-c1b3e159d1ad"], ["id", "410f42d1-5116-4d97-91eb-bf49a17ba9b8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "410f42d1-5116-4d97-91eb-bf49a17ba9b8"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "900342d7-0c83-4188-b5e2-c1b3e159d1ad"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 20:44:00.272926"], ["updated_at", "2020-05-19 20:44:00.272926"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:00.275367"], ["updated_at", "2020-05-19 20:44:00.275367"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.283092"], ["parent_id", "4302d0ec-c0ce-4967-be60-b52baf666e33"], ["id", "093b7eeb-9aef-4145-bdae-d6134ab7c061"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "093b7eeb-9aef-4145-bdae-d6134ab7c061"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "4302d0ec-c0ce-4967-be60-b52baf666e33"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 20:44:00.293162"], ["updated_at", "2020-05-19 20:44:00.293162"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:44:00.297376"], ["updated_at", "2020-05-19 20:44:00.297376"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 20:44:00.304375"], ["updated_at", "2020-05-19 20:44:00.304375"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "23b6a343-a21a-4a38-ac9d-fff751a52990"]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (1.2ms)[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-19 20:44:00.314035"], ["updated_at", "2020-05-19 20:44:00.314035"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "d796a167-2633-494d-bb73-0bfcda6ad853"], ["container_id", "23b6a343-a21a-4a38-ac9d-fff751a52990"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Create (1.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", "title"], ["type", "TestWorkSubclass"], ["json_attributes", "{\"authors\":[\"Bob\",\"Joe\"]}"], ["created_at", "2020-05-19 20:44:00.334738"], ["updated_at", "2020-05-19 20:44:00.334738"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "e74c1f15-d281-4c60-b5e9-f374b52a8321"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:44:00.395566"], ["updated_at", "2020-05-19 20:44:00.395566"], ["file_data", "{\"id\":\"asset/bc3641070ddaa8e2584e40aaa7b5a5fe.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:44:00.436061"], ["file_data", "{\"id\":\"asset/fb99bb67-60ec-4892-b6f5-9ad034aad4bf/22eac8e8908fc0d8f1eb3be2bdc3283a.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "fb99bb67-60ec-4892-b6f5-9ad034aad4bf"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "fb99bb67-60ec-4892-b6f5-9ad034aad4bf"], ["LIMIT", 1]]
+ [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:44:00.494747"], ["updated_at", "2020-05-19 20:44:00.494747"], ["file_data", "{\"id\":\"asset/87947e3e5fe27a444a05dc9ab3ffc36e.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "d43fda0a-b3c6-4087-b113-67b9c870c87c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 20:44:00.548083"], ["updated_at", "2020-05-19 20:44:00.548083"], ["file_data", "{\"id\":\"asset/f20cd9c064d0c41eb9ea03aafa90e9d0.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 20:44:00.587850"], ["file_data", "{\"id\":\"asset/ed026fc2-f8ef-47e2-940c-226db5839bc4/f60e49b60eece5dffbe55e674cd66efd.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "ed026fc2-f8ef-47e2-940c-226db5839bc4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "ed026fc2-f8ef-47e2-940c-226db5839bc4"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "ed026fc2-f8ef-47e2-940c-226db5839bc4"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.625560"], ["file_data", "{\"id\":\"asset/ed026fc2-f8ef-47e2-940c-226db5839bc4/f60e49b60eece5dffbe55e674cd66efd.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\":\"ed026fc2-f8ef-47e2-940c-226db5839bc4/test/3804650dd30f328bc2c8f8d84a446212.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pdqxkv13o_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ed026fc2-f8ef-47e2-940c-226db5839bc4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:44:00.652099"], ["updated_at", "2020-05-19 20:44:00.652099"], ["file_data", "{\"id\":\"asset/1753ce8a31f47572f940e6430ab43f48.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.656463"], ["file_data", "{\"id\":\"asset/46d883f7-a523-4102-9313-04f9e5f4ad67/8ea64be90bf67e02c83c24617dea3a65.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "46d883f7-a523-4102-9313-04f9e5f4ad67"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "46d883f7-a523-4102-9313-04f9e5f4ad67"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:44:00.713782"], ["updated_at", "2020-05-19 20:44:00.713782"], ["file_data", "{\"id\":\"asset/79a56ed148a8775bdb8111ecefb87839.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:00.719607"], ["file_data", "{\"id\":\"asset/64f24034-26d2-4bdb-a960-00f51f415f59/16e47be764fd74c6c523d69609ab6cc0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "64f24034-26d2-4bdb-a960-00f51f415f59"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:00.742727"], ["updated_at", "2020-05-19 20:44:00.742727"], ["file_data", "{\"id\":\"asset/f00cd364953039efe32c8373f9e3d8ba.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.748841"], ["file_data", "{\"id\":\"asset/9897921a-0cdc-4f1d-ab52-5bd25d463fd3/71f6f9124f360b554f028144a9553e14.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "9897921a-0cdc-4f1d-ab52-5bd25d463fd3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:44:00.775826"], ["updated_at", "2020-05-19 20:44:00.775826"], ["file_data", "{\"id\":\"asset/1eff49ee73b4957fc29bb6586791c401.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.782261"], ["file_data", "{\"id\":\"asset/757a3421-50b7-495b-8927-911b0db10f46/8b3b7a14a21b75dbe39a94d2e2bad4c5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "757a3421-50b7-495b-8927-911b0db10f46"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:00.803305"], ["updated_at", "2020-05-19 20:44:00.803305"], ["file_data", "{\"id\":\"asset/dfcd948b0555ca8d1ba245f37315087e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:00.806587"], ["file_data", "{\"id\":\"asset/0b2f9cb6-15ba-425d-a584-38729bb6e3e0/8bc96b16788c00ea3976c8873cd64204.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0b2f9cb6-15ba-425d-a584-38729bb6e3e0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0b2f9cb6-15ba-425d-a584-38729bb6e3e0"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:00.906656"], ["updated_at", "2020-05-19 20:44:00.906656"], ["file_data", "{\"id\":\"asset/8e17c7954d5e08da0af50d4bc128dec1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.910613"], ["file_data", "{\"id\":\"asset/eb4b8484-6e2d-4474-8a14-68a46b9def56/07f62c28a4ed5d7092b1e1710ad39653.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "eb4b8484-6e2d-4474-8a14-68a46b9def56"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "eb4b8484-6e2d-4474-8a14-68a46b9def56"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.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-19 20:44:00.963426"], ["updated_at", "2020-05-19 20:44:00.963426"], ["file_data", "{\"id\":\"asset/4b8a1dd22eddc07dfb568d6fea0f05f4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:00.968802"], ["file_data", "{\"id\":\"asset/3a32e495-e759-4545-83ac-02326818861e/98b3a299fe78045f74087fb1bf3b78b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3a32e495-e759-4545-83ac-02326818861e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "3a32e495-e759-4545-83ac-02326818861e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:01.022711"], ["updated_at", "2020-05-19 20:44:01.022711"], ["file_data", "{\"id\":\"asset/86f0f5e88fb99dfcd335cb9bcec5331f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.026378"], ["file_data", "{\"id\":\"asset/79693b3a-b3ee-4044-a636-56f6d1a96c1b/0c3f537e6c07bc01ba24d9cd2d8e0188.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "79693b3a-b3ee-4044-a636-56f6d1a96c1b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "79693b3a-b3ee-4044-a636-56f6d1a96c1b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.107850"], ["updated_at", "2020-05-19 20:44:01.107850"], ["file_data", "{\"id\":\"asset/02291e7f224d3d5fd7b9c57448d7ef36.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (1.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.112677"], ["file_data", "{\"id\":\"asset/9001c01c-e2f6-4dcc-853f-bdc27468a42b/ac0bc08f1cebe56d2e42758a4040d47b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "9001c01c-e2f6-4dcc-853f-bdc27468a42b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "9001c01c-e2f6-4dcc-853f-bdc27468a42b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:01.237730"], ["updated_at", "2020-05-19 20:44:01.237730"], ["file_data", "{\"id\":\"asset/9cfbad3934ca09e032f040ad6804b69e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.241328"], ["file_data", "{\"id\":\"asset/56c8d834-a98a-4cfd-ac2d-33a8e8b0920b/1b0442af158fd6d33df33ef4d89e26e7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "56c8d834-a98a-4cfd-ac2d-33a8e8b0920b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "56c8d834-a98a-4cfd-ac2d-33a8e8b0920b"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 20:44:01.324817"], ["updated_at", "2020-05-19 20:44:01.324817"], ["file_data", "{\"id\":\"asset/4b692eedbee0e9ccdc29db3c7a58b54e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.330721"], ["file_data", "{\"id\":\"asset/224ec6c8-03ce-4ded-bbdd-c1c94527d485/c70f99c4a074b85dda384838b5fbedfb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "224ec6c8-03ce-4ded-bbdd-c1c94527d485"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "224ec6c8-03ce-4ded-bbdd-c1c94527d485"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:01.422330"], ["updated_at", "2020-05-19 20:44:01.422330"], ["file_data", "{\"id\":\"asset/84853316d757a1441833fb96d6a3f8ed.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.425989"], ["file_data", "{\"id\":\"asset/ae78c13c-3526-4c12-b9e6-9e963850020b/7c824cfabb8e523092c012c0b6640bf9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ae78c13c-3526-4c12-b9e6-9e963850020b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ae78c13c-3526-4c12-b9e6-9e963850020b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:01.485244"], ["updated_at", "2020-05-19 20:44:01.485244"], ["file_data", "{\"id\":\"asset/9fe49309ea22e6030195b9840e1d3353.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.490221"], ["file_data", "{\"id\":\"asset/0d02df99-7b8d-478d-be38-1289e3ff6c7d/1269772167e42a76d5fc6492d4377801.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0d02df99-7b8d-478d-be38-1289e3ff6c7d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0d02df99-7b8d-478d-be38-1289e3ff6c7d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 20:44:01.548359"], ["updated_at", "2020-05-19 20:44:01.548359"], ["file_data", "{\"id\":\"asset/1c5df9773af204570b4696b8925075b6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.553733"], ["file_data", "{\"id\":\"asset/0d194abb-3f63-4b62-bd21-513758e74c1f/a802a78d9812c54deec3005465c2ceb1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.596751"], ["file_data", "{\"id\":\"asset/0d194abb-3f63-4b62-bd21-513758e74c1f/a802a78d9812c54deec3005465c2ceb1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"0d194abb-3f63-4b62-bd21-513758e74c1f/some_data/bc0cade547f33b93232e3a7326e5682a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"574ejbqwc_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.636562"], ["file_data", "{\"id\":\"asset/0d194abb-3f63-4b62-bd21-513758e74c1f/a802a78d9812c54deec3005465c2ceb1.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"0d194abb-3f63-4b62-bd21-513758e74c1f/some_data/bc0cade547f33b93232e3a7326e5682a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"574ejbqwc_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"0d194abb-3f63-4b62-bd21-513758e74c1f/a_jpg/0b342e85287d6b6925754f43212290b3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"574ejbqwc_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0d194abb-3f63-4b62-bd21-513758e74c1f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.665610"], ["updated_at", "2020-05-19 20:44:01.665610"], ["file_data", "{\"id\":\"asset/48351b733eacfeca05edf753117b9172.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.671058"], ["file_data", "{\"id\":\"asset/4480df7d-eb38-4c98-bfba-fa2dda893d9c/7df349ab9513d6044ef3e15269e1f3d6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4480df7d-eb38-4c98-bfba-fa2dda893d9c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "4480df7d-eb38-4c98-bfba-fa2dda893d9c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "4480df7d-eb38-4c98-bfba-fa2dda893d9c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.680947"], ["file_data", "{\"id\":\"asset/4480df7d-eb38-4c98-bfba-fa2dda893d9c/7df349ab9513d6044ef3e15269e1f3d6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"4480df7d-eb38-4c98-bfba-fa2dda893d9c/sample/2d4688c7e113fbcb720914666130f3e3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"mb5mo8r8k_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "4480df7d-eb38-4c98-bfba-fa2dda893d9c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "4480df7d-eb38-4c98-bfba-fa2dda893d9c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.689621"], ["updated_at", "2020-05-19 20:44:01.689621"], ["file_data", "{\"id\":\"asset/92f9ec7c662cc2b03fa2683b81be8fdf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.693034"], ["file_data", "{\"id\":\"asset/c4bb0257-629e-4cd6-8422-e3ab7a2d9c37/70bfd03ef81d5c6a2c7ff32b235f41d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c4bb0257-629e-4cd6-8422-e3ab7a2d9c37"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "c4bb0257-629e-4cd6-8422-e3ab7a2d9c37"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "c4bb0257-629e-4cd6-8422-e3ab7a2d9c37"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.704733"], ["file_data", "{\"id\":\"asset/c4bb0257-629e-4cd6-8422-e3ab7a2d9c37/70bfd03ef81d5c6a2c7ff32b235f41d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"c4bb0257-629e-4cd6-8422-e3ab7a2d9c37/sample/6477e51156797fa3e3f34e878ef92482.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"62pptzlmm_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "c4bb0257-629e-4cd6-8422-e3ab7a2d9c37"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.4ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.710124"], ["updated_at", "2020-05-19 20:44:01.710124"], ["file_data", "{\"id\":\"asset/2e0797c071a7ba2f12bf6eccbeffe534.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.716943"], ["file_data", "{\"id\":\"asset/f55df366-8e1c-4fc6-9457-8e05ac546b9f/1917a5770614df46b49c847dea552eae.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f55df366-8e1c-4fc6-9457-8e05ac546b9f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "f55df366-8e1c-4fc6-9457-8e05ac546b9f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "f55df366-8e1c-4fc6-9457-8e05ac546b9f"], ["LIMIT", 1]]
+ [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-19 20:44:01.724817"], ["file_data", "{\"id\":\"asset/f55df366-8e1c-4fc6-9457-8e05ac546b9f/1917a5770614df46b49c847dea552eae.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"f55df366-8e1c-4fc6-9457-8e05ac546b9f/sample/01c1eaa843c11f310c498e0639ff4cd6.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"zs6hgdyx3_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "f55df366-8e1c-4fc6-9457-8e05ac546b9f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "f55df366-8e1c-4fc6-9457-8e05ac546b9f"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:01.733095"], ["updated_at", "2020-05-19 20:44:01.733095"], ["file_data", "{\"id\":\"asset/a16827c1d75b1bbca4d69df8a7a9efcb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.736310"], ["file_data", "{\"id\":\"asset/44d2544b-d404-42bc-89a6-d3edfc016541/861d7336fe94fa971b34815e8b472c44.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "44d2544b-d404-42bc-89a6-d3edfc016541"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "44d2544b-d404-42bc-89a6-d3edfc016541"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "44d2544b-d404-42bc-89a6-d3edfc016541"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.744121"], ["file_data", "{\"id\":\"asset/44d2544b-d404-42bc-89a6-d3edfc016541/861d7336fe94fa971b34815e8b472c44.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"44d2544b-d404-42bc-89a6-d3edfc016541/sample/8ec80ac945603f66c25090dbae19f470.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tp7j5qkrs_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "44d2544b-d404-42bc-89a6-d3edfc016541"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "44d2544b-d404-42bc-89a6-d3edfc016541"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.755230"], ["updated_at", "2020-05-19 20:44:01.755230"], ["file_data", "{\"id\":\"asset/60def03a3c393d0cd3945613b03b3d8e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:01.759442"], ["file_data", "{\"id\":\"asset/f2018f7d-ba5f-4a8a-ab99-e1c2b1249752/e35f99a682a69fc92e50c5622a34f21c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f2018f7d-ba5f-4a8a-ab99-e1c2b1249752"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.769402"], ["updated_at", "2020-05-19 20:44:01.769402"], ["file_data", "{\"id\":\"asset/6b307bef3c633cc70c491ab2edf84a74.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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-19 20:44:01.773375"], ["file_data", "{\"id\":\"asset/6cff708f-bac3-4b7b-9799-9b64c3f21586/1c822f18598397cee889de6e57f48dd8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6cff708f-bac3-4b7b-9799-9b64c3f21586"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "6cff708f-bac3-4b7b-9799-9b64c3f21586"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "6cff708f-bac3-4b7b-9799-9b64c3f21586"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.4ms)[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-19 20:44:01.788134"], ["file_data", "{\"id\":\"asset/6cff708f-bac3-4b7b-9799-9b64c3f21586/1c822f18598397cee889de6e57f48dd8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"6cff708f-bac3-4b7b-9799-9b64c3f21586/sample/657756a6c01f1edfcfeb22b8835a66b8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"54rf3uju0_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "6cff708f-bac3-4b7b-9799-9b64c3f21586"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (2.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, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "6cff708f-bac3-4b7b-9799-9b64c3f21586"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.803375"], ["updated_at", "2020-05-19 20:44:01.803375"], ["file_data", "{\"id\":\"asset/fa9a1b98de6bf41bdce0ec834afea4da.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.806877"], ["file_data", "{\"id\":\"asset/e8ea9d81-82f8-4946-af8e-04302f24d2c9/e7f1624939f4d554091b210a4da9e0d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e8ea9d81-82f8-4946-af8e-04302f24d2c9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "e8ea9d81-82f8-4946-af8e-04302f24d2c9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.853690"], ["file_data", "{\"id\":\"asset/e8ea9d81-82f8-4946-af8e-04302f24d2c9/e7f1624939f4d554091b210a4da9e0d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"e8ea9d81-82f8-4946-af8e-04302f24d2c9/key/87f73e460911ce4a2af90177b6865603.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"x8s3k7zk8_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e8ea9d81-82f8-4946-af8e-04302f24d2c9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "e8ea9d81-82f8-4946-af8e-04302f24d2c9"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.895142"], ["file_data", "{\"id\":\"asset/e8ea9d81-82f8-4946-af8e-04302f24d2c9/e7f1624939f4d554091b210a4da9e0d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"e8ea9d81-82f8-4946-af8e-04302f24d2c9/key/4d417e3bde80ad61d230ffe44f454f31.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"x8s3k7zk8_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e8ea9d81-82f8-4946-af8e-04302f24d2c9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.906618"], ["updated_at", "2020-05-19 20:44:01.906618"], ["file_data", "{\"id\":\"asset/95aa3f31a3d0f919b679b6910c0d981d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.911430"], ["file_data", "{\"id\":\"asset/ef8ed216-144e-43eb-b31c-0ccc1bd377a9/509f2013d55d743c25cf45079ce848d8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ef8ed216-144e-43eb-b31c-0ccc1bd377a9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ef8ed216-144e-43eb-b31c-0ccc1bd377a9"]]
+ [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, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "ef8ed216-144e-43eb-b31c-0ccc1bd377a9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "ef8ed216-144e-43eb-b31c-0ccc1bd377a9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.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-19 20:44:01.930494"], ["updated_at", "2020-05-19 20:44:01.930494"], ["file_data", "{\"id\":\"asset/4479ce344ac1d4919d6bd27bd5b7e387.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.936878"], ["file_data", "{\"id\":\"asset/1fad657d-7fe1-4130-aa33-842c824e252f/d9d48dc44d1196c4818faa6776c78e2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1fad657d-7fe1-4130-aa33-842c824e252f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22) AND "kithe_models"."id" = $23 LIMIT $24[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["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", "1fad657d-7fe1-4130-aa33-842c824e252f"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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/1fad657d-7fe1-4130-aa33-842c824e252f/490c66d0b81fb1702a892ccbeb05a3fc.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 20:44:01.942597"], ["id", "1fad657d-7fe1-4130-aa33-842c824e252f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: b3d296b3-944f-42d3-8b64-ce9e9d0d813c) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/1fad657d-7fe1-4130-aa33-842c824e252f/d9d48dc44d1196c4818faa6776c78e2a.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ff930f31-349c-4ef0-9ed9-d8dd7f9fad66) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1fad657d-7fe1-4130-aa33-842c824e252f", "file", {"id"=>"asset/1fad657d-7fe1-4130-aa33-842c824e252f/490c66d0b81fb1702a892ccbeb05a3fc.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1fad657d-7fe1-4130-aa33-842c824e252f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1fad657d-7fe1-4130-aa33-842c824e252f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1fad657d-7fe1-4130-aa33-842c824e252f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:01.970835"], ["updated_at", "2020-05-19 20:44:01.970835"], ["file_data", "{\"id\":\"asset/5c8fc22943ba5231878fc37444f84593.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:01.974180"], ["file_data", "{\"id\":\"asset/071258b4-7d60-4c08-aa71-0c1491bd53e8/a5b0e20bf7c11d4e174eeaee7e90e4fd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/071258b4-7d60-4c08-aa71-0c1491bd53e8/a5b0e20bf7c11d4e174eeaee7e90e4fd.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"071258b4-7d60-4c08-aa71-0c1491bd53e8/one/02d14397faa3a5a39b83b5d7dacef770.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hq6cjfte6_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"071258b4-7d60-4c08-aa71-0c1491bd53e8/two/8a99942291dd97b801146c777c2566a5.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hq6cjfte6_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 20:44:01.984658"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.001819"], ["file_data", "{\"id\":\"asset/071258b4-7d60-4c08-aa71-0c1491bd53e8/a5b0e20bf7c11d4e174eeaee7e90e4fd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"071258b4-7d60-4c08-aa71-0c1491bd53e8/one/02d14397faa3a5a39b83b5d7dacef770.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"hq6cjfte6_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"071258b4-7d60-4c08-aa71-0c1491bd53e8/two/a33dd75d2a196f0c9df8196f550c8530.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hq6cjfte6_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"071258b4-7d60-4c08-aa71-0c1491bd53e8/three/94c75807bee55fcec661c6bb15960785.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"hq6cjfte6_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "071258b4-7d60-4c08-aa71-0c1491bd53e8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.020066"], ["updated_at", "2020-05-19 20:44:02.020066"], ["file_data", "{\"id\":\"asset/aafbd63d23428013bc330984a090b42d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.024741"], ["file_data", "{\"id\":\"asset/8cb57ce7-cdee-47b7-95a4-c4fc746eaed7/0044b9b4b83044c90496c48e58db99d2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "8cb57ce7-cdee-47b7-95a4-c4fc746eaed7"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "8cb57ce7-cdee-47b7-95a4-c4fc746eaed7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "8cb57ce7-cdee-47b7-95a4-c4fc746eaed7"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.066895"], ["file_data", "{\"id\":\"asset/8cb57ce7-cdee-47b7-95a4-c4fc746eaed7/0044b9b4b83044c90496c48e58db99d2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"8cb57ce7-cdee-47b7-95a4-c4fc746eaed7/one/0e699fb5b9c87271ef0f5c05d672b602.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ag51rh8h4_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"8cb57ce7-cdee-47b7-95a4-c4fc746eaed7/original_reflected/9defb40d6c2e6f9a8894639595ae6612.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ag51rh8h4_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "8cb57ce7-cdee-47b7-95a4-c4fc746eaed7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "8cb57ce7-cdee-47b7-95a4-c4fc746eaed7"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:44:02.088063"], ["updated_at", "2020-05-19 20:44:02.088063"], ["file_data", "{\"id\":\"asset/630a3c88e0869688c208a3d7cddfe9ca.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.091528"], ["file_data", "{\"id\":\"asset/dcafaaa7-a90e-4157-bb12-916b3afe307f/6faa2ae4d8065cedace75e5d687f3777.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "dcafaaa7-a90e-4157-bb12-916b3afe307f"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "dcafaaa7-a90e-4157-bb12-916b3afe307f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "dcafaaa7-a90e-4157-bb12-916b3afe307f"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.164134"], ["file_data", "{\"id\":\"asset/dcafaaa7-a90e-4157-bb12-916b3afe307f/6faa2ae4d8065cedace75e5d687f3777.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"dcafaaa7-a90e-4157-bb12-916b3afe307f/options_one/c15edd2ad84700304869c96d54b81f63.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sog638r9u_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"dcafaaa7-a90e-4157-bb12-916b3afe307f/options_reflected/83fdd7eaa6cb20d9f66dd7ff82e558ab.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sog638r9u_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "dcafaaa7-a90e-4157-bb12-916b3afe307f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.182371"], ["updated_at", "2020-05-19 20:44:02.182371"], ["file_data", "{\"id\":\"asset/1fe0bedc6252d79cc5183703e4d3a552.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.189282"], ["file_data", "{\"id\":\"asset/1c05da63-2442-4826-a47e-28111130cf0b/2eec1e35777e21e3b73ad39f5e91c3b3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1c05da63-2442-4826-a47e-28111130cf0b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "1c05da63-2442-4826-a47e-28111130cf0b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.8ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "1c05da63-2442-4826-a47e-28111130cf0b"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.267110"], ["file_data", "{\"id\":\"asset/1c05da63-2442-4826-a47e-28111130cf0b/2eec1e35777e21e3b73ad39f5e91c3b3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"1c05da63-2442-4826-a47e-28111130cf0b/options_one/038ae917e649318b91be6a5afef64210.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ov05nxm4s_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"1c05da63-2442-4826-a47e-28111130cf0b/options_reflected/25c8c54cd1ff939d70a609ba8004cea9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ov05nxm4s_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "1c05da63-2442-4826-a47e-28111130cf0b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:44:02.286567"], ["updated_at", "2020-05-19 20:44:02.286567"], ["file_data", "{\"id\":\"asset/6f296195500a0fd5a880a2acb61f5291.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.290169"], ["file_data", "{\"id\":\"asset/125ff804-83af-45b8-93fa-1458a80d06b4/eb8524e9b6e8a8df98cd5bc0bb739896.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "125ff804-83af-45b8-93fa-1458a80d06b4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "125ff804-83af-45b8-93fa-1458a80d06b4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "125ff804-83af-45b8-93fa-1458a80d06b4"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.375048"], ["file_data", "{\"id\":\"asset/125ff804-83af-45b8-93fa-1458a80d06b4/eb8524e9b6e8a8df98cd5bc0bb739896.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"125ff804-83af-45b8-93fa-1458a80d06b4/options_one/ec0f99f3079cee7f11518b2c71a44735.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"td3qbtf8k_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"125ff804-83af-45b8-93fa-1458a80d06b4/options_reflected/3f968a4fdf78304888fac78e558e93d6.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"td3qbtf8k_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "125ff804-83af-45b8-93fa-1458a80d06b4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 20:44:02.404455"], ["updated_at", "2020-05-19 20:44:02.404455"], ["file_data", "{\"id\":\"asset/41296d3d2d11379becc15574976632e8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.407942"], ["file_data", "{\"id\":\"asset/4458c909-a1fc-4726-a313-952e59c9835f/e537bef46761c2683ff2bc83328e8729.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "4458c909-a1fc-4726-a313-952e59c9835f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "4458c909-a1fc-4726-a313-952e59c9835f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "4458c909-a1fc-4726-a313-952e59c9835f"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.481518"], ["file_data", "{\"id\":\"asset/4458c909-a1fc-4726-a313-952e59c9835f/e537bef46761c2683ff2bc83328e8729.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"4458c909-a1fc-4726-a313-952e59c9835f/options_one/f9600e962f61a439177497a80dc65199.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"desuap8ep_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"4458c909-a1fc-4726-a313-952e59c9835f/options_reflected/6d85dd77f7f14a4467d209a7e4f4a0bf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"desuap8ep_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "4458c909-a1fc-4726-a313-952e59c9835f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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-19 20:44:02.559357"], ["updated_at", "2020-05-19 20:44:02.559357"], ["file_data", "{\"id\":\"asset/8e4387405f92a7ba3b76972e617abb1e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.564908"], ["file_data", "{\"id\":\"asset/2360dc50-a610-4588-a4cd-680a370ec510/8e3b0ad6cdd77a05c79fa1b9f80d769d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2360dc50-a610-4588-a4cd-680a370ec510"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "2360dc50-a610-4588-a4cd-680a370ec510"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "2360dc50-a610-4588-a4cd-680a370ec510"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.650680"], ["file_data", "{\"id\":\"asset/2360dc50-a610-4588-a4cd-680a370ec510/8e3b0ad6cdd77a05c79fa1b9f80d769d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"2360dc50-a610-4588-a4cd-680a370ec510/one/ab1d3ad3f0b96aa318294830a1b1f90b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"oaeye5tpu_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"2360dc50-a610-4588-a4cd-680a370ec510/original_reflected/df16635f93fd506c2e5c6e282597ce4e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"oaeye5tpu_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "2360dc50-a610-4588-a4cd-680a370ec510"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.673953"], ["updated_at", "2020-05-19 20:44:02.673953"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.691312"], ["updated_at", "2020-05-19 20:44:02.691312"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.713030"], ["updated_at", "2020-05-19 20:44:02.713030"], ["file_data", "{\"id\":\"asset/da4622cf741bfd58a9b34421e1cf6ddf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.718836"], ["file_data", "{\"id\":\"asset/0ff607dd-c9bc-4758-a757-9ae7f879150b/198de2db623d786e180399fb9a64943e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0ff607dd-c9bc-4758-a757-9ae7f879150b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 20:44:02.737788"], ["updated_at", "2020-05-19 20:44:02.737788"], ["file_data", "{\"id\":\"asset/8bfc3e1ee8125c5d8dfe2fd1f3fdbf17.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.741224"], ["file_data", "{\"id\":\"asset/8701bb34-0caa-4374-a182-99b2b68c9b0c/24c14577e51350f37757db1a1709d66a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "8701bb34-0caa-4374-a182-99b2b68c9b0c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "8701bb34-0caa-4374-a182-99b2b68c9b0c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "8701bb34-0caa-4374-a182-99b2b68c9b0c"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-19 20:44:02.783450"], ["file_data", "{\"id\":\"asset/8701bb34-0caa-4374-a182-99b2b68c9b0c/24c14577e51350f37757db1a1709d66a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"8701bb34-0caa-4374-a182-99b2b68c9b0c/one/80c2ebbf8b5b14c0f9c5d7be64f5d52b.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9qq7ezl50_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"8701bb34-0caa-4374-a182-99b2b68c9b0c/original_reflected/c8eb772d2718475173d3b561c714a5a3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9qq7ezl50_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "8701bb34-0caa-4374-a182-99b2b68c9b0c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "8701bb34-0caa-4374-a182-99b2b68c9b0c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:02.800502"], ["updated_at", "2020-05-19 20:44:02.800502"], ["file_data", "{\"id\":\"asset/4941ed6ceaf1756e4708ae193e108992.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.804320"], ["file_data", "{\"id\":\"asset/b97897db-05f3-4008-9ddf-9dc5fb4d86a3/3f1a699ee8da60a63f8c3f2006131142.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.889136"], ["file_data", "{\"id\":\"asset/b97897db-05f3-4008-9ddf-9dc5fb4d86a3/3f1a699ee8da60a63f8c3f2006131142.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"b97897db-05f3-4008-9ddf-9dc5fb4d86a3/sample1/fe16e9fb92e7d81f4c23e851a5654407.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z6igdv9d3_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"b97897db-05f3-4008-9ddf-9dc5fb4d86a3/sample2/feec0e4498a26021ee5ac5ccc74c830e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"z6igdv9d3_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.896967"], ["file_data", "{\"id\":\"asset/b97897db-05f3-4008-9ddf-9dc5fb4d86a3/3f1a699ee8da60a63f8c3f2006131142.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"b97897db-05f3-4008-9ddf-9dc5fb4d86a3/sample2/feec0e4498a26021ee5ac5ccc74c830e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"z6igdv9d3_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b97897db-05f3-4008-9ddf-9dc5fb4d86a3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:02.905731"], ["updated_at", "2020-05-19 20:44:02.905731"], ["file_data", "{\"id\":\"asset/0b1d3ac3cb21f2c85c71310065fec600.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:02.910180"], ["file_data", "{\"id\":\"asset/d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/33fead7e52c65c4090ba9a8f1617f99a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:02.987377"], ["file_data", "{\"id\":\"asset/d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/33fead7e52c65c4090ba9a8f1617f99a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/sample1/53ed11ba7366a8ff955696cb88e2aac4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"cv2kzevzv_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/sample2/5de34d41881480c10d9a16c4319c728f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"cv2kzevzv_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/33fead7e52c65c4090ba9a8f1617f99a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/sample2/5de34d41881480c10d9a16c4319c728f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"cv2kzevzv_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 20:44:02.993177"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.003317"], ["file_data", "{\"id\":\"asset/d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/33fead7e52c65c4090ba9a8f1617f99a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"d65b5fdf-f8ad-4bf1-a624-0351d6467e5d/sample2/5de34d41881480c10d9a16c4319c728f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"cv2kzevzv_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "d65b5fdf-f8ad-4bf1-a624-0351d6467e5d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:03.010044"], ["updated_at", "2020-05-19 20:44:03.010044"], ["file_data", "{\"id\":\"asset/3da1463d63cf2f7d1253fee10abab310.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.016918"], ["file_data", "{\"id\":\"asset/2c2a1cf1-38bc-4034-a49e-ee5c7584190a/f9b21b68e0ad7524119a1b4b6bc1dd8d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.089869"], ["file_data", "{\"id\":\"asset/2c2a1cf1-38bc-4034-a49e-ee5c7584190a/f9b21b68e0ad7524119a1b4b6bc1dd8d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample1/7904d44a80f13d0e72757b068c261437.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fzi5wqems_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample2/36e835e921b5bba40843837b35b8d107.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fzi5wqems_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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/2c2a1cf1-38bc-4034-a49e-ee5c7584190a/f9b21b68e0ad7524119a1b4b6bc1dd8d.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample1/7904d44a80f13d0e72757b068c261437.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"fzi5wqems_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample2/36e835e921b5bba40843837b35b8d107.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"fzi5wqems_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample3/1785537a4809afea96c36fa12e0cbc40.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fzi5wqems_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 20:44:03.137486"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.148712"], ["file_data", "{\"id\":\"asset/2c2a1cf1-38bc-4034-a49e-ee5c7584190a/f9b21b68e0ad7524119a1b4b6bc1dd8d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample2/36e835e921b5bba40843837b35b8d107.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"fzi5wqems_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"2c2a1cf1-38bc-4034-a49e-ee5c7584190a/sample3/1785537a4809afea96c36fa12e0cbc40.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"fzi5wqems_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "2c2a1cf1-38bc-4034-a49e-ee5c7584190a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:03.153874"], ["updated_at", "2020-05-19 20:44:03.153874"], ["file_data", "{\"id\":\"asset/76ed70fd8e8a524c817609754d3550b9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.157199"], ["file_data", "{\"id\":\"asset/05bad91a-db77-4db2-a553-9d5e44549bc0/5ffbdae925de2f3aa488e6ce18609381.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.236472"], ["file_data", "{\"id\":\"asset/05bad91a-db77-4db2-a553-9d5e44549bc0/5ffbdae925de2f3aa488e6ce18609381.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"05bad91a-db77-4db2-a553-9d5e44549bc0/sample1/d09d6423a37a989776131c9343ad13bb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"efk7vcfhy_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"05bad91a-db77-4db2-a553-9d5e44549bc0/sample2/d6ee10e44e539d0615a49a214421be94.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"efk7vcfhy_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [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", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [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", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '05bad91a-db77-4db2-a553-9d5e44549bc0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '05bad91a-db77-4db2-a553-9d5e44549bc0'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 84bf0735-61d7-4714-bd4c-7fbefdfe4edd) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/05bad91a-db77-4db2-a553-9d5e44549bc0/5ffbdae925de2f3aa488e6ce18609381.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"05bad91a-db77-4db2-a553-9d5e44549bc0/sample1/d09d6423a37a989776131c9343ad13bb.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"efk7vcfhy_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"05bad91a-db77-4db2-a553-9d5e44549bc0/sample2/d6ee10e44e539d0615a49a214421be94.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"efk7vcfhy_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "05bad91a-db77-4db2-a553-9d5e44549bc0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 20:44:03.254733"], ["updated_at", "2020-05-19 20:44:03.254733"], ["file_data", "{\"id\":\"asset/64ddba7c3a5240ffda2a4d403462de57.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:03.257895"], ["file_data", "{\"id\":\"asset/0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f/bf68ab843cb64f2ff9e7d5a29e80e7c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (52.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.337135"], ["file_data", "{\"id\":\"asset/0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f/bf68ab843cb64f2ff9e7d5a29e80e7c7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f/sample1/d983de20015ba466d72c8804faf9ba03.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"vax3hf0l5_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f/sample2/6911db8e3de93b274a48bab3e3d2e2b8.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"vax3hf0l5_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0b2f0509-4ecd-4e6f-a7bb-9bda8a99537f"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 20:44:03.403797"], ["updated_at", "2020-05-19 20:44:03.403797"], ["file_data", "{\"id\":\"asset/7ef70ef1d6ff63267b5bf73ce6aa58af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 20:44:03.407161"], ["file_data", "{\"id\":\"asset/ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/3788ca4fc8a63864f60305e2d9e261ec.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 20:44:03.483234"], ["file_data", "{\"id\":\"asset/ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/3788ca4fc8a63864f60305e2d9e261ec.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/sample1/ca6750d16da324bd70219c05ec546324.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7t65gy0ek_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/sample2/fd01ed110c89b5c99a9eeeeeb702f36a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7t65gy0ek_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $9 LIMIT $10 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.8ms)[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-19 20:44:03.489370"], ["file_data", "{\"id\":\"asset/ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/3788ca4fc8a63864f60305e2d9e261ec.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"ea251a48-2ebb-4b8d-a1c4-2fbc33815b01/sample2/fd01ed110c89b5c99a9eeeeeb702f36a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"7t65gy0ek_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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) AND "kithe_models"."id" = $9 LIMIT $10[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ea251a48-2ebb-4b8d-a1c4-2fbc33815b01"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 20:44:03.541466"], ["updated_at", "2020-05-19 20:44:03.541466"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "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-19 20:44:03.755387"], ["updated_at", "2020-05-19 20:44:03.755387"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:44:03.774583"], ["updated_at", "2020-05-19 20:44:03.774583"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 20:44:03.794997"], ["updated_at", "2020-05-19 20:44:03.794997"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 20:44:03.877292"], ["updated_at", "2020-05-19 20:44:03.877292"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (8.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (7.9ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (27.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-19 21:02:58.721452"], ["updated_at", "2020-05-19 21:02:58.721452"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:58.776146"], ["updated_at", "2020-05-19 21:02:58.776146"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "e2e0b250-8450-4263-96b8-9ed868f52679"]]
+ [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", "e2e0b250-8450-4263-96b8-9ed868f52679"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "e2e0b250-8450-4263-96b8-9ed868f52679"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e2e0b250-8450-4263-96b8-9ed868f52679'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e2e0b250-8450-4263-96b8-9ed868f52679'
+);
+[0m
+ [1m[36mTestWork Destroy (2.9ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "e2e0b250-8450-4263-96b8-9ed868f52679"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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-19 21:02:58.836243"], ["updated_at", "2020-05-19 21:02:58.836243"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-19 21:02:58.862183"], ["updated_at", "2020-05-19 21:02:58.862183"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 21:02:58.878745"], ["updated_at", "2020-05-19 21:02:58.878745"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "6a817e90-40ef-4098-8049-8f0902ce6d69"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "6a817e90-40ef-4098-8049-8f0902ce6d69"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "6a817e90-40ef-4098-8049-8f0902ce6d69"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6a817e90-40ef-4098-8049-8f0902ce6d69'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6a817e90-40ef-4098-8049-8f0902ce6d69'
+);
+[0m
+ [1m[36mTestWork Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "6a817e90-40ef-4098-8049-8f0902ce6d69"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-19 21:02:58.908471"], ["updated_at", "2020-05-19 21:02:58.908471"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:58.925204"], ["updated_at", "2020-05-19 21:02:58.925204"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:02:58.929241"], ["updated_at", "2020-05-19 21:02:58.929241"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 21:02:58.964667"], ["updated_at", "2020-05-19 21:02:58.964667"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 21:02:58.969612"], ["updated_at", "2020-05-19 21:02:58.969612"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 21:02:58.992270"], ["updated_at", "2020-05-19 21:02:58.992270"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:58.997885"], ["updated_at", "2020-05-19 21:02:58.997885"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.014709"], ["updated_at", "2020-05-19 21:02:59.014709"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.032424"], ["updated_at", "2020-05-19 21:02:59.032424"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-19 21:02:59.036083"], ["updated_at", "2020-05-19 21:02:59.036083"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-19 21:02:59.049926"], ["updated_at", "2020-05-19 21:02:59.049926"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-19 21:02:59.052812"], ["updated_at", "2020-05-19 21:02:59.052812"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-19 21:02:59.091770"], ["updated_at", "2020-05-19 21:02:59.091770"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.130817"], ["updated_at", "2020-05-19 21:02:59.130817"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.174294"], ["updated_at", "2020-05-19 21:02:59.174294"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.220289"], ["updated_at", "2020-05-19 21:02:59.220289"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.2ms)[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", "34278581-7438-4296-af57-0c069c5ba617"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-19 21:02:59.263507"], ["updated_at", "2020-05-19 21:02:59.263507"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (1.9ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:02:59.381336"], ["updated_at", "2020-05-19 21:02:59.381336"], ["file_data", "{\"id\":\"asset/804ec152fe96361f55963ed9051dd7ac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] Performing Kithe::AssetPromoteJob (Job ID: 7fe52b30-e7fe-466e-a7fa-2abb155c29a1) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "21333c5f-9804-4e26-8949-212f1d7036a9", "file", {"id"=>"asset/804ec152fe96361f55963ed9051dd7ac.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [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", "21333c5f-9804-4e26-8949-212f1d7036a9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [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", "21333c5f-9804-4e26-8949-212f1d7036a9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [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/21333c5f-9804-4e26-8949-212f1d7036a9/27e25529b25a11d824035dad4086e66f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.410772"], ["id", "21333c5f-9804-4e26-8949-212f1d7036a9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [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", "21333c5f-9804-4e26-8949-212f1d7036a9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] Performing Kithe::CreateDerivativesJob (Job ID: 35058f70-26e9-4bf8-b94e-9833d5b69523) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffe023eb1a8 @uri=#<URI::GID gid://dummy/CustomAsset/21333c5f-9804-4e26-8949-212f1d7036a9>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] [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", "21333c5f-9804-4e26-8949-212f1d7036a9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] [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/21333c5f-9804-4e26-8949-212f1d7036a9/27e25529b25a11d824035dad4086e66f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"21333c5f-9804-4e26-8949-212f1d7036a9/fixed/fb0b7e7f55bbbd14db7ca56400daf8f6.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"172hj3gs1_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.424672"], ["id", "21333c5f-9804-4e26-8949-212f1d7036a9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] [Kithe::CreateDerivativesJob] [35058f70-26e9-4bf8-b94e-9833d5b69523] Performed Kithe::CreateDerivativesJob (Job ID: 35058f70-26e9-4bf8-b94e-9833d5b69523) from Inline(default) in 9.03ms
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] Enqueued Kithe::CreateDerivativesJob (Job ID: 35058f70-26e9-4bf8-b94e-9833d5b69523) to Inline(default) with arguments: #<GlobalID:0x00007ffe0293e998 @uri=#<URI::GID gid://dummy/CustomAsset/21333c5f-9804-4e26-8949-212f1d7036a9>>
+[ActiveJob] [Kithe::AssetPromoteJob] [7fe52b30-e7fe-466e-a7fa-2abb155c29a1] Performed Kithe::AssetPromoteJob (Job ID: 7fe52b30-e7fe-466e-a7fa-2abb155c29a1) from Inline(default) in 27.3ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7fe52b30-e7fe-466e-a7fa-2abb155c29a1) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "21333c5f-9804-4e26-8949-212f1d7036a9", "file", {"id"=>"asset/804ec152fe96361f55963ed9051dd7ac.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "21333c5f-9804-4e26-8949-212f1d7036a9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:02:59.457665"], ["updated_at", "2020-05-19 21:02:59.457665"], ["file_data", "{\"id\":\"asset/bb98621999c8532ef7c02894eb912bbf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] Performing Kithe::AssetPromoteJob (Job ID: 79b7842c-5a55-4ef7-940d-e2cbf965a85c) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "261a3441-03b0-4038-8aaf-c7e4e75915b6", "file", {"id"=>"asset/bb98621999c8532ef7c02894eb912bbf.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [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", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [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", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [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/261a3441-03b0-4038-8aaf-c7e4e75915b6/50e219a575ca74da160533400ae5ecb0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.467901"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [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", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] Performing Kithe::CreateDerivativesJob (Job ID: 023dee70-3efe-405b-923c-352283236f95) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffe028fd088 @uri=#<URI::GID gid://dummy/CustomAsset/261a3441-03b0-4038-8aaf-c7e4e75915b6>>
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] [1m[36mCustomAsset 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", "CustomAsset"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] [1m[36mCustomAsset 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/261a3441-03b0-4038-8aaf-c7e4e75915b6/50e219a575ca74da160533400ae5ecb0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"261a3441-03b0-4038-8aaf-c7e4e75915b6/fixed/3a7f3f674cad4e20f4f08456e7b22111.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tqeui55dw_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.478135"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] [Kithe::CreateDerivativesJob] [023dee70-3efe-405b-923c-352283236f95] Performed Kithe::CreateDerivativesJob (Job ID: 023dee70-3efe-405b-923c-352283236f95) from Inline(default) in 9.71ms
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] Enqueued Kithe::CreateDerivativesJob (Job ID: 023dee70-3efe-405b-923c-352283236f95) to Inline(default) with arguments: #<GlobalID:0x00007ffe02303920 @uri=#<URI::GID gid://dummy/CustomAsset/261a3441-03b0-4038-8aaf-c7e4e75915b6>>
+[ActiveJob] [Kithe::AssetPromoteJob] [79b7842c-5a55-4ef7-940d-e2cbf965a85c] Performed Kithe::AssetPromoteJob (Job ID: 79b7842c-5a55-4ef7-940d-e2cbf965a85c) from Inline(default) in 18.68ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 79b7842c-5a55-4ef7-940d-e2cbf965a85c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "261a3441-03b0-4038-8aaf-c7e4e75915b6", "file", {"id"=>"asset/bb98621999c8532ef7c02894eb912bbf.jpg", "storage"=>"cache"}, {}
+ [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", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/261a3441-03b0-4038-8aaf-c7e4e75915b6/50e219a575ca74da160533400ae5ecb0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.487093"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+ [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/261a3441-03b0-4038-8aaf-c7e4e75915b6/50e219a575ca74da160533400ae5ecb0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"261a3441-03b0-4038-8aaf-c7e4e75915b6/fixed/3b7dde393065db3e22c7f1f930fb4de9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tqeui55dw_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.493566"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "261a3441-03b0-4038-8aaf-c7e4e75915b6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:02:59.509487"], ["updated_at", "2020-05-19 21:02:59.509487"], ["file_data", "{\"id\":\"asset/d32745e5be1895c83d33b3983bb44938.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] Performing Kithe::AssetPromoteJob (Job ID: e275ffc4-9875-4f5d-98f5-a7638f68e3c0) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "af73ee25-017d-4aa4-ade2-68a51a47dd31", "file", {"id"=>"asset/d32745e5be1895c83d33b3983bb44938.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [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", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [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", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [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/af73ee25-017d-4aa4-ade2-68a51a47dd31/ad816806ef04e4042fecacb614ff8693.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.518692"], ["id", "af73ee25-017d-4aa4-ade2-68a51a47dd31"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [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", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] Performing Kithe::CreateDerivativesJob (Job ID: 46abda5d-2967-4c31-adee-47855c4e9a9b) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffdfe183478 @uri=#<URI::GID gid://dummy/CustomAsset/af73ee25-017d-4aa4-ade2-68a51a47dd31>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] [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", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] [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/af73ee25-017d-4aa4-ade2-68a51a47dd31/ad816806ef04e4042fecacb614ff8693.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"af73ee25-017d-4aa4-ade2-68a51a47dd31/fixed/6e3fdcb3fcaeb4e551e3b9919d69eec7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9xx0oojm5_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.526863"], ["id", "af73ee25-017d-4aa4-ade2-68a51a47dd31"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] [Kithe::CreateDerivativesJob] [46abda5d-2967-4c31-adee-47855c4e9a9b] Performed Kithe::CreateDerivativesJob (Job ID: 46abda5d-2967-4c31-adee-47855c4e9a9b) from Inline(default) in 5.62ms
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] Enqueued Kithe::CreateDerivativesJob (Job ID: 46abda5d-2967-4c31-adee-47855c4e9a9b) to Inline(default) with arguments: #<GlobalID:0x00007ffe020145e8 @uri=#<URI::GID gid://dummy/CustomAsset/af73ee25-017d-4aa4-ade2-68a51a47dd31>>
+[ActiveJob] [Kithe::AssetPromoteJob] [e275ffc4-9875-4f5d-98f5-a7638f68e3c0] Performed Kithe::AssetPromoteJob (Job ID: e275ffc4-9875-4f5d-98f5-a7638f68e3c0) from Inline(default) in 14.83ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: e275ffc4-9875-4f5d-98f5-a7638f68e3c0) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "af73ee25-017d-4aa4-ade2-68a51a47dd31", "file", {"id"=>"asset/d32745e5be1895c83d33b3983bb44938.jpg", "storage"=>"cache"}, {}
+ [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", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/af73ee25-017d-4aa4-ade2-68a51a47dd31/ad816806ef04e4042fecacb614ff8693.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.532941"], ["id", "af73ee25-017d-4aa4-ade2-68a51a47dd31"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "af73ee25-017d-4aa4-ade2-68a51a47dd31"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:02:59.548499"], ["updated_at", "2020-05-19 21:02:59.548499"], ["file_data", "{\"id\":\"asset/53fba8ca56725f93ff16b45aee354cec.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] Performing Kithe::AssetPromoteJob (Job ID: ac3db29a-0719-4598-bbef-83b0f8f01e41) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "0d318477-895d-43d0-a6a1-8829418c4ed3", "file", {"id"=>"asset/53fba8ca56725f93ff16b45aee354cec.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [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", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [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", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [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/0d318477-895d-43d0-a6a1-8829418c4ed3/d13fa23b2bb9b324ac243a6c813386fe.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.559813"], ["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [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", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] Performing Kithe::CreateDerivativesJob (Job ID: 444fe6b4-6349-4ace-bbb8-8acca6f5c27d) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffe0059b5e0 @uri=#<URI::GID gid://dummy/CustomAsset/0d318477-895d-43d0-a6a1-8829418c4ed3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] [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", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] [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/0d318477-895d-43d0-a6a1-8829418c4ed3/d13fa23b2bb9b324ac243a6c813386fe.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0d318477-895d-43d0-a6a1-8829418c4ed3/fixed/dc2406bc1abac91630075f9742a28605.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xm4mt0zkg_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.567653"], ["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] [Kithe::CreateDerivativesJob] [444fe6b4-6349-4ace-bbb8-8acca6f5c27d] Performed Kithe::CreateDerivativesJob (Job ID: 444fe6b4-6349-4ace-bbb8-8acca6f5c27d) from Inline(default) in 7.25ms
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] Enqueued Kithe::CreateDerivativesJob (Job ID: 444fe6b4-6349-4ace-bbb8-8acca6f5c27d) to Inline(default) with arguments: #<GlobalID:0x00007ffe00554ed8 @uri=#<URI::GID gid://dummy/CustomAsset/0d318477-895d-43d0-a6a1-8829418c4ed3>>
+[ActiveJob] [Kithe::AssetPromoteJob] [ac3db29a-0719-4598-bbef-83b0f8f01e41] Performed Kithe::AssetPromoteJob (Job ID: ac3db29a-0719-4598-bbef-83b0f8f01e41) from Inline(default) in 17.4ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ac3db29a-0719-4598-bbef-83b0f8f01e41) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "0d318477-895d-43d0-a6a1-8829418c4ed3", "file", {"id"=>"asset/53fba8ca56725f93ff16b45aee354cec.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+ [1m[35m (1.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (1.0ms)[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", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/0d318477-895d-43d0-a6a1-8829418c4ed3/d13fa23b2bb9b324ac243a6c813386fe.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0d318477-895d-43d0-a6a1-8829418c4ed3/fixed/94d7a1bbab1db2c0d8555f478f2dbcfc.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xm4mt0zkg_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.580534"], ["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+ [1m[36mKithe::Model Load (2.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", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+ [1m[36mKithe::Model Load (1.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", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0d318477-895d-43d0-a6a1-8829418c4ed3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0d318477-895d-43d0-a6a1-8829418c4ed3'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "0d318477-895d-43d0-a6a1-8829418c4ed3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [749a374e-f12c-4bd8-8225-bf06b074f215] Performing Kithe::AssetDeleteJob (Job ID: 749a374e-f12c-4bd8-8225-bf06b074f215) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/0d318477-895d-43d0-a6a1-8829418c4ed3/d13fa23b2bb9b324ac243a6c813386fe.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"0d318477-895d-43d0-a6a1-8829418c4ed3/fixed/94d7a1bbab1db2c0d8555f478f2dbcfc.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"xm4mt0zkg_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [749a374e-f12c-4bd8-8225-bf06b074f215] Performed Kithe::AssetDeleteJob (Job ID: 749a374e-f12c-4bd8-8225-bf06b074f215) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 749a374e-f12c-4bd8-8225-bf06b074f215) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/0d318477-895d-43d0-a6a1-8829418c4ed3/d13fa23b2bb9b324ac243a6c813386fe.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"0d318477-895d-43d0-a6a1-8829418c4ed3/fixed/94d7a1bbab1db2c0d8555f478f2dbcfc.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"xm4mt0zkg_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:02:59.614589"], ["updated_at", "2020-05-19 21:02:59.614589"], ["file_data", "{\"id\":\"asset/e34cfb65243a075061a54c31fc545dbf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] Performing Kithe::AssetPromoteJob (Job ID: 04013574-8756-4d64-991a-12bda15a4da0) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97", "file", {"id"=>"asset/e34cfb65243a075061a54c31fc545dbf.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [1m[36mCustomAsset Update (41.6ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/abd3bc39a200373fbcfb54571c1a7a27.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.625084"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] Performing Kithe::CreateDerivativesJob (Job ID: 2f3095f9-54f9-4320-a06e-c9cee783ba3d) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffdfd5ac258 @uri=#<URI::GID gid://dummy/CustomAsset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97>>
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] [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/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/abd3bc39a200373fbcfb54571c1a7a27.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/fixed/4a9ea813c66f74404e812b9b2789c488.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"swz6p65ka_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.674602"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] [Kithe::CreateDerivativesJob] [2f3095f9-54f9-4320-a06e-c9cee783ba3d] Performed Kithe::CreateDerivativesJob (Job ID: 2f3095f9-54f9-4320-a06e-c9cee783ba3d) from Inline(default) in 6.58ms
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] Enqueued Kithe::CreateDerivativesJob (Job ID: 2f3095f9-54f9-4320-a06e-c9cee783ba3d) to Inline(default) with arguments: #<GlobalID:0x00007ffdfcd827d0 @uri=#<URI::GID gid://dummy/CustomAsset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97>>
+[ActiveJob] [Kithe::AssetPromoteJob] [04013574-8756-4d64-991a-12bda15a4da0] Performed Kithe::AssetPromoteJob (Job ID: 04013574-8756-4d64-991a-12bda15a4da0) from Inline(default) in 56.21ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 04013574-8756-4d64-991a-12bda15a4da0) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97", "file", {"id"=>"asset/e34cfb65243a075061a54c31fc545dbf.jpg", "storage"=>"cache"}, {}
+ [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/abd3bc39a200373fbcfb54571c1a7a27.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/fixed/ac2c988c2ab44a111156d2fbc5fc3e6b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"swz6p65ka_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.687179"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/eedd9fc96cb725c6a073751aadcec880.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 21:02:59.691265"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [b5224a90-5cc9-459d-886b-110f679d7f92] Performing Kithe::AssetDeleteJob (Job ID: b5224a90-5cc9-459d-886b-110f679d7f92) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/abd3bc39a200373fbcfb54571c1a7a27.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/fixed/ac2c988c2ab44a111156d2fbc5fc3e6b.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"swz6p65ka_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [b5224a90-5cc9-459d-886b-110f679d7f92] Performed Kithe::AssetDeleteJob (Job ID: b5224a90-5cc9-459d-886b-110f679d7f92) from Inline(default) in 0.09ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: b5224a90-5cc9-459d-886b-110f679d7f92) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/abd3bc39a200373fbcfb54571c1a7a27.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/fixed/ac2c988c2ab44a111156d2fbc5fc3e6b.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"swz6p65ka_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] Performing Kithe::AssetPromoteJob (Job ID: 072a02ef-191f-4424-890e-6e95ce1e8eb5) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97", "file", {"id"=>"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/eedd9fc96cb725c6a073751aadcec880.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [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/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/99ca67b23275747a45ef03e4ce18f90a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.698334"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] Performing Kithe::CreateDerivativesJob (Job ID: 8ec69e8e-4bb1-48fc-bc1b-86e158d7f197) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffe027b8038 @uri=#<URI::GID gid://dummy/CustomAsset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97>>
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] [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/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/99ca67b23275747a45ef03e4ce18f90a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/fixed/bed4e6f67d45017823934315eb46ccef.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"swz6p65ka_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.705765"], ["id", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] [Kithe::CreateDerivativesJob] [8ec69e8e-4bb1-48fc-bc1b-86e158d7f197] Performed Kithe::CreateDerivativesJob (Job ID: 8ec69e8e-4bb1-48fc-bc1b-86e158d7f197) from Inline(default) in 5.71ms
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] Enqueued Kithe::CreateDerivativesJob (Job ID: 8ec69e8e-4bb1-48fc-bc1b-86e158d7f197) to Inline(default) with arguments: #<GlobalID:0x00007ffdfe2744e0 @uri=#<URI::GID gid://dummy/CustomAsset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97>>
+[ActiveJob] [Kithe::AssetPromoteJob] [072a02ef-191f-4424-890e-6e95ce1e8eb5] Performed Kithe::AssetPromoteJob (Job ID: 072a02ef-191f-4424-890e-6e95ce1e8eb5) from Inline(default) in 13.49ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 072a02ef-191f-4424-890e-6e95ce1e8eb5) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97", "file", {"id"=>"asset/fdcdb55e-637c-4868-a3aa-5dd9d1f03d97/eedd9fc96cb725c6a073751aadcec880.jpg", "storage"=>"cache"}, {}
+ [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", "fdcdb55e-637c-4868-a3aa-5dd9d1f03d97"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:02:59.721393"], ["updated_at", "2020-05-19 21:02:59.721393"], ["file_data", "{\"id\":\"asset/2f1877d310c4f7bdb1b430cf08ce7970.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] Performing Kithe::AssetPromoteJob (Job ID: 828038c2-e9c1-4eb7-8dd9-f8c106c33a21) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "b8619298-3d6c-4eb8-b047-81fb80190c26", "file", {"id"=>"asset/2f1877d310c4f7bdb1b430cf08ce7970.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [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", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [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", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [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/b8619298-3d6c-4eb8-b047-81fb80190c26/a430a635d89a3a3434159bb9b097d11a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.732003"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [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", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] Performing Kithe::CreateDerivativesJob (Job ID: 193ceef1-4fe3-4273-9b61-765444e64f4f) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffe026f9200 @uri=#<URI::GID gid://dummy/CustomAsset/b8619298-3d6c-4eb8-b047-81fb80190c26>>
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] [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", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] [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/b8619298-3d6c-4eb8-b047-81fb80190c26/a430a635d89a3a3434159bb9b097d11a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b8619298-3d6c-4eb8-b047-81fb80190c26/fixed/f234a5b41b0fcd1d917460d8f99e2f5e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"o32oe4s88_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.740575"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] [Kithe::CreateDerivativesJob] [193ceef1-4fe3-4273-9b61-765444e64f4f] Performed Kithe::CreateDerivativesJob (Job ID: 193ceef1-4fe3-4273-9b61-765444e64f4f) from Inline(default) in 5.7ms
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] Enqueued Kithe::CreateDerivativesJob (Job ID: 193ceef1-4fe3-4273-9b61-765444e64f4f) to Inline(default) with arguments: #<GlobalID:0x00007ffe026c3268 @uri=#<URI::GID gid://dummy/CustomAsset/b8619298-3d6c-4eb8-b047-81fb80190c26>>
+[ActiveJob] [Kithe::AssetPromoteJob] [828038c2-e9c1-4eb7-8dd9-f8c106c33a21] Performed Kithe::AssetPromoteJob (Job ID: 828038c2-e9c1-4eb7-8dd9-f8c106c33a21) from Inline(default) in 15.03ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 828038c2-e9c1-4eb7-8dd9-f8c106c33a21) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "b8619298-3d6c-4eb8-b047-81fb80190c26", "file", {"id"=>"asset/2f1877d310c4f7bdb1b430cf08ce7970.jpg", "storage"=>"cache"}, {}
+ [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", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/b8619298-3d6c-4eb8-b047-81fb80190c26/a430a635d89a3a3434159bb9b097d11a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"b8619298-3d6c-4eb8-b047-81fb80190c26/fixed/ce07ff6a65c95e484628d08f91994526.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"o32oe4s88_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.748751"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "b8619298-3d6c-4eb8-b047-81fb80190c26"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.0ms)[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-19 21:02:59.767861"], ["updated_at", "2020-05-19 21:02:59.767861"], ["file_data", "{\"id\":\"asset/4e03fb8bff0859a42caa0763d9e41fc2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] Performing Kithe::AssetPromoteJob (Job ID: 6e05c3be-7b23-45f5-a933-c246ace6b7a6) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d", "file", {"id"=>"asset/4e03fb8bff0859a42caa0763d9e41fc2.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [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", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [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", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [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/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/57400f45a5df363858e0121e501475d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.779333"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [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", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] Performing Kithe::CreateDerivativesJob (Job ID: 29604b30-06a9-437b-a62e-650d97763eeb) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffdfdb8b750 @uri=#<URI::GID gid://dummy/CustomAsset/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] [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", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] [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/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/57400f45a5df363858e0121e501475d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/fixed/6939505e8b3012bba9289bb39e5cdd69.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d8an0xod6_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.787919"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] [Kithe::CreateDerivativesJob] [29604b30-06a9-437b-a62e-650d97763eeb] Performed Kithe::CreateDerivativesJob (Job ID: 29604b30-06a9-437b-a62e-650d97763eeb) from Inline(default) in 7.21ms
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] Enqueued Kithe::CreateDerivativesJob (Job ID: 29604b30-06a9-437b-a62e-650d97763eeb) to Inline(default) with arguments: #<GlobalID:0x00007ffdfdb58aa8 @uri=#<URI::GID gid://dummy/CustomAsset/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d>>
+[ActiveJob] [Kithe::AssetPromoteJob] [6e05c3be-7b23-45f5-a933-c246ace6b7a6] Performed Kithe::AssetPromoteJob (Job ID: 6e05c3be-7b23-45f5-a933-c246ace6b7a6) from Inline(default) in 15.07ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 6e05c3be-7b23-45f5-a933-c246ace6b7a6) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d", "file", {"id"=>"asset/4e03fb8bff0859a42caa0763d9e41fc2.jpg", "storage"=>"cache"}, {}
+ [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", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+ [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/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/57400f45a5df363858e0121e501475d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/fixed/022af99de6cd1b89c796b80281062a8d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d8an0xod6_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.795667"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/57400f45a5df363858e0121e501475d7.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"ce4d4b05-ad5b-4b92-8b57-b59bb934b08d/fixed/61501533ffaab5b1c4335361cb1281bd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"d8an0xod6_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 21:02:59.840530"], ["id", "ce4d4b05-ad5b-4b92-8b57-b59bb934b08d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:02:59.857094"], ["updated_at", "2020-05-19 21:02:59.857094"], ["file_data", "{\"id\":\"asset/ae28848aa9945282c490d99198b59cd9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] Performing Kithe::AssetPromoteJob (Job ID: 2200c0cc-dc3a-43a8-97e4-99e370bce6c0) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "CustomUploader::Attacher", "CustomAsset", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a", "file", {"id"=>"asset/ae28848aa9945282c490d99198b59cd9.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [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", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [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", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [1m[36mCustomAsset Update (1.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/92e6e9a2-d7ee-415e-adbd-2172dd893b1a/901a59fae864af5d6b4784a045d40f2c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.867278"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [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", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] Performing Kithe::CreateDerivativesJob (Job ID: ad674c12-9938-410a-b2aa-dc3eae63d3a1) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: #<GlobalID:0x00007ffdfdb01258 @uri=#<URI::GID gid://dummy/CustomAsset/92e6e9a2-d7ee-415e-adbd-2172dd893b1a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] [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", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] [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/92e6e9a2-d7ee-415e-adbd-2172dd893b1a/901a59fae864af5d6b4784a045d40f2c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"92e6e9a2-d7ee-415e-adbd-2172dd893b1a/fixed/9215451c2af215e3199e7398c393257c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u5mc4oerl_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.876664"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] [Kithe::CreateDerivativesJob] [ad674c12-9938-410a-b2aa-dc3eae63d3a1] Performed Kithe::CreateDerivativesJob (Job ID: ad674c12-9938-410a-b2aa-dc3eae63d3a1) from Inline(default) in 5.45ms
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] Enqueued Kithe::CreateDerivativesJob (Job ID: ad674c12-9938-410a-b2aa-dc3eae63d3a1) to Inline(default) with arguments: #<GlobalID:0x00007ffdfdaeb9d0 @uri=#<URI::GID gid://dummy/CustomAsset/92e6e9a2-d7ee-415e-adbd-2172dd893b1a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [2200c0cc-dc3a-43a8-97e4-99e370bce6c0] Performed Kithe::AssetPromoteJob (Job ID: 2200c0cc-dc3a-43a8-97e4-99e370bce6c0) from Inline(default) in 16.21ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2200c0cc-dc3a-43a8-97e4-99e370bce6c0) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a", "file", {"id"=>"asset/ae28848aa9945282c490d99198b59cd9.jpg", "storage"=>"cache"}, {}
+ [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", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/92e6e9a2-d7ee-415e-adbd-2172dd893b1a/901a59fae864af5d6b4784a045d40f2c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"92e6e9a2-d7ee-415e-adbd-2172dd893b1a/fixed/97df04f01889dd1768d69600b797677a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u5mc4oerl_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:02:59.884942"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/92e6e9a2-d7ee-415e-adbd-2172dd893b1a/901a59fae864af5d6b4784a045d40f2c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"92e6e9a2-d7ee-415e-adbd-2172dd893b1a/fixed/97df04f01889dd1768d69600b797677a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"u5mc4oerl_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"92e6e9a2-d7ee-415e-adbd-2172dd893b1a/test/20932b57eedc9ccd341c4be095cdb5cb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"u5mc4oerl_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-19 21:02:59.922809"], ["id", "92e6e9a2-d7ee-415e-adbd-2172dd893b1a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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-19 21:02:59.954387"], ["updated_at", "2020-05-19 21:02:59.954387"], ["file_data", "{\"id\":\"asset/779ed6d720fb7e479b2de2b3300187b4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] Performing Kithe::AssetPromoteJob (Job ID: 92aeaefc-21ad-45a7-a842-bc14617c100e) from Inline(default) enqueued at 2020-05-19T21:02:59Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5a079de8-d381-45e9-ba14-8c6030ef87e5", "file", {"id"=>"asset/779ed6d720fb7e479b2de2b3300187b4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] [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", "5a079de8-d381-45e9-ba14-8c6030ef87e5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] [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", "5a079de8-d381-45e9-ba14-8c6030ef87e5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] [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/5a079de8-d381-45e9-ba14-8c6030ef87e5/f605708541975306df1f4f962d3d4ddd.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:02:59.963321"], ["id", "5a079de8-d381-45e9-ba14-8c6030ef87e5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [92aeaefc-21ad-45a7-a842-bc14617c100e] Performed Kithe::AssetPromoteJob (Job ID: 92aeaefc-21ad-45a7-a842-bc14617c100e) from Inline(default) in 6.77ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 92aeaefc-21ad-45a7-a842-bc14617c100e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "5a079de8-d381-45e9-ba14-8c6030ef87e5", "file", {"id"=>"asset/779ed6d720fb7e479b2de2b3300187b4.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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-19 21:02:59.983599"], ["updated_at", "2020-05-19 21:02:59.983599"], ["file_data", "{\"id\":\"asset/d367358b5f3ba75a0de7f3bf190c9ce5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f819744f-15aa-4593-8011-c9abfb898e04"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f819744f-15aa-4593-8011-c9abfb898e04"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.008058"], ["updated_at", "2020-05-19 21:03:00.008058"], ["file_data", "{\"id\":\"asset/10942881f8a2a42d077d62a99735f57d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.012178"], ["file_data", "{\"id\":\"asset/6489949e-90d5-4f46-8693-13049dae9858/eed1721ad2753ac518a2201304bcee30.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6489949e-90d5-4f46-8693-13049dae9858"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "6489949e-90d5-4f46-8693-13049dae9858"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 21:03:00.031245"], ["updated_at", "2020-05-19 21:03:00.031245"], ["file_data", "{\"id\":\"asset/02e0b99ea2efdc82d8ad6a8e8e6ff57a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [48143537-17da-470d-a764-12f1814aeb03] Performing Kithe::AssetPromoteJob (Job ID: 48143537-17da-470d-a764-12f1814aeb03) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "2e3cad58-f1af-4447-8d19-354f7603e005", "file", {"id"=>"asset/02e0b99ea2efdc82d8ad6a8e8e6ff57a.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [48143537-17da-470d-a764-12f1814aeb03] [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "2e3cad58-f1af-4447-8d19-354f7603e005"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [48143537-17da-470d-a764-12f1814aeb03] Performed Kithe::AssetPromoteJob (Job ID: 48143537-17da-470d-a764-12f1814aeb03) from Inline(default) in 3.3ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 48143537-17da-470d-a764-12f1814aeb03) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "2e3cad58-f1af-4447-8d19-354f7603e005", "file", {"id"=>"asset/02e0b99ea2efdc82d8ad6a8e8e6ff57a.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "2e3cad58-f1af-4447-8d19-354f7603e005"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.052831"], ["updated_at", "2020-05-19 21:03:00.052831"], ["file_data", "{\"id\":\"asset/ec29fc4341baa0248743c576971372ac.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] Performing Kithe::AssetPromoteJob (Job ID: 752a8ff8-0a40-4b7e-85df-e79a07abd4dc) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9b876f57-233e-49bf-9763-9549df1ae03c", "file", {"id"=>"asset/ec29fc4341baa0248743c576971372ac.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] [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", "9b876f57-233e-49bf-9763-9549df1ae03c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] [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", "9b876f57-233e-49bf-9763-9549df1ae03c"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] [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/9b876f57-233e-49bf-9763-9549df1ae03c/42b2d6bf192a63f1e11f00143236e555.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.062716"], ["id", "9b876f57-233e-49bf-9763-9549df1ae03c"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [752a8ff8-0a40-4b7e-85df-e79a07abd4dc] Performed Kithe::AssetPromoteJob (Job ID: 752a8ff8-0a40-4b7e-85df-e79a07abd4dc) from Inline(default) in 6.7ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 752a8ff8-0a40-4b7e-85df-e79a07abd4dc) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "9b876f57-233e-49bf-9763-9549df1ae03c", "file", {"id"=>"asset/ec29fc4341baa0248743c576971372ac.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "9b876f57-233e-49bf-9763-9549df1ae03c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.083333"], ["updated_at", "2020-05-19 21:03:00.083333"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.089142"], ["file_data", "{\"id\":\"asset/d6d72bec-dfc1-4e02-a2c2-63d6acdc1990/af7c6288e8f015ecb6db2b078b936970.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d6d72bec-dfc1-4e02-a2c2-63d6acdc1990"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d6d72bec-dfc1-4e02-a2c2-63d6acdc1990"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 21:03:00.105595"], ["updated_at", "2020-05-19 21:03:00.105595"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:00.111210"], ["file_data", "{\"id\":\"asset/3102a460-436b-4a64-86e7-5269f49da6c5/6bbc065aaa454440959b73db1f327fb3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3102a460-436b-4a64-86e7-5269f49da6c5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "3102a460-436b-4a64-86e7-5269f49da6c5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.130728"], ["updated_at", "2020-05-19 21:03:00.130728"], ["file_data", "{\"id\":\"asset/a9b90d561bf38b612c7420a56a628d36.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "TestAsset"], ["id", "8f32a540-39e3-42a3-bf8e-7b92fcad76e2"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "8f32a540-39e3-42a3-bf8e-7b92fcad76e2"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-19 21:03:00.151602"], ["updated_at", "2020-05-19 21:03:00.151602"], ["file_data", "{\"id\":\"asset/ca0688a4f9d79999e246117802fbc6ee.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "TestAsset"], ["id", "2ec2341b-6ada-45dc-89bf-9e5f8f0d4641"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "2ec2341b-6ada-45dc-89bf-9e5f8f0d4641"], ["LIMIT", 1]]
+ [1m[36mTestAsset 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/2ec2341b-6ada-45dc-89bf-9e5f8f0d4641/0d7a7d8e96fd4e5f53d0b5af96464111.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.162137"], ["id", "2ec2341b-6ada-45dc-89bf-9e5f8f0d4641"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "2ec2341b-6ada-45dc-89bf-9e5f8f0d4641"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.180254"], ["updated_at", "2020-05-19 21:03:00.180254"], ["file_data", "{\"id\":\"asset/3e9ea106208659d606f8a0a520e35aa9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] Performing Kithe::AssetPromoteJob (Job ID: f4062296-fbd2-48b6-9193-70d3eba3fee5) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f57893b7-8970-45f7-bbc7-dd17db22b833", "file", {"id"=>"asset/3e9ea106208659d606f8a0a520e35aa9.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] [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", "f57893b7-8970-45f7-bbc7-dd17db22b833"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] [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", "f57893b7-8970-45f7-bbc7-dd17db22b833"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] [1m[36mTestAsset 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/f57893b7-8970-45f7-bbc7-dd17db22b833/447faf1ffee5b99c10d6678410b4e5db.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.188999"], ["id", "f57893b7-8970-45f7-bbc7-dd17db22b833"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f4062296-fbd2-48b6-9193-70d3eba3fee5] Performed Kithe::AssetPromoteJob (Job ID: f4062296-fbd2-48b6-9193-70d3eba3fee5) from Inline(default) in 7.7ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f4062296-fbd2-48b6-9193-70d3eba3fee5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f57893b7-8970-45f7-bbc7-dd17db22b833", "file", {"id"=>"asset/3e9ea106208659d606f8a0a520e35aa9.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 21:03:00.211646"], ["updated_at", "2020-05-19 21:03:00.211646"], ["file_data", "{\"id\":\"asset/c6eeaf794eed33a8506d3e09e4a0eeef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.214731"], ["file_data", "{\"id\":\"asset/4d068509-ce42-4d16-9f82-a60661176a21/eb2cbf8fe9d581344b392cfcc2ec29e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4d068509-ce42-4d16-9f82-a60661176a21"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "4d068509-ce42-4d16-9f82-a60661176a21"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:00.235013"], ["updated_at", "2020-05-19 21:03:00.235013"], ["file_data", "{\"id\":\"asset/e232541edd108a7e22e80b4c49046e13.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (2.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] Performing Kithe::AssetPromoteJob (Job ID: a3ed81cc-f8fe-4886-92d7-4559884fea8b) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "cac3a214-f75d-4d0f-85df-4323672fe13a", "file", {"id"=>"asset/e232541edd108a7e22e80b4c49046e13.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] [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", "cac3a214-f75d-4d0f-85df-4323672fe13a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] [1m[36mTestAsset 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", "TestAsset"], ["id", "cac3a214-f75d-4d0f-85df-4323672fe13a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] [1m[36mTestAsset 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/cac3a214-f75d-4d0f-85df-4323672fe13a/30b69e8abc2080ef1c7688e245c1f0da.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.249141"], ["id", "cac3a214-f75d-4d0f-85df-4323672fe13a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a3ed81cc-f8fe-4886-92d7-4559884fea8b] Performed Kithe::AssetPromoteJob (Job ID: a3ed81cc-f8fe-4886-92d7-4559884fea8b) from Inline(default) in 5.6ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a3ed81cc-f8fe-4886-92d7-4559884fea8b) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "cac3a214-f75d-4d0f-85df-4323672fe13a", "file", {"id"=>"asset/e232541edd108a7e22e80b4c49046e13.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (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-19 21:03:00.271435"], ["updated_at", "2020-05-19 21:03:00.271435"], ["file_data", "{\"id\":\"asset/0d194a18f41a38246c5e7389be638973.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] Performing Kithe::AssetPromoteJob (Job ID: 72580b28-fb6e-49c7-a7cf-3d693f299f0f) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f2711bc2-6c96-4561-874a-e962a1e20ef1", "file", {"id"=>"asset/0d194a18f41a38246c5e7389be638973.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] [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", "f2711bc2-6c96-4561-874a-e962a1e20ef1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] [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", "f2711bc2-6c96-4561-874a-e962a1e20ef1"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] [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/f2711bc2-6c96-4561-874a-e962a1e20ef1/1af37ac9b2cea350d116d74f7fa188fb.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.281494"], ["id", "f2711bc2-6c96-4561-874a-e962a1e20ef1"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [72580b28-fb6e-49c7-a7cf-3d693f299f0f] Performed Kithe::AssetPromoteJob (Job ID: 72580b28-fb6e-49c7-a7cf-3d693f299f0f) from Inline(default) in 7.17ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 72580b28-fb6e-49c7-a7cf-3d693f299f0f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f2711bc2-6c96-4561-874a-e962a1e20ef1", "file", {"id"=>"asset/0d194a18f41a38246c5e7389be638973.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "f2711bc2-6c96-4561-874a-e962a1e20ef1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.298947"], ["updated_at", "2020-05-19 21:03:00.298947"], ["file_data", "{\"id\":\"asset/aa2daaaa673ba64ea25102d540336573.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "421eb39f-3616-44f4-83be-ed9d219001ea"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:00.320041"], ["updated_at", "2020-05-19 21:03:00.320041"], ["file_data", "{\"id\":\"asset/cc44b1c18bac9dcfd56778bcf6a38e55.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.325577"], ["file_data", "{\"id\":\"asset/e553d353-6fc7-4e83-866c-7eaa5c716e9d/357f0fde9d81f8885462af6c06e1135e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e553d353-6fc7-4e83-866c-7eaa5c716e9d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 08bfad4d-0530-4989-bd6c-824e1baa08e2) to Test(default) with arguments: #<GlobalID:0x00007ffe0258ba08 @uri=#<URI::GID gid://dummy/TestAsset/e553d353-6fc7-4e83-866c-7eaa5c716e9d>>
+ [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", "e553d353-6fc7-4e83-866c-7eaa5c716e9d"], ["LIMIT", 1]]
+ [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", "e553d353-6fc7-4e83-866c-7eaa5c716e9d"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-19 21:03:00.343994"], ["updated_at", "2020-05-19 21:03:00.343994"], ["file_data", "{\"id\":\"asset/dc3bf6df01d7ae6e630781e16fa9b634.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.367067"], ["updated_at", "2020-05-19 21:03:00.367067"], ["file_data", "{\"id\":\"asset/b70b89622e315776b09d61afb71c473a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (32.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.405303"], ["file_data", "{\"id\":\"asset/93c00d38-24ff-4de7-9b1b-f3988e03d557/6b912ac3d9a9ac0111847958df45342b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "93c00d38-24ff-4de7-9b1b-f3988e03d557"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "93c00d38-24ff-4de7-9b1b-f3988e03d557"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.429263"], ["updated_at", "2020-05-19 21:03:00.429263"], ["file_data", "{\"id\":\"asset/2bd3bc8ad4d46c14311a3d3667f30b2a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.432378"], ["file_data", "{\"id\":\"asset/8c62c688-3605-4866-85c9-cc01eff4fb5e/db37461726017e6fd1882e4bf29b386c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8c62c688-3605-4866-85c9-cc01eff4fb5e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [990cebc3-00f7-489d-8ea2-623f578c212f] Performing Kithe::CreateDerivativesJob (Job ID: 990cebc3-00f7-489d-8ea2-623f578c212f) from Test(default) enqueued at with arguments: #<GlobalID:0x00007ffe02519de0 @uri=#<URI::GID gid://dummy/TestAsset/8c62c688-3605-4866-85c9-cc01eff4fb5e>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [990cebc3-00f7-489d-8ea2-623f578c212f] Performed Kithe::CreateDerivativesJob (Job ID: 990cebc3-00f7-489d-8ea2-623f578c212f) from Test(default) in 0.6ms
+ [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", "8c62c688-3605-4866-85c9-cc01eff4fb5e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.463008"], ["updated_at", "2020-05-19 21:03:00.463008"], ["file_data", "{\"id\":\"asset/c0c41e102501d64d3edd2e15ac726dce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.466210"], ["file_data", "{\"id\":\"asset/def9cc64-3504-4506-9d06-12200efa62da/784c3ee9c942fbbfcbe14c7257d0b237.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "def9cc64-3504-4506-9d06-12200efa62da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "def9cc64-3504-4506-9d06-12200efa62da"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "def9cc64-3504-4506-9d06-12200efa62da"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "def9cc64-3504-4506-9d06-12200efa62da"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "def9cc64-3504-4506-9d06-12200efa62da"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'def9cc64-3504-4506-9d06-12200efa62da'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'def9cc64-3504-4506-9d06-12200efa62da'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "def9cc64-3504-4506-9d06-12200efa62da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-19 21:03:00.490556"], ["updated_at", "2020-05-19 21:03:00.490556"], ["file_data", "{\"id\":\"asset/31e18d0b30d737388d98a8ec0180bc05.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.495069"], ["file_data", "{\"id\":\"asset/0ef5b374-0d21-4877-8110-800cbe0eb954/a372be4f5b795deefdc5090296e15af2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "0ef5b374-0d21-4877-8110-800cbe0eb954"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "0ef5b374-0d21-4877-8110-800cbe0eb954"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "0ef5b374-0d21-4877-8110-800cbe0eb954"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "0ef5b374-0d21-4877-8110-800cbe0eb954"]]
+ [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", "0ef5b374-0d21-4877-8110-800cbe0eb954"]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ef5b374-0d21-4877-8110-800cbe0eb954'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ef5b374-0d21-4877-8110-800cbe0eb954'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "0ef5b374-0d21-4877-8110-800cbe0eb954"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.531016"], ["updated_at", "2020-05-19 21:03:00.531016"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27) AND "kithe_models"."id" = $28 LIMIT $29[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "4e2e9227-0043-473f-96da-a250b0abc8c2"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.0ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 21:03:00.550973"], ["updated_at", "2020-05-19 21:03:00.550973"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.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", "AssetSubclass"], ["created_at", "2020-05-19 21:03:00.567650"], ["updated_at", "2020-05-19 21:03:00.567650"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:00.572869"], ["file_data", "{\"id\":\"asset/64d9053e-6bac-4ce0-ad89-944b3985f257/e7bfd0a144b9f8e733b6bb4c290f9101.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "64d9053e-6bac-4ce0-ad89-944b3985f257"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.576957"], ["file_data", "{\"id\":\"asset/64d9053e-6bac-4ce0-ad89-944b3985f257/b5ba47cb0ed76e2e484a1f9e358509e8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "64d9053e-6bac-4ce0-ad89-944b3985f257"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "64d9053e-6bac-4ce0-ad89-944b3985f257"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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 title"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.582195"], ["updated_at", "2020-05-19 21:03:00.582195"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:00.593260"], ["updated_at", "2020-05-19 21:03:00.593260"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 21:03:00.595992"], ["updated_at", "2020-05-19 21:03:00.595992"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 21:03:00.602742"], ["updated_at", "2020-05-19 21:03:00.602742"], ["file_data", "{\"id\":\"asset/0699caa5d3018417a52f6445d8761148.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] Performing Kithe::AssetPromoteJob (Job ID: 2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "df6fefc4-087d-4357-910e-180044ffc6c9", "file", {"id"=>"asset/0699caa5d3018417a52f6445d8761148.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "df6fefc4-087d-4357-910e-180044ffc6c9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "df6fefc4-087d-4357-910e-180044ffc6c9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] [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/df6fefc4-087d-4357-910e-180044ffc6c9/9e81dd710c488919f30cda4a3e1079f4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.614077"], ["id", "df6fefc4-087d-4357-910e-180044ffc6c9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28] Performed Kithe::AssetPromoteJob (Job ID: 2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28) from Inline(default) in 7.26ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2fbf89dc-4125-4fb7-b9ba-e92d3e0ccf28) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "df6fefc4-087d-4357-910e-180044ffc6c9", "file", {"id"=>"asset/0699caa5d3018417a52f6445d8761148.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "df6fefc4-087d-4357-910e-180044ffc6c9"], ["LIMIT", 1]]
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.625483"], ["updated_at", "2020-05-19 21:03:00.625483"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.628962"], ["file_data", "{\"id\":\"asset/be4977ef9fb7e05f039311f6cc294051.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "7574ae5d-a549-48fd-97c7-1c6aefc1401a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] Performing Kithe::AssetPromoteJob (Job ID: fd847c63-ac53-4f2f-bffd-ee22fcf8f179) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "7574ae5d-a549-48fd-97c7-1c6aefc1401a", "file", {"id"=>"asset/be4977ef9fb7e05f039311f6cc294051.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7574ae5d-a549-48fd-97c7-1c6aefc1401a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] [1m[36mKithe::Asset Load (3.0ms)[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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7574ae5d-a549-48fd-97c7-1c6aefc1401a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] [1m[36mKithe::Asset 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/7574ae5d-a549-48fd-97c7-1c6aefc1401a/af6d0ddff2519ac8b2001c9da91583a3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 21:03:00.639616"], ["id", "7574ae5d-a549-48fd-97c7-1c6aefc1401a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [fd847c63-ac53-4f2f-bffd-ee22fcf8f179] Performed Kithe::AssetPromoteJob (Job ID: fd847c63-ac53-4f2f-bffd-ee22fcf8f179) from Inline(default) in 11.38ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: fd847c63-ac53-4f2f-bffd-ee22fcf8f179) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "7574ae5d-a549-48fd-97c7-1c6aefc1401a", "file", {"id"=>"asset/be4977ef9fb7e05f039311f6cc294051.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7574ae5d-a549-48fd-97c7-1c6aefc1401a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.648843"], ["updated_at", "2020-05-19 21:03:00.648843"], ["file_data", "{\"id\":\"asset/4d526ce7038154c1cfbb53bd111c09f0.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 58d36a98-2182-4dce-bdcf-3b01992e1a4c) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "1ea8a934-f76d-484b-b73c-64a5d4119e08", "file", {"id"=>"asset/4d526ce7038154c1cfbb53bd111c09f0.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "1ea8a934-f76d-484b-b73c-64a5d4119e08"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:00.658802"], ["file_data", "{\"id\":\"asset/1ea8a934-f76d-484b-b73c-64a5d4119e08/37dcd224985bf8a32b8d1945a2357a9b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "1ea8a934-f76d-484b-b73c-64a5d4119e08"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.663572"], ["updated_at", "2020-05-19 21:03:00.663572"], ["file_data", "{\"id\":\"asset/81e8e509598cabfaa1f40d3bf82ce4ea.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] Performing Kithe::AssetPromoteJob (Job ID: b6da85f6-ced0-4b95-91d8-f22b2a312458) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "07b3a969-82bd-4631-bed6-2641eeb53386", "file", {"id"=>"asset/81e8e509598cabfaa1f40d3bf82ce4ea.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "07b3a969-82bd-4631-bed6-2641eeb53386"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "07b3a969-82bd-4631-bed6-2641eeb53386"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] [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/07b3a969-82bd-4631-bed6-2641eeb53386/60bc50ad3cbd2674e149098d68a48f0f.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.675105"], ["id", "07b3a969-82bd-4631-bed6-2641eeb53386"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [b6da85f6-ced0-4b95-91d8-f22b2a312458] Performed Kithe::AssetPromoteJob (Job ID: b6da85f6-ced0-4b95-91d8-f22b2a312458) from Inline(default) in 11.0ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: b6da85f6-ced0-4b95-91d8-f22b2a312458) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "07b3a969-82bd-4631-bed6-2641eeb53386", "file", {"id"=>"asset/81e8e509598cabfaa1f40d3bf82ce4ea.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-19 21:03:00.679524"], ["updated_at", "2020-05-19 21:03:00.679524"], ["file_data", "{\"id\":\"asset/292656ed0f101e6bebc6bd9867973346.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] Performing Kithe::AssetPromoteJob (Job ID: 86cf1353-91fb-4f97-be2e-73b0175fdda9) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0effd585-a775-453c-b154-eb4ad5fd8374", "file", {"id"=>"asset/292656ed0f101e6bebc6bd9867973346.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] [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, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0effd585-a775-453c-b154-eb4ad5fd8374"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0effd585-a775-453c-b154-eb4ad5fd8374"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] [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/0effd585-a775-453c-b154-eb4ad5fd8374/dbcfcfea80e30ada0d36c65524609cb4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.688820"], ["id", "0effd585-a775-453c-b154-eb4ad5fd8374"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [86cf1353-91fb-4f97-be2e-73b0175fdda9] Performed Kithe::AssetPromoteJob (Job ID: 86cf1353-91fb-4f97-be2e-73b0175fdda9) from Inline(default) in 8.36ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 86cf1353-91fb-4f97-be2e-73b0175fdda9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0effd585-a775-453c-b154-eb4ad5fd8374", "file", {"id"=>"asset/292656ed0f101e6bebc6bd9867973346.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "0effd585-a775-453c-b154-eb4ad5fd8374"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.696518"], ["updated_at", "2020-05-19 21:03:00.696518"], ["file_data", "{\"id\":\"asset/f4a258c7bbf2e2935c24a914cb397593.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] Performing Kithe::AssetPromoteJob (Job ID: f7f7d1f9-2e80-40fb-8d56-4fe021033290) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ee9bfc81-c12c-4825-9b0c-785440ec0868", "file", {"id"=>"asset/f4a258c7bbf2e2935c24a914cb397593.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] [1m[36mKithe::Asset Load (0.8ms)[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, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] [1m[35m (2.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19, $20, $21, $22, $23, $24, $25, $26, $27, $28, $29, $30) AND "kithe_models"."id" = $31 LIMIT $32 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] [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/ee9bfc81-c12c-4825-9b0c-785440ec0868/539ac87fae8fec55fd69f35641444e49.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.710281"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f7f7d1f9-2e80-40fb-8d56-4fe021033290] Performed Kithe::AssetPromoteJob (Job ID: f7f7d1f9-2e80-40fb-8d56-4fe021033290) from Inline(default) in 16.6ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f7f7d1f9-2e80-40fb-8d56-4fe021033290) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ee9bfc81-c12c-4825-9b0c-785440ec0868", "file", {"id"=>"asset/f4a258c7bbf2e2935c24a914cb397593.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/ee9bfc81-c12c-4825-9b0c-785440ec0868/539ac87fae8fec55fd69f35641444e49.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"ee9bfc81-c12c-4825-9b0c-785440ec0868/existing/0c104b4294e8b62444731cc97a394d1c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"h2jhjl9dz_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 21:03:00.759294"], ["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+ [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"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ee9bfc81-c12c-4825-9b0c-785440ec0868'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ee9bfc81-c12c-4825-9b0c-785440ec0868'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.4ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ee9bfc81-c12c-4825-9b0c-785440ec0868"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [433defa7-8300-4f17-93c6-afa55a3ea5e9] Performing Kithe::AssetDeleteJob (Job ID: 433defa7-8300-4f17-93c6-afa55a3ea5e9) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/ee9bfc81-c12c-4825-9b0c-785440ec0868/539ac87fae8fec55fd69f35641444e49.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"ee9bfc81-c12c-4825-9b0c-785440ec0868/existing/0c104b4294e8b62444731cc97a394d1c.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"h2jhjl9dz_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [433defa7-8300-4f17-93c6-afa55a3ea5e9] Performed Kithe::AssetDeleteJob (Job ID: 433defa7-8300-4f17-93c6-afa55a3ea5e9) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 433defa7-8300-4f17-93c6-afa55a3ea5e9) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/ee9bfc81-c12c-4825-9b0c-785440ec0868/539ac87fae8fec55fd69f35641444e49.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"ee9bfc81-c12c-4825-9b0c-785440ec0868/existing/0c104b4294e8b62444731cc97a394d1c.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"h2jhjl9dz_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.774770"], ["updated_at", "2020-05-19 21:03:00.774770"], ["file_data", "{\"id\":\"asset/e5db7317b3f4bcfed9a33238762339b9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] Performing Kithe::AssetPromoteJob (Job ID: 072cd64f-7b63-478e-9aba-0b059f8cef87) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7f9d429-9306-425a-b582-4d983f442b4d", "file", {"id"=>"asset/e5db7317b3f4bcfed9a33238762339b9.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] [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/f7f9d429-9306-425a-b582-4d983f442b4d/2f36bfac4f8849eb370b397b2eaf6a91.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.795043"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [072cd64f-7b63-478e-9aba-0b059f8cef87] Performed Kithe::AssetPromoteJob (Job ID: 072cd64f-7b63-478e-9aba-0b059f8cef87) from Inline(default) in 18.71ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 072cd64f-7b63-478e-9aba-0b059f8cef87) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7f9d429-9306-425a-b582-4d983f442b4d", "file", {"id"=>"asset/e5db7317b3f4bcfed9a33238762339b9.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f7f9d429-9306-425a-b582-4d983f442b4d/2f36bfac4f8849eb370b397b2eaf6a91.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"f7f9d429-9306-425a-b582-4d983f442b4d/existing/9186bec9d9155113c17a7e2d8361edfd.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jkwm1vlfl_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 21:03:00.839922"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f7f9d429-9306-425a-b582-4d983f442b4d/190812a6b0bcddf0230fd600916f085e.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 21:03:00.873944"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [e08a0cf4-9544-4d56-af3e-5067142274ed] Performing Kithe::AssetDeleteJob (Job ID: e08a0cf4-9544-4d56-af3e-5067142274ed) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/f7f9d429-9306-425a-b582-4d983f442b4d/2f36bfac4f8849eb370b397b2eaf6a91.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"f7f9d429-9306-425a-b582-4d983f442b4d/existing/9186bec9d9155113c17a7e2d8361edfd.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"jkwm1vlfl_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [e08a0cf4-9544-4d56-af3e-5067142274ed] Performed Kithe::AssetDeleteJob (Job ID: e08a0cf4-9544-4d56-af3e-5067142274ed) from Inline(default) in 0.2ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: e08a0cf4-9544-4d56-af3e-5067142274ed) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/f7f9d429-9306-425a-b582-4d983f442b4d/2f36bfac4f8849eb370b397b2eaf6a91.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"f7f9d429-9306-425a-b582-4d983f442b4d/existing/9186bec9d9155113c17a7e2d8361edfd.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"jkwm1vlfl_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] Performing Kithe::AssetPromoteJob (Job ID: 9336087f-a814-4f74-aa9a-d17d16cfc624) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7f9d429-9306-425a-b582-4d983f442b4d", "file", {"id"=>"asset/f7f9d429-9306-425a-b582-4d983f442b4d/190812a6b0bcddf0230fd600916f085e.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] [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/f7f9d429-9306-425a-b582-4d983f442b4d/cd1b27c78f26e8fc8190ec7d9ece6cf6.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-19 21:03:00.890855"], ["id", "f7f9d429-9306-425a-b582-4d983f442b4d"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [9336087f-a814-4f74-aa9a-d17d16cfc624] Performed Kithe::AssetPromoteJob (Job ID: 9336087f-a814-4f74-aa9a-d17d16cfc624) from Inline(default) in 14.6ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 9336087f-a814-4f74-aa9a-d17d16cfc624) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "f7f9d429-9306-425a-b582-4d983f442b4d", "file", {"id"=>"asset/f7f9d429-9306-425a-b582-4d983f442b4d/190812a6b0bcddf0230fd600916f085e.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:00.896339"], ["updated_at", "2020-05-19 21:03:00.896339"], ["file_data", "{\"id\":\"asset/62967d576304422dfa271b07aa27275b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] Performing Kithe::AssetPromoteJob (Job ID: 73ff54e0-e379-45af-83de-fdd9eba73c9e) from Inline(default) enqueued at 2020-05-19T21:03:00Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284", "file", {"id"=>"asset/62967d576304422dfa271b07aa27275b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] [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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] [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) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] [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/0a676ba2-e1ad-4ce9-bb11-ebc8b764e284/465904d0331785b09151e0581d8dfb7c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-19 21:03:00.915634"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [73ff54e0-e379-45af-83de-fdd9eba73c9e] Performed Kithe::AssetPromoteJob (Job ID: 73ff54e0-e379-45af-83de-fdd9eba73c9e) from Inline(default) in 18.23ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 73ff54e0-e379-45af-83de-fdd9eba73c9e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284", "file", {"id"=>"asset/62967d576304422dfa271b07aa27275b.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/0a676ba2-e1ad-4ce9-bb11-ebc8b764e284/465904d0331785b09151e0581d8dfb7c.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"0a676ba2-e1ad-4ce9-bb11-ebc8b764e284/existing/58cf41e25d25a0ac1d1001d6dfe43217.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"cljxhhcm1_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 21:03:00.971058"], ["id", "0a676ba2-e1ad-4ce9-bb11-ebc8b764e284"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:00.974940"], ["updated_at", "2020-05-19 21:03:00.974940"], ["file_data", "{\"id\":\"asset/77e9bd7d08aae929ac590e35433e460b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e35e42a3-9d5c-461e-80e5-ede49c8e9cc1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6) AND "kithe_models"."id" = $7 LIMIT $8 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "e35e42a3-9d5c-461e-80e5-ede49c8e9cc1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/77e9bd7d08aae929ac590e35433e460b.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"e35e42a3-9d5c-461e-80e5-ede49c8e9cc1/test/3604e0e82c24529acec7959d3315f9a0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"zzd5zdfm6_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-19 21:03:00.987246"], ["id", "e35e42a3-9d5c-461e-80e5-ede49c8e9cc1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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::Collection"], ["created_at", "2020-05-19 21:03:01.003789"], ["updated_at", "2020-05-19 21:03:01.003789"], ["kithe_model_type", 0]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.081534"], ["updated_at", "2020-05-19 21:03:01.081534"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "315e2671-307c-4613-9ba5-637404f09c73"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.088238"], ["updated_at", "2020-05-19 21:03:01.088238"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "9e3e2856-72ff-4073-8210-1445c1a431e6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 21:03:01.100578"], ["updated_at", "2020-05-19 21:03:01.100578"], ["kithe_model_type", 0]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.105322"], ["updated_at", "2020-05-19 21:03:01.105322"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.6ms)[0m [1m[34mSELECT 1 AS one FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."containee_id" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.7ms)[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", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 21:03:01.121024"], ["updated_at", "2020-05-19 21:03:01.121024"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["container_id", "86c9da29-4631-47c6-a44f-eac1857b5fc9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "86c9da29-4631-47c6-a44f-eac1857b5fc9"]]
+ [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", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["container_id", "86c9da29-4631-47c6-a44f-eac1857b5fc9"]]
+ [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", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"], ["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["container_id", "86c9da29-4631-47c6-a44f-eac1857b5fc9"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '488dc610-3ca3-45f7-ae31-50d1cf3ce792'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '488dc610-3ca3-45f7-ae31-50d1cf3ce792'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "488dc610-3ca3-45f7-ae31-50d1cf3ce792"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["LIMIT", 1]]
+ [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", "86c9da29-4631-47c6-a44f-eac1857b5fc9"], ["LIMIT", 1]]
+ [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", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [1m[35m (0.6ms)[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", "86c9da29-4631-47c6-a44f-eac1857b5fc9"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.148478"], ["updated_at", "2020-05-19 21:03:01.148478"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "1b5ef538-8ce1-4d8e-ae4a-ed694ff71803"], ["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [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", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [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", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["containee_id", "1b5ef538-8ce1-4d8e-ae4a-ed694ff71803"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "496283e0-1062-46cb-a297-ee9e1b4a300e"], ["containee_id", "1b5ef538-8ce1-4d8e-ae4a-ed694ff71803"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '496283e0-1062-46cb-a297-ee9e1b4a300e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '496283e0-1062-46cb-a297-ee9e1b4a300e'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "496283e0-1062-46cb-a297-ee9e1b4a300e"]]
+ [1m[35m (3.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.7ms)[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", "1b5ef538-8ce1-4d8e-ae4a-ed694ff71803"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[34mSELECT COUNT(*) FROM "kithe_models" INNER JOIN "kithe_model_contains" ON "kithe_models"."id" = "kithe_model_contains"."container_id" WHERE "kithe_model_contains"."containee_id" = $1[0m [["containee_id", "1b5ef538-8ce1-4d8e-ae4a-ed694ff71803"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.191446"], ["updated_at", "2020-05-19 21:03:01.191446"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.194788"], ["updated_at", "2020-05-19 21:03:01.194788"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "8300113b-e08e-47a0-9e1c-4ebce951cb65"]]
+ [1m[36mKithe::Work Update (0.7ms)[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-19 21:03:01.198205"], ["representative_id", "8300113b-e08e-47a0-9e1c-4ebce951cb65"], ["leaf_representative_id", "8300113b-e08e-47a0-9e1c-4ebce951cb65"], ["id", "89969973-9ac3-4072-bc5c-712639a9cfc2"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8300113b-e08e-47a0-9e1c-4ebce951cb65'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '89969973-9ac3-4072-bc5c-712639a9cfc2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '89969973-9ac3-4072-bc5c-712639a9cfc2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "89969973-9ac3-4072-bc5c-712639a9cfc2"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "8300113b-e08e-47a0-9e1c-4ebce951cb65"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.210863"], ["updated_at", "2020-05-19 21:03:01.210863"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.215061"], ["updated_at", "2020-05-19 21:03:01.215061"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"]]
+ [1m[36mKithe::Work Create (1.4ms)[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-19 21:03:01.218795"], ["updated_at", "2020-05-19 21:03:01.218795"], ["representative_id", "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"], ["leaf_representative_id", "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '579da72b-7e39-421e-a74f-c2216d2f3eb6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '579da72b-7e39-421e-a74f-c2216d2f3eb6'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "579da72b-7e39-421e-a74f-c2216d2f3eb6"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.230262"], ["updated_at", "2020-05-19 21:03:01.230262"], ["representative_id", "579da72b-7e39-421e-a74f-c2216d2f3eb6"], ["leaf_representative_id", "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bb77c17d-3579-419c-898f-483cc8d020e2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bb77c17d-3579-419c-898f-483cc8d020e2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "7fe9f9b9-982b-4bda-9bcb-3005e85ea2b0"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.6ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [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-19 21:03:01.239151"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "bb77c17d-3579-419c-898f-483cc8d020e2"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bb77c17d-3579-419c-898f-483cc8d020e2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bb77c17d-3579-419c-898f-483cc8d020e2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.244667"], ["updated_at", "2020-05-19 21:03:01.244667"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "307415f3-48ed-482d-8f92-fd7b21f010b7"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.248436"], ["updated_at", "2020-05-19 21:03:01.248436"], ["representative_id", "307415f3-48ed-482d-8f92-fd7b21f010b7"], ["leaf_representative_id", "307415f3-48ed-482d-8f92-fd7b21f010b7"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '307415f3-48ed-482d-8f92-fd7b21f010b7'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'faee70c2-1709-4ffa-9cfd-5dd656679336'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'faee70c2-1709-4ffa-9cfd-5dd656679336'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.7ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "faee70c2-1709-4ffa-9cfd-5dd656679336"]]
+ [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-19 21:03:01.253279"], ["updated_at", "2020-05-19 21:03:01.253279"], ["representative_id", "faee70c2-1709-4ffa-9cfd-5dd656679336"], ["leaf_representative_id", "307415f3-48ed-482d-8f92-fd7b21f010b7"], ["kithe_model_type", 1]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '307415f3-48ed-482d-8f92-fd7b21f010b7'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9b7691c7-ed2e-4b42-8f17-4d9c492edaff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9b7691c7-ed2e-4b42-8f17-4d9c492edaff'
+);
+[0m
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.258658"], ["representative_id", "307415f3-48ed-482d-8f92-fd7b21f010b7"], ["leaf_representative_id", "faee70c2-1709-4ffa-9cfd-5dd656679336"], ["id", "9b7691c7-ed2e-4b42-8f17-4d9c492edaff"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'faee70c2-1709-4ffa-9cfd-5dd656679336'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9b7691c7-ed2e-4b42-8f17-4d9c492edaff'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9b7691c7-ed2e-4b42-8f17-4d9c492edaff'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.263786"], ["updated_at", "2020-05-19 21:03:01.263786"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 21:03:01.266333"], ["updated_at", "2020-05-19 21:03:01.266333"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ae00e137-b1e4-408d-aaee-eac0493ed015"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.269903"], ["updated_at", "2020-05-19 21:03:01.269903"], ["representative_id", "ae00e137-b1e4-408d-aaee-eac0493ed015"], ["leaf_representative_id", "ae00e137-b1e4-408d-aaee-eac0493ed015"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ae00e137-b1e4-408d-aaee-eac0493ed015'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd9937f56-34a2-42b6-b505-4cd091dcb1e4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd9937f56-34a2-42b6-b505-4cd091dcb1e4'
+);
+[0m
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d9937f56-34a2-42b6-b505-4cd091dcb1e4"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.277359"], ["updated_at", "2020-05-19 21:03:01.277359"], ["representative_id", "d9937f56-34a2-42b6-b505-4cd091dcb1e4"], ["leaf_representative_id", "ae00e137-b1e4-408d-aaee-eac0493ed015"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ae00e137-b1e4-408d-aaee-eac0493ed015'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '38df940b-b8f6-4ac4-ab3d-8847424edbe9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '38df940b-b8f6-4ac4-ab3d-8847424edbe9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:01.280523"], ["leaf_representative_id", "374d459d-16a6-475c-abd1-da63b2a1b313"], ["id", "38df940b-b8f6-4ac4-ab3d-8847424edbe9"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '374d459d-16a6-475c-abd1-da63b2a1b313'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '38df940b-b8f6-4ac4-ab3d-8847424edbe9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '38df940b-b8f6-4ac4-ab3d-8847424edbe9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "374d459d-16a6-475c-abd1-da63b2a1b313"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d9937f56-34a2-42b6-b505-4cd091dcb1e4"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "ae00e137-b1e4-408d-aaee-eac0493ed015"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.293024"], ["updated_at", "2020-05-19 21:03:01.293024"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.295277"], ["updated_at", "2020-05-19 21:03:01.295277"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "82bc8786-0b61-4701-87af-976e7c8c7f7e"]]
+ [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-19 21:03:01.297939"], ["representative_id", "82bc8786-0b61-4701-87af-976e7c8c7f7e"], ["leaf_representative_id", "82bc8786-0b61-4701-87af-976e7c8c7f7e"], ["id", "0a581e92-1496-4474-9f86-9b4823bc60cc"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '82bc8786-0b61-4701-87af-976e7c8c7f7e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0a581e92-1496-4474-9f86-9b4823bc60cc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0a581e92-1496-4474-9f86-9b4823bc60cc'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0a581e92-1496-4474-9f86-9b4823bc60cc"]]
+ [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-19 21:03:01.301390"], ["representative_id", "0a581e92-1496-4474-9f86-9b4823bc60cc"], ["leaf_representative_id", "82bc8786-0b61-4701-87af-976e7c8c7f7e"], ["id", "82bc8786-0b61-4701-87af-976e7c8c7f7e"]]
+ [1m[35m (2.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '82bc8786-0b61-4701-87af-976e7c8c7f7e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '82bc8786-0b61-4701-87af-976e7c8c7f7e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '82bc8786-0b61-4701-87af-976e7c8c7f7e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:01.310105"], ["updated_at", "2020-05-19 21:03:01.310105"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-19 21:03:01.312890"], ["updated_at", "2020-05-19 21:03:01.312890"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c196147a-b0c0-43f2-ba2b-146b48cde001"]]
+ [1m[36mKithe::Work Create (0.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-19 21:03:01.316312"], ["updated_at", "2020-05-19 21:03:01.316312"], ["representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '29c20534-2226-4779-9e96-0c4e09013620'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '29c20534-2226-4779-9e96-0c4e09013620'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "16f0e48a-15d9-4382-b2b1-b3162004e971"]]
+ [1m[36mKithe::Work Create (1.1ms)[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-19 21:03:01.322082"], ["updated_at", "2020-05-19 21:03:01.322082"], ["representative_id", "16f0e48a-15d9-4382-b2b1-b3162004e971"], ["leaf_representative_id", "16f0e48a-15d9-4382-b2b1-b3162004e971"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '16f0e48a-15d9-4382-b2b1-b3162004e971'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '24b740d5-b8b2-482c-bde9-3d95b27e29cc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '24b740d5-b8b2-482c-bde9-3d95b27e29cc'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "29c20534-2226-4779-9e96-0c4e09013620"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.327686"], ["updated_at", "2020-05-19 21:03:01.327686"], ["representative_id", "29c20534-2226-4779-9e96-0c4e09013620"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '856c8327-2e45-444d-a5b7-e47119cf56d6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '856c8327-2e45-444d-a5b7-e47119cf56d6'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "29c20534-2226-4779-9e96-0c4e09013620"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.331507"], ["updated_at", "2020-05-19 21:03:01.331507"], ["representative_id", "29c20534-2226-4779-9e96-0c4e09013620"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e779b1da-4782-4ab6-b3f0-8d8f14ddd818'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e779b1da-4782-4ab6-b3f0-8d8f14ddd818'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "24b740d5-b8b2-482c-bde9-3d95b27e29cc"]]
+ [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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.335628"], ["updated_at", "2020-05-19 21:03:01.335628"], ["representative_id", "24b740d5-b8b2-482c-bde9-3d95b27e29cc"], ["leaf_representative_id", "16f0e48a-15d9-4382-b2b1-b3162004e971"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '16f0e48a-15d9-4382-b2b1-b3162004e971'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '518eff89-caa5-4c38-9665-06fd63ad3092'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '518eff89-caa5-4c38-9665-06fd63ad3092'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "856c8327-2e45-444d-a5b7-e47119cf56d6"]]
+ [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-19 21:03:01.340776"], ["updated_at", "2020-05-19 21:03:01.340776"], ["representative_id", "856c8327-2e45-444d-a5b7-e47119cf56d6"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a17b0e29-f9b1-45d7-8976-f7df2c2af868'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a17b0e29-f9b1-45d7-8976-f7df2c2af868'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a17b0e29-f9b1-45d7-8976-f7df2c2af868"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.344996"], ["updated_at", "2020-05-19 21:03:01.344996"], ["representative_id", "a17b0e29-f9b1-45d7-8976-f7df2c2af868"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'fcfdc63a-7fb0-40dd-bacf-b4b4a21083be'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'fcfdc63a-7fb0-40dd-bacf-b4b4a21083be'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a17b0e29-f9b1-45d7-8976-f7df2c2af868"]]
+ [1m[36mKithe::Work Create (1.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-19 21:03:01.350509"], ["updated_at", "2020-05-19 21:03:01.350509"], ["representative_id", "a17b0e29-f9b1-45d7-8976-f7df2c2af868"], ["leaf_representative_id", "c196147a-b0c0-43f2-ba2b-146b48cde001"], ["kithe_model_type", 1]]
+ [1m[35m (89.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'c196147a-b0c0-43f2-ba2b-146b48cde001'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bdfcfe8d-3b7d-456d-89fd-313e9db1985e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bdfcfe8d-3b7d-456d-89fd-313e9db1985e'
+);
+[0m
+ [1m[35m (7.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "24b740d5-b8b2-482c-bde9-3d95b27e29cc"]]
+ [1m[36mKithe::Work Update (0.9ms)[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-19 21:03:01.457708"], ["representative_id", "24b740d5-b8b2-482c-bde9-3d95b27e29cc"], ["leaf_representative_id", "16f0e48a-15d9-4382-b2b1-b3162004e971"], ["id", "856c8327-2e45-444d-a5b7-e47119cf56d6"]]
+ [1m[35m (4.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '16f0e48a-15d9-4382-b2b1-b3162004e971'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '856c8327-2e45-444d-a5b7-e47119cf56d6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '856c8327-2e45-444d-a5b7-e47119cf56d6'
+);
+[0m
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (3.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "856c8327-2e45-444d-a5b7-e47119cf56d6"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (1.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a17b0e29-f9b1-45d7-8976-f7df2c2af868"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (1.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "fcfdc63a-7fb0-40dd-bacf-b4b4a21083be"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "bdfcfe8d-3b7d-456d-89fd-313e9db1985e"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e779b1da-4782-4ab6-b3f0-8d8f14ddd818"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "29c20534-2226-4779-9e96-0c4e09013620"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.486364"], ["updated_at", "2020-05-19 21:03:01.486364"], ["kithe_model_type", 2]]
+ [1m[35m (0.8ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:01.492498"], ["updated_at", "2020-05-19 21:03:01.492498"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"]]
+ [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-19 21:03:01.496315"], ["updated_at", "2020-05-19 21:03:01.496315"], ["representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '903350ac-8562-4166-859c-af58fc44231a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '903350ac-8562-4166-859c-af58fc44231a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7bb6e444-15f5-4de1-abae-0dec19c469a6"]]
+ [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", "child1"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.500607"], ["updated_at", "2020-05-19 21:03:01.500607"], ["representative_id", "7bb6e444-15f5-4de1-abae-0dec19c469a6"], ["leaf_representative_id", "7bb6e444-15f5-4de1-abae-0dec19c469a6"], ["kithe_model_type", 1]]
+ [1m[35m (2.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7bb6e444-15f5-4de1-abae-0dec19c469a6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '660fca5a-5e79-49d9-b3f4-56ff7deb71fc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '660fca5a-5e79-49d9-b3f4-56ff7deb71fc'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "903350ac-8562-4166-859c-af58fc44231a"]]
+ [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-19 21:03:01.507183"], ["updated_at", "2020-05-19 21:03:01.507183"], ["representative_id", "903350ac-8562-4166-859c-af58fc44231a"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ba3a87f8-7a5d-4e59-8a0b-063653c29e11'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ba3a87f8-7a5d-4e59-8a0b-063653c29e11'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "903350ac-8562-4166-859c-af58fc44231a"]]
+ [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-19 21:03:01.511941"], ["updated_at", "2020-05-19 21:03:01.511941"], ["representative_id", "903350ac-8562-4166-859c-af58fc44231a"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bbdcccec-ddb7-4160-9a0e-72852a35c195'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bbdcccec-ddb7-4160-9a0e-72852a35c195'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "660fca5a-5e79-49d9-b3f4-56ff7deb71fc"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.515901"], ["updated_at", "2020-05-19 21:03:01.515901"], ["representative_id", "660fca5a-5e79-49d9-b3f4-56ff7deb71fc"], ["leaf_representative_id", "7bb6e444-15f5-4de1-abae-0dec19c469a6"], ["kithe_model_type", 1]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7bb6e444-15f5-4de1-abae-0dec19c469a6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4cb0817e-e9e1-48c9-8a06-6a6ab7d9c428'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4cb0817e-e9e1-48c9-8a06-6a6ab7d9c428'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (5.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ba3a87f8-7a5d-4e59-8a0b-063653c29e11"]]
+ [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-19 21:03:01.528114"], ["updated_at", "2020-05-19 21:03:01.528114"], ["representative_id", "ba3a87f8-7a5d-4e59-8a0b-063653c29e11"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '535a9eb3-0f34-418c-958a-6ea828dc0026'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '535a9eb3-0f34-418c-958a-6ea828dc0026'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "535a9eb3-0f34-418c-958a-6ea828dc0026"]]
+ [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-19 21:03:01.532470"], ["updated_at", "2020-05-19 21:03:01.532470"], ["representative_id", "535a9eb3-0f34-418c-958a-6ea828dc0026"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e16d5cd0-db13-4a02-bfa0-2a986e3daea8'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e16d5cd0-db13-4a02-bfa0-2a986e3daea8'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "535a9eb3-0f34-418c-958a-6ea828dc0026"]]
+ [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-19 21:03:01.537014"], ["updated_at", "2020-05-19 21:03:01.537014"], ["representative_id", "535a9eb3-0f34-418c-958a-6ea828dc0026"], ["leaf_representative_id", "d147e083-c0ee-4e1c-bbd7-c2723f093c2a"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'd147e083-c0ee-4e1c-bbd7-c2723f093c2a'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '79aeaa71-591f-454c-b7b1-583318fe0a76'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '79aeaa71-591f-454c-b7b1-583318fe0a76'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7bb6e444-15f5-4de1-abae-0dec19c469a6"]]
+ [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-19 21:03:01.540766"], ["representative_id", "7bb6e444-15f5-4de1-abae-0dec19c469a6"], ["leaf_representative_id", "7bb6e444-15f5-4de1-abae-0dec19c469a6"], ["id", "903350ac-8562-4166-859c-af58fc44231a"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7bb6e444-15f5-4de1-abae-0dec19c469a6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '903350ac-8562-4166-859c-af58fc44231a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '903350ac-8562-4166-859c-af58fc44231a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "ba3a87f8-7a5d-4e59-8a0b-063653c29e11"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "bbdcccec-ddb7-4160-9a0e-72852a35c195"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "535a9eb3-0f34-418c-958a-6ea828dc0026"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e16d5cd0-db13-4a02-bfa0-2a986e3daea8"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "79aeaa71-591f-454c-b7b1-583318fe0a76"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.555729"], ["updated_at", "2020-05-19 21:03:01.555729"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1f914bdc-4a21-4f66-b0fd-5db8478d9275"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.559159"], ["updated_at", "2020-05-19 21:03:01.559159"], ["representative_id", "1f914bdc-4a21-4f66-b0fd-5db8478d9275"], ["leaf_representative_id", "1f914bdc-4a21-4f66-b0fd-5db8478d9275"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1f914bdc-4a21-4f66-b0fd-5db8478d9275'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '931a58ec-7ef2-42ba-9aef-ae37ea96286d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '931a58ec-7ef2-42ba-9aef-ae37ea96286d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "931a58ec-7ef2-42ba-9aef-ae37ea96286d"]]
+ [1m[36mKithe::Collection Create (0.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", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 21:03:01.563133"], ["updated_at", "2020-05-19 21:03:01.563133"], ["representative_id", "931a58ec-7ef2-42ba-9aef-ae37ea96286d"], ["leaf_representative_id", "1f914bdc-4a21-4f66-b0fd-5db8478d9275"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1f914bdc-4a21-4f66-b0fd-5db8478d9275'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9f1e4ad7-8941-4ccb-bf53-016add702a18'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9f1e4ad7-8941-4ccb-bf53-016add702a18'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1f914bdc-4a21-4f66-b0fd-5db8478d9275"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:01.592157"], ["updated_at", "2020-05-19 21:03:01.592157"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "06041863-7860-4825-8a1b-8850129e0546"]]
+ [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-19 21:03:01.600385"], ["updated_at", "2020-05-19 21:03:01.600385"], ["representative_id", "06041863-7860-4825-8a1b-8850129e0546"], ["leaf_representative_id", "06041863-7860-4825-8a1b-8850129e0546"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '06041863-7860-4825-8a1b-8850129e0546'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '978c16e7-aefe-48f1-977e-d43b6bdc0645'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '978c16e7-aefe-48f1-977e-d43b6bdc0645'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "06041863-7860-4825-8a1b-8850129e0546"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "06041863-7860-4825-8a1b-8850129e0546"]]
+ [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", "06041863-7860-4825-8a1b-8850129e0546"]]
+ [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", "06041863-7860-4825-8a1b-8850129e0546"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '06041863-7860-4825-8a1b-8850129e0546'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '06041863-7860-4825-8a1b-8850129e0546'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "06041863-7860-4825-8a1b-8850129e0546"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "978c16e7-aefe-48f1-977e-d43b6bdc0645"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:01.618288"], ["updated_at", "2020-05-19 21:03:01.618288"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e0a0c4b4-13fe-4ba2-a167-37236dc26341"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.624062"], ["updated_at", "2020-05-19 21:03:01.624062"], ["representative_id", "e0a0c4b4-13fe-4ba2-a167-37236dc26341"], ["leaf_representative_id", "e0a0c4b4-13fe-4ba2-a167-37236dc26341"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e0a0c4b4-13fe-4ba2-a167-37236dc26341'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f016b740-dc96-469f-8e03-1c8678202abd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f016b740-dc96-469f-8e03-1c8678202abd'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f016b740-dc96-469f-8e03-1c8678202abd"]]
+ [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-19 21:03:01.629416"], ["updated_at", "2020-05-19 21:03:01.629416"], ["representative_id", "f016b740-dc96-469f-8e03-1c8678202abd"], ["leaf_representative_id", "e0a0c4b4-13fe-4ba2-a167-37236dc26341"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'e0a0c4b4-13fe-4ba2-a167-37236dc26341'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2315c60b-738d-48da-a3fa-35b3d2b7681a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2315c60b-738d-48da-a3fa-35b3d2b7681a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "f016b740-dc96-469f-8e03-1c8678202abd"]]
+ [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", "f016b740-dc96-469f-8e03-1c8678202abd"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "f016b740-dc96-469f-8e03-1c8678202abd"]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f016b740-dc96-469f-8e03-1c8678202abd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f016b740-dc96-469f-8e03-1c8678202abd'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "f016b740-dc96-469f-8e03-1c8678202abd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "2315c60b-738d-48da-a3fa-35b3d2b7681a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:01.643066"], ["updated_at", "2020-05-19 21:03:01.643066"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"]]
+ [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-19 21:03:01.646278"], ["updated_at", "2020-05-19 21:03:01.646278"], ["representative_id", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"], ["leaf_representative_id", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1f5c5b78-b9d4-487f-b61f-4bd321cd66a6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b197f881-c39d-4b8d-ac64-94e807ad8035'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b197f881-c39d-4b8d-ac64-94e807ad8035'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b197f881-c39d-4b8d-ac64-94e807ad8035"]]
+ [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-19 21:03:01.650249"], ["updated_at", "2020-05-19 21:03:01.650249"], ["representative_id", "b197f881-c39d-4b8d-ac64-94e807ad8035"], ["leaf_representative_id", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1f5c5b78-b9d4-487f-b61f-4bd321cd66a6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '916b622b-30c1-42e3-aaca-4860fc896df5'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '916b622b-30c1-42e3-aaca-4860fc896df5'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"]]
+ [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", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"]]
+ [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", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1f5c5b78-b9d4-487f-b61f-4bd321cd66a6'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1f5c5b78-b9d4-487f-b61f-4bd321cd66a6'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1f5c5b78-b9d4-487f-b61f-4bd321cd66a6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "916b622b-30c1-42e3-aaca-4860fc896df5"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[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", "b197f881-c39d-4b8d-ac64-94e807ad8035"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.667101"], ["updated_at", "2020-05-19 21:03:01.667101"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 21:03:01.677147"], ["updated_at", "2020-05-19 21:03:01.677147"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.680004"], ["updated_at", "2020-05-19 21:03:01.680004"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:01.682381"], ["parent_id", "93626cd0-b12f-49f2-96d8-c3e59662ce5c"], ["id", "582861bc-4454-441b-a5dc-b2d10c972d6e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.0ms)[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) AND "kithe_models"."id" = $7 LIMIT $8[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "582861bc-4454-441b-a5dc-b2d10c972d6e"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "93626cd0-b12f-49f2-96d8-c3e59662ce5c"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.695487"], ["updated_at", "2020-05-19 21:03:01.695487"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-19 21:03:01.697869"], ["updated_at", "2020-05-19 21:03:01.697869"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:01.700146"], ["parent_id", "33c0e50c-8e1f-4128-97cc-13de4ad2e9fb"], ["id", "92221cbb-5a2e-485a-80df-291eb3483489"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "92221cbb-5a2e-485a-80df-291eb3483489"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "33c0e50c-8e1f-4128-97cc-13de4ad2e9fb"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-19 21:03:01.712268"], ["updated_at", "2020-05-19 21:03:01.712268"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 21:03:01.714820"], ["updated_at", "2020-05-19 21:03:01.714820"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-19 21:03:01.720198"], ["updated_at", "2020-05-19 21:03:01.720198"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "54503a94-c559-4dd7-ad49-13b4f581bd09"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-19 21:03:01.730519"], ["updated_at", "2020-05-19 21:03:01.730519"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "4e883b2b-9b0a-45ef-a1f2-380b481e1593"], ["container_id", "54503a94-c559-4dd7-ad49-13b4f581bd09"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Create (0.5ms)[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-19 21:03:01.748622"], ["updated_at", "2020-05-19 21:03:01.748622"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "8eb9be70-9e1d-494e-9456-87f683c5b0a4"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:01.780051"], ["updated_at", "2020-05-19 21:03:01.780051"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:01.782719"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "dff68741-09ba-4d3e-a85b-45bdbfc91d39"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] Performing Kithe::AssetPromoteJob (Job ID: c29acd28-599d-4995-a3da-21d6862c8a9f) from Inline(default) enqueued at 2020-05-19T21:03:01Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "dff68741-09ba-4d3e-a85b-45bdbfc91d39", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] [1m[36mMyAsset 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", "MyAsset"], ["id", "dff68741-09ba-4d3e-a85b-45bdbfc91d39"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] [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", "dff68741-09ba-4d3e-a85b-45bdbfc91d39"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] [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/dff68741-09ba-4d3e-a85b-45bdbfc91d39/84298b87b76861749fcb008ea39c906d.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-19 21:03:01.837007"], ["id", "dff68741-09ba-4d3e-a85b-45bdbfc91d39"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c29acd28-599d-4995-a3da-21d6862c8a9f] Performed Kithe::AssetPromoteJob (Job ID: c29acd28-599d-4995-a3da-21d6862c8a9f) from Inline(default) in 54.13ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c29acd28-599d-4995-a3da-21d6862c8a9f) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "dff68741-09ba-4d3e-a85b-45bdbfc91d39", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[36mMyAsset 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", "MyAsset"], ["id", "dff68741-09ba-4d3e-a85b-45bdbfc91d39"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:01.858457"], ["updated_at", "2020-05-19 21:03:01.858457"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:01.862277"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "8631235e-08ee-4b90-9fe2-720e71a1fae9"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] Performing Kithe::AssetPromoteJob (Job ID: ce9f4d3b-e520-4cab-8222-8e04d06c40b3) from Inline(default) enqueued at 2020-05-19T21:03:01Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "8631235e-08ee-4b90-9fe2-720e71a1fae9", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] [1m[36mMyAsset 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", "MyAsset"], ["id", "8631235e-08ee-4b90-9fe2-720e71a1fae9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] [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", "8631235e-08ee-4b90-9fe2-720e71a1fae9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] [1m[36mMyAsset 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/8631235e-08ee-4b90-9fe2-720e71a1fae9/da620f013e31267be198b6ca638e9825.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-19 21:03:01.917603"], ["id", "8631235e-08ee-4b90-9fe2-720e71a1fae9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ce9f4d3b-e520-4cab-8222-8e04d06c40b3] Performed Kithe::AssetPromoteJob (Job ID: ce9f4d3b-e520-4cab-8222-8e04d06c40b3) from Inline(default) in 54.77ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ce9f4d3b-e520-4cab-8222-8e04d06c40b3) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "8631235e-08ee-4b90-9fe2-720e71a1fae9", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-19 21:03:01.994288"], ["updated_at", "2020-05-19 21:03:01.994288"], ["file_data", "{\"id\":\"asset/2a5a36e41a00e1c18923283eef4fd9ad.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 21:03:02.032370"], ["file_data", "{\"id\":\"asset/beb3d6d0-e168-499a-920c-cca2b3a8a54b/44005199341a50fdc3b21df128cd0e78.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "beb3d6d0-e168-499a-920c-cca2b3a8a54b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "beb3d6d0-e168-499a-920c-cca2b3a8a54b"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:02.084551"], ["updated_at", "2020-05-19 21:03:02.084551"], ["file_data", "{\"id\":\"asset/553d5587d4cd480d14ede5484328c118.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.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", "ChecksumAsset"], ["id", "3a78a372-2079-438f-8fa7-dfc34dcdf2fa"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:02.136658"], ["updated_at", "2020-05-19 21:03:02.136658"], ["file_data", "{\"id\":\"asset/0b325571ed3412c36edfcad20a806745.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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-19 21:03:02.175612"], ["file_data", "{\"id\":\"asset/6c0fb770-f096-4923-95b1-b56177619fbf/ff040ef9dc0191e707909c2950f68d64.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "6c0fb770-f096-4923-95b1-b56177619fbf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "6c0fb770-f096-4923-95b1-b56177619fbf"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "ChecksumAsset"], ["id", "6c0fb770-f096-4923-95b1-b56177619fbf"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.215950"], ["file_data", "{\"id\":\"asset/6c0fb770-f096-4923-95b1-b56177619fbf/ff040ef9dc0191e707909c2950f68d64.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\":\"6c0fb770-f096-4923-95b1-b56177619fbf/test/5082cdf13357f99c2bc710f885ccee23.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"l29nb7oz6_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "6c0fb770-f096-4923-95b1-b56177619fbf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:03:02.239425"], ["updated_at", "2020-05-19 21:03:02.239425"], ["file_data", "{\"id\":\"asset/f0ea2513132d56633fa26cdff63d0f73.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.244416"], ["file_data", "{\"id\":\"asset/b9bd6b12-f9fd-4ee3-a223-9275303dcbe0/6b94169baf2386ad11815af5075a8f12.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b9bd6b12-f9fd-4ee3-a223-9275303dcbe0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b9bd6b12-f9fd-4ee3-a223-9275303dcbe0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.345224"], ["updated_at", "2020-05-19 21:03:02.345224"], ["file_data", "{\"id\":\"asset/3c1b84f2bafc9054c49cc4fe1b9c8f72.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:02.349005"], ["file_data", "{\"id\":\"asset/81709333-ace6-4140-9286-3b5ac57cfbfe/f5bc3093e2bf54255192ebaac708d9cd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "81709333-ace6-4140-9286-3b5ac57cfbfe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.367157"], ["updated_at", "2020-05-19 21:03:02.367157"], ["file_data", "{\"id\":\"asset/fd6a8ff541b54a71a218e2121f5e6c15.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.370774"], ["file_data", "{\"id\":\"asset/a8122fbc-e6e4-4787-b154-5ec9489443db/7ed36591a982b19995f54a53f276a5e6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a8122fbc-e6e4-4787-b154-5ec9489443db"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.397053"], ["updated_at", "2020-05-19 21:03:02.397053"], ["file_data", "{\"id\":\"asset/867055c97fe7e50c88c7943c80faa7d5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:02.400342"], ["file_data", "{\"id\":\"asset/ff20d9ad-b4d8-4a7c-9604-a6a55db5500b/5c444fc22f19bff8e00c89bdd75ea0cb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "ff20d9ad-b4d8-4a7c-9604-a6a55db5500b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-19 21:03:02.418300"], ["updated_at", "2020-05-19 21:03:02.418300"], ["file_data", "{\"id\":\"asset/3568cca219b8612269301ab679e3f665.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.424062"], ["file_data", "{\"id\":\"asset/b086937a-d44a-4aa2-9868-453fac0bcf50/a443392034897087b675d2b3f00a2cfb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b086937a-d44a-4aa2-9868-453fac0bcf50"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b086937a-d44a-4aa2-9868-453fac0bcf50"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.563981"], ["updated_at", "2020-05-19 21:03:02.563981"], ["file_data", "{\"id\":\"asset/932a5cc64f68aa63fb1c3def134c2d13.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.571026"], ["file_data", "{\"id\":\"asset/260c1261-8f35-40bb-9573-07d751faee54/68eec6f771aa6ad6b7d0a9b96a537928.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "260c1261-8f35-40bb-9573-07d751faee54"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "260c1261-8f35-40bb-9573-07d751faee54"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.626999"], ["updated_at", "2020-05-19 21:03:02.626999"], ["file_data", "{\"id\":\"asset/6673fc462dbaa261560d1f118c56ee26.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.631581"], ["file_data", "{\"id\":\"asset/f2babbab-61f0-48a4-bf56-7ee9f09c8efe/84c331bb3382d6431fc72696af29b5c2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f2babbab-61f0-48a4-bf56-7ee9f09c8efe"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f2babbab-61f0-48a4-bf56-7ee9f09c8efe"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:02.697048"], ["updated_at", "2020-05-19 21:03:02.697048"], ["file_data", "{\"id\":\"asset/173d1d9ef181b9952bc9c11b65bbeae2.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (1.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.701334"], ["file_data", "{\"id\":\"asset/9a83d8b8-acf8-4881-b028-1bf548723f17/1bbb2f9d44108b6eccf18430fc7614db.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "9a83d8b8-acf8-4881-b028-1bf548723f17"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "9a83d8b8-acf8-4881-b028-1bf548723f17"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.799094"], ["updated_at", "2020-05-19 21:03:02.799094"], ["file_data", "{\"id\":\"asset/a641f57df069318ea771a8b2deae52b6.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.802818"], ["file_data", "{\"id\":\"asset/1b6bee65-f7db-43cb-a316-78ff07c5ad6b/22e70545c8d8d76348ed65b5025f4316.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "1b6bee65-f7db-43cb-a316-78ff07c5ad6b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[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", "1b6bee65-f7db-43cb-a316-78ff07c5ad6b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:02.886056"], ["updated_at", "2020-05-19 21:03:02.886056"], ["file_data", "{\"id\":\"asset/89a09f8285b761446a40bd8985dda1fb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.892088"], ["file_data", "{\"id\":\"asset/47ab4402-22b9-40fd-88f2-c59535f09d53/b3e8df65d07502ec13707b5d44204637.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "47ab4402-22b9-40fd-88f2-c59535f09d53"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "47ab4402-22b9-40fd-88f2-c59535f09d53"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:03:02.982865"], ["updated_at", "2020-05-19 21:03:02.982865"], ["file_data", "{\"id\":\"asset/44a6f83f7584e97c8ba99f26251fc2aa.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:02.986183"], ["file_data", "{\"id\":\"asset/bd296e3a-aa3f-4b70-81c8-17bca7dd9531/256deb72d69baf1a865c39efa172835d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "bd296e3a-aa3f-4b70-81c8-17bca7dd9531"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "bd296e3a-aa3f-4b70-81c8-17bca7dd9531"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-19 21:03:03.075599"], ["updated_at", "2020-05-19 21:03:03.075599"], ["file_data", "{\"id\":\"asset/0385b0134797c8b3165194ba0fba71e3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.080198"], ["file_data", "{\"id\":\"asset/845d5a35-a6fe-4cbf-a7f4-96d3876b8c53/04e0c574df8ff9d7548d0c98f1d5f908.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "845d5a35-a6fe-4cbf-a7f4-96d3876b8c53"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "845d5a35-a6fe-4cbf-a7f4-96d3876b8c53"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:03:03.132356"], ["updated_at", "2020-05-19 21:03:03.132356"], ["file_data", "{\"id\":\"asset/7ac81f2c1050453de6c422b7c4c23957.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:03.135888"], ["file_data", "{\"id\":\"asset/e7fb972c-1c53-47b5-b925-a8f6d70824b8/e0f3f8b816f23c9d1ad0ddd848d82b73.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "e7fb972c-1c53-47b5-b925-a8f6d70824b8"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (29.0ms)[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", "e7fb972c-1c53-47b5-b925-a8f6d70824b8"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-19 21:03:03.225906"], ["updated_at", "2020-05-19 21:03:03.225906"], ["file_data", "{\"id\":\"asset/dcc8e3561cd77e328cb1e60217600f0f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.230259"], ["file_data", "{\"id\":\"asset/78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/49698a4b4aff8cedbc6cf2b195f06a54.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"], ["LIMIT", 1]]
+ [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-19 21:03:03.269011"], ["file_data", "{\"id\":\"asset/78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/49698a4b4aff8cedbc6cf2b195f06a54.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/some_data/0c4fc5446992c15fd3441050ced15efe.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5iiqug3mc_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.308544"], ["file_data", "{\"id\":\"asset/78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/49698a4b4aff8cedbc6cf2b195f06a54.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/some_data/0c4fc5446992c15fd3441050ced15efe.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"5iiqug3mc_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"78eeb0c0-4124-4b0d-a88d-65f2e6e4913a/a_jpg/f4ebfd4ce782a3a8483a66dbf5274d2c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5iiqug3mc_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "78eeb0c0-4124-4b0d-a88d-65f2e6e4913a"]]
+ [1m[35m (0.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:03.336801"], ["updated_at", "2020-05-19 21:03:03.336801"], ["file_data", "{\"id\":\"asset/109fa26a86d9e4c9c3756aba23b32adf.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.344293"], ["file_data", "{\"id\":\"asset/bf8cc485-69b4-43b5-9e93-8849dc18744c/5de5dc2f90f25083ce892ef817d240cc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bf8cc485-69b4-43b5-9e93-8849dc18744c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bf8cc485-69b4-43b5-9e93-8849dc18744c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bf8cc485-69b4-43b5-9e93-8849dc18744c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.356941"], ["file_data", "{\"id\":\"asset/bf8cc485-69b4-43b5-9e93-8849dc18744c/5de5dc2f90f25083ce892ef817d240cc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"bf8cc485-69b4-43b5-9e93-8849dc18744c/sample/ab861f36ed63eba77807fa6f11ba0ed9.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"g73y7uzbz_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "bf8cc485-69b4-43b5-9e93-8849dc18744c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bf8cc485-69b4-43b5-9e93-8849dc18744c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:03.364507"], ["updated_at", "2020-05-19 21:03:03.364507"], ["file_data", "{\"id\":\"asset/ffe6d5edb713beef91b9fce741ff4493.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.367471"], ["file_data", "{\"id\":\"asset/731b46c8-1437-4ae1-bf1b-0f2ff8d33733/731dec6335af7f5447f515b813a22a1a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "731b46c8-1437-4ae1-bf1b-0f2ff8d33733"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "731b46c8-1437-4ae1-bf1b-0f2ff8d33733"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "731b46c8-1437-4ae1-bf1b-0f2ff8d33733"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.377854"], ["file_data", "{\"id\":\"asset/731b46c8-1437-4ae1-bf1b-0f2ff8d33733/731dec6335af7f5447f515b813a22a1a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"731b46c8-1437-4ae1-bf1b-0f2ff8d33733/sample/ed48d42a0504f98fb6ceea25097ae47d.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pohsj9808_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "731b46c8-1437-4ae1-bf1b-0f2ff8d33733"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:03.383197"], ["updated_at", "2020-05-19 21:03:03.383197"], ["file_data", "{\"id\":\"asset/87143bff28fa77ff00bc00e8a045156e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (2.2ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.386362"], ["file_data", "{\"id\":\"asset/889f5179-1e82-4d84-ba4c-b9a3470356c3/e5aa823d2a40897c26b61c8f42a3429c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "889f5179-1e82-4d84-ba4c-b9a3470356c3"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "889f5179-1e82-4d84-ba4c-b9a3470356c3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "889f5179-1e82-4d84-ba4c-b9a3470356c3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.397495"], ["file_data", "{\"id\":\"asset/889f5179-1e82-4d84-ba4c-b9a3470356c3/e5aa823d2a40897c26b61c8f42a3429c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"889f5179-1e82-4d84-ba4c-b9a3470356c3/sample/c2de79d538e540143bb4019293f9fe9a.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"4xu7f2nsf_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "889f5179-1e82-4d84-ba4c-b9a3470356c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "889f5179-1e82-4d84-ba4c-b9a3470356c3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 21:03:03.404672"], ["updated_at", "2020-05-19 21:03:03.404672"], ["file_data", "{\"id\":\"asset/263e527c59183c6af390a8ffb823479a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.410288"], ["file_data", "{\"id\":\"asset/bcafc301-2860-4b94-b61d-9667a408f719/46a590b49be9d8f99f45bb081f3881b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bcafc301-2860-4b94-b61d-9667a408f719"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bcafc301-2860-4b94-b61d-9667a408f719"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bcafc301-2860-4b94-b61d-9667a408f719"], ["LIMIT", 1]]
+ [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-19 21:03:03.417240"], ["file_data", "{\"id\":\"asset/bcafc301-2860-4b94-b61d-9667a408f719/46a590b49be9d8f99f45bb081f3881b4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"bcafc301-2860-4b94-b61d-9667a408f719/sample/8f1da89278b984c9d5830d2a10f7bbaa.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qzww7oj2a_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "bcafc301-2860-4b94-b61d-9667a408f719"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bcafc301-2860-4b94-b61d-9667a408f719"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:03.425722"], ["updated_at", "2020-05-19 21:03:03.425722"], ["file_data", "{\"id\":\"asset/20f0354f9ec0f6ca10b1a2e42977cf23.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.428940"], ["file_data", "{\"id\":\"asset/352b446f-01ed-4aad-b009-724769171fbd/c4099bdcb90d4296465023e2c9a1e077.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "352b446f-01ed-4aad-b009-724769171fbd"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:03.434603"], ["updated_at", "2020-05-19 21:03:03.434603"], ["file_data", "{\"id\":\"asset/e1dd026af8db49f0f7118e21bf5ea806.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.439088"], ["file_data", "{\"id\":\"asset/bb38efab-96ad-4cad-8e25-6c43e0a20e8c/33ed38da451da98b35ad1834c7155e3f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bb38efab-96ad-4cad-8e25-6c43e0a20e8c"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.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, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bb38efab-96ad-4cad-8e25-6c43e0a20e8c"], ["LIMIT", 1]]
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bb38efab-96ad-4cad-8e25-6c43e0a20e8c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 21:03:03.463396"], ["file_data", "{\"id\":\"asset/bb38efab-96ad-4cad-8e25-6c43e0a20e8c/33ed38da451da98b35ad1834c7155e3f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"bb38efab-96ad-4cad-8e25-6c43e0a20e8c/sample/179f651c50fd72187aeeaf5952facd42.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5o27f33nn_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "bb38efab-96ad-4cad-8e25-6c43e0a20e8c"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "bb38efab-96ad-4cad-8e25-6c43e0a20e8c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:03.477354"], ["updated_at", "2020-05-19 21:03:03.477354"], ["file_data", "{\"id\":\"asset/4c63190263e27d6687569e4f756e4842.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.480731"], ["file_data", "{\"id\":\"asset/0ec7dc66-423c-46d7-ad21-d8128d41b9c3/7678f0a9804208bf57d43bbe52949f02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0ec7dc66-423c-46d7-ad21-d8128d41b9c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "0ec7dc66-423c-46d7-ad21-d8128d41b9c3"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.520015"], ["file_data", "{\"id\":\"asset/0ec7dc66-423c-46d7-ad21-d8128d41b9c3/7678f0a9804208bf57d43bbe52949f02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"0ec7dc66-423c-46d7-ad21-d8128d41b9c3/key/cefd1559d6bac308576c8d4a164ca916.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jiuqc86y8_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0ec7dc66-423c-46d7-ad21-d8128d41b9c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "0ec7dc66-423c-46d7-ad21-d8128d41b9c3"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.557671"], ["file_data", "{\"id\":\"asset/0ec7dc66-423c-46d7-ad21-d8128d41b9c3/7678f0a9804208bf57d43bbe52949f02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"0ec7dc66-423c-46d7-ad21-d8128d41b9c3/key/406d93468b4548e5328c05a76f936bdc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jiuqc86y8_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0ec7dc66-423c-46d7-ad21-d8128d41b9c3"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:03.564141"], ["updated_at", "2020-05-19 21:03:03.564141"], ["file_data", "{\"id\":\"asset/124777d083d87a3fa3bfb452b1d01ac9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.567759"], ["file_data", "{\"id\":\"asset/b260efc4-3a8b-43b4-b8b3-dedb4409bb0e/591375b54c5f4ab4584cd28d85863398.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b260efc4-3a8b-43b4-b8b3-dedb4409bb0e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (2.0ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "b260efc4-3a8b-43b4-b8b3-dedb4409bb0e"]]
+ [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, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "b260efc4-3a8b-43b4-b8b3-dedb4409bb0e"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "b260efc4-3a8b-43b4-b8b3-dedb4409bb0e"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:03.583435"], ["updated_at", "2020-05-19 21:03:03.583435"], ["file_data", "{\"id\":\"asset/378af6ac82e1cf3c2c3fdab1a84a4803.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [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-19 21:03:03.586971"], ["file_data", "{\"id\":\"asset/44bc9bf0-3de9-447c-8bec-b32aac706fbe/0cc72c43dd0717d0becae50e241be37b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/44bc9bf0-3de9-447c-8bec-b32aac706fbe/6d36c46b5c968dd1c47b5c572df89c07.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-19 21:03:03.596564"], ["id", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 829f6e6e-d3e5-4014-a75f-8c9088819029) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/44bc9bf0-3de9-447c-8bec-b32aac706fbe/0cc72c43dd0717d0becae50e241be37b.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 64cd586c-e12a-4e17-9b12-89e73da6c649) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "44bc9bf0-3de9-447c-8bec-b32aac706fbe", "file", {"id"=>"asset/44bc9bf0-3de9-447c-8bec-b32aac706fbe/6d36c46b5c968dd1c47b5c572df89c07.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.1ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "44bc9bf0-3de9-447c-8bec-b32aac706fbe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:03.613485"], ["updated_at", "2020-05-19 21:03:03.613485"], ["file_data", "{\"id\":\"asset/c4e0bb2066f70baef4500eb979b5b55f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.616945"], ["file_data", "{\"id\":\"asset/a2f421da-3496-43c5-a15c-40b2aa0c94b7/8a94c3582974b57c64cb7c20e0fff6ba.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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/a2f421da-3496-43c5-a15c-40b2aa0c94b7/8a94c3582974b57c64cb7c20e0fff6ba.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"a2f421da-3496-43c5-a15c-40b2aa0c94b7/one/233eb885a4a475e3ca16fd7ddbcaf2db.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5dhe2zblt_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"a2f421da-3496-43c5-a15c-40b2aa0c94b7/two/1ff0de6fefa1c1022d4d47afb5b06732.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5dhe2zblt_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-19 21:03:03.627205"], ["id", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"], ["LIMIT", 1]]
+ [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, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19) AND "kithe_models"."id" = $20 LIMIT $21 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["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", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.641702"], ["file_data", "{\"id\":\"asset/a2f421da-3496-43c5-a15c-40b2aa0c94b7/8a94c3582974b57c64cb7c20e0fff6ba.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"a2f421da-3496-43c5-a15c-40b2aa0c94b7/one/233eb885a4a475e3ca16fd7ddbcaf2db.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"5dhe2zblt_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"a2f421da-3496-43c5-a15c-40b2aa0c94b7/two/b8158ca15a1701f9ec856daf1d6845df.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5dhe2zblt_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"a2f421da-3496-43c5-a15c-40b2aa0c94b7/three/c6ba78c887f598c18573077b63b762e0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"5dhe2zblt_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "a2f421da-3496-43c5-a15c-40b2aa0c94b7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 21:03:03.659775"], ["updated_at", "2020-05-19 21:03:03.659775"], ["file_data", "{\"id\":\"asset/d792295bb8df52c3e6419ef4bd9e8a70.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.663670"], ["file_data", "{\"id\":\"asset/68dc290a-565f-4446-baf1-cd7efe458106/5b87d2e64af6c051c29ea0e070c0c31e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "68dc290a-565f-4446-baf1-cd7efe458106"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "68dc290a-565f-4446-baf1-cd7efe458106"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "68dc290a-565f-4446-baf1-cd7efe458106"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.710288"], ["file_data", "{\"id\":\"asset/68dc290a-565f-4446-baf1-cd7efe458106/5b87d2e64af6c051c29ea0e070c0c31e.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"68dc290a-565f-4446-baf1-cd7efe458106/one/20213db9f76aee41e6110268fd67c1ff.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"aoegu7nf1_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"68dc290a-565f-4446-baf1-cd7efe458106/original_reflected/99b746f0ddbc0d9bb49c30ddee195fbf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"aoegu7nf1_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "68dc290a-565f-4446-baf1-cd7efe458106"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "68dc290a-565f-4446-baf1-cd7efe458106"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-19 21:03:03.735598"], ["updated_at", "2020-05-19 21:03:03.735598"], ["file_data", "{\"id\":\"asset/750f01b5c8e0dc30838c9367a80c583b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.740739"], ["file_data", "{\"id\":\"asset/67cdfa71-c370-4f91-b321-5d6766fa4aea/bb62468b0b88f94a401ea33373f66523.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "67cdfa71-c370-4f91-b321-5d6766fa4aea"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "67cdfa71-c370-4f91-b321-5d6766fa4aea"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "67cdfa71-c370-4f91-b321-5d6766fa4aea"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.812286"], ["file_data", "{\"id\":\"asset/67cdfa71-c370-4f91-b321-5d6766fa4aea/bb62468b0b88f94a401ea33373f66523.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"67cdfa71-c370-4f91-b321-5d6766fa4aea/options_one/dfa3247f248824baedffed21286b5d91.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"j6tm5ggm5_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"67cdfa71-c370-4f91-b321-5d6766fa4aea/options_reflected/7b6b6c2d9cbf5820712a911d98c53592.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"j6tm5ggm5_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "67cdfa71-c370-4f91-b321-5d6766fa4aea"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 21:03:03.831792"], ["updated_at", "2020-05-19 21:03:03.831792"], ["file_data", "{\"id\":\"asset/c2e54f993f71e2fb902f908a72d4c560.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.835482"], ["file_data", "{\"id\":\"asset/8c596bb5-cfdf-42cd-8f77-a69310f2e0b1/d60cabaeb2f8348c3bb32444ab7a0b02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "8c596bb5-cfdf-42cd-8f77-a69310f2e0b1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "8c596bb5-cfdf-42cd-8f77-a69310f2e0b1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "8c596bb5-cfdf-42cd-8f77-a69310f2e0b1"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.909002"], ["file_data", "{\"id\":\"asset/8c596bb5-cfdf-42cd-8f77-a69310f2e0b1/d60cabaeb2f8348c3bb32444ab7a0b02.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"8c596bb5-cfdf-42cd-8f77-a69310f2e0b1/options_one/15ef20a857e1dd89030b422576714234.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ib1s7ca6u_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"8c596bb5-cfdf-42cd-8f77-a69310f2e0b1/options_reflected/b2549e6e95675235e85fd551236b768c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ib1s7ca6u_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "8c596bb5-cfdf-42cd-8f77-a69310f2e0b1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-19 21:03:03.931222"], ["updated_at", "2020-05-19 21:03:03.931222"], ["file_data", "{\"id\":\"asset/43cce87b7b2c6f60dc95b22e9751d76f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:03.934659"], ["file_data", "{\"id\":\"asset/31b53950-f745-4270-b41a-96ac51cb82c2/078770be3215181b0fb66d194f50f3e8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "31b53950-f745-4270-b41a-96ac51cb82c2"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "31b53950-f745-4270-b41a-96ac51cb82c2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "31b53950-f745-4270-b41a-96ac51cb82c2"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.016077"], ["file_data", "{\"id\":\"asset/31b53950-f745-4270-b41a-96ac51cb82c2/078770be3215181b0fb66d194f50f3e8.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"31b53950-f745-4270-b41a-96ac51cb82c2/options_one/88c5f8a2b8457561165ee5f864600396.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"zdwpnm0ct_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"31b53950-f745-4270-b41a-96ac51cb82c2/options_reflected/08255f7a1ce81ff78bd0af10703a5a05.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"zdwpnm0ct_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "31b53950-f745-4270-b41a-96ac51cb82c2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.035642"], ["updated_at", "2020-05-19 21:03:04.035642"], ["file_data", "{\"id\":\"asset/10e60da41cd7fca13c730390c8a83208.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.041138"], ["file_data", "{\"id\":\"asset/a0dba45a-7ffa-4126-b58b-b912a41409da/ee0bbaf52ec42841c87bb0fd2df3b349.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "a0dba45a-7ffa-4126-b58b-b912a41409da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "a0dba45a-7ffa-4126-b58b-b912a41409da"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "a0dba45a-7ffa-4126-b58b-b912a41409da"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.111642"], ["file_data", "{\"id\":\"asset/a0dba45a-7ffa-4126-b58b-b912a41409da/ee0bbaf52ec42841c87bb0fd2df3b349.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"a0dba45a-7ffa-4126-b58b-b912a41409da/options_one/69fb9ddbd0c891b3a1cbdae3bfd73455.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"csfm7deml_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"a0dba45a-7ffa-4126-b58b-b912a41409da/options_reflected/b2810512533e349d7782e5d580d55e0f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"csfm7deml_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a0dba45a-7ffa-4126-b58b-b912a41409da"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.133315"], ["updated_at", "2020-05-19 21:03:04.133315"], ["file_data", "{\"id\":\"asset/1e2e568fa6c03e4196c040c6080f7840.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.136764"], ["file_data", "{\"id\":\"asset/7a24c1f7-7d77-4865-aaaf-ebedc1dc5761/f8676616ef82488db831e5d5f5d19b07.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7a24c1f7-7d77-4865-aaaf-ebedc1dc5761"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "7a24c1f7-7d77-4865-aaaf-ebedc1dc5761"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "7a24c1f7-7d77-4865-aaaf-ebedc1dc5761"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.211082"], ["file_data", "{\"id\":\"asset/7a24c1f7-7d77-4865-aaaf-ebedc1dc5761/f8676616ef82488db831e5d5f5d19b07.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"7a24c1f7-7d77-4865-aaaf-ebedc1dc5761/one/2264e360ef4f94fd685818a493863f09.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wvnyqymfv_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"7a24c1f7-7d77-4865-aaaf-ebedc1dc5761/original_reflected/051cdc1c1089a6afbdb99e1b0bffea53.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wvnyqymfv_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7a24c1f7-7d77-4865-aaaf-ebedc1dc5761"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.230104"], ["updated_at", "2020-05-19 21:03:04.230104"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.250009"], ["updated_at", "2020-05-19 21:03:04.250009"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.265949"], ["updated_at", "2020-05-19 21:03:04.265949"], ["file_data", "{\"id\":\"asset/0567295f3eca156bca0c4ac301797efd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.269105"], ["file_data", "{\"id\":\"asset/6280c431-40b0-41d0-be1e-aa279eb49c94/48d88f6d8bf2d6b2af704ac8fd1f8c90.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6280c431-40b0-41d0-be1e-aa279eb49c94"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-19 21:03:04.287684"], ["updated_at", "2020-05-19 21:03:04.287684"], ["file_data", "{\"id\":\"asset/733ea9ac45d7ec33cb6074eff3779665.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.294470"], ["file_data", "{\"id\":\"asset/59dad40f-0a37-438b-a79b-3a9839bfa8e2/f91f55752b5c491cfc40e48fa80d2190.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "59dad40f-0a37-438b-a79b-3a9839bfa8e2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "59dad40f-0a37-438b-a79b-3a9839bfa8e2"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "59dad40f-0a37-438b-a79b-3a9839bfa8e2"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass 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-19 21:03:04.337870"], ["file_data", "{\"id\":\"asset/59dad40f-0a37-438b-a79b-3a9839bfa8e2/f91f55752b5c491cfc40e48fa80d2190.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"59dad40f-0a37-438b-a79b-3a9839bfa8e2/one/5ad6cc1098b2048b4a3727995d84e9a6.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"s9acuwrzi_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"59dad40f-0a37-438b-a79b-3a9839bfa8e2/original_reflected/14661fd117916c3b6694c1bd2d47186f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"s9acuwrzi_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "59dad40f-0a37-438b-a79b-3a9839bfa8e2"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "59dad40f-0a37-438b-a79b-3a9839bfa8e2"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:04.348581"], ["updated_at", "2020-05-19 21:03:04.348581"], ["file_data", "{\"id\":\"asset/703fa10202bf06c7d27bc0b4f51a0a1a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.0ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.352123"], ["file_data", "{\"id\":\"asset/e037e775-1933-4fd1-9192-281fcb245b0d/5be6d6b67d8a53f7c6d486fda61b4af2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.434123"], ["file_data", "{\"id\":\"asset/e037e775-1933-4fd1-9192-281fcb245b0d/5be6d6b67d8a53f7c6d486fda61b4af2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"e037e775-1933-4fd1-9192-281fcb245b0d/sample1/e7533f77232841d4a3e938ed0ab3687c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"acst9vxcg_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"e037e775-1933-4fd1-9192-281fcb245b0d/sample2/946f0c397116fe94289ecd9f55adf97f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"acst9vxcg_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.441131"], ["file_data", "{\"id\":\"asset/e037e775-1933-4fd1-9192-281fcb245b0d/5be6d6b67d8a53f7c6d486fda61b4af2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"e037e775-1933-4fd1-9192-281fcb245b0d/sample2/946f0c397116fe94289ecd9f55adf97f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"acst9vxcg_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e037e775-1933-4fd1-9192-281fcb245b0d"], ["LIMIT", 1]]
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.9ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:04.463380"], ["updated_at", "2020-05-19 21:03:04.463380"], ["file_data", "{\"id\":\"asset/e83b60c5ac0e5f4edbffdddca253a1ef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (38.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.471351"], ["file_data", "{\"id\":\"asset/45db33a9-88f2-47a8-9896-1e049e5efb93/b0c3b707553fddea5d48e0117ee94131.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.586720"], ["file_data", "{\"id\":\"asset/45db33a9-88f2-47a8-9896-1e049e5efb93/b0c3b707553fddea5d48e0117ee94131.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"45db33a9-88f2-47a8-9896-1e049e5efb93/sample1/7e87d95e1ac075091d996371a56d0a91.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"81u39wdet_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"45db33a9-88f2-47a8-9896-1e049e5efb93/sample2/cf08a5f28e06a8da55cfd5a36e8bb0af.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"81u39wdet_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18) AND "kithe_models"."id" = $19 LIMIT $20[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/45db33a9-88f2-47a8-9896-1e049e5efb93/b0c3b707553fddea5d48e0117ee94131.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"45db33a9-88f2-47a8-9896-1e049e5efb93/sample2/cf08a5f28e06a8da55cfd5a36e8bb0af.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"81u39wdet_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-19 21:03:04.593040"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.606272"], ["file_data", "{\"id\":\"asset/45db33a9-88f2-47a8-9896-1e049e5efb93/b0c3b707553fddea5d48e0117ee94131.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"45db33a9-88f2-47a8-9896-1e049e5efb93/sample2/cf08a5f28e06a8da55cfd5a36e8bb0af.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"81u39wdet_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "45db33a9-88f2-47a8-9896-1e049e5efb93"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-19 21:03:04.611784"], ["updated_at", "2020-05-19 21:03:04.611784"], ["file_data", "{\"id\":\"asset/b25b677c89cd7e000942a02b2e5bde14.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.615634"], ["file_data", "{\"id\":\"asset/943eb1fb-4fff-4d82-8c4b-8a829799ded8/31e8030ff04ec352095fa66a36cf7428.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.692968"], ["file_data", "{\"id\":\"asset/943eb1fb-4fff-4d82-8c4b-8a829799ded8/31e8030ff04ec352095fa66a36cf7428.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample1/a11695e8bef56ce9870aaf36afd284d7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"98xbysrop_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample2/2dec6c79bd65b0e7ce9b49abb53d9a2c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"98xbysrop_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/943eb1fb-4fff-4d82-8c4b-8a829799ded8/31e8030ff04ec352095fa66a36cf7428.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample1/a11695e8bef56ce9870aaf36afd284d7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"98xbysrop_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample2/2dec6c79bd65b0e7ce9b49abb53d9a2c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"98xbysrop_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample3/6c63723a43bc547cb3d98710a1fb0c5d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"98xbysrop_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-19 21:03:04.733649"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.745038"], ["file_data", "{\"id\":\"asset/943eb1fb-4fff-4d82-8c4b-8a829799ded8/31e8030ff04ec352095fa66a36cf7428.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample2/2dec6c79bd65b0e7ce9b49abb53d9a2c.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"98xbysrop_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"943eb1fb-4fff-4d82-8c4b-8a829799ded8/sample3/6c63723a43bc547cb3d98710a1fb0c5d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"98xbysrop_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "943eb1fb-4fff-4d82-8c4b-8a829799ded8"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:04.750943"], ["updated_at", "2020-05-19 21:03:04.750943"], ["file_data", "{\"id\":\"asset/41932e4091c90f3b4df91b102887057a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (1.1ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.754899"], ["file_data", "{\"id\":\"asset/ad1a15c7-8591-4cad-9e33-131bcb4d37a0/3af4382d2b3f23adc5c62792f2e295fd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.829770"], ["file_data", "{\"id\":\"asset/ad1a15c7-8591-4cad-9e33-131bcb4d37a0/3af4382d2b3f23adc5c62792f2e295fd.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"ad1a15c7-8591-4cad-9e33-131bcb4d37a0/sample1/ac1a2910a20cc55f238d85e62d90d727.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8j4v8wlzs_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"ad1a15c7-8591-4cad-9e33-131bcb4d37a0/sample2/bbe1c4c8296dc5689cff7c2053bca2e3.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"8j4v8wlzs_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ad1a15c7-8591-4cad-9e33-131bcb4d37a0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ad1a15c7-8591-4cad-9e33-131bcb4d37a0'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 733b3ae9-c1dd-415c-8532-934693255e15) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/ad1a15c7-8591-4cad-9e33-131bcb4d37a0/3af4382d2b3f23adc5c62792f2e295fd.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"ad1a15c7-8591-4cad-9e33-131bcb4d37a0/sample1/ac1a2910a20cc55f238d85e62d90d727.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"8j4v8wlzs_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"ad1a15c7-8591-4cad-9e33-131bcb4d37a0/sample2/bbe1c4c8296dc5689cff7c2053bca2e3.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"8j4v8wlzs_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "ad1a15c7-8591-4cad-9e33-131bcb4d37a0"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-19 21:03:04.851601"], ["updated_at", "2020-05-19 21:03:04.851601"], ["file_data", "{\"id\":\"asset/3bebbd2da83f4603c5f5d97104d8873e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.856457"], ["file_data", "{\"id\":\"asset/b86e466c-82cb-47c4-8b83-de5b03b41c18/9ae951a21fd7bada24b532eff9f0b314.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b86e466c-82cb-47c4-8b83-de5b03b41c18"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "b86e466c-82cb-47c4-8b83-de5b03b41c18"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "b86e466c-82cb-47c4-8b83-de5b03b41c18"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.930067"], ["file_data", "{\"id\":\"asset/b86e466c-82cb-47c4-8b83-de5b03b41c18/9ae951a21fd7bada24b532eff9f0b314.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"b86e466c-82cb-47c4-8b83-de5b03b41c18/sample1/8ea096be42051b7dea0cb6c6d5ec6f1d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sr9l86c5k_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"b86e466c-82cb-47c4-8b83-de5b03b41c18/sample2/ef1673613db2adb4715d03822d9e3d9a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sr9l86c5k_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b86e466c-82cb-47c4-8b83-de5b03b41c18"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-19 21:03:04.936201"], ["updated_at", "2020-05-19 21:03:04.936201"], ["file_data", "{\"id\":\"asset/7a7f4e2609302bc05d7ad833a2e2723b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:04.942818"], ["file_data", "{\"id\":\"asset/452a64d7-ec0f-4a70-8d14-28dc439ad3b1/63f3cfaab8b5e5cb645cf2738afde66c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.8ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-19 21:03:05.025702"], ["file_data", "{\"id\":\"asset/452a64d7-ec0f-4a70-8d14-28dc439ad3b1/63f3cfaab8b5e5cb645cf2738afde66c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"452a64d7-ec0f-4a70-8d14-28dc439ad3b1/sample1/cf589aae5724bcd725e7d5d44506e5e9.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"whx72cam5_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"452a64d7-ec0f-4a70-8d14-28dc439ad3b1/sample2/4bb9f0af3cc4235095da1f77cc929177.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"whx72cam5_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.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) AND "kithe_models"."id" = $10 LIMIT $11 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-19 21:03:05.032446"], ["file_data", "{\"id\":\"asset/452a64d7-ec0f-4a70-8d14-28dc439ad3b1/63f3cfaab8b5e5cb645cf2738afde66c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"452a64d7-ec0f-4a70-8d14-28dc439ad3b1/sample2/4bb9f0af3cc4235095da1f77cc929177.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"whx72cam5_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9) AND "kithe_models"."id" = $10 LIMIT $11[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["id", "452a64d7-ec0f-4a70-8d14-28dc439ad3b1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 21:03:05.081283"], ["updated_at", "2020-05-19 21:03:05.081283"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 21:03:05.294482"], ["updated_at", "2020-05-19 21:03:05.294482"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-19 21:03:05.315349"], ["updated_at", "2020-05-19 21:03:05.315349"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 21:03:05.332936"], ["updated_at", "2020-05-19 21:03:05.332936"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-19 21:03:05.411722"], ["updated_at", "2020-05-19 21:03:05.411722"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.6ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (30.0ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "ar_internal_metadata"."value" FROM "ar_internal_metadata" WHERE "ar_internal_metadata"."key" = $1[0m [["key", "schema_sha1"]]
+ [1m[35m (6.2ms)[0m [1m[34mSELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (3.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (5.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (67.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-20 19:31:03.977332"], ["updated_at", "2020-05-20 19:31:03.977332"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.095919"], ["updated_at", "2020-05-20 19:31:04.095919"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "9faa2b46-8f74-4a47-9e48-962736187786"]]
+ [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", "9faa2b46-8f74-4a47-9e48-962736187786"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "9faa2b46-8f74-4a47-9e48-962736187786"]]
+ [1m[35m (1.3ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9faa2b46-8f74-4a47-9e48-962736187786'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9faa2b46-8f74-4a47-9e48-962736187786'
+);
+[0m
+ [1m[36mTestWork Destroy (2.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "9faa2b46-8f74-4a47-9e48-962736187786"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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", "TestWork"], ["created_at", "2020-05-20 19:31:04.167803"], ["updated_at", "2020-05-20 19:31:04.167803"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "TestWork"], ["created_at", "2020-05-20 19:31:04.189491"], ["updated_at", "2020-05-20 19:31:04.189491"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.206113"], ["updated_at", "2020-05-20 19:31:04.206113"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "96d5fe13-d16c-491a-918b-27f036a48aea"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "96d5fe13-d16c-491a-918b-27f036a48aea"]]
+ [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", "96d5fe13-d16c-491a-918b-27f036a48aea"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '96d5fe13-d16c-491a-918b-27f036a48aea'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '96d5fe13-d16c-491a-918b-27f036a48aea'
+);
+[0m
+ [1m[36mTestWork Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "96d5fe13-d16c-491a-918b-27f036a48aea"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.237172"], ["updated_at", "2020-05-20 19:31:04.237172"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.254624"], ["updated_at", "2020-05-20 19:31:04.254624"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-20 19:31:04.258983"], ["updated_at", "2020-05-20 19:31:04.258983"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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-20 19:31:04.286223"], ["updated_at", "2020-05-20 19:31:04.286223"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-20 19:31:04.290075"], ["updated_at", "2020-05-20 19:31:04.290075"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.315046"], ["updated_at", "2020-05-20 19:31:04.315046"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (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-20 19:31:04.321067"], ["updated_at", "2020-05-20 19:31:04.321067"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test2"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.339269"], ["updated_at", "2020-05-20 19:31:04.339269"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test1"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.359113"], ["updated_at", "2020-05-20 19:31:04.359113"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test2"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.362767"], ["updated_at", "2020-05-20 19:31:04.362767"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.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", "test1"], ["type", "TestWork"], ["created_at", "2020-05-20 19:31:04.383085"], ["updated_at", "2020-05-20 19:31:04.383085"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:04.387013"], ["updated_at", "2020-05-20 19:31:04.387013"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-20 19:31:04.423984"], ["updated_at", "2020-05-20 19:31:04.423984"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.8ms)[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-20 19:31:04.464351"], ["updated_at", "2020-05-20 19:31:04.464351"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:04.504591"], ["updated_at", "2020-05-20 19:31:04.504591"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "a title"], ["type", "TestWork"], ["json_attributes", "{\"additional_title\":[\"additional title 1\",\"additional title 2\"],\"external_id\":[{\"category\":\"bib\",\"value\":\"bib1\"},{\"category\":\"object\",\"value\":\"object1\"}],\"creator\":[{\"category\":\"author\",\"value\":\"Emiliano Zapata\"}],\"date_of_work\":[{\"start\":\"1950-01-01\",\"start_qualifier\":\"circa\",\"finish\":\"1990-01-01\"},{\"start\":\"1970-01-01\"}],\"place\":[{\"category\":\"place_of_creation\",\"value\":\"Baltimore\"}],\"format\":[\"image\",\"text\"],\"genre\":[\"rare books\"],\"medium\":[],\"extent\":[\"2x4\"],\"language\":[\"English\",\"Spanish\"],\"inscription\":[{\"category\":\"cover page\",\"value\":\"to my friend\"}],\"subject\":[\"Things\",\"More things\"],\"exhibition\":[\"Things we like\"],\"series_arrangement\":[],\"related_url\":[\"http://example.com/somewhere\"],\"additional_credit\":[],\"description\":\"Lots of\\n\\nthings.\",\"department\":\"Library\",\"rights\":\"http://rightsstatements.org/vocab/InC/1.0/\",\"admin_note\":\"this is a note\"}"], ["created_at", "2020-05-20 19:31:04.671537"], ["updated_at", "2020-05-20 19:31:04.671537"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT DISTINCT "kithe_models"."type" FROM "kithe_models"[0m
+Preloading Single-Table Inheritance type TestWork for Kithe::Model
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWork"], ["id", "7ec0b2c2-2547-468b-94be-582b18a1ee12"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (1.2ms)[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-20 19:31:04.714780"], ["updated_at", "2020-05-20 19:31:04.714780"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (3.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:04.839575"], ["updated_at", "2020-05-20 19:31:04.839575"], ["file_data", "{\"id\":\"asset/324bad14cb7694fdef38f7a996423144.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] Performing Kithe::AssetPromoteJob (Job ID: 01b22407-e074-4fa1-9142-4178f0bd3570) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: "CustomUploader::Attacher", "CustomAsset", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9", "file", {"id"=>"asset/324bad14cb7694fdef38f7a996423144.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [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", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [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", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [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/a041e0c6-e2df-42cc-93f3-7464ed8c32e9/9e22aa8cdc75069aa41029a7df78309b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:04.869369"], ["id", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [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", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] Performing Kithe::CreateDerivativesJob (Job ID: f9764e65-01aa-4d51-ae93-07e9640fc4f2) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: #<GlobalID:0x00007fcecc749260 @uri=#<URI::GID gid://dummy/CustomAsset/a041e0c6-e2df-42cc-93f3-7464ed8c32e9>>
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] [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", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] [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/a041e0c6-e2df-42cc-93f3-7464ed8c32e9/9e22aa8cdc75069aa41029a7df78309b.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"a041e0c6-e2df-42cc-93f3-7464ed8c32e9/fixed/d04e5b271601d00813fa9443561fe0f4.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6k1jzuwvy_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:04.883928"], ["id", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] [Kithe::CreateDerivativesJob] [f9764e65-01aa-4d51-ae93-07e9640fc4f2] Performed Kithe::CreateDerivativesJob (Job ID: f9764e65-01aa-4d51-ae93-07e9640fc4f2) from Inline(default) in 9.3ms
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] Enqueued Kithe::CreateDerivativesJob (Job ID: f9764e65-01aa-4d51-ae93-07e9640fc4f2) to Inline(default) with arguments: #<GlobalID:0x00007fcecc71a398 @uri=#<URI::GID gid://dummy/CustomAsset/a041e0c6-e2df-42cc-93f3-7464ed8c32e9>>
+[ActiveJob] [Kithe::AssetPromoteJob] [01b22407-e074-4fa1-9142-4178f0bd3570] Performed Kithe::AssetPromoteJob (Job ID: 01b22407-e074-4fa1-9142-4178f0bd3570) from Inline(default) in 28.08ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 01b22407-e074-4fa1-9142-4178f0bd3570) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9", "file", {"id"=>"asset/324bad14cb7694fdef38f7a996423144.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a041e0c6-e2df-42cc-93f3-7464ed8c32e9"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:04.903548"], ["updated_at", "2020-05-20 19:31:04.903548"], ["file_data", "{\"id\":\"asset/58e4cfdf1570de3ab73af9ea4cdfd467.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] Performing Kithe::AssetPromoteJob (Job ID: be510004-ef83-40ad-af97-78d983fcd6c2) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: "CustomUploader::Attacher", "CustomAsset", "7f74a0f7-620a-4940-b011-153255002477", "file", {"id"=>"asset/58e4cfdf1570de3ab73af9ea4cdfd467.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [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", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [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", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [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/7f74a0f7-620a-4940-b011-153255002477/d5a278efc4cead91a89ad525fe712a57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:04.915617"], ["id", "7f74a0f7-620a-4940-b011-153255002477"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [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", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] Performing Kithe::CreateDerivativesJob (Job ID: 959710a7-6ae5-4f2c-aaff-b985736a2ced) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: #<GlobalID:0x00007fcecc673228 @uri=#<URI::GID gid://dummy/CustomAsset/7f74a0f7-620a-4940-b011-153255002477>>
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] [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", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] [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/7f74a0f7-620a-4940-b011-153255002477/d5a278efc4cead91a89ad525fe712a57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7f74a0f7-620a-4940-b011-153255002477/fixed/b27a48146ce0c13a83e069e02a29eddf.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3hvc0k3cf_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:04.923920"], ["id", "7f74a0f7-620a-4940-b011-153255002477"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] [Kithe::CreateDerivativesJob] [959710a7-6ae5-4f2c-aaff-b985736a2ced] Performed Kithe::CreateDerivativesJob (Job ID: 959710a7-6ae5-4f2c-aaff-b985736a2ced) from Inline(default) in 5.26ms
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] Enqueued Kithe::CreateDerivativesJob (Job ID: 959710a7-6ae5-4f2c-aaff-b985736a2ced) to Inline(default) with arguments: #<GlobalID:0x00007fced17a5a88 @uri=#<URI::GID gid://dummy/CustomAsset/7f74a0f7-620a-4940-b011-153255002477>>
+[ActiveJob] [Kithe::AssetPromoteJob] [be510004-ef83-40ad-af97-78d983fcd6c2] Performed Kithe::AssetPromoteJob (Job ID: be510004-ef83-40ad-af97-78d983fcd6c2) from Inline(default) in 15.15ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: be510004-ef83-40ad-af97-78d983fcd6c2) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "7f74a0f7-620a-4940-b011-153255002477", "file", {"id"=>"asset/58e4cfdf1570de3ab73af9ea4cdfd467.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7f74a0f7-620a-4940-b011-153255002477/d5a278efc4cead91a89ad525fe712a57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:04.928375"], ["id", "7f74a0f7-620a-4940-b011-153255002477"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/7f74a0f7-620a-4940-b011-153255002477/d5a278efc4cead91a89ad525fe712a57.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"7f74a0f7-620a-4940-b011-153255002477/fixed/ed7cc555aca72e5bdb5c162615fbaf5b.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3hvc0k3cf_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:04.936336"], ["id", "7f74a0f7-620a-4940-b011-153255002477"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7f74a0f7-620a-4940-b011-153255002477"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-20 19:31:04.951175"], ["updated_at", "2020-05-20 19:31:04.951175"], ["file_data", "{\"id\":\"asset/ca213cd85e53452b872a7110335ec3de.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] Performing Kithe::AssetPromoteJob (Job ID: d6256f81-b253-4a8d-a18b-0895caf2d5d7) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: "CustomUploader::Attacher", "CustomAsset", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe", "file", {"id"=>"asset/ca213cd85e53452b872a7110335ec3de.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [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", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [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", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [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/0d38f062-c55b-4ee4-89f0-d0bb2809cabe/4aca7e3a8e906bfa69a0c1139ea60114.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:04.961495"], ["id", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [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", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] Performing Kithe::CreateDerivativesJob (Job ID: e5eb3060-ee81-43fe-9335-346442597157) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: #<GlobalID:0x00007fcecd133370 @uri=#<URI::GID gid://dummy/CustomAsset/0d38f062-c55b-4ee4-89f0-d0bb2809cabe>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] [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", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] [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/0d38f062-c55b-4ee4-89f0-d0bb2809cabe/4aca7e3a8e906bfa69a0c1139ea60114.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"0d38f062-c55b-4ee4-89f0-d0bb2809cabe/fixed/8dd3256747fe4085ad5f4f0f6892db13.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"bi43t1hjy_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:04.970371"], ["id", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] [Kithe::CreateDerivativesJob] [e5eb3060-ee81-43fe-9335-346442597157] Performed Kithe::CreateDerivativesJob (Job ID: e5eb3060-ee81-43fe-9335-346442597157) from Inline(default) in 6.85ms
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] Enqueued Kithe::CreateDerivativesJob (Job ID: e5eb3060-ee81-43fe-9335-346442597157) to Inline(default) with arguments: #<GlobalID:0x00007fcecd111b80 @uri=#<URI::GID gid://dummy/CustomAsset/0d38f062-c55b-4ee4-89f0-d0bb2809cabe>>
+[ActiveJob] [Kithe::AssetPromoteJob] [d6256f81-b253-4a8d-a18b-0895caf2d5d7] Performed Kithe::AssetPromoteJob (Job ID: d6256f81-b253-4a8d-a18b-0895caf2d5d7) from Inline(default) in 14.99ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d6256f81-b253-4a8d-a18b-0895caf2d5d7) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe", "file", {"id"=>"asset/ca213cd85e53452b872a7110335ec3de.jpg", "storage"=>"cache"}, {}
+ [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", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/0d38f062-c55b-4ee4-89f0-d0bb2809cabe/4aca7e3a8e906bfa69a0c1139ea60114.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:04.976667"], ["id", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "0d38f062-c55b-4ee4-89f0-d0bb2809cabe"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:04.990841"], ["updated_at", "2020-05-20 19:31:04.990841"], ["file_data", "{\"id\":\"asset/50e03c630d3c70c7a6193dfe0d4580a8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] Performing Kithe::AssetPromoteJob (Job ID: 5337c888-b15c-40f7-a433-0ab59bd14c7c) from Inline(default) enqueued at 2020-05-20T19:31:04Z with arguments: "CustomUploader::Attacher", "CustomAsset", "731c6ef0-efe7-451e-b61e-6d6294d4fba4", "file", {"id"=>"asset/50e03c630d3c70c7a6193dfe0d4580a8.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [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/731c6ef0-efe7-451e-b61e-6d6294d4fba4/b5c8e8c3265cca6f68a62aa165cc48c9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.000274"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] Performing Kithe::CreateDerivativesJob (Job ID: afe229d0-8266-474b-832f-25d607a0cb24) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fced15a7150 @uri=#<URI::GID gid://dummy/CustomAsset/731c6ef0-efe7-451e-b61e-6d6294d4fba4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] [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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] [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/731c6ef0-efe7-451e-b61e-6d6294d4fba4/b5c8e8c3265cca6f68a62aa165cc48c9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"731c6ef0-efe7-451e-b61e-6d6294d4fba4/fixed/b91aefb2e15836abaf7403b035daf68c.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4s0lwwx0k_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.009945"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] [Kithe::CreateDerivativesJob] [afe229d0-8266-474b-832f-25d607a0cb24] Performed Kithe::CreateDerivativesJob (Job ID: afe229d0-8266-474b-832f-25d607a0cb24) from Inline(default) in 6.9ms
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] Enqueued Kithe::CreateDerivativesJob (Job ID: afe229d0-8266-474b-832f-25d607a0cb24) to Inline(default) with arguments: #<GlobalID:0x00007fced1538ed0 @uri=#<URI::GID gid://dummy/CustomAsset/731c6ef0-efe7-451e-b61e-6d6294d4fba4>>
+[ActiveJob] [Kithe::AssetPromoteJob] [5337c888-b15c-40f7-a433-0ab59bd14c7c] Performed Kithe::AssetPromoteJob (Job ID: 5337c888-b15c-40f7-a433-0ab59bd14c7c) from Inline(default) in 17.42ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 5337c888-b15c-40f7-a433-0ab59bd14c7c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "731c6ef0-efe7-451e-b61e-6d6294d4fba4", "file", {"id"=>"asset/50e03c630d3c70c7a6193dfe0d4580a8.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/731c6ef0-efe7-451e-b61e-6d6294d4fba4/b5c8e8c3265cca6f68a62aa165cc48c9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"731c6ef0-efe7-451e-b61e-6d6294d4fba4/fixed/d457bc5378e6106b7d7a558b0bfbf902.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"4s0lwwx0k_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.019968"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '731c6ef0-efe7-451e-b61e-6d6294d4fba4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '731c6ef0-efe7-451e-b61e-6d6294d4fba4'
+);
+[0m
+ [1m[36mCustomAsset Destroy (1.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "731c6ef0-efe7-451e-b61e-6d6294d4fba4"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [fc32b619-f37b-4902-967b-9b75cffc99b1] Performing Kithe::AssetDeleteJob (Job ID: fc32b619-f37b-4902-967b-9b75cffc99b1) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/731c6ef0-efe7-451e-b61e-6d6294d4fba4/b5c8e8c3265cca6f68a62aa165cc48c9.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"731c6ef0-efe7-451e-b61e-6d6294d4fba4/fixed/d457bc5378e6106b7d7a558b0bfbf902.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"4s0lwwx0k_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [fc32b619-f37b-4902-967b-9b75cffc99b1] Performed Kithe::AssetDeleteJob (Job ID: fc32b619-f37b-4902-967b-9b75cffc99b1) from Inline(default) in 0.19ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: fc32b619-f37b-4902-967b-9b75cffc99b1) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/731c6ef0-efe7-451e-b61e-6d6294d4fba4/b5c8e8c3265cca6f68a62aa165cc48c9.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"731c6ef0-efe7-451e-b61e-6d6294d4fba4/fixed/d457bc5378e6106b7d7a558b0bfbf902.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"4s0lwwx0k_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-20 19:31:05.043294"], ["updated_at", "2020-05-20 19:31:05.043294"], ["file_data", "{\"id\":\"asset/aefc930ca7bae921be86dcb336dd0c35.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] Performing Kithe::AssetPromoteJob (Job ID: 67aaf12e-1de7-4e9f-a021-a524ab4a2a8c) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", "CustomAsset", "5c61a03a-5a29-44b9-bc81-fd4848678c2f", "file", {"id"=>"asset/aefc930ca7bae921be86dcb336dd0c35.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [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/5c61a03a-5a29-44b9-bc81-fd4848678c2f/61c5979e8e1cfa2a516ccee7976c8d40.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.054825"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] Performing Kithe::CreateDerivativesJob (Job ID: 8ec5217e-d2ad-4588-a598-d625e544fab5) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fced128a468 @uri=#<URI::GID gid://dummy/CustomAsset/5c61a03a-5a29-44b9-bc81-fd4848678c2f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] [1m[36mCustomAsset Load (1.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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] [1m[36mCustomAsset Update (1.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/61c5979e8e1cfa2a516ccee7976c8d40.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5c61a03a-5a29-44b9-bc81-fd4848678c2f/fixed/a0b71d9ba7b2949b0f3c7588056ff040.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"emmscvgup_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.069633"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] [Kithe::CreateDerivativesJob] [8ec5217e-d2ad-4588-a598-d625e544fab5] Performed Kithe::CreateDerivativesJob (Job ID: 8ec5217e-d2ad-4588-a598-d625e544fab5) from Inline(default) in 15.99ms
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] Enqueued Kithe::CreateDerivativesJob (Job ID: 8ec5217e-d2ad-4588-a598-d625e544fab5) to Inline(default) with arguments: #<GlobalID:0x00007fced1191890 @uri=#<URI::GID gid://dummy/CustomAsset/5c61a03a-5a29-44b9-bc81-fd4848678c2f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [67aaf12e-1de7-4e9f-a021-a524ab4a2a8c] Performed Kithe::AssetPromoteJob (Job ID: 67aaf12e-1de7-4e9f-a021-a524ab4a2a8c) from Inline(default) in 26.43ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 67aaf12e-1de7-4e9f-a021-a524ab4a2a8c) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "5c61a03a-5a29-44b9-bc81-fd4848678c2f", "file", {"id"=>"asset/aefc930ca7bae921be86dcb336dd0c35.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/61c5979e8e1cfa2a516ccee7976c8d40.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5c61a03a-5a29-44b9-bc81-fd4848678c2f/fixed/3f70a195adcf500a473d6e5f9c724ce3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"emmscvgup_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.082061"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/4129bba382706ada025fc95572e752d3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-20 19:31:05.086800"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [fde031f3-06f4-4c97-ba8b-6dd51c471c9a] Performing Kithe::AssetDeleteJob (Job ID: fde031f3-06f4-4c97-ba8b-6dd51c471c9a) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", {"id"=>"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/61c5979e8e1cfa2a516ccee7976c8d40.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"5c61a03a-5a29-44b9-bc81-fd4848678c2f/fixed/3f70a195adcf500a473d6e5f9c724ce3.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"emmscvgup_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [fde031f3-06f4-4c97-ba8b-6dd51c471c9a] Performed Kithe::AssetDeleteJob (Job ID: fde031f3-06f4-4c97-ba8b-6dd51c471c9a) from Inline(default) in 0.11ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: fde031f3-06f4-4c97-ba8b-6dd51c471c9a) to Inline(default) with arguments: "CustomUploader::Attacher", {"id"=>"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/61c5979e8e1cfa2a516ccee7976c8d40.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"fixed"=>{"id"=>"5c61a03a-5a29-44b9-bc81-fd4848678c2f/fixed/3f70a195adcf500a473d6e5f9c724ce3.jpeg", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"emmscvgup_fixed.jpeg", "mime_type"=>"image/jpeg"}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] Performing Kithe::AssetPromoteJob (Job ID: a8dada3f-7060-4e3b-8da9-6665355123b0) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", "CustomAsset", "5c61a03a-5a29-44b9-bc81-fd4848678c2f", "file", {"id"=>"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/4129bba382706ada025fc95572e752d3.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [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/5c61a03a-5a29-44b9-bc81-fd4848678c2f/06bbb86f76a4e0aa25a3374f46377a75.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.094605"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] Performing Kithe::CreateDerivativesJob (Job ID: e8bbe80b-f95e-4ab4-8347-f323828d84fc) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fcecd0723f0 @uri=#<URI::GID gid://dummy/CustomAsset/5c61a03a-5a29-44b9-bc81-fd4848678c2f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] [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", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] [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/5c61a03a-5a29-44b9-bc81-fd4848678c2f/06bbb86f76a4e0aa25a3374f46377a75.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"5c61a03a-5a29-44b9-bc81-fd4848678c2f/fixed/e474ef775c75cd7bd94f152a3eed3fae.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"emmscvgup_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.102425"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] [Kithe::CreateDerivativesJob] [e8bbe80b-f95e-4ab4-8347-f323828d84fc] Performed Kithe::CreateDerivativesJob (Job ID: e8bbe80b-f95e-4ab4-8347-f323828d84fc) from Inline(default) in 5.91ms
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] Enqueued Kithe::CreateDerivativesJob (Job ID: e8bbe80b-f95e-4ab4-8347-f323828d84fc) to Inline(default) with arguments: #<GlobalID:0x00007fcecf7e7020 @uri=#<URI::GID gid://dummy/CustomAsset/5c61a03a-5a29-44b9-bc81-fd4848678c2f>>
+[ActiveJob] [Kithe::AssetPromoteJob] [a8dada3f-7060-4e3b-8da9-6665355123b0] Performed Kithe::AssetPromoteJob (Job ID: a8dada3f-7060-4e3b-8da9-6665355123b0) from Inline(default) in 14.16ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a8dada3f-7060-4e3b-8da9-6665355123b0) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "5c61a03a-5a29-44b9-bc81-fd4848678c2f", "file", {"id"=>"asset/5c61a03a-5a29-44b9-bc81-fd4848678c2f/4129bba382706ada025fc95572e752d3.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "5c61a03a-5a29-44b9-bc81-fd4848678c2f"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:05.122158"], ["updated_at", "2020-05-20 19:31:05.122158"], ["file_data", "{\"id\":\"asset/ae0bd490e0bc1b50e08a299c0ca9a2dd.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] Performing Kithe::AssetPromoteJob (Job ID: 0a8804cf-3c56-41aa-835e-952c9a5db632) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", "CustomAsset", "f57ad42f-7c62-44b6-9d6d-30222c529cce", "file", {"id"=>"asset/ae0bd490e0bc1b50e08a299c0ca9a2dd.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [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", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [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", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [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/f57ad42f-7c62-44b6-9d6d-30222c529cce/4b8b05c72c9f8050623d39463901b1a6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.131210"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [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", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] Performing Kithe::CreateDerivativesJob (Job ID: 451daa28-dcec-4ae0-a951-921bce9111dc) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fcecf3b66b8 @uri=#<URI::GID gid://dummy/CustomAsset/f57ad42f-7c62-44b6-9d6d-30222c529cce>>
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] [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", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] [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/f57ad42f-7c62-44b6-9d6d-30222c529cce/4b8b05c72c9f8050623d39463901b1a6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"f57ad42f-7c62-44b6-9d6d-30222c529cce/fixed/d6a5bab1b60352cee2b65a7c57b2ce81.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"i6yjs5rs8_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.139702"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] [Kithe::CreateDerivativesJob] [451daa28-dcec-4ae0-a951-921bce9111dc] Performed Kithe::CreateDerivativesJob (Job ID: 451daa28-dcec-4ae0-a951-921bce9111dc) from Inline(default) in 5.79ms
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] Enqueued Kithe::CreateDerivativesJob (Job ID: 451daa28-dcec-4ae0-a951-921bce9111dc) to Inline(default) with arguments: #<GlobalID:0x00007fcecc31a450 @uri=#<URI::GID gid://dummy/CustomAsset/f57ad42f-7c62-44b6-9d6d-30222c529cce>>
+[ActiveJob] [Kithe::AssetPromoteJob] [0a8804cf-3c56-41aa-835e-952c9a5db632] Performed Kithe::AssetPromoteJob (Job ID: 0a8804cf-3c56-41aa-835e-952c9a5db632) from Inline(default) in 15.1ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 0a8804cf-3c56-41aa-835e-952c9a5db632) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "f57ad42f-7c62-44b6-9d6d-30222c529cce", "file", {"id"=>"asset/ae0bd490e0bc1b50e08a299c0ca9a2dd.jpg", "storage"=>"cache"}, {}
+ [1m[36mCustomAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/f57ad42f-7c62-44b6-9d6d-30222c529cce/4b8b05c72c9f8050623d39463901b1a6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"f57ad42f-7c62-44b6-9d6d-30222c529cce/fixed/882388bf0f767757c6f45f500fb78345.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"i6yjs5rs8_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.147906"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "f57ad42f-7c62-44b6-9d6d-30222c529cce"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:05.173453"], ["updated_at", "2020-05-20 19:31:05.173453"], ["file_data", "{\"id\":\"asset/46b2ef68f1b2159c7c6da6c72838970d.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] Performing Kithe::AssetPromoteJob (Job ID: 41e9a0e7-2643-4ec5-b858-2f441296bdae) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", "CustomAsset", "e6718fc6-3467-4b76-88df-805d0939037a", "file", {"id"=>"asset/46b2ef68f1b2159c7c6da6c72838970d.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [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", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [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", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [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/e6718fc6-3467-4b76-88df-805d0939037a/876210c394c23e728207530993edcca4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.183066"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [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", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] Performing Kithe::CreateDerivativesJob (Job ID: 1bf65c84-d075-402a-b6df-7740e7bb467c) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fced39cef38 @uri=#<URI::GID gid://dummy/CustomAsset/e6718fc6-3467-4b76-88df-805d0939037a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] [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", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] [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/e6718fc6-3467-4b76-88df-805d0939037a/876210c394c23e728207530993edcca4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6718fc6-3467-4b76-88df-805d0939037a/fixed/0f7b8f3297f83941c5d9e214d327bca8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ct64j6mhq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.190902"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] [Kithe::CreateDerivativesJob] [1bf65c84-d075-402a-b6df-7740e7bb467c] Performed Kithe::CreateDerivativesJob (Job ID: 1bf65c84-d075-402a-b6df-7740e7bb467c) from Inline(default) in 5.62ms
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] Enqueued Kithe::CreateDerivativesJob (Job ID: 1bf65c84-d075-402a-b6df-7740e7bb467c) to Inline(default) with arguments: #<GlobalID:0x00007fced399df78 @uri=#<URI::GID gid://dummy/CustomAsset/e6718fc6-3467-4b76-88df-805d0939037a>>
+[ActiveJob] [Kithe::AssetPromoteJob] [41e9a0e7-2643-4ec5-b858-2f441296bdae] Performed Kithe::AssetPromoteJob (Job ID: 41e9a0e7-2643-4ec5-b858-2f441296bdae) from Inline(default) in 14.93ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 41e9a0e7-2643-4ec5-b858-2f441296bdae) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "e6718fc6-3467-4b76-88df-805d0939037a", "file", {"id"=>"asset/46b2ef68f1b2159c7c6da6c72838970d.jpg", "storage"=>"cache"}, {}
+ [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", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.4ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e6718fc6-3467-4b76-88df-805d0939037a/876210c394c23e728207530993edcca4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6718fc6-3467-4b76-88df-805d0939037a/fixed/b63d020a1946a18de6ebfd6a470d7069.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ct64j6mhq_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.199500"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e6718fc6-3467-4b76-88df-805d0939037a/876210c394c23e728207530993edcca4.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"e6718fc6-3467-4b76-88df-805d0939037a/fixed/bd1612f63465e01bb0e5d505c9c23259.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ct64j6mhq_fixed.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-20 19:31:05.248906"], ["id", "e6718fc6-3467-4b76-88df-805d0939037a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-20 19:31:05.264688"], ["updated_at", "2020-05-20 19:31:05.264688"], ["file_data", "{\"id\":\"asset/b4f4ca3c9cb4bac5e81c30e5429b079c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] Performing Kithe::AssetPromoteJob (Job ID: 251a060b-3b8e-4ad9-a682-eff6c867dd3d) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "CustomUploader::Attacher", "CustomAsset", "c4de2790-0ded-4461-8489-0e6e9bad8f26", "file", {"id"=>"asset/b4f4ca3c9cb4bac5e81c30e5429b079c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [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", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [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", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [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/c4de2790-0ded-4461-8489-0e6e9bad8f26/f892021965b8a5a9c474162df86f9990.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.276850"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [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", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] Performing Kithe::CreateDerivativesJob (Job ID: 81c4680d-1592-4f99-8b83-f421a04af45f) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: #<GlobalID:0x00007fced3287ab8 @uri=#<URI::GID gid://dummy/CustomAsset/c4de2790-0ded-4461-8489-0e6e9bad8f26>>
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] [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", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] [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/c4de2790-0ded-4461-8489-0e6e9bad8f26/f892021965b8a5a9c474162df86f9990.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c4de2790-0ded-4461-8489-0e6e9bad8f26/fixed/cae8adf17b1359efbff9b634c9da15b8.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qcyuorr0v_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.286611"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] [Kithe::CreateDerivativesJob] [81c4680d-1592-4f99-8b83-f421a04af45f] Performed Kithe::CreateDerivativesJob (Job ID: 81c4680d-1592-4f99-8b83-f421a04af45f) from Inline(default) in 7.36ms
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] Enqueued Kithe::CreateDerivativesJob (Job ID: 81c4680d-1592-4f99-8b83-f421a04af45f) to Inline(default) with arguments: #<GlobalID:0x00007fced32562b0 @uri=#<URI::GID gid://dummy/CustomAsset/c4de2790-0ded-4461-8489-0e6e9bad8f26>>
+[ActiveJob] [Kithe::AssetPromoteJob] [251a060b-3b8e-4ad9-a682-eff6c867dd3d] Performed Kithe::AssetPromoteJob (Job ID: 251a060b-3b8e-4ad9-a682-eff6c867dd3d) from Inline(default) in 16.82ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 251a060b-3b8e-4ad9-a682-eff6c867dd3d) to Inline(default) with arguments: "CustomUploader::Attacher", "CustomAsset", "c4de2790-0ded-4461-8489-0e6e9bad8f26", "file", {"id"=>"asset/b4f4ca3c9cb4bac5e81c30e5429b079c.jpg", "storage"=>"cache"}, {}
+ [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", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c4de2790-0ded-4461-8489-0e6e9bad8f26/f892021965b8a5a9c474162df86f9990.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c4de2790-0ded-4461-8489-0e6e9bad8f26/fixed/d2c5d3616f5f3ec4344201815dac3ef7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qcyuorr0v_fixed.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:05.294657"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/c4de2790-0ded-4461-8489-0e6e9bad8f26/f892021965b8a5a9c474162df86f9990.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"fixed\":{\"id\":\"c4de2790-0ded-4461-8489-0e6e9bad8f26/fixed/d2c5d3616f5f3ec4344201815dac3ef7.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"qcyuorr0v_fixed.jpeg\",\"mime_type\":\"image/jpeg\"}},\"test\":{\"id\":\"c4de2790-0ded-4461-8489-0e6e9bad8f26/test/b1abe98f6085c45b909351ac24b5194a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"qcyuorr0v_test.bin\",\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"manual\":\"value\"}}}}"], ["updated_at", "2020-05-20 19:31:05.332174"], ["id", "c4de2790-0ded-4461-8489-0e6e9bad8f26"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:05.347769"], ["updated_at", "2020-05-20 19:31:05.347769"], ["file_data", "{\"id\":\"asset/7780e067531da797ba40a4ce882440c5.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] Performing Kithe::AssetPromoteJob (Job ID: 2b057420-4e15-4502-971f-4fbbe1732dde) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "908476df-b145-4fbe-820a-e2df3b4acbf3", "file", {"id"=>"asset/7780e067531da797ba40a4ce882440c5.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] [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", "908476df-b145-4fbe-820a-e2df3b4acbf3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] [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", "908476df-b145-4fbe-820a-e2df3b4acbf3"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] [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/908476df-b145-4fbe-820a-e2df3b4acbf3/50d2305a7f9f145bfcc084cde1603fca.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.358733"], ["id", "908476df-b145-4fbe-820a-e2df3b4acbf3"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b057420-4e15-4502-971f-4fbbe1732dde] Performed Kithe::AssetPromoteJob (Job ID: 2b057420-4e15-4502-971f-4fbbe1732dde) from Inline(default) in 7.27ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2b057420-4e15-4502-971f-4fbbe1732dde) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "908476df-b145-4fbe-820a-e2df3b4acbf3", "file", {"id"=>"asset/7780e067531da797ba40a4ce882440c5.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-20 19:31:05.380085"], ["updated_at", "2020-05-20 19:31:05.380085"], ["file_data", "{\"id\":\"asset/a122964372e440a8296890383f94d732.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f98de53d-f858-43fc-8c30-6d0dbccde91e"], ["LIMIT", 1]]
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f98de53d-f858-43fc-8c30-6d0dbccde91e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:05.400504"], ["updated_at", "2020-05-20 19:31:05.400504"], ["file_data", "{\"id\":\"asset/79bdf8e90a97e3c7414b0298f4ada7af.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.405971"], ["file_data", "{\"id\":\"asset/f425f0f1-37d2-40f3-a8e2-ee9bc7024d64/a5e184dee7f7124c90db02c93b024872.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f425f0f1-37d2-40f3-a8e2-ee9bc7024d64"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f425f0f1-37d2-40f3-a8e2-ee9bc7024d64"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.426068"], ["updated_at", "2020-05-20 19:31:05.426068"], ["file_data", "{\"id\":\"asset/6acd7bc55c3fd07ccd517f8c5ae0497c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [807aad38-c15d-4ce5-bae2-f36d986c8fbe] Performing Kithe::AssetPromoteJob (Job ID: 807aad38-c15d-4ce5-bae2-f36d986c8fbe) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "070d330e-4f68-492f-910d-a42931697452", "file", {"id"=>"asset/6acd7bc55c3fd07ccd517f8c5ae0497c.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [807aad38-c15d-4ce5-bae2-f36d986c8fbe] [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", "070d330e-4f68-492f-910d-a42931697452"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [807aad38-c15d-4ce5-bae2-f36d986c8fbe] Performed Kithe::AssetPromoteJob (Job ID: 807aad38-c15d-4ce5-bae2-f36d986c8fbe) from Inline(default) in 1.92ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 807aad38-c15d-4ce5-bae2-f36d986c8fbe) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "070d330e-4f68-492f-910d-a42931697452", "file", {"id"=>"asset/6acd7bc55c3fd07ccd517f8c5ae0497c.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "070d330e-4f68-492f-910d-a42931697452"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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-20 19:31:05.447260"], ["updated_at", "2020-05-20 19:31:05.447260"], ["file_data", "{\"id\":\"asset/e78861b0e51f3b262d9179f82b49c21a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] Performing Kithe::AssetPromoteJob (Job ID: 25d09ec1-b56a-48d4-8df3-fbc3ab990a6f) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f6160f07-a614-43b7-b8ef-01209e0870ec", "file", {"id"=>"asset/e78861b0e51f3b262d9179f82b49c21a.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] [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", "f6160f07-a614-43b7-b8ef-01209e0870ec"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] [1m[36mTestAsset 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", "TestAsset"], ["id", "f6160f07-a614-43b7-b8ef-01209e0870ec"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] [1m[36mTestAsset 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/f6160f07-a614-43b7-b8ef-01209e0870ec/7423199305045961deb057aa68597282.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.456969"], ["id", "f6160f07-a614-43b7-b8ef-01209e0870ec"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [25d09ec1-b56a-48d4-8df3-fbc3ab990a6f] Performed Kithe::AssetPromoteJob (Job ID: 25d09ec1-b56a-48d4-8df3-fbc3ab990a6f) from Inline(default) in 6.49ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 25d09ec1-b56a-48d4-8df3-fbc3ab990a6f) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "f6160f07-a614-43b7-b8ef-01209e0870ec", "file", {"id"=>"asset/e78861b0e51f3b262d9179f82b49c21a.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [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", "f6160f07-a614-43b7-b8ef-01209e0870ec"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.475060"], ["updated_at", "2020-05-20 19:31:05.475060"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.479147"], ["file_data", "{\"id\":\"asset/56939f4a-8256-418f-91e7-04092d47c50a/52f20487a5765800bc779f0c5409b9f4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "56939f4a-8256-418f-91e7-04092d47c50a"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "56939f4a-8256-418f-91e7-04092d47c50a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-20 19:31:05.496707"], ["updated_at", "2020-05-20 19:31:05.496707"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.503372"], ["file_data", "{\"id\":\"asset/f2e90cfb-049c-435c-ac3c-e8011c95f4de/280c8503eae432e03d251e32b8b6dc8d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f2e90cfb-049c-435c-ac3c-e8011c95f4de"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f2e90cfb-049c-435c-ac3c-e8011c95f4de"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (2.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.2ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.539356"], ["updated_at", "2020-05-20 19:31:05.539356"], ["file_data", "{\"id\":\"asset/2ad96bcbf449c8a3cf54f6776d3a1896.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (1.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "38bbc100-9aa2-4a2c-b78a-da3b7635e0d7"], ["LIMIT", 1]]
+ [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", "38bbc100-9aa2-4a2c-b78a-da3b7635e0d7"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (15.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.597891"], ["updated_at", "2020-05-20 19:31:05.597891"], ["file_data", "{\"id\":\"asset/157579d886185f6513ec6e2aa5453ff1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.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", "TestAsset"], ["id", "367e2897-6e1a-4a9d-ae31-5dcdec4e989f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset 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", "TestAsset"], ["id", "367e2897-6e1a-4a9d-ae31-5dcdec4e989f"], ["LIMIT", 1]]
+ [1m[36mTestAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/367e2897-6e1a-4a9d-ae31-5dcdec4e989f/52d97bfdf210e8c8ee269feac36cffcc.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.607243"], ["id", "367e2897-6e1a-4a9d-ae31-5dcdec4e989f"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "367e2897-6e1a-4a9d-ae31-5dcdec4e989f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.625231"], ["updated_at", "2020-05-20 19:31:05.625231"], ["file_data", "{\"id\":\"asset/624ce0a5c24aac43d83d76c0261a602b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] Performing Kithe::AssetPromoteJob (Job ID: f72708c4-ac9a-4380-a81e-adea7bb92a3a) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12", "file", {"id"=>"asset/624ce0a5c24aac43d83d76c0261a602b.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] [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", "3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] [1m[36mTestAsset 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" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "TestAsset"], ["id", "3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] [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/3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12/e9071250416371c84f520d92d7e924da.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.636507"], ["id", "3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f72708c4-ac9a-4380-a81e-adea7bb92a3a] Performed Kithe::AssetPromoteJob (Job ID: f72708c4-ac9a-4380-a81e-adea7bb92a3a) from Inline(default) in 9.52ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f72708c4-ac9a-4380-a81e-adea7bb92a3a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "3ed245ca-3f6f-45b7-bb2f-ccfe0d9b5a12", "file", {"id"=>"asset/624ce0a5c24aac43d83d76c0261a602b.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.654016"], ["updated_at", "2020-05-20 19:31:05.654016"], ["file_data", "{\"id\":\"asset/e0b70b48fb471c83092be33f06115eca.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.658149"], ["file_data", "{\"id\":\"asset/f9585b1e-1af7-4eec-8454-1ddeba2eb748/62886dff80fa730f4f197f2b3c5c2670.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f9585b1e-1af7-4eec-8454-1ddeba2eb748"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "f9585b1e-1af7-4eec-8454-1ddeba2eb748"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-20 19:31:05.677794"], ["updated_at", "2020-05-20 19:31:05.677794"], ["file_data", "{\"id\":\"asset/dec7330b074f4abaf2b6caadfc470791.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] Performing Kithe::AssetPromoteJob (Job ID: ca2aae67-d66b-4b61-a4f8-f75470d4da10) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d50f561f-5ce3-466f-890b-9d33e07df861", "file", {"id"=>"asset/dec7330b074f4abaf2b6caadfc470791.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] [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", "d50f561f-5ce3-466f-890b-9d33e07df861"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] [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", "d50f561f-5ce3-466f-890b-9d33e07df861"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] [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/d50f561f-5ce3-466f-890b-9d33e07df861/9620f32a9c169256142fe7a6ff617fbe.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.686092"], ["id", "d50f561f-5ce3-466f-890b-9d33e07df861"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ca2aae67-d66b-4b61-a4f8-f75470d4da10] Performed Kithe::AssetPromoteJob (Job ID: ca2aae67-d66b-4b61-a4f8-f75470d4da10) from Inline(default) in 6.72ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ca2aae67-d66b-4b61-a4f8-f75470d4da10) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "d50f561f-5ce3-466f-890b-9d33e07df861", "file", {"id"=>"asset/dec7330b074f4abaf2b6caadfc470791.jpg", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (1.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-20 19:31:05.714997"], ["updated_at", "2020-05-20 19:31:05.714997"], ["file_data", "{\"id\":\"asset/e3fe95cbb3efe65d04859a2932fa2c91.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] Performing Kithe::AssetPromoteJob (Job ID: 7b0f60c5-90f3-42f9-8bce-dc0556099daf) from Inline(default) enqueued at 2020-05-20T19:31:05Z with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "22d2d424-5082-49f4-9a7b-25acbba8ccfa", "file", {"id"=>"asset/e3fe95cbb3efe65d04859a2932fa2c91.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] [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", "22d2d424-5082-49f4-9a7b-25acbba8ccfa"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] [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", "22d2d424-5082-49f4-9a7b-25acbba8ccfa"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] [1m[36mTestAsset 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/22d2d424-5082-49f4-9a7b-25acbba8ccfa/613ac32fa3f2278f80a5b77cc0fc012a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:05.725928"], ["id", "22d2d424-5082-49f4-9a7b-25acbba8ccfa"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [7b0f60c5-90f3-42f9-8bce-dc0556099daf] Performed Kithe::AssetPromoteJob (Job ID: 7b0f60c5-90f3-42f9-8bce-dc0556099daf) from Inline(default) in 14.38ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 7b0f60c5-90f3-42f9-8bce-dc0556099daf) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "TestAsset", "22d2d424-5082-49f4-9a7b-25acbba8ccfa", "file", {"id"=>"asset/e3fe95cbb3efe65d04859a2932fa2c91.jpg", "storage"=>"cache"}, {}
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "22d2d424-5082-49f4-9a7b-25acbba8ccfa"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:05.750660"], ["updated_at", "2020-05-20 19:31:05.750660"], ["file_data", "{\"id\":\"asset/81d0988b4c043f94f95477e9682de949.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "35d5a429-d6e4-49fe-ba29-b24d2e2fe96b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.770726"], ["updated_at", "2020-05-20 19:31:05.770726"], ["file_data", "{\"id\":\"asset/61e8272d4fb748fec70b392bca5e2c73.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.774436"], ["file_data", "{\"id\":\"asset/6d45970e-2592-4b07-b0fb-d559259c4d91/30826d54d1be19cc3ab9cf4460c2614c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "6d45970e-2592-4b07-b0fb-d559259c4d91"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::CreateDerivativesJob (Job ID: 032b0b02-642a-49ce-8c77-273f2d9755cf) to Test(default) with arguments: #<GlobalID:0x00007fced3915088 @uri=#<URI::GID gid://dummy/TestAsset/6d45970e-2592-4b07-b0fb-d559259c4d91>>
+ [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", "6d45970e-2592-4b07-b0fb-d559259c4d91"], ["LIMIT", 1]]
+ [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", "6d45970e-2592-4b07-b0fb-d559259c4d91"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-20 19:31:05.793760"], ["updated_at", "2020-05-20 19:31:05.793760"], ["file_data", "{\"id\":\"asset/134995e00c0bb28f2dbac3e33b0b95b4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.826556"], ["updated_at", "2020-05-20 19:31:05.826556"], ["file_data", "{\"id\":\"asset/effcfda3fa32f00464acf93a7f97cf2c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.830339"], ["file_data", "{\"id\":\"asset/97feabe3-1506-41b2-8b61-0252dbc975f1/6baeb56d3f6f60b2f2370c7393cdac37.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "97feabe3-1506-41b2-8b61-0252dbc975f1"]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "97feabe3-1506-41b2-8b61-0252dbc975f1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.854913"], ["updated_at", "2020-05-20 19:31:05.854913"], ["file_data", "{\"id\":\"asset/27704a4a8d5437f285e84241b98e60b7.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.858258"], ["file_data", "{\"id\":\"asset/4509f9af-83c2-4e0f-a050-82f313f02d83/446472621c44a506e2707f4dd811a45f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "4509f9af-83c2-4e0f-a050-82f313f02d83"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::CreateDerivativesJob] [884494c1-c5be-44aa-b1f1-a625c4ab41e5] Performing Kithe::CreateDerivativesJob (Job ID: 884494c1-c5be-44aa-b1f1-a625c4ab41e5) from Test(default) enqueued at with arguments: #<GlobalID:0x00007fced3825b00 @uri=#<URI::GID gid://dummy/TestAsset/4509f9af-83c2-4e0f-a050-82f313f02d83>>
+[ActiveJob] [Kithe::CreateDerivativesJob] [884494c1-c5be-44aa-b1f1-a625c4ab41e5] Performed Kithe::CreateDerivativesJob (Job ID: 884494c1-c5be-44aa-b1f1-a625c4ab41e5) from Test(default) in 0.51ms
+ [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", "4509f9af-83c2-4e0f-a050-82f313f02d83"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestAsset"], ["created_at", "2020-05-20 19:31:05.877257"], ["updated_at", "2020-05-20 19:31:05.877257"], ["file_data", "{\"id\":\"asset/3c8b965adc97fd8b8c09c2d9ffe67cee.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.880712"], ["file_data", "{\"id\":\"asset/a0d59acd-2b36-4c69-b454-1c513fca5b21/311e930b80cde55b66c3ce9441bdb018.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a0d59acd-2b36-4c69-b454-1c513fca5b21"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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", "a0d59acd-2b36-4c69-b454-1c513fca5b21"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "a0d59acd-2b36-4c69-b454-1c513fca5b21"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "a0d59acd-2b36-4c69-b454-1c513fca5b21"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "a0d59acd-2b36-4c69-b454-1c513fca5b21"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a0d59acd-2b36-4c69-b454-1c513fca5b21'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a0d59acd-2b36-4c69-b454-1c513fca5b21'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "a0d59acd-2b36-4c69-b454-1c513fca5b21"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Create (0.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", "TestAsset"], ["created_at", "2020-05-20 19:31:05.907724"], ["updated_at", "2020-05-20 19:31:05.907724"], ["file_data", "{\"id\":\"asset/f962290237eeeb389580b29e48a4c8c4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:05.910878"], ["file_data", "{\"id\":\"asset/d81b6d29-4cc0-42e0-b912-74dbd61596cc/778362d8b7cf7e14c7bd199cd580a444.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestAsset"], ["id", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"]]
+ [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", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"]]
+ [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", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd81b6d29-4cc0-42e0-b912-74dbd61596cc'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd81b6d29-4cc0-42e0-b912-74dbd61596cc'
+);
+[0m
+ [1m[36mTestAsset Destroy (1.2ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "d81b6d29-4cc0-42e0-b912-74dbd61596cc"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.008795"], ["updated_at", "2020-05-20 19:31:06.008795"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21) AND "kithe_models"."id" = $22 LIMIT $23[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "9dc93484-afa1-4869-83b1-89c1ad9e6183"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-20 19:31:06.027210"], ["updated_at", "2020-05-20 19:31:06.027210"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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", "AssetSubclass"], ["created_at", "2020-05-20 19:31:06.042533"], ["updated_at", "2020-05-20 19:31:06.042533"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:06.045662"], ["file_data", "{\"id\":\"asset/88af0609-25c6-4e43-bdd2-0483da2641c7/f3c7a4fa7b892a8696a42b5ba8df3c05.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "88af0609-25c6-4e43-bdd2-0483da2641c7"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:06.048898"], ["file_data", "{\"id\":\"asset/88af0609-25c6-4e43-bdd2-0483da2641c7/c3e34eb3b1cbf33623f8e0488eddb50a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"uploader_class_name\":\"MyUploaderSubclass\"}}"], ["id", "88af0609-25c6-4e43-bdd2-0483da2641c7"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "88af0609-25c6-4e43-bdd2-0483da2641c7"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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::Asset"], ["created_at", "2020-05-20 19:31:06.055878"], ["updated_at", "2020-05-20 19:31:06.055878"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.073417"], ["updated_at", "2020-05-20 19:31:06.073417"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.077723"], ["updated_at", "2020-05-20 19:31:06.077723"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "foo"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.088551"], ["updated_at", "2020-05-20 19:31:06.088551"], ["file_data", "{\"id\":\"asset/1d6cb9b8e19740f15e4d2f2fe27dadec.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] Performing Kithe::AssetPromoteJob (Job ID: d57f874c-4e92-463e-a124-88660cfd375e) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "39b41fb6-f1e1-4300-b024-252eb7deb017", "file", {"id"=>"asset/1d6cb9b8e19740f15e4d2f2fe27dadec.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "39b41fb6-f1e1-4300-b024-252eb7deb017"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "39b41fb6-f1e1-4300-b024-252eb7deb017"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] [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/39b41fb6-f1e1-4300-b024-252eb7deb017/d093f50773ce99a56c730ac20c4d5de0.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.096609"], ["id", "39b41fb6-f1e1-4300-b024-252eb7deb017"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d57f874c-4e92-463e-a124-88660cfd375e] Performed Kithe::AssetPromoteJob (Job ID: d57f874c-4e92-463e-a124-88660cfd375e) from Inline(default) in 7.68ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d57f874c-4e92-463e-a124-88660cfd375e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "39b41fb6-f1e1-4300-b024-252eb7deb017", "file", {"id"=>"asset/1d6cb9b8e19740f15e4d2f2fe27dadec.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "39b41fb6-f1e1-4300-b024-252eb7deb017"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.109103"], ["updated_at", "2020-05-20 19:31:06.109103"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:06.112327"], ["file_data", "{\"id\":\"asset/d556481daf20836afd5e1531cc1ac1ef.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"echidna.jpg\"}}"], ["id", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] Performing Kithe::AssetPromoteJob (Job ID: ab9dd2b6-5ace-43f0-8321-84b639260e28) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37", "file", {"id"=>"asset/d556481daf20836afd5e1531cc1ac1ef.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] [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, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] [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/d1ca6d6b-5db8-492b-b898-24e0bb7f8c37/e914da8501ed98fe53e42f47b407a7ab.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"echidna.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-20 19:31:06.123249"], ["id", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [ab9dd2b6-5ace-43f0-8321-84b639260e28] Performed Kithe::AssetPromoteJob (Job ID: ab9dd2b6-5ace-43f0-8321-84b639260e28) from Inline(default) in 9.27ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: ab9dd2b6-5ace-43f0-8321-84b639260e28) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37", "file", {"id"=>"asset/d556481daf20836afd5e1531cc1ac1ef.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "d1ca6d6b-5db8-492b-b898-24e0bb7f8c37"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.0ms)[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-20 19:31:06.130544"], ["updated_at", "2020-05-20 19:31:06.130544"], ["file_data", "{\"id\":\"asset/f160ea08e601c68cb5875a33b9978bbe.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 0e0b1a9c-010a-4387-a7b0-90b0a2cdbdc7) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "27ab1e2a-9003-4ed9-b379-5e748c5887cf", "file", {"id"=>"asset/f160ea08e601c68cb5875a33b9978bbe.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "27ab1e2a-9003-4ed9-b379-5e748c5887cf"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:06.140416"], ["file_data", "{\"id\":\"asset/27ab1e2a-9003-4ed9-b379-5e748c5887cf/2bd3fce3e74dcd4925ab9b7108b9ee0a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "27ab1e2a-9003-4ed9-b379-5e748c5887cf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.145102"], ["updated_at", "2020-05-20 19:31:06.145102"], ["file_data", "{\"id\":\"asset/713ef1148c255aeedea9e760b3247b54.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] Performing Kithe::AssetPromoteJob (Job ID: 0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ba632bfa-1b71-4fbf-9b01-8d69cea1f484", "file", {"id"=>"asset/713ef1148c255aeedea9e760b3247b54.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ba632bfa-1b71-4fbf-9b01-8d69cea1f484"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "ba632bfa-1b71-4fbf-9b01-8d69cea1f484"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] [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/ba632bfa-1b71-4fbf-9b01-8d69cea1f484/416fce4b82addea2017e9e8c806d10d6.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.157237"], ["id", "ba632bfa-1b71-4fbf-9b01-8d69cea1f484"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6] Performed Kithe::AssetPromoteJob (Job ID: 0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6) from Inline(default) in 10.43ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 0ff96f15-b9ae-4dd8-baed-6fd597a9f3a6) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "ba632bfa-1b71-4fbf-9b01-8d69cea1f484", "file", {"id"=>"asset/713ef1148c255aeedea9e760b3247b54.jpg", "storage"=>"cache"}, {}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "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-20 19:31:06.161325"], ["updated_at", "2020-05-20 19:31:06.161325"], ["file_data", "{\"id\":\"asset/98dd84a6c782810dd7d794b71a88cff4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] Performing Kithe::AssetPromoteJob (Job ID: a13e5f20-5db9-4a39-bb5b-f86ca49dade3) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "648fd13f-f9c6-42e0-bc3e-d988612f23f5", "file", {"id"=>"asset/98dd84a6c782810dd7d794b71a88cff4.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "648fd13f-f9c6-42e0-bc3e-d988612f23f5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "648fd13f-f9c6-42e0-bc3e-d988612f23f5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] [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/648fd13f-f9c6-42e0-bc3e-d988612f23f5/e94808aea0b2854ad0a7baee999cb2b8.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.170161"], ["id", "648fd13f-f9c6-42e0-bc3e-d988612f23f5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [a13e5f20-5db9-4a39-bb5b-f86ca49dade3] Performed Kithe::AssetPromoteJob (Job ID: a13e5f20-5db9-4a39-bb5b-f86ca49dade3) from Inline(default) in 7.63ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: a13e5f20-5db9-4a39-bb5b-f86ca49dade3) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "648fd13f-f9c6-42e0-bc3e-d988612f23f5", "file", {"id"=>"asset/98dd84a6c782810dd7d794b71a88cff4.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "648fd13f-f9c6-42e0-bc3e-d988612f23f5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:06.177331"], ["updated_at", "2020-05-20 19:31:06.177331"], ["file_data", "{\"id\":\"asset/7a89e86c1aa465a6c78c7bf2ced42283.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] Performing Kithe::AssetPromoteJob (Job ID: f9695593-366a-4889-a3ac-41f9c14c20ee) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "2883d0a6-8952-4f73-b1ff-88bb7f26f435", "file", {"id"=>"asset/7a89e86c1aa465a6c78c7bf2ced42283.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] [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/2883d0a6-8952-4f73-b1ff-88bb7f26f435/d8f60498fbf45ccc87b61b77741472d9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.189408"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [f9695593-366a-4889-a3ac-41f9c14c20ee] Performed Kithe::AssetPromoteJob (Job ID: f9695593-366a-4889-a3ac-41f9c14c20ee) from Inline(default) in 10.68ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: f9695593-366a-4889-a3ac-41f9c14c20ee) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "2883d0a6-8952-4f73-b1ff-88bb7f26f435", "file", {"id"=>"asset/7a89e86c1aa465a6c78c7bf2ced42283.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/2883d0a6-8952-4f73-b1ff-88bb7f26f435/d8f60498fbf45ccc87b61b77741472d9.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"2883d0a6-8952-4f73-b1ff-88bb7f26f435/existing/a538c41b08c44238de403f353ab4dddc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"58r2hlz0u_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-20 19:31:06.231126"], ["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+ [1m[36mKithe::Model Load (1.0ms)[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", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '2883d0a6-8952-4f73-b1ff-88bb7f26f435'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '2883d0a6-8952-4f73-b1ff-88bb7f26f435'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (1.1ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2883d0a6-8952-4f73-b1ff-88bb7f26f435"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [b21004ec-9820-4c5f-98c3-3bc37968a93a] Performing Kithe::AssetDeleteJob (Job ID: b21004ec-9820-4c5f-98c3-3bc37968a93a) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/2883d0a6-8952-4f73-b1ff-88bb7f26f435/d8f60498fbf45ccc87b61b77741472d9.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"2883d0a6-8952-4f73-b1ff-88bb7f26f435/existing/a538c41b08c44238de403f353ab4dddc.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"58r2hlz0u_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [b21004ec-9820-4c5f-98c3-3bc37968a93a] Performed Kithe::AssetDeleteJob (Job ID: b21004ec-9820-4c5f-98c3-3bc37968a93a) from Inline(default) in 0.12ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: b21004ec-9820-4c5f-98c3-3bc37968a93a) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/2883d0a6-8952-4f73-b1ff-88bb7f26f435/d8f60498fbf45ccc87b61b77741472d9.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"2883d0a6-8952-4f73-b1ff-88bb7f26f435/existing/a538c41b08c44238de403f353ab4dddc.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"58r2hlz0u_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.246525"], ["updated_at", "2020-05-20 19:31:06.246525"], ["file_data", "{\"id\":\"asset/d7da94046a9b41355c762a8b5ba81466.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] Performing Kithe::AssetPromoteJob (Job ID: aafbfb86-4628-4ebd-95de-a523c239667c) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e5ea481e-c94c-4575-af63-827e07ba9762", "file", {"id"=>"asset/d7da94046a9b41355c762a8b5ba81466.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] [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/e5ea481e-c94c-4575-af63-827e07ba9762/328fbf3ff31bebc7dc9a5a02958a3530.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.258261"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [aafbfb86-4628-4ebd-95de-a523c239667c] Performed Kithe::AssetPromoteJob (Job ID: aafbfb86-4628-4ebd-95de-a523c239667c) from Inline(default) in 8.88ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: aafbfb86-4628-4ebd-95de-a523c239667c) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e5ea481e-c94c-4575-af63-827e07ba9762", "file", {"id"=>"asset/d7da94046a9b41355c762a8b5ba81466.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e5ea481e-c94c-4575-af63-827e07ba9762/328fbf3ff31bebc7dc9a5a02958a3530.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"e5ea481e-c94c-4575-af63-827e07ba9762/existing/ef14b28a1e7fcecacb97091fb0a28fe4.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"83f57pv0n_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-20 19:31:06.304631"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e5ea481e-c94c-4575-af63-827e07ba9762/183aac45b58b48bdc1b7711c4fdbcabb.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-20 19:31:06.338460"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetDeleteJob] [2b70fb53-a959-4b33-8d13-706fc81031a5] Performing Kithe::AssetDeleteJob (Job ID: 2b70fb53-a959-4b33-8d13-706fc81031a5) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/e5ea481e-c94c-4575-af63-827e07ba9762/328fbf3ff31bebc7dc9a5a02958a3530.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"e5ea481e-c94c-4575-af63-827e07ba9762/existing/ef14b28a1e7fcecacb97091fb0a28fe4.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"83f57pv0n_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetDeleteJob] [2b70fb53-a959-4b33-8d13-706fc81031a5] Performed Kithe::AssetDeleteJob (Job ID: 2b70fb53-a959-4b33-8d13-706fc81031a5) from Inline(default) in 0.13ms
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 2b70fb53-a959-4b33-8d13-706fc81031a5) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/e5ea481e-c94c-4575-af63-827e07ba9762/328fbf3ff31bebc7dc9a5a02958a3530.jpg", "storage"=>"store", "metadata"=>{"size"=>309, "width"=>1, "height"=>1, "filename"=>"1x1_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"existing"=>{"id"=>"e5ea481e-c94c-4575-af63-827e07ba9762/existing/ef14b28a1e7fcecacb97091fb0a28fe4.bin", "storage"=>"kithe_derivatives", "metadata"=>{"filename"=>"83f57pv0n_existing.bin", "size"=>7, "mime_type"=>"application/octet-stream", "width"=>nil, "height"=>nil}}}}
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] Performing Kithe::AssetPromoteJob (Job ID: 680fbbc2-e958-4871-93ec-72fe4a1bcdd3) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e5ea481e-c94c-4575-af63-827e07ba9762", "file", {"id"=>"asset/e5ea481e-c94c-4575-af63-827e07ba9762/183aac45b58b48bdc1b7711c4fdbcabb.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] [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/e5ea481e-c94c-4575-af63-827e07ba9762/92b499133e5004cdab699c40498e2b5d.bin\",\"storage\":\"store\",\"metadata\":{\"size\":14,\"width\":null,\"height\":null,\"filename\":null,\"mime_type\":\"application/octet-stream\"}}"], ["updated_at", "2020-05-20 19:31:06.348218"], ["id", "e5ea481e-c94c-4575-af63-827e07ba9762"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [680fbbc2-e958-4871-93ec-72fe4a1bcdd3] Performed Kithe::AssetPromoteJob (Job ID: 680fbbc2-e958-4871-93ec-72fe4a1bcdd3) from Inline(default) in 7.62ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 680fbbc2-e958-4871-93ec-72fe4a1bcdd3) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "e5ea481e-c94c-4575-af63-827e07ba9762", "file", {"id"=>"asset/e5ea481e-c94c-4575-af63-827e07ba9762/183aac45b58b48bdc1b7711c4fdbcabb.bin", "storage"=>"cache"}, {"skip_callbacks"=>"true"}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:06.354845"], ["updated_at", "2020-05-20 19:31:06.354845"], ["file_data", "{\"id\":\"asset/4905ac1ada5deeeb0f25a7cceebdb454.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] Performing Kithe::AssetPromoteJob (Job ID: d00b5b47-cc4c-4f59-b0a1-3b12d059610e) from Inline(default) enqueued at 2020-05-20T19:31:06Z with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5", "file", {"id"=>"asset/4905ac1ada5deeeb0f25a7cceebdb454.jpg", "storage"=>"cache"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] [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, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] [1m[36mKithe::Asset 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/a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5/a86ad7e48e1dd99588ce3e838e3e608e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"}}"], ["updated_at", "2020-05-20 19:31:06.365892"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [d00b5b47-cc4c-4f59-b0a1-3b12d059610e] Performed Kithe::AssetPromoteJob (Job ID: d00b5b47-cc4c-4f59-b0a1-3b12d059610e) from Inline(default) in 10.33ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: d00b5b47-cc4c-4f59-b0a1-3b12d059610e) to Inline(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5", "file", {"id"=>"asset/4905ac1ada5deeeb0f25a7cceebdb454.jpg", "storage"=>"cache"}, {}
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5/a86ad7e48e1dd99588ce3e838e3e608e.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"existing\":{\"id\":\"a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5/existing/accb653ad994028b94723ef08d400e35.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"yel7951q7_existing.bin\",\"size\":7,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-20 19:31:06.407821"], ["id", "a5cbc1da-c2ce-4cfa-ab7d-17f5f16ce6d5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.411621"], ["updated_at", "2020-05-20 19:31:06.411621"], ["file_data", "{\"id\":\"asset/199dabec5045273d2ceda8377b1e436b.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7019a057-5160-413f-ac1c-7ab2b5411e8c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12, $13, $14, $15, $16, $17, $18, $19, $20, $21, $22, $23, $24) AND "kithe_models"."id" = $25 LIMIT $26 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["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", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "7019a057-5160-413f-ac1c-7ab2b5411e8c"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/199dabec5045273d2ceda8377b1e436b.jpg\",\"storage\":\"cache\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"1x1_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"test\":{\"id\":\"7019a057-5160-413f-ac1c-7ab2b5411e8c/test/dfa7bfa274398ea00ef7db0681b85055.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"tk4q3a4gl_test.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["updated_at", "2020-05-20 19:31:06.421339"], ["id", "7019a057-5160-413f-ac1c-7ab2b5411e8c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:06.441992"], ["updated_at", "2020-05-20 19:31:06.441992"], ["kithe_model_type", 0]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.8ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.537181"], ["updated_at", "2020-05-20 19:31:06.537181"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d015ba57-9993-4ace-bfcf-1c5d8c855c88"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:06.543261"], ["updated_at", "2020-05-20 19:31:06.543261"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "563ba6cc-51d9-458d-88f5-32e13fe7c94e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-20 19:31:06.558594"], ["updated_at", "2020-05-20 19:31:06.558594"], ["kithe_model_type", 0]]
+ [1m[35m (0.9ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work 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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.564934"], ["updated_at", "2020-05-20 19:31:06.564934"], ["kithe_model_type", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (1.3ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Exists? (0.7ms)[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", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["id", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Exists? (0.9ms)[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", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-20 19:31:06.587924"], ["updated_at", "2020-05-20 19:31:06.587924"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["container_id", "976b811f-5572-4cc7-968d-8864b3e241e0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "976b811f-5572-4cc7-968d-8864b3e241e0"]]
+ [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", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"]]
+ [1m[36mKithe::ModelContains Load (0.4ms)[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", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["container_id", "976b811f-5572-4cc7-968d-8864b3e241e0"]]
+ [1m[36mKithe::ModelContains Destroy (0.5ms)[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", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"], ["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["container_id", "976b811f-5572-4cc7-968d-8864b3e241e0"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1e4f0c53-64cf-4729-9a98-e9b7fd850ba2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1e4f0c53-64cf-4729-9a98-e9b7fd850ba2'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1e4f0c53-64cf-4729-9a98-e9b7fd850ba2"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "Kithe::Collection"], ["id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["LIMIT", 1]]
+ [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", "976b811f-5572-4cc7-968d-8864b3e241e0"], ["LIMIT", 1]]
+ [1m[35m (1.6ms)[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", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [1m[35m (0.6ms)[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", "976b811f-5572-4cc7-968d-8864b3e241e0"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.617826"], ["updated_at", "2020-05-20 19:31:06.617826"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::ModelContains Create (0.4ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "f4f595b4-27de-4291-8144-16ec5a219b88"], ["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [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", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [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", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["containee_id", "f4f595b4-27de-4291-8144-16ec5a219b88"]]
+ [1m[36mKithe::ModelContains Destroy (0.3ms)[0m [1m[31mDELETE FROM "kithe_model_contains" WHERE "kithe_model_contains"."container_id" = $1 AND "kithe_model_contains"."containee_id" = $2[0m [["container_id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"], ["containee_id", "f4f595b4-27de-4291-8144-16ec5a219b88"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '31e6ad4f-823a-48ae-adc1-cc503cd4598d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '31e6ad4f-823a-48ae-adc1-cc503cd4598d'
+);
+[0m
+ [1m[36mKithe::Collection Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "31e6ad4f-823a-48ae-adc1-cc503cd4598d"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f4f595b4-27de-4291-8144-16ec5a219b88"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[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", "f4f595b4-27de-4291-8144-16ec5a219b88"]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :zot[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameters: :unselected, :str_array, :other_value[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+[31mUnpermitted parameter: :unselected[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.656803"], ["updated_at", "2020-05-20 19:31:06.656803"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:06.659764"], ["updated_at", "2020-05-20 19:31:06.659764"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "339c6519-c2d6-4e09-965f-07d89eb98f91"]]
+ [1m[36mKithe::Work Update (1.3ms)[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-20 19:31:06.663195"], ["representative_id", "339c6519-c2d6-4e09-965f-07d89eb98f91"], ["leaf_representative_id", "339c6519-c2d6-4e09-965f-07d89eb98f91"], ["id", "12dfb309-cda8-4947-9774-fb2b63f0fe36"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '339c6519-c2d6-4e09-965f-07d89eb98f91'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '12dfb309-cda8-4947-9774-fb2b63f0fe36'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '12dfb309-cda8-4947-9774-fb2b63f0fe36'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (1.7ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "12dfb309-cda8-4947-9774-fb2b63f0fe36"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "339c6519-c2d6-4e09-965f-07d89eb98f91"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.676263"], ["updated_at", "2020-05-20 19:31:06.676263"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.680575"], ["updated_at", "2020-05-20 19:31:06.680575"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.687183"], ["updated_at", "2020-05-20 19:31:06.687183"], ["representative_id", "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"], ["leaf_representative_id", "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8996c117-0d59-4ef2-9d2b-fe1a02241fc0'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '399c8466-bf9c-4f5f-a000-65e0a01055fa'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '399c8466-bf9c-4f5f-a000-65e0a01055fa'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "399c8466-bf9c-4f5f-a000-65e0a01055fa"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.695147"], ["updated_at", "2020-05-20 19:31:06.695147"], ["representative_id", "399c8466-bf9c-4f5f-a000-65e0a01055fa"], ["leaf_representative_id", "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '8996c117-0d59-4ef2-9d2b-fe1a02241fc0'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bb87b2c2-86b8-4196-8ee1-64879ff57e6d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bb87b2c2-86b8-4196-8ee1-64879ff57e6d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "8996c117-0d59-4ef2-9d2b-fe1a02241fc0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, nil]]
+ [1m[36mKithe::Work Update (0.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-20 19:31:06.703147"], ["representative_id", nil], ["leaf_representative_id", nil], ["id", "bb87b2c2-86b8-4196-8ee1-64879ff57e6d"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'bb87b2c2-86b8-4196-8ee1-64879ff57e6d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'bb87b2c2-86b8-4196-8ee1-64879ff57e6d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.707900"], ["updated_at", "2020-05-20 19:31:06.707900"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.711676"], ["updated_at", "2020-05-20 19:31:06.711676"], ["representative_id", "fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c"], ["leaf_representative_id", "fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c"], ["kithe_model_type", 1]]
+ [1m[35m (1.7ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'a30a9394-db1b-494e-bcc0-9932999a3e6d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'a30a9394-db1b-494e-bcc0-9932999a3e6d'
+);
+[0m
+ [1m[35m (1.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "a30a9394-db1b-494e-bcc0-9932999a3e6d"]]
+ [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-20 19:31:06.721489"], ["updated_at", "2020-05-20 19:31:06.721489"], ["representative_id", "a30a9394-db1b-494e-bcc0-9932999a3e6d"], ["leaf_representative_id", "fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ba8ee81-5c2e-4684-9fd5-e4728ebb9634'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ba8ee81-5c2e-4684-9fd5-e4728ebb9634'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:06.725314"], ["representative_id", "fb5fb2ec-c8d3-4039-b7c2-6c9d7e207b4c"], ["leaf_representative_id", "a30a9394-db1b-494e-bcc0-9932999a3e6d"], ["id", "0ba8ee81-5c2e-4684-9fd5-e4728ebb9634"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'a30a9394-db1b-494e-bcc0-9932999a3e6d'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '0ba8ee81-5c2e-4684-9fd5-e4728ebb9634'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '0ba8ee81-5c2e-4684-9fd5-e4728ebb9634'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:06.730423"], ["updated_at", "2020-05-20 19:31:06.730423"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (1.2ms)[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-20 19:31:06.734441"], ["updated_at", "2020-05-20 19:31:06.734441"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "eae4dafa-2829-4397-a8fc-383f595a6183"]]
+ [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", "intermediate"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.740072"], ["updated_at", "2020-05-20 19:31:06.740072"], ["representative_id", "eae4dafa-2829-4397-a8fc-383f595a6183"], ["leaf_representative_id", "eae4dafa-2829-4397-a8fc-383f595a6183"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eae4dafa-2829-4397-a8fc-383f595a6183'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '547b5170-6426-402a-a19a-cacd4c636a80'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '547b5170-6426-402a-a19a-cacd4c636a80'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "547b5170-6426-402a-a19a-cacd4c636a80"]]
+ [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", "top"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.743972"], ["updated_at", "2020-05-20 19:31:06.743972"], ["representative_id", "547b5170-6426-402a-a19a-cacd4c636a80"], ["leaf_representative_id", "eae4dafa-2829-4397-a8fc-383f595a6183"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eae4dafa-2829-4397-a8fc-383f595a6183'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1947fe36-b2f0-4fcf-9b47-767e9632bd82'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1947fe36-b2f0-4fcf-9b47-767e9632bd82'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "leaf_representative_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:06.747234"], ["leaf_representative_id", "eb705608-025a-48aa-a400-0f09da045294"], ["id", "1947fe36-b2f0-4fcf-9b47-767e9632bd82"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eb705608-025a-48aa-a400-0f09da045294'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '1947fe36-b2f0-4fcf-9b47-767e9632bd82'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '1947fe36-b2f0-4fcf-9b47-767e9632bd82'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "eb705608-025a-48aa-a400-0f09da045294"], ["LIMIT", 1]]
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "547b5170-6426-402a-a19a-cacd4c636a80"]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "eae4dafa-2829-4397-a8fc-383f595a6183"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:06.758405"], ["updated_at", "2020-05-20 19:31:06.758405"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:06.761054"], ["updated_at", "2020-05-20 19:31:06.761054"], ["kithe_model_type", 1]]
+ [1m[35m (0.6ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (112.7ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "7f64bdbe-b521-46f3-8728-3c4d0df3bd03"]]
+ [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-20 19:31:06.877065"], ["representative_id", "7f64bdbe-b521-46f3-8728-3c4d0df3bd03"], ["leaf_representative_id", "7f64bdbe-b521-46f3-8728-3c4d0df3bd03"], ["id", "42857e11-4f16-4f7b-9128-94cb17fdb3a4"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7f64bdbe-b521-46f3-8728-3c4d0df3bd03'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '42857e11-4f16-4f7b-9128-94cb17fdb3a4'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '42857e11-4f16-4f7b-9128-94cb17fdb3a4'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "42857e11-4f16-4f7b-9128-94cb17fdb3a4"]]
+ [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-20 19:31:06.881171"], ["representative_id", "42857e11-4f16-4f7b-9128-94cb17fdb3a4"], ["leaf_representative_id", "7f64bdbe-b521-46f3-8728-3c4d0df3bd03"], ["id", "7f64bdbe-b521-46f3-8728-3c4d0df3bd03"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '7f64bdbe-b521-46f3-8728-3c4d0df3bd03'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '7f64bdbe-b521-46f3-8728-3c4d0df3bd03'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '7f64bdbe-b521-46f3-8728-3c4d0df3bd03'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.886306"], ["updated_at", "2020-05-20 19:31:06.886306"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:06.888988"], ["updated_at", "2020-05-20 19:31:06.888988"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "be1c0fe9-c507-420e-8fb7-45ea673473f6"]]
+ [1m[36mKithe::Work Create (0.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-20 19:31:06.892304"], ["updated_at", "2020-05-20 19:31:06.892304"], ["representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f60a6921-fad6-460a-982a-90ef40f620cd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f60a6921-fad6-460a-982a-90ef40f620cd'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "0b9295af-29a7-486c-9825-0a7825857362"]]
+ [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-20 19:31:06.896094"], ["updated_at", "2020-05-20 19:31:06.896094"], ["representative_id", "0b9295af-29a7-486c-9825-0a7825857362"], ["leaf_representative_id", "0b9295af-29a7-486c-9825-0a7825857362"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0b9295af-29a7-486c-9825-0a7825857362'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd568ead5-b3dd-4614-9c8d-0e219a672e92'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd568ead5-b3dd-4614-9c8d-0e219a672e92'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.5ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f60a6921-fad6-460a-982a-90ef40f620cd"]]
+ [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-20 19:31:06.902215"], ["updated_at", "2020-05-20 19:31:06.902215"], ["representative_id", "f60a6921-fad6-460a-982a-90ef40f620cd"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e77ee736-561b-47f3-9251-73dfdf43ce1e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e77ee736-561b-47f3-9251-73dfdf43ce1e'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "f60a6921-fad6-460a-982a-90ef40f620cd"]]
+ [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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.906505"], ["updated_at", "2020-05-20 19:31:06.906505"], ["representative_id", "f60a6921-fad6-460a-982a-90ef40f620cd"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4ae6b138-482a-4be5-8f3b-9a1f45a8da53'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4ae6b138-482a-4be5-8f3b-9a1f45a8da53'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d568ead5-b3dd-4614-9c8d-0e219a672e92"]]
+ [1m[36mKithe::Work Create (0.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", "parent"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.910892"], ["updated_at", "2020-05-20 19:31:06.910892"], ["representative_id", "d568ead5-b3dd-4614-9c8d-0e219a672e92"], ["leaf_representative_id", "0b9295af-29a7-486c-9825-0a7825857362"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0b9295af-29a7-486c-9825-0a7825857362'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '05a7d22c-abd1-44fc-83a8-771372067fc1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '05a7d22c-abd1-44fc-83a8-771372067fc1'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "e77ee736-561b-47f3-9251-73dfdf43ce1e"]]
+ [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-20 19:31:06.915166"], ["updated_at", "2020-05-20 19:31:06.915166"], ["representative_id", "e77ee736-561b-47f3-9251-73dfdf43ce1e"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '530d8c1e-8e89-48ab-b4dd-2740a06d1ab3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '530d8c1e-8e89-48ab-b4dd-2740a06d1ab3'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "530d8c1e-8e89-48ab-b4dd-2740a06d1ab3"]]
+ [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-20 19:31:06.920470"], ["updated_at", "2020-05-20 19:31:06.920470"], ["representative_id", "530d8c1e-8e89-48ab-b4dd-2740a06d1ab3"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c82cf247-ba5f-4d3b-a4c3-03691d32008d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c82cf247-ba5f-4d3b-a4c3-03691d32008d'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "530d8c1e-8e89-48ab-b4dd-2740a06d1ab3"]]
+ [1m[36mKithe::Work Create (0.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", "great-grandparent"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:06.924570"], ["updated_at", "2020-05-20 19:31:06.924570"], ["representative_id", "530d8c1e-8e89-48ab-b4dd-2740a06d1ab3"], ["leaf_representative_id", "be1c0fe9-c507-420e-8fb7-45ea673473f6"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'be1c0fe9-c507-420e-8fb7-45ea673473f6'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '4b79ac39-c777-4502-8120-e36630981ac3'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '4b79ac39-c777-4502-8120-e36630981ac3'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d568ead5-b3dd-4614-9c8d-0e219a672e92"]]
+ [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-20 19:31:06.928497"], ["representative_id", "d568ead5-b3dd-4614-9c8d-0e219a672e92"], ["leaf_representative_id", "0b9295af-29a7-486c-9825-0a7825857362"], ["id", "e77ee736-561b-47f3-9251-73dfdf43ce1e"]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '0b9295af-29a7-486c-9825-0a7825857362'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'e77ee736-561b-47f3-9251-73dfdf43ce1e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'e77ee736-561b-47f3-9251-73dfdf43ce1e'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "e77ee736-561b-47f3-9251-73dfdf43ce1e"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "530d8c1e-8e89-48ab-b4dd-2740a06d1ab3"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c82cf247-ba5f-4d3b-a4c3-03691d32008d"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "4b79ac39-c777-4502-8120-e36630981ac3"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "4ae6b138-482a-4be5-8f3b-9a1f45a8da53"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f60a6921-fad6-460a-982a-90ef40f620cd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:06.942911"], ["updated_at", "2020-05-20 19:31:06.942911"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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-20 19:31:06.945405"], ["updated_at", "2020-05-20 19:31:06.945405"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "484c7954-03bb-47ac-a303-080acf476abd"]]
+ [1m[36mKithe::Work Create (1.1ms)[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-20 19:31:06.949445"], ["updated_at", "2020-05-20 19:31:06.949445"], ["representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (1.1ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '449c99f8-1288-4187-bc05-110980209794'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '449c99f8-1288-4187-bc05-110980209794'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "33342ef8-986d-47af-840c-b991d5f3e444"]]
+ [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-20 19:31:06.955322"], ["updated_at", "2020-05-20 19:31:06.955322"], ["representative_id", "33342ef8-986d-47af-840c-b991d5f3e444"], ["leaf_representative_id", "33342ef8-986d-47af-840c-b991d5f3e444"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '33342ef8-986d-47af-840c-b991d5f3e444'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c2af07dd-6066-4c31-9c21-827e982f080a'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c2af07dd-6066-4c31-9c21-827e982f080a'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "449c99f8-1288-4187-bc05-110980209794"]]
+ [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-20 19:31:06.959355"], ["updated_at", "2020-05-20 19:31:06.959355"], ["representative_id", "449c99f8-1288-4187-bc05-110980209794"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'b60971ad-daaa-4958-a69b-2471a87dc213'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'b60971ad-daaa-4958-a69b-2471a87dc213'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "449c99f8-1288-4187-bc05-110980209794"]]
+ [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-20 19:31:06.963323"], ["updated_at", "2020-05-20 19:31:06.963323"], ["representative_id", "449c99f8-1288-4187-bc05-110980209794"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '6bca698f-6381-4165-b557-3835cb5febc9'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '6bca698f-6381-4165-b557-3835cb5febc9'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (1.8ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "c2af07dd-6066-4c31-9c21-827e982f080a"]]
+ [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-20 19:31:06.969425"], ["updated_at", "2020-05-20 19:31:06.969425"], ["representative_id", "c2af07dd-6066-4c31-9c21-827e982f080a"], ["leaf_representative_id", "33342ef8-986d-47af-840c-b991d5f3e444"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '33342ef8-986d-47af-840c-b991d5f3e444'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '60a1b024-1895-490d-9887-09fb244313d0'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '60a1b024-1895-490d-9887-09fb244313d0'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "b60971ad-daaa-4958-a69b-2471a87dc213"]]
+ [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-20 19:31:06.973457"], ["updated_at", "2020-05-20 19:31:06.973457"], ["representative_id", "b60971ad-daaa-4958-a69b-2471a87dc213"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd1e2c78e-3c9d-48a1-af85-0b45ef659186'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd1e2c78e-3c9d-48a1-af85-0b45ef659186'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d1e2c78e-3c9d-48a1-af85-0b45ef659186"]]
+ [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-20 19:31:06.977375"], ["updated_at", "2020-05-20 19:31:06.977375"], ["representative_id", "d1e2c78e-3c9d-48a1-af85-0b45ef659186"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '3e555a69-2e0b-45e6-a7d7-575ee2d14967'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '3e555a69-2e0b-45e6-a7d7-575ee2d14967'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.4ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d1e2c78e-3c9d-48a1-af85-0b45ef659186"]]
+ [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-20 19:31:06.982066"], ["updated_at", "2020-05-20 19:31:06.982066"], ["representative_id", "d1e2c78e-3c9d-48a1-af85-0b45ef659186"], ["leaf_representative_id", "484c7954-03bb-47ac-a303-080acf476abd"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '484c7954-03bb-47ac-a303-080acf476abd'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '3970deed-618a-474e-8fdf-09e52366420f'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '3970deed-618a-474e-8fdf-09e52366420f'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "33342ef8-986d-47af-840c-b991d5f3e444"]]
+ [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-20 19:31:06.986594"], ["representative_id", "33342ef8-986d-47af-840c-b991d5f3e444"], ["leaf_representative_id", "33342ef8-986d-47af-840c-b991d5f3e444"], ["id", "449c99f8-1288-4187-bc05-110980209794"]]
+ [1m[35m (1.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '33342ef8-986d-47af-840c-b991d5f3e444'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '449c99f8-1288-4187-bc05-110980209794'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '449c99f8-1288-4187-bc05-110980209794'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "b60971ad-daaa-4958-a69b-2471a87dc213"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "6bca698f-6381-4165-b557-3835cb5febc9"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "d1e2c78e-3c9d-48a1-af85-0b45ef659186"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "3e555a69-2e0b-45e6-a7d7-575ee2d14967"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "3970deed-618a-474e-8fdf-09e52366420f"], ["LIMIT", 1]]
+ [1m[35m (0.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:07.000175"], ["updated_at", "2020-05-20 19:31:07.000175"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "1a079e1f-40a1-46f0-b07c-6f494048b851"]]
+ [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-20 19:31:07.003382"], ["updated_at", "2020-05-20 19:31:07.003382"], ["representative_id", "1a079e1f-40a1-46f0-b07c-6f494048b851"], ["leaf_representative_id", "1a079e1f-40a1-46f0-b07c-6f494048b851"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1a079e1f-40a1-46f0-b07c-6f494048b851'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'd47e27eb-68aa-4858-beef-84d11667e2be'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'd47e27eb-68aa-4858-beef-84d11667e2be'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "d47e27eb-68aa-4858-beef-84d11667e2be"]]
+ [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-20 19:31:07.007908"], ["updated_at", "2020-05-20 19:31:07.007908"], ["representative_id", "d47e27eb-68aa-4858-beef-84d11667e2be"], ["leaf_representative_id", "1a079e1f-40a1-46f0-b07c-6f494048b851"], ["kithe_model_type", 0]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '1a079e1f-40a1-46f0-b07c-6f494048b851'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'beccf7c5-8422-4a9a-8934-8a967b2385b2'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'beccf7c5-8422-4a9a-8934-8a967b2385b2'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models"[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "1a079e1f-40a1-46f0-b07c-6f494048b851"]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:07.035181"], ["updated_at", "2020-05-20 19:31:07.035181"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "eab9de10-4742-41be-abdf-aa65afdd921e"]]
+ [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-20 19:31:07.038907"], ["updated_at", "2020-05-20 19:31:07.038907"], ["representative_id", "eab9de10-4742-41be-abdf-aa65afdd921e"], ["leaf_representative_id", "eab9de10-4742-41be-abdf-aa65afdd921e"], ["kithe_model_type", 1]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'eab9de10-4742-41be-abdf-aa65afdd921e'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'af9a8c57-1dbf-46d2-aa98-6ebfc91fbf60'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'af9a8c57-1dbf-46d2-aa98-6ebfc91fbf60'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "eab9de10-4742-41be-abdf-aa65afdd921e"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "eab9de10-4742-41be-abdf-aa65afdd921e"]]
+ [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", "eab9de10-4742-41be-abdf-aa65afdd921e"]]
+ [1m[36mKithe::Model Load (3.1ms)[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", "eab9de10-4742-41be-abdf-aa65afdd921e"]]
+ [1m[35m (1.5ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'eab9de10-4742-41be-abdf-aa65afdd921e'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'eab9de10-4742-41be-abdf-aa65afdd921e'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.7ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "eab9de10-4742-41be-abdf-aa65afdd921e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "af9a8c57-1dbf-46d2-aa98-6ebfc91fbf60"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Asset"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:07.058413"], ["updated_at", "2020-05-20 19:31:07.058413"], ["kithe_model_type", 2]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.3ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "3066c2b2-8682-48a7-b856-948b57f43c50"]]
+ [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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:07.066026"], ["updated_at", "2020-05-20 19:31:07.066026"], ["representative_id", "3066c2b2-8682-48a7-b856-948b57f43c50"], ["leaf_representative_id", "3066c2b2-8682-48a7-b856-948b57f43c50"], ["kithe_model_type", 1]]
+ [1m[35m (3.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '3066c2b2-8682-48a7-b856-948b57f43c50'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '47a6ae90-f313-493a-ac4d-6c939b0889cf'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '47a6ae90-f313-493a-ac4d-6c939b0889cf'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.7ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "47a6ae90-f313-493a-ac4d-6c939b0889cf"]]
+ [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-20 19:31:07.077055"], ["updated_at", "2020-05-20 19:31:07.077055"], ["representative_id", "47a6ae90-f313-493a-ac4d-6c939b0889cf"], ["leaf_representative_id", "3066c2b2-8682-48a7-b856-948b57f43c50"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = '3066c2b2-8682-48a7-b856-948b57f43c50'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'c5bd30db-0106-4a94-9dbf-485831cc00fd'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'c5bd30db-0106-4a94-9dbf-485831cc00fd'
+);
+[0m
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "47a6ae90-f313-493a-ac4d-6c939b0889cf"]]
+ [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", "47a6ae90-f313-493a-ac4d-6c939b0889cf"]]
+ [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", "47a6ae90-f313-493a-ac4d-6c939b0889cf"]]
+ [1m[35m (1.6ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '47a6ae90-f313-493a-ac4d-6c939b0889cf'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '47a6ae90-f313-493a-ac4d-6c939b0889cf'
+);
+[0m
+ [1m[36mKithe::Work Destroy (0.8ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "47a6ae90-f313-493a-ac4d-6c939b0889cf"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "c5bd30db-0106-4a94-9dbf-485831cc00fd"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:07.092186"], ["updated_at", "2020-05-20 19:31:07.092186"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "ee9da562-4b4f-4947-8f8b-51e55489820b"]]
+ [1m[36mKithe::Work Create (0.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", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:07.095311"], ["updated_at", "2020-05-20 19:31:07.095311"], ["representative_id", "ee9da562-4b4f-4947-8f8b-51e55489820b"], ["leaf_representative_id", "ee9da562-4b4f-4947-8f8b-51e55489820b"], ["kithe_model_type", 1]]
+ [1m[35m (1.4ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ee9da562-4b4f-4947-8f8b-51e55489820b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '493e2913-6c65-4cbe-9c24-4331111deb87'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '493e2913-6c65-4cbe-9c24-4331111deb87'
+);
+[0m
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mset_leaf_representative (0.2ms)[0m [1m[35mWITH RECURSIVE find_terminal(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = $1
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, find_terminal ft
+ WHERE m.id = ft.link
+) SELECT id
+ FROM find_terminal
+ WHERE link IS NULL
+ LIMIT 1;
+[0m [[nil, "493e2913-6c65-4cbe-9c24-4331111deb87"]]
+ [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-20 19:31:07.100319"], ["updated_at", "2020-05-20 19:31:07.100319"], ["representative_id", "493e2913-6c65-4cbe-9c24-4331111deb87"], ["leaf_representative_id", "ee9da562-4b4f-4947-8f8b-51e55489820b"], ["kithe_model_type", 1]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = 'ee9da562-4b4f-4947-8f8b-51e55489820b'
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'f65ead52-f839-4270-a6c7-27db94898c2d'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'f65ead52-f839-4270-a6c7-27db94898c2d'
+);
+[0m
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.1ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "ee9da562-4b4f-4947-8f8b-51e55489820b"]]
+ [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", "ee9da562-4b4f-4947-8f8b-51e55489820b"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "ee9da562-4b4f-4947-8f8b-51e55489820b"]]
+ [1m[35m (0.9ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = 'ee9da562-4b4f-4947-8f8b-51e55489820b'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != 'ee9da562-4b4f-4947-8f8b-51e55489820b'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ee9da562-4b4f-4947-8f8b-51e55489820b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (0.4ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "f65ead52-f839-4270-a6c7-27db94898c2d"], ["LIMIT", 1]]
+ [1m[36mKithe::Work Load (0.6ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "493e2913-6c65-4cbe-9c24-4331111deb87"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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 title"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:07.115744"], ["updated_at", "2020-05-20 19:31:07.115744"], ["kithe_model_type", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:07.126032"], ["updated_at", "2020-05-20 19:31:07.126032"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:07.128531"], ["updated_at", "2020-05-20 19:31:07.128531"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.131248"], ["parent_id", "e3da4ea3-f0b6-4749-8491-fe9229b0ed41"], ["id", "84972a36-462d-4c43-827e-02c0ad3e15ab"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4) AND "kithe_models"."id" = $5 LIMIT $6[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["id", "84972a36-462d-4c43-827e-02c0ad3e15ab"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "e3da4ea3-f0b6-4749-8491-fe9229b0ed41"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:07.143184"], ["updated_at", "2020-05-20 19:31:07.143184"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::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-20 19:31:07.145460"], ["updated_at", "2020-05-20 19:31:07.145460"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "parent_id" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.148484"], ["parent_id", "bc01da12-e641-4576-bc78-82762fd6b026"], ["id", "a2002761-98d3-4346-8746-478449fcf3d4"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Load (1.0ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7) AND "kithe_models"."id" = $8 LIMIT $9[0m [["type", "Kithe::Work"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["type", "TestWork"], ["id", "a2002761-98d3-4346-8746-478449fcf3d4"], ["LIMIT", 1]]
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1 LIMIT $2[0m [["id", "bc01da12-e641-4576-bc78-82762fd6b026"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.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-20 19:31:07.159573"], ["updated_at", "2020-05-20 19:31:07.159573"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection 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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-20 19:31:07.162160"], ["updated_at", "2020-05-20 19:31:07.162160"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Collection Create (0.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 Collection"], ["type", "Kithe::Collection"], ["created_at", "2020-05-20 19:31:07.169990"], ["updated_at", "2020-05-20 19:31:07.169990"], ["kithe_model_type", 0]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.3ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "2633d57c-88d5-400f-8d3d-69782949442a"]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Work Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5) RETURNING "id"[0m [["title", "Some Work"], ["type", "Kithe::Work"], ["created_at", "2020-05-20 19:31:07.177307"], ["updated_at", "2020-05-20 19:31:07.177307"], ["kithe_model_type", 1]]
+ [1m[36mKithe::ModelContains Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_model_contains" ("containee_id", "container_id") VALUES ($1, $2)[0m [["containee_id", "265798c3-fae4-415b-a0fe-25797534fe73"], ["container_id", "2633d57c-88d5-400f-8d3d-69782949442a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.195596"], ["updated_at", "2020-05-20 19:31:07.195596"], ["kithe_model_type", 1]]
+ [1m[35m (1.0ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mTestWorkSubclass Load (0.5ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "TestWorkSubclass"], ["id", "3aeef6b5-c303-4d7a-b3d8-8df44b4306fa"], ["LIMIT", 1]]
+ [1m[35m (0.6ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset 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", "MyAsset"], ["created_at", "2020-05-20 19:31:07.230258"], ["updated_at", "2020-05-20 19:31:07.230258"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset 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-20 19:31:07.233292"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{}}"], ["id", "e851de36-602b-4baf-81c2-f0bd86b2f896"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] Performing Kithe::AssetPromoteJob (Job ID: 2b79d1a4-d9d9-40b8-b484-1c8f6e104d16) from Inline(default) enqueued at 2020-05-20T19:31:07Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "e851de36-602b-4baf-81c2-f0bd86b2f896", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] [1m[36mMyAsset 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", "MyAsset"], ["id", "e851de36-602b-4baf-81c2-f0bd86b2f896"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] [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", "e851de36-602b-4baf-81c2-f0bd86b2f896"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] [1m[36mMyAsset 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/e851de36-602b-4baf-81c2-f0bd86b2f896/4b28ff4df9b31b8ea2aaf578b1c7079e.html\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":null,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["updated_at", "2020-05-20 19:31:07.287000"], ["id", "e851de36-602b-4baf-81c2-f0bd86b2f896"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [2b79d1a4-d9d9-40b8-b484-1c8f6e104d16] Performed Kithe::AssetPromoteJob (Job ID: 2b79d1a4-d9d9-40b8-b484-1c8f6e104d16) from Inline(default) in 52.12ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 2b79d1a4-d9d9-40b8-b484-1c8f6e104d16) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "e851de36-602b-4baf-81c2-f0bd86b2f896", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[36mMyAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "MyAsset"], ["id", "e851de36-602b-4baf-81c2-f0bd86b2f896"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mMyAsset Create (0.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", "MyAsset"], ["created_at", "2020-05-20 19:31:07.308879"], ["updated_at", "2020-05-20 19:31:07.308879"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.312043"], ["file_data", "{\"id\":\"http://www.example.com/bar.html?foo=bar\",\"storage\":\"remote_url\",\"metadata\":{\"remote_url_headers\":{\"Authorization\":\"Bearer TestToken\"}}}"], ["id", "dde0af50-d3c2-4719-a317-bef0b31ea83a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] Performing Kithe::AssetPromoteJob (Job ID: c1e5068a-b5a4-4dce-bc29-34a114238f16) from Inline(default) enqueued at 2020-05-20T19:31:07Z with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "dde0af50-d3c2-4719-a317-bef0b31ea83a", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] [1m[36mMyAsset 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", "MyAsset"], ["id", "dde0af50-d3c2-4719-a317-bef0b31ea83a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] [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", "dde0af50-d3c2-4719-a317-bef0b31ea83a"], ["LIMIT", 1]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] [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/dde0af50-d3c2-4719-a317-bef0b31ea83a/a555d552c6756e0bf81baba3c9c42b50.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-20 19:31:07.371391"], ["id", "dde0af50-d3c2-4719-a317-bef0b31ea83a"]]
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] [Kithe::AssetPromoteJob] [c1e5068a-b5a4-4dce-bc29-34a114238f16] Performed Kithe::AssetPromoteJob (Job ID: c1e5068a-b5a4-4dce-bc29-34a114238f16) from Inline(default) in 58.82ms
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: c1e5068a-b5a4-4dce-bc29-34a114238f16) to Inline(default) with arguments: "RemoteUrlUploader::Attacher", "MyAsset", "dde0af50-d3c2-4719-a317-bef0b31ea83a", "file", {"id"=>"http://www.example.com/bar.html?foo=bar", "storage"=>"remote_url"}, {}
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.434822"], ["updated_at", "2020-05-20 19:31:07.434822"], ["file_data", "{\"id\":\"asset/8f4d19019f67334287fdd43776521d2a.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.474826"], ["file_data", "{\"id\":\"asset/1d1433f9-55ba-4a6d-9074-049d22e59271/f49ae888a33f751dac56bd5942449497.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "1d1433f9-55ba-4a6d-9074-049d22e59271"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "1d1433f9-55ba-4a6d-9074-049d22e59271"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.534557"], ["updated_at", "2020-05-20 19:31:07.534557"], ["file_data", "{\"id\":\"asset/165736b087b8f6aec7abb152c8b4802a.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset Load (0.3ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "afcfaecc-7231-44b5-bec8-a62ec86b0ad0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["created_at", "2020-05-20 19:31:07.600263"], ["updated_at", "2020-05-20 19:31:07.600263"], ["file_data", "{\"id\":\"asset/06eb1482fafd335c7d095fbb9f67c031.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.640902"], ["file_data", "{\"id\":\"asset/c39702d1-ad2e-4387-b60f-9e801732b2ab/19e5a29ca59d8d262ebb1e6065b85520.bin\",\"storage\":\"store\",\"metadata\":{\"filename\":null,\"size\":4,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null,\"md5\":\"098f6bcd4621d373cade4e832627b4f6\",\"sha1\":\"a94a8fe5ccb19ba61c4c0873d391e987982fbbd3\",\"sha512\":\"ee26b0dd4af7e749aa1a8ee3c10ae9923f618980772e473f8819a5d4940e0db27ac185f8a0e1d5f84f88bc887fd67b143732c304cc5fa9ad8e6f57f50028a8ff\"}}"], ["id", "c39702d1-ad2e-4387-b60f-9e801732b2ab"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.7ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "ChecksumAsset"], ["id", "c39702d1-ad2e-4387-b60f-9e801732b2ab"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mChecksumAsset 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", "ChecksumAsset"], ["id", "c39702d1-ad2e-4387-b60f-9e801732b2ab"], ["LIMIT", 1]]
+ [1m[36mChecksumAsset Update (0.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.680857"], ["file_data", "{\"id\":\"asset/c39702d1-ad2e-4387-b60f-9e801732b2ab/19e5a29ca59d8d262ebb1e6065b85520.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\":\"c39702d1-ad2e-4387-b60f-9e801732b2ab/test/ef0291f92fd519f5d3ac546861ddd6dc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"r9ea3creu_test.bin\",\"size\":10,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "c39702d1-ad2e-4387-b60f-9e801732b2ab"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.701959"], ["updated_at", "2020-05-20 19:31:07.701959"], ["file_data", "{\"id\":\"asset/8cb1a675ec08f57dd09928eb25cc3606.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.706345"], ["file_data", "{\"id\":\"asset/d5807e2a-f12a-4da9-9996-0fa416ea794d/4052e1ba49a664ec11c52cc205c97340.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "d5807e2a-f12a-4da9-9996-0fa416ea794d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "d5807e2a-f12a-4da9-9996-0fa416ea794d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (5.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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", "CustomAsset"], ["created_at", "2020-05-20 19:31:07.773865"], ["updated_at", "2020-05-20 19:31:07.773865"], ["file_data", "{\"id\":\"asset/1566205a8a39639536c5c2e35163eae8.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (41.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.794512"], ["file_data", "{\"id\":\"asset/3726e70b-6246-4efa-8779-454bb01d7e5b/37af41d3e696aed80085c449cf1cea8b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "3726e70b-6246-4efa-8779-454bb01d7e5b"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.855058"], ["updated_at", "2020-05-20 19:31:07.855058"], ["file_data", "{\"id\":\"asset/3d836254df4a8170a335b910edd46f90.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.858956"], ["file_data", "{\"id\":\"asset/380ec67d-cc1c-46c4-8baa-4a817dd8dc5e/7a2b360dde32804f579955cec059ca0d.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "380ec67d-cc1c-46c4-8baa-4a817dd8dc5e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:07.877642"], ["updated_at", "2020-05-20 19:31:07.877642"], ["file_data", "{\"id\":\"asset/0de9530899fb4cc88848557ef2556974.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:07.881060"], ["file_data", "{\"id\":\"asset/61c024d0-4767-4763-8a4f-0e4e80cde6d1/9b008210627fe50ade5bec13a8efe89b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "61c024d0-4767-4763-8a4f-0e4e80cde6d1"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.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-20 19:31:07.901254"], ["updated_at", "2020-05-20 19:31:07.901254"], ["file_data", "{\"id\":\"asset/ef18b23bb7db419e988fe380d5ca7375.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:07.906547"], ["file_data", "{\"id\":\"asset/8d71094c-60c2-4cca-ac49-16badb95dae2/3cc17aa9faba88227d5bd58f5edc7f30.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8d71094c-60c2-4cca-ac49-16badb95dae2"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8d71094c-60c2-4cca-ac49-16badb95dae2"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:07.992555"], ["updated_at", "2020-05-20 19:31:07.992555"], ["file_data", "{\"id\":\"asset/894c5a150efb51d84a204dcf82b0b661.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset 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-20 19:31:07.996459"], ["file_data", "{\"id\":\"asset/73a42f2d-65be-49db-9555-f811cc01337c/017d594475c88ad559c15b429178a02f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "73a42f2d-65be-49db-9555-f811cc01337c"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "73a42f2d-65be-49db-9555-f811cc01337c"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (1.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", "CustomAsset"], ["created_at", "2020-05-20 19:31:08.049027"], ["updated_at", "2020-05-20 19:31:08.049027"], ["file_data", "{\"id\":\"asset/bb1f778082c54c9e0463b9692fb9f04a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.054321"], ["file_data", "{\"id\":\"asset/b7f983a6-392f-4e6e-9312-f442b69763b1/a47f76790106cf48dfa3ecb9caa860e5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "b7f983a6-392f-4e6e-9312-f442b69763b1"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "b7f983a6-392f-4e6e-9312-f442b69763b1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.114508"], ["updated_at", "2020-05-20 19:31:08.114508"], ["file_data", "{\"id\":\"asset/ba07256f896b31610036ad8e6bdff243.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.120631"], ["file_data", "{\"id\":\"asset/c8683e91-6380-4605-919a-a09361bf1035/14577afef74ed2cfaee0153026dd73d7.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "c8683e91-6380-4605-919a-a09361bf1035"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "c8683e91-6380-4605-919a-a09361bf1035"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:08.205664"], ["updated_at", "2020-05-20 19:31:08.205664"], ["file_data", "{\"id\":\"asset/121fc97aaca0e72371666c853c10b8ab.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.209892"], ["file_data", "{\"id\":\"asset/8b8158ed-6df1-46d4-bb61-8911bf980211/d6561e14ee0324866b4bc17e807df809.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "8b8158ed-6df1-46d4-bb61-8911bf980211"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "8b8158ed-6df1-46d4-bb61-8911bf980211"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:08.299247"], ["updated_at", "2020-05-20 19:31:08.299247"], ["file_data", "{\"id\":\"asset/db28b28036e9e8eaaa3a93ab4bfc7bc3.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.304861"], ["file_data", "{\"id\":\"asset/7dae2514-b517-43bd-9383-61ed5bddc17e/f7e54ab060c886dd6f3ff3826ffe782b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "7dae2514-b517-43bd-9383-61ed5bddc17e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "7dae2514-b517-43bd-9383-61ed5bddc17e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-20 19:31:08.389252"], ["updated_at", "2020-05-20 19:31:08.389252"], ["file_data", "{\"id\":\"asset/e3c7fd63f0818a19a92f549620366d9f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.392756"], ["file_data", "{\"id\":\"asset/1bc4913a-dca5-46a3-bbc5-e9878b41aa02/905a49ad9ba8ebcd81ddbc01763285cc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "1bc4913a-dca5-46a3-bbc5-e9878b41aa02"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "1bc4913a-dca5-46a3-bbc5-e9878b41aa02"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:08.476198"], ["updated_at", "2020-05-20 19:31:08.476198"], ["file_data", "{\"id\":\"asset/5644bb3cfb2c0bb49742dd13b143e8b4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.480082"], ["file_data", "{\"id\":\"asset/f6c1e5ba-6584-4104-b39b-ca027642672d/f4077b782134218c10e85f5efb37a84b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "f6c1e5ba-6584-4104-b39b-ca027642672d"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.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", "CustomAsset"], ["id", "f6c1e5ba-6584-4104-b39b-ca027642672d"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.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-20 19:31:08.542462"], ["updated_at", "2020-05-20 19:31:08.542462"], ["file_data", "{\"id\":\"asset/9e679003ecc108a923d098bfd6244e4e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.546327"], ["file_data", "{\"id\":\"asset/76c2e3cd-e7f6-41ea-b331-e6c6e348b11b/9fa35e4582ee71a2cd400b0c87f16ccb.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "76c2e3cd-e7f6-41ea-b331-e6c6e348b11b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "76c2e3cd-e7f6-41ea-b331-e6c6e348b11b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "CustomAsset"], ["created_at", "2020-05-20 19:31:08.618698"], ["updated_at", "2020-05-20 19:31:08.618698"], ["file_data", "{\"id\":\"asset/0fe88383b208db9789a8c0d955a3e37e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.623662"], ["file_data", "{\"id\":\"asset/a4af292f-87f5-4c88-9b4f-0d884c76a69e/4b1d6d2534df1d3c4d08d17b0b77be80.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "CustomAsset"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.663797"], ["file_data", "{\"id\":\"asset/a4af292f-87f5-4c88-9b4f-0d884c76a69e/4b1d6d2534df1d3c4d08d17b0b77be80.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"a4af292f-87f5-4c88-9b4f-0d884c76a69e/some_data/bfa0da1067655a32e8a4ced5c855c018.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9nwbo5zva_some_data.bin\",\"size\":18,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mCustomAsset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "CustomAsset"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"], ["LIMIT", 1]]
+ [1m[36mCustomAsset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.707602"], ["file_data", "{\"id\":\"asset/a4af292f-87f5-4c88-9b4f-0d884c76a69e/4b1d6d2534df1d3c4d08d17b0b77be80.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1},\"derivatives\":{\"some_data\":{\"id\":\"a4af292f-87f5-4c88-9b4f-0d884c76a69e/some_data/bfa0da1067655a32e8a4ced5c855c018.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":18,\"width\":null,\"height\":null,\"filename\":\"9nwbo5zva_some_data.bin\",\"mime_type\":\"application/octet-stream\"}},\"a_jpg\":{\"id\":\"a4af292f-87f5-4c88-9b4f-0d884c76a69e/a_jpg/4f6eaf1ff77be2d3ba79212cc2c5e73d.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"9nwbo5zva_a_jpg.bin\",\"size\":14,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "a4af292f-87f5-4c88-9b4f-0d884c76a69e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (10.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (29.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (2.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-20 19:31:08.791047"], ["updated_at", "2020-05-20 19:31:08.791047"], ["file_data", "{\"id\":\"asset/caee6f26c51bf915f5592dc36b9fed13.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.9ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (3.2ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.801236"], ["file_data", "{\"id\":\"asset/1aaa6fe9-371e-49f2-af87-618c4fa2ba29/2ad2aa10c02cb8b8b85adc827d9e6012.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1aaa6fe9-371e-49f2-af87-618c4fa2ba29"]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.3ms)[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) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1aaa6fe9-371e-49f2-af87-618c4fa2ba29"], ["LIMIT", 1]]
+ [1m[35m (2.8ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (6.3ms)[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) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1aaa6fe9-371e-49f2-af87-618c4fa2ba29"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (1.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.824557"], ["file_data", "{\"id\":\"asset/1aaa6fe9-371e-49f2-af87-618c4fa2ba29/2ad2aa10c02cb8b8b85adc827d9e6012.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"1aaa6fe9-371e-49f2-af87-618c4fa2ba29/sample/abf76ee46d64c4a305b3ce2e04457aef.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"6fqigkvpk_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "1aaa6fe9-371e-49f2-af87-618c4fa2ba29"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "1aaa6fe9-371e-49f2-af87-618c4fa2ba29"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (1.0ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (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-20 19:31:08.834604"], ["updated_at", "2020-05-20 19:31:08.834604"], ["file_data", "{\"id\":\"asset/56411ead3bb0a6095fb1778458fbe491.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.838934"], ["file_data", "{\"id\":\"asset/b7d0364c-96dd-4392-ad72-c1e280052067/811a3f1fed64f7b2e13f0d7ffa3d1d76.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b7d0364c-96dd-4392-ad72-c1e280052067"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b7d0364c-96dd-4392-ad72-c1e280052067"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b7d0364c-96dd-4392-ad72-c1e280052067"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.845896"], ["file_data", "{\"id\":\"asset/b7d0364c-96dd-4392-ad72-c1e280052067/811a3f1fed64f7b2e13f0d7ffa3d1d76.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"b7d0364c-96dd-4392-ad72-c1e280052067/sample/2ab013a62a5660f7c755b2aa321876cd.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"25w1u25y6_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "b7d0364c-96dd-4392-ad72-c1e280052067"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.853912"], ["updated_at", "2020-05-20 19:31:08.853912"], ["file_data", "{\"id\":\"asset/46eada5234d32202acb9b8106316a62c.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.857412"], ["file_data", "{\"id\":\"asset/f5c49759-a8fa-4202-95ff-19d7b813052e/6fe08e658f0f4a9b555b36627217d390.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f5c49759-a8fa-4202-95ff-19d7b813052e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "f5c49759-a8fa-4202-95ff-19d7b813052e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "f5c49759-a8fa-4202-95ff-19d7b813052e"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.867081"], ["file_data", "{\"id\":\"asset/f5c49759-a8fa-4202-95ff-19d7b813052e/6fe08e658f0f4a9b555b36627217d390.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"f5c49759-a8fa-4202-95ff-19d7b813052e/sample/3309d88e793a41ac7618f1226932acb0.jpeg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"84h54l6w5_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "f5c49759-a8fa-4202-95ff-19d7b813052e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "f5c49759-a8fa-4202-95ff-19d7b813052e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:08.876880"], ["updated_at", "2020-05-20 19:31:08.876880"], ["file_data", "{\"id\":\"asset/e78e3b4a3ecdbec383886d6809e26385.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.880536"], ["file_data", "{\"id\":\"asset/e5b5479b-d307-4c45-b7cb-e5f33d379a45/95c4aa5ce5a454c5ff73396409e69a52.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e5b5479b-d307-4c45-b7cb-e5f33d379a45"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e5b5479b-d307-4c45-b7cb-e5f33d379a45"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e5b5479b-d307-4c45-b7cb-e5f33d379a45"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.892612"], ["file_data", "{\"id\":\"asset/e5b5479b-d307-4c45-b7cb-e5f33d379a45/95c4aa5ce5a454c5ff73396409e69a52.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"e5b5479b-d307-4c45-b7cb-e5f33d379a45/sample/e1a222badcb4639efcd1681d64f222ea.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"en3ig6n2y_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1,\"extra\":\"value\"}}}}"], ["id", "e5b5479b-d307-4c45-b7cb-e5f33d379a45"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "e5b5479b-d307-4c45-b7cb-e5f33d379a45"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.5ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.5ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:08.900024"], ["updated_at", "2020-05-20 19:31:08.900024"], ["file_data", "{\"id\":\"asset/53f984b7e5cfb9a293b703147c36f085.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.5ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.905230"], ["file_data", "{\"id\":\"asset/3cf7da63-7faf-4caf-b665-c92be717aad6/9adb58d1e481c404ba8fa2c1e73ee67a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "3cf7da63-7faf-4caf-b665-c92be717aad6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:08.916499"], ["updated_at", "2020-05-20 19:31:08.916499"], ["file_data", "{\"id\":\"asset/be3bed2c9a160957523e0b600583cf87.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.7ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.920447"], ["file_data", "{\"id\":\"asset/ec66f18a-1113-4734-bd7c-cf591f5fb5f5/31fc6bf34e2682598fd55d33ace8cc8c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ec66f18a-1113-4734-bd7c-cf591f5fb5f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ec66f18a-1113-4734-bd7c-cf591f5fb5f5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ec66f18a-1113-4734-bd7c-cf591f5fb5f5"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-20 19:31:08.931553"], ["file_data", "{\"id\":\"asset/ec66f18a-1113-4734-bd7c-cf591f5fb5f5/31fc6bf34e2682598fd55d33ace8cc8c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample\":{\"id\":\"ec66f18a-1113-4734-bd7c-cf591f5fb5f5/sample/230b5ac6d01fd4af019db0d1bde09a8f.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"fnb504pi2_sample.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}}}"], ["id", "ec66f18a-1113-4734-bd7c-cf591f5fb5f5"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ec66f18a-1113-4734-bd7c-cf591f5fb5f5"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:08.943821"], ["updated_at", "2020-05-20 19:31:08.943821"], ["file_data", "{\"id\":\"asset/f8cc1e24b5ae7ae6fbaef392297cb0c1.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.946972"], ["file_data", "{\"id\":\"asset/b3ec199f-b07e-415b-90c4-844b6686b6c0/cce93d52657208ae62b2631d8e7084d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "b3ec199f-b07e-415b-90c4-844b6686b6c0"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b3ec199f-b07e-415b-90c4-844b6686b6c0"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:08.987604"], ["file_data", "{\"id\":\"asset/b3ec199f-b07e-415b-90c4-844b6686b6c0/cce93d52657208ae62b2631d8e7084d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"b3ec199f-b07e-415b-90c4-844b6686b6c0/key/8a4104a7a59e2456959d04645c56b3cf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7yb2ouzux_key.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b3ec199f-b07e-415b-90c4-844b6686b6c0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "b3ec199f-b07e-415b-90c4-844b6686b6c0"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.024956"], ["file_data", "{\"id\":\"asset/b3ec199f-b07e-415b-90c4-844b6686b6c0/cce93d52657208ae62b2631d8e7084d9.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"key\":{\"id\":\"b3ec199f-b07e-415b-90c4-844b6686b6c0/key/fe62e28b89d13c350e5280c00bc8dfee.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"7yb2ouzux_key.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "b3ec199f-b07e-415b-90c4-844b6686b6c0"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:09.031462"], ["updated_at", "2020-05-20 19:31:09.031462"], ["file_data", "{\"id\":\"asset/2f0723c13162f068ca44bebf1e1a6504.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.037659"], ["file_data", "{\"id\":\"asset/ece7250c-e9a0-417a-9285-a8abd7713264/bf9028090fae568c2caffd8383cd1f57.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "ece7250c-e9a0-417a-9285-a8abd7713264"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Destroy (0.6ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "ece7250c-e9a0-417a-9285-a8abd7713264"]]
+ [1m[35m (0.4ms)[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) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ece7250c-e9a0-417a-9285-a8abd7713264"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "ece7250c-e9a0-417a-9285-a8abd7713264"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:09.050671"], ["updated_at", "2020-05-20 19:31:09.050671"], ["file_data", "{\"id\":\"asset/f45df95d5c0a32a213247c6121ec6f45.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.054671"], ["file_data", "{\"id\":\"asset/6d7a210b-8c6f-4898-a645-3d871d50295f/61479a6544d72f4a8c40f8136c2dc5ba.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/6d7a210b-8c6f-4898-a645-3d871d50295f/9fcea4691b67857058a3443d865f8e91.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"1x1_pixel.jpg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}}"], ["updated_at", "2020-05-20 19:31:09.059891"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 0a4be02c-9e8a-4b58-9dc1-f57e7fb243d6) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/6d7a210b-8c6f-4898-a645-3d871d50295f/61479a6544d72f4a8c40f8136c2dc5ba.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}}
+[ActiveJob] Enqueued Kithe::AssetPromoteJob (Job ID: 215d1e15-f3bc-4676-bd9d-ebd04163740c) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", "Kithe::Asset", "6d7a210b-8c6f-4898-a645-3d871d50295f", "file", {"id"=>"asset/6d7a210b-8c6f-4898-a645-3d871d50295f/9fcea4691b67857058a3443d865f8e91.jpg", "storage"=>"cache"}, {}
+ [1m[35m (2.4ms)[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) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"], ["LIMIT", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.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) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.9ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "6d7a210b-8c6f-4898-a645-3d871d50295f"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:09.086326"], ["updated_at", "2020-05-20 19:31:09.086326"], ["file_data", "{\"id\":\"asset/e8c0bf6b63ce4f85cdb3c6ac8bccdd5e.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.090921"], ["file_data", "{\"id\":\"asset/df5d587a-55f0-44bf-a96b-b836836117ec/62d7565a6b9f042bb0b8e775d310180a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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/df5d587a-55f0-44bf-a96b-b836836117ec/62d7565a6b9f042bb0b8e775d310180a.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"one\":{\"id\":\"df5d587a-55f0-44bf-a96b-b836836117ec/one/a3a08e0628574fe7710e60b737c0f87e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jryefrz8w_one.jpeg\",\"size\":309,\"mime_type\":\"image/jpeg\",\"width\":1,\"height\":1}},\"two\":{\"id\":\"df5d587a-55f0-44bf-a96b-b836836117ec/two/6af071597ce19bbe9466da1220014274.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jryefrz8w_two.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["updated_at", "2020-05-20 19:31:09.097263"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [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) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"], ["LIMIT", 1]]
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) AND "kithe_models"."id" = $11 LIMIT $12 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["type", "CustomAsset"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.110337"], ["file_data", "{\"id\":\"asset/df5d587a-55f0-44bf-a96b-b836836117ec/62d7565a6b9f042bb0b8e775d310180a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"df5d587a-55f0-44bf-a96b-b836836117ec/one/a3a08e0628574fe7710e60b737c0f87e.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":309,\"width\":1,\"height\":1,\"filename\":\"jryefrz8w_one.jpeg\",\"mime_type\":\"image/jpeg\"}},\"two\":{\"id\":\"df5d587a-55f0-44bf-a96b-b836836117ec/two/13fc5e26643e78a4c3231efb424327ac.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jryefrz8w_two.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}},\"three\":{\"id\":\"df5d587a-55f0-44bf-a96b-b836836117ec/three/190c538000388dbc80724da0a90aecc0.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"jryefrz8w_three.jpeg\",\"size\":160,\"mime_type\":\"image/jpeg\",\"width\":3,\"height\":3}}}}"], ["id", "df5d587a-55f0-44bf-a96b-b836836117ec"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-20 19:31:09.128678"], ["updated_at", "2020-05-20 19:31:09.128678"], ["file_data", "{\"id\":\"asset/192bfcf45329446b3d81b52be9afabd4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.132831"], ["file_data", "{\"id\":\"asset/c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b/76fe66060a613664adcd2ed6e18396d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.175239"], ["file_data", "{\"id\":\"asset/c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b/76fe66060a613664adcd2ed6e18396d4.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b/one/fd34eaf54d60bdbd699902fc83929c0e.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xuwj3jr3w_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b/original_reflected/1659e221638d6c021dceba8a3de10db3.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"xuwj3jr3w_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "c62a9bb1-5ee5-4781-9c7a-8ebd59728c5b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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", "test"], ["type", "AssetSubclass"], ["created_at", "2020-05-20 19:31:09.196823"], ["updated_at", "2020-05-20 19:31:09.196823"], ["file_data", "{\"id\":\"asset/7de9adf472eb79d7ee3065ef8de06f41.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.200755"], ["file_data", "{\"id\":\"asset/1d65eab4-159f-455a-9ec8-6d20f902808a/56ef1e1095d5d35ec69743b8899d45c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "1d65eab4-159f-455a-9ec8-6d20f902808a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "1d65eab4-159f-455a-9ec8-6d20f902808a"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "1d65eab4-159f-455a-9ec8-6d20f902808a"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.277533"], ["file_data", "{\"id\":\"asset/1d65eab4-159f-455a-9ec8-6d20f902808a/56ef1e1095d5d35ec69743b8899d45c0.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"1d65eab4-159f-455a-9ec8-6d20f902808a/options_one/df51ff9a6e5179100f3ef8a469754b68.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pd2j07x49_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"1d65eab4-159f-455a-9ec8-6d20f902808a/options_reflected/0c9b3a9ae460e65e69376a377da2a2bc.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pd2j07x49_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "1d65eab4-159f-455a-9ec8-6d20f902808a"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-20 19:31:09.294433"], ["updated_at", "2020-05-20 19:31:09.294433"], ["file_data", "{\"id\":\"asset/f1fb3917dca6324309eb47ceea3db108.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.298091"], ["file_data", "{\"id\":\"asset/f5521f3d-4f6f-4a92-b356-13481a14df90/4fd564f628a791e73503b7d19df21f3f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "f5521f3d-4f6f-4a92-b356-13481a14df90"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "f5521f3d-4f6f-4a92-b356-13481a14df90"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "f5521f3d-4f6f-4a92-b356-13481a14df90"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.375817"], ["file_data", "{\"id\":\"asset/f5521f3d-4f6f-4a92-b356-13481a14df90/4fd564f628a791e73503b7d19df21f3f.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"f5521f3d-4f6f-4a92-b356-13481a14df90/options_one/61ba203ae04560126601d5bf17ce4161.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1c2fyd1ck_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"f5521f3d-4f6f-4a92-b356-13481a14df90/options_reflected/d1ef525893db0e4a564adb8c65db7453.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"1c2fyd1ck_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "f5521f3d-4f6f-4a92-b356-13481a14df90"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-20 19:31:09.394990"], ["updated_at", "2020-05-20 19:31:09.394990"], ["file_data", "{\"id\":\"asset/6412da6ce4843c3ee83b085d0b37af8f.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.398678"], ["file_data", "{\"id\":\"asset/7212677c-121a-4f41-b87a-c0f22c86574b/b677a7d334bbc5caac8fb2d02994d76b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "7212677c-121a-4f41-b87a-c0f22c86574b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "7212677c-121a-4f41-b87a-c0f22c86574b"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "7212677c-121a-4f41-b87a-c0f22c86574b"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.474239"], ["file_data", "{\"id\":\"asset/7212677c-121a-4f41-b87a-c0f22c86574b/b677a7d334bbc5caac8fb2d02994d76b.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"7212677c-121a-4f41-b87a-c0f22c86574b/options_one/0f687c94d02bedbcf26043197117bf05.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"5dfezt589_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"7212677c-121a-4f41-b87a-c0f22c86574b/options_reflected/36ab051ceb4343ac9c60c43010b5a690.bin\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"5dfezt589_options_reflected.bin\",\"size\":34,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "7212677c-121a-4f41-b87a-c0f22c86574b"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (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-20 19:31:09.493718"], ["updated_at", "2020-05-20 19:31:09.493718"], ["file_data", "{\"id\":\"asset/f2ea8ba7e6c8017bcf8e924d5308965a.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.497558"], ["file_data", "{\"id\":\"asset/bc1de899-92c2-4830-bf74-89715cf232e6/371e30287e51276c3d02fb39a8f49a43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "bc1de899-92c2-4830-bf74-89715cf232e6"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "bc1de899-92c2-4830-bf74-89715cf232e6"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["id", "bc1de899-92c2-4830-bf74-89715cf232e6"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.584087"], ["file_data", "{\"id\":\"asset/bc1de899-92c2-4830-bf74-89715cf232e6/371e30287e51276c3d02fb39a8f49a43.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"options_one\":{\"id\":\"bc1de899-92c2-4830-bf74-89715cf232e6/options_one/40cdcc527220b9b3ed9ac3205332ea60.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"q7uxh7gqg_options_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"options_reflected\":{\"id\":\"bc1de899-92c2-4830-bf74-89715cf232e6/options_reflected/0fc2cf7d91686b3f24d856d4c5feaa84.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"q7uxh7gqg_options_reflected.bin\",\"size\":2,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "bc1de899-92c2-4830-bf74-89715cf232e6"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (2.7ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-20 19:31:09.611739"], ["updated_at", "2020-05-20 19:31:09.611739"], ["file_data", "{\"id\":\"asset/296109b13d6ab1d20e79a74c01d3b568.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (4.3ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.615634"], ["file_data", "{\"id\":\"asset/0f2bd391-f2a3-48cb-96ef-0972b1e52ad6/6ef274ea09c0a647a71e3f8861cb85ca.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0f2bd391-f2a3-48cb-96ef-0972b1e52ad6"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.4ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "0f2bd391-f2a3-48cb-96ef-0972b1e52ad6"], ["LIMIT", 1]]
+ [1m[35m (38.5ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (5.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", "AssetSubclass"], ["id", "0f2bd391-f2a3-48cb-96ef-0972b1e52ad6"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (4.8ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.837135"], ["file_data", "{\"id\":\"asset/0f2bd391-f2a3-48cb-96ef-0972b1e52ad6/6ef274ea09c0a647a71e3f8861cb85ca.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"0f2bd391-f2a3-48cb-96ef-0972b1e52ad6/one/4e1661e7cba64d5f7776c2389da66ce6.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wkzoyw19p_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"0f2bd391-f2a3-48cb-96ef-0972b1e52ad6/original_reflected/bdc022f95ff5a482e3a999b24ffe9604.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wkzoyw19p_original_reflected.bin\",\"size\":12,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "0f2bd391-f2a3-48cb-96ef-0972b1e52ad6"]]
+ [1m[35m (1.7ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (1.2ms)[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-20 19:31:09.875897"], ["updated_at", "2020-05-20 19:31:09.875897"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.4ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "blank"], ["type", "AssetSubclass"], ["created_at", "2020-05-20 19:31:09.896443"], ["updated_at", "2020-05-20 19:31:09.896443"], ["file_data", "{\"storage\":\"cache\",\"id\":\"not_found\"}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass 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", "AssetSubclass"], ["created_at", "2020-05-20 19:31:09.916948"], ["updated_at", "2020-05-20 19:31:09.916948"], ["file_data", "{\"id\":\"asset/b8096f6b2a0f22049c036cbffc44cbcb.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.920816"], ["file_data", "{\"id\":\"asset/0c687252-851e-432a-a941-93cdf2cd560e/2273a173c8a79580c1f368da43067ca6.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "0c687252-851e-432a-a941-93cdf2cd560e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Create (0.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-20 19:31:09.937659"], ["updated_at", "2020-05-20 19:31:09.937659"], ["file_data", "{\"id\":\"asset/876e2fddea379bf358f0d537885f7b06.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:09.941690"], ["file_data", "{\"id\":\"asset/15c67598-1c9e-455a-9d44-88fb9b0e1de9/d884782a7ffefc5f7dde8e287c9c1ebc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "15c67598-1c9e-455a-9d44-88fb9b0e1de9"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.3ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "15c67598-1c9e-455a-9d44-88fb9b0e1de9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3 FOR UPDATE[0m [["type", "AssetSubclass"], ["id", "15c67598-1c9e-455a-9d44-88fb9b0e1de9"], ["LIMIT", 1]]
+ [1m[36mAssetSubclass Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "title" = $1, "updated_at" = $2, "file_data" = $3 WHERE "kithe_models"."id" = $4[0m [["title", "changed title"], ["updated_at", "2020-05-20 19:31:09.985913"], ["file_data", "{\"id\":\"asset/15c67598-1c9e-455a-9d44-88fb9b0e1de9/d884782a7ffefc5f7dde8e287c9c1ebc.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"one\":{\"id\":\"15c67598-1c9e-455a-9d44-88fb9b0e1de9/one/55e2126671993b7e27f3ba16570215ed.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pcwc454np_one.bin\",\"size\":3,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"original_reflected\":{\"id\":\"15c67598-1c9e-455a-9d44-88fb9b0e1de9/original_reflected/ffe56a48b33860aa71e1fdf110af638a.jpeg\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"pcwc454np_original_reflected.jpeg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}}}"], ["id", "15c67598-1c9e-455a-9d44-88fb9b0e1de9"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mAssetSubclass Load (0.2ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" = $1 AND "kithe_models"."id" = $2 LIMIT $3[0m [["type", "AssetSubclass"], ["id", "15c67598-1c9e-455a-9d44-88fb9b0e1de9"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.8ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:09.994906"], ["updated_at", "2020-05-20 19:31:09.994906"], ["file_data", "{\"id\":\"asset/f4d564bb2765093c40441820464aab24.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:09.998832"], ["file_data", "{\"id\":\"asset/63dd671d-db8e-48c6-b773-930d908c4c51/b2cd68740e01e50db43d98a725a67b2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.6ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.6ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.087114"], ["file_data", "{\"id\":\"asset/63dd671d-db8e-48c6-b773-930d908c4c51/b2cd68740e01e50db43d98a725a67b2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"63dd671d-db8e-48c6-b773-930d908c4c51/sample1/77327a285d252bd284e9bd94191b06f2.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3e98pc42p_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"63dd671d-db8e-48c6-b773-930d908c4c51/sample2/69212894519f8e78cdd8f7fd233b42bf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"3e98pc42p_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.093386"], ["file_data", "{\"id\":\"asset/63dd671d-db8e-48c6-b773-930d908c4c51/b2cd68740e01e50db43d98a725a67b2a.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"63dd671d-db8e-48c6-b773-930d908c4c51/sample2/69212894519f8e78cdd8f7fd233b42bf.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"3e98pc42p_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "63dd671d-db8e-48c6-b773-930d908c4c51"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.6ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "created_at", "updated_at", "file_data", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "Kithe::Asset"], ["created_at", "2020-05-20 19:31:10.101618"], ["updated_at", "2020-05-20 19:31:10.101618"], ["file_data", "{\"id\":\"asset/a8c412d35db09370f549f5fdc751d588.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[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-20 19:31:10.105433"], ["file_data", "{\"id\":\"asset/e644a39e-2d76-4933-bcba-6b2fa3bec5de/620a5d22cdb74c57e64a62f3277e21c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.180046"], ["file_data", "{\"id\":\"asset/e644a39e-2d76-4933-bcba-6b2fa3bec5de/620a5d22cdb74c57e64a62f3277e21c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"e644a39e-2d76-4933-bcba-6b2fa3bec5de/sample1/020795cbf71878e92ee50891e62cec50.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ii8td1nvk_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"e644a39e-2d76-4933-bcba-6b2fa3bec5de/sample2/50b5a051d774ee17940518cffe5a9428.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"ii8td1nvk_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e644a39e-2d76-4933-bcba-6b2fa3bec5de/620a5d22cdb74c57e64a62f3277e21c3.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample2\":{\"id\":\"e644a39e-2d76-4933-bcba-6b2fa3bec5de/sample2/50b5a051d774ee17940518cffe5a9428.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ii8td1nvk_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["updated_at", "2020-05-20 19:31:10.185429"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"], ["LIMIT", 1]]
+ [1m[35m (0.3ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.193511"], ["file_data", "{\"id\":\"asset/e644a39e-2d76-4933-bcba-6b2fa3bec5de/620a5d22cdb74c57e64a62f3277e21c3.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"e644a39e-2d76-4933-bcba-6b2fa3bec5de/sample2/50b5a051d774ee17940518cffe5a9428.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"ii8td1nvk_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "e644a39e-2d76-4933-bcba-6b2fa3bec5de"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:10.199358"], ["updated_at", "2020-05-20 19:31:10.199358"], ["file_data", "{\"id\":\"asset/86f520a60c68b4da5b96c712f84f0cb9.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.203138"], ["file_data", "{\"id\":\"asset/e129594f-7834-4392-b8cd-4c14fb4d8239/063c1f5f2f0d4ca646429331417a2fd5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.6ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (1.1ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.279810"], ["file_data", "{\"id\":\"asset/e129594f-7834-4392-b8cd-4c14fb4d8239/063c1f5f2f0d4ca646429331417a2fd5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample1/d337649bf9927619ea1a1e15e5aa4d57.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"e3r62h8qs_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample2/bfa3337094a67d1a494c9065207335cb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"e3r62h8qs_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "file_data" = $1, "updated_at" = $2 WHERE "kithe_models"."id" = $3[0m [["file_data", "{\"id\":\"asset/e129594f-7834-4392-b8cd-4c14fb4d8239/063c1f5f2f0d4ca646429331417a2fd5.jpg\",\"storage\":\"store\",\"metadata\":{\"size\":837,\"width\":2,\"height\":2,\"filename\":\"2x2_pixel.jpg\",\"mime_type\":\"image/jpeg\"},\"derivatives\":{\"sample1\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample1/d337649bf9927619ea1a1e15e5aa4d57.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"e3r62h8qs_sample1.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample2\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample2/bfa3337094a67d1a494c9065207335cb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"e3r62h8qs_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample3/9cea9fba9cad9af7e5987a64cdfc2601.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"e3r62h8qs_sample3.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["updated_at", "2020-05-20 19:31:10.322661"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.7ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.330226"], ["file_data", "{\"id\":\"asset/e129594f-7834-4392-b8cd-4c14fb4d8239/063c1f5f2f0d4ca646429331417a2fd5.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample2/bfa3337094a67d1a494c9065207335cb.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"e3r62h8qs_sample2.bin\",\"mime_type\":\"application/octet-stream\"}},\"sample3\":{\"id\":\"e129594f-7834-4392-b8cd-4c14fb4d8239/sample3/9cea9fba9cad9af7e5987a64cdfc2601.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"e3r62h8qs_sample3.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "e129594f-7834-4392-b8cd-4c14fb4d8239"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:10.336159"], ["updated_at", "2020-05-20 19:31:10.336159"], ["file_data", "{\"id\":\"asset/d2df34cd7d160600d0a5cb1308faebe4.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.339329"], ["file_data", "{\"id\":\"asset/9ae534ba-d992-4120-8144-94de30d09ce1/a94da08e1671391c24b1b90464e78739.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [1m[35m (1.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (1.1ms)[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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.415584"], ["file_data", "{\"id\":\"asset/9ae534ba-d992-4120-8144-94de30d09ce1/a94da08e1671391c24b1b90464e78739.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"9ae534ba-d992-4120-8144-94de30d09ce1/sample1/3de2ace4c7d77e08765b47af341911b5.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sl7d83wi3_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"9ae534ba-d992-4120-8144-94de30d09ce1/sample2/be673f7cc2c3f39f6d9c1aef212e88a7.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"sl7d83wi3_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[34mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Model Load (0.2ms)[0m [1m[34mSELECT "kithe_models".* FROM "kithe_models" WHERE "kithe_models"."parent_id" = $1[0m [["parent_id", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [1m[36mKithe::Model Load (0.4ms)[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", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [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"."containee_id" WHERE "kithe_model_contains"."container_id" = $1[0m [["container_id", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [1m[35m (0.8ms)[0m [1m[33mUPDATE kithe_models
+SET leaf_representative_id = NULL, representative_id = NULL
+WHERE id IN (
+ WITH RECURSIVE search_graph(id, link) AS (
+ SELECT m.id, m.representative_id
+ FROM kithe_models m
+ WHERE m.id = '9ae534ba-d992-4120-8144-94de30d09ce1'
+ UNION
+ SELECT m.id, m.representative_id
+ FROM kithe_models m, search_graph sg
+ WHERE m.representative_id = sg.id
+ )
+ SELECT id
+ FROM search_graph
+ WHERE id != '9ae534ba-d992-4120-8144-94de30d09ce1'
+);
+[0m
+ [1m[36mKithe::Asset Destroy (0.5ms)[0m [1m[31mDELETE FROM "kithe_models" WHERE "kithe_models"."id" = $1[0m [["id", "9ae534ba-d992-4120-8144-94de30d09ce1"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+[ActiveJob] Enqueued Kithe::AssetDeleteJob (Job ID: 49d1e36c-728a-43b6-8844-1ba3264a1446) to Test(default) with arguments: "Kithe::AssetUploader::Attacher", {"id"=>"asset/9ae534ba-d992-4120-8144-94de30d09ce1/a94da08e1671391c24b1b90464e78739.jpg", "storage"=>"store", "metadata"=>{"size"=>837, "width"=>2, "height"=>2, "filename"=>"2x2_pixel.jpg", "mime_type"=>"image/jpeg"}, "derivatives"=>{"sample1"=>{"id"=>"9ae534ba-d992-4120-8144-94de30d09ce1/sample1/3de2ace4c7d77e08765b47af341911b5.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"sl7d83wi3_sample1.bin", "mime_type"=>"application/octet-stream"}}, "sample2"=>{"id"=>"9ae534ba-d992-4120-8144-94de30d09ce1/sample2/be673f7cc2c3f39f6d9c1aef212e88a7.bin", "storage"=>"kithe_derivatives", "metadata"=>{"size"=>8, "width"=>nil, "height"=>nil, "filename"=>"sl7d83wi3_sample2.bin", "mime_type"=>"application/octet-stream"}}}}
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "9ae534ba-d992-4120-8144-94de30d09ce1"], ["LIMIT", 1]]
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK TO SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (0.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-20 19:31:10.434291"], ["updated_at", "2020-05-20 19:31:10.434291"], ["file_data", "{\"id\":\"asset/153b21fe98d91a837d62858822c7a6ce.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (0.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.437762"], ["file_data", "{\"id\":\"asset/87332cc4-3892-4c9f-9971-40a3f09dd6ad/c3d3bf5f95c6b76bb3137d4548ddfc5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "87332cc4-3892-4c9f-9971-40a3f09dd6ad"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.5ms)[0m [1m[34mSELECT "kithe_models"."friendlier_id" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "87332cc4-3892-4c9f-9971-40a3f09dd6ad"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "87332cc4-3892-4c9f-9971-40a3f09dd6ad"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (4.9ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.511800"], ["file_data", "{\"id\":\"asset/87332cc4-3892-4c9f-9971-40a3f09dd6ad/c3d3bf5f95c6b76bb3137d4548ddfc5c.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"87332cc4-3892-4c9f-9971-40a3f09dd6ad/sample1/7511a6faa02a9ed5bcfbb473f6b92465.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wzfyn93f2_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"87332cc4-3892-4c9f-9971-40a3f09dd6ad/sample2/f5bf50556c2d45750974180c9bf628ed.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wzfyn93f2_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "87332cc4-3892-4c9f-9971-40a3f09dd6ad"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Create (4.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-20 19:31:10.531060"], ["updated_at", "2020-05-20 19:31:10.531060"], ["file_data", "{\"id\":\"asset/f68f5c09656cde54d6019ee8e9f4a795.jpg\",\"storage\":\"cache\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["kithe_model_type", 2]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Update (2.4ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.539500"], ["file_data", "{\"id\":\"asset/54654063-1232-49ab-9128-c8c03e16584e/b7d730bbe60d16fb2ba9c0865f7bb6e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2}}"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"]]
+ [1m[35m (0.3ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (33.2ms)[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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.5ms)[0m [1m[37mSELECT "kithe_models"."id", "kithe_models"."title", "kithe_models"."type", "kithe_models"."position", "kithe_models"."json_attributes", "kithe_models"."created_at", "kithe_models"."updated_at", "kithe_models"."parent_id", "kithe_models"."friendlier_id", "kithe_models"."file_data", "kithe_models"."kithe_model_type" FROM "kithe_models" WHERE "kithe_models"."type" IN ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10, $11, $12) AND "kithe_models"."id" = $13 LIMIT $14 FOR UPDATE[0m [["type", "Kithe::Asset"], ["type", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset Update (0.5ms)[0m [1m[33mUPDATE "kithe_models" SET "updated_at" = $1, "file_data" = $2 WHERE "kithe_models"."id" = $3[0m [["updated_at", "2020-05-20 19:31:10.674652"], ["file_data", "{\"id\":\"asset/54654063-1232-49ab-9128-c8c03e16584e/b7d730bbe60d16fb2ba9c0865f7bb6e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample1\":{\"id\":\"54654063-1232-49ab-9128-c8c03e16584e/sample1/75f51c690f4a5067007d8820c06c2d2a.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wp4iqc42k_sample1.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}},\"sample2\":{\"id\":\"54654063-1232-49ab-9128-c8c03e16584e/sample2/c428ec32ef0a269ab94524ed4465729f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"filename\":\"wp4iqc42k_sample2.bin\",\"size\":8,\"mime_type\":\"application/octet-stream\",\"width\":null,\"height\":null}}}}"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.1ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset 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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"], ["LIMIT", 1]]
+ [1m[36mKithe::Asset 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-20 19:31:10.679191"], ["file_data", "{\"id\":\"asset/54654063-1232-49ab-9128-c8c03e16584e/b7d730bbe60d16fb2ba9c0865f7bb6e2.jpg\",\"storage\":\"store\",\"metadata\":{\"filename\":\"2x2_pixel.jpg\",\"size\":837,\"mime_type\":\"image/jpeg\",\"width\":2,\"height\":2},\"derivatives\":{\"sample2\":{\"id\":\"54654063-1232-49ab-9128-c8c03e16584e/sample2/c428ec32ef0a269ab94524ed4465729f.bin\",\"storage\":\"kithe_derivatives\",\"metadata\":{\"size\":8,\"width\":null,\"height\":null,\"filename\":\"wp4iqc42k_sample2.bin\",\"mime_type\":\"application/octet-stream\"}}}}"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"]]
+ [1m[35m (0.2ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[36mKithe::Asset Load (0.8ms)[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", "CustomAsset"], ["type", "TestAsset"], ["type", "TestAsset"], ["type", "MyAsset"], ["type", "ChecksumAsset"], ["type", "CustomAsset"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["type", "AssetSubclass"], ["id", "54654063-1232-49ab-9128-c8c03e16584e"], ["LIMIT", 1]]
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.1ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.7ms)[0m [1m[32mINSERT INTO "kithe_models" ("title", "type", "json_attributes", "created_at", "updated_at", "kithe_model_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id"[0m [["title", "test"], ["type", "TestWork"], ["json_attributes", "{\"multi_model\":[{\"value\":\"one\"},{\"value\":\"two\"}]}"], ["created_at", "2020-05-20 19:31:10.735384"], ["updated_at", "2020-05-20 19:31:10.735384"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-20 19:31:10.950516"], ["updated_at", "2020-05-20 19:31:10.950516"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-20 19:31:10.970265"], ["updated_at", "2020-05-20 19:31:10.970265"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.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", "foo"], ["type", "TestWork"], ["json_attributes", "{\"string_array\":[\"one\",\"two\"]}"], ["created_at", "2020-05-20 19:31:10.991631"], ["updated_at", "2020-05-20 19:31:10.991631"], ["kithe_model_type", 1]]
+ [1m[35m (0.4ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[35mSAVEPOINT active_record_1[0m
+ [1m[36mTestWork Create (0.5ms)[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-20 19:31:11.063379"], ["updated_at", "2020-05-20 19:31:11.063379"], ["kithe_model_type", 1]]
+ [1m[35m (0.1ms)[0m [1m[35mRELEASE SAVEPOINT active_record_1[0m
+ [1m[35m (0.4ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.3ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.2ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.7ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.4ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.8ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m
+ [1m[35m (0.1ms)[0m [1m[35mBEGIN[0m
+ [1m[35m (0.2ms)[0m [1m[31mROLLBACK[0m