Created
September 15, 2016 06:27
-
-
Save lmansur/5d92de0a791690220ae7271fdf102367 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(2.1ms) COMMIT | |
ItemCategory Load (0.2ms) SELECT "item_categories".* FROM "item_categories" WHERE "item_categories"."name" = $1 LIMIT $2 [["name", "Antennas"], ["LIMIT", 1]] | |
Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."name" = $1 AND "items"."item_category_id" = $2 LIMIT $3 [["name", "Wakeup Ship"], ["item_category_id", 4], ["LIMIT", 1]] | |
(0.2ms) BEGIN | |
SQL (0.7ms) INSERT INTO "items" ("item_category_id", "name", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["item_category_id", 4], ["name", "Wakeup Ship"], ["created_at", 2016-09-15 06:26:18 UTC], ["updated_at", 2016-09-15 06:26:18 UTC]] | |
(3.3ms) COMMIT | |
(1.9ms) BEGIN | |
Item Load (0.3ms) SELECT "items".* FROM "items" WHERE "items"."id" = $1 LIMIT $2 [["id", 256], ["LIMIT", 1]] | |
SQL (0.5ms) UPDATE "items" SET "rarity" = $1, "picture" = $2, "updated_at" = $3 WHERE "items"."id" = $4 [["rarity", "Common"], ["picture", "0e83dbdac91473422296.png"], ["updated_at", 2016-09-15 06:26:18 UTC], ["id", 256]] | |
(0.2ms) ROLLBACK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment