(1.1ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.4ms) select sqlite_version(*)  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePurchases (20161113032308)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "purchases" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "paid" boolean, "commission" decimal, "quantity" integer, "state" varchar, "expired_at" datetime, "amount" decimal, "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20161113032308"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Purchase Load (0.4ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1 Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1 Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1 Purchase Load (0.2ms) SELECT "purchases".* FROM "purchases" ORDER BY "purchases"."id" DESC LIMIT 1