ActiveRecord::SchemaMigration Load (19.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBananas (20151112204745)  (6.4ms) BEGIN  (52.6ms) CREATE TABLE "bananas" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (2.0ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20151112204745"]]  (13.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (10.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'apples' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.5ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'bananas' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete FROM pg_constraint c JOIN pg_class t1 ON c.conrelid = t1.oid JOIN pg_class t2 ON c.confrelid = t2.oid JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid JOIN pg_namespace t3 ON c.connamespace = t3.oid WHERE c.contype = 'f' AND t1.relname = 'fruits' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  Apple Load (1.4ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "apples" DEFAULT VALUES RETURNING "id"  (6.6ms) COMMIT Apple Load (0.5ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1 Apple Load (0.5ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1 Apple Load (0.5ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1 Apple Load (0.4ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1 Apple Load (0.9ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1 Apple Load (0.7ms) SELECT "apples".* FROM "apples" ORDER BY "apples"."id" ASC LIMIT 1  (1.0ms) DROP DATABASE IF EXISTS "dummy_development"  (0.1ms) DROP DATABASE IF EXISTS "dummy_test"  (635.1ms) CREATE DATABASE "dummy_development" ENCODING = 'unicode'  (246.8ms) CREATE DATABASE "dummy_test" ENCODING = 'unicode' SQL (2.0ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (10.9ms) CREATE TABLE "apples" ("id" serial primary key, "name" character varying, "fruit_id" integer)  (2.8ms) CREATE TABLE "bananas" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (2.8ms) CREATE TABLE "fruits" ("id" serial primary key, "edible" boolean)  (20.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20151112204745')  (0.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20151102015027')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151102015821') SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (7.7ms) CREATE TABLE "apples" ("id" serial primary key, "name" character varying, "fruit_id" integer)  (5.6ms) CREATE TABLE "bananas" ("id" serial primary key, "name" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (3.5ms) CREATE TABLE "fruits" ("id" serial primary key, "edible" boolean)  (2.3ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.3ms) SELECT version FROM "schema_migrations"  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20151112204745')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151102015027')  (0.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20151102015821') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"