(27.9ms) CREATE TABLE "schema_migrations" ("version" varchar NOT NULL)   (0.1ms) select sqlite_version(*)  (27.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "test_models" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20150317124232"]]  (33.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (18.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (12.6ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (4.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (16.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (12.3ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (5.4ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.2ms) BEGIN SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (4.6ms) COMMIT Migrating to AddJsonbColumnTest (20150317191251)  (0.1ms) BEGIN  (10.5ms) ALTER TABLE "test_models" ADD "json" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317191251"]]  (4.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "test_models" ("json", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["json", "{\"name\":\"yeee\",\"cv\":{\"location\":\"north\",\"age\":23}}"], ["created_at", "2015-03-17 19:26:48.683616"], ["updated_at", "2015-03-17 19:26:48.683616"]]  (3.6ms) COMMIT TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.7ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (1.1ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.7ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.7ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (1.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCustomers (20150318112546)  (0.2ms) BEGIN  (35.4ms) CREATE TABLE "customers" ("id" serial primary key, "address_street" character varying, "address_city" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318112546"]]  (5.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 = 'customers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "customers" ("address_street", "address_city", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["address_street", "quebec"], ["address_city", "evergreen"], ["created_at", "2015-03-18 11:29:55.268048"], ["updated_at", "2015-03-18 11:29:55.268048"]]  (4.5ms) COMMIT Customer Load (0.8ms) SELECT "customers".* FROM "customers" ORDER BY "customers"."id" ASC LIMIT 1 Customer Load (0.5ms) SELECT "customers".* FROM "customers" ORDER BY "customers"."id" ASC LIMIT 1 Customer Load (0.5ms) SELECT "customers".* FROM "customers" ORDER BY "customers"."id" ASC LIMIT 1 Customer Load (0.5ms) SELECT "customers".* FROM "customers" ORDER BY "customers"."id" ASC LIMIT 1 TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.8ms) 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 = 'customers' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.4ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (16.2ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.4ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (12.4ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (5.0ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (4.4ms) COMMIT Migrating to AddJsonbColumnTest (20150317191251)  (0.1ms) BEGIN  (10.4ms) ALTER TABLE "test_models" ADD "json" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317191251"]]  (5.0ms) COMMIT Migrating to CreateCustomers (20150318112546)  (0.1ms) BEGIN  (22.5ms) CREATE TABLE "customers" ("id" serial primary key, "address_street" character varying, "address_city" character varying, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150318112546"]]  (4.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.4ms) 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 = 'customers' 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (16.1ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (13.5ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (4.9ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.1ms) BEGIN SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (4.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.0ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (15.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (13.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.2ms) BEGIN  (12.3ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (6.1ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.1ms) BEGIN  (10.5ms) ALTER TABLE "test_models" ADD "json" jsonb SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (3.6ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.5ms) INSERT INTO "test_models" ("json", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["json", "{\"a\":23}"], ["created_at", "2015-03-18 16:12:49.879871"], ["updated_at", "2015-03-18 16:12:49.879871"]]  (9.7ms) COMMIT TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.2ms) BEGIN SQL (0.3ms) UPDATE "test_models" SET "json" = $1, "updated_at" = $2 WHERE "test_models"."id" = $3 [["json", "{\"b\":\"lkjklj\"}"], ["updated_at", "2015-03-18 16:20:09.840574"], ["id", 1]]  (5.0ms) COMMIT TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]]  (0.3ms) BEGIN SQL (0.3ms) UPDATE "test_models" SET "json" = $1, "updated_at" = $2 WHERE "test_models"."id" = $3 [["json", "{\"b\":\"lkjklj\"}"], ["updated_at", "2015-03-18 16:21:48.634721"], ["id", 1]]  (5.9ms) COMMIT TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 invalid json schema for Hash  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "test_models" ("json", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["json", "{\"s\":34}"], ["created_at", "2015-03-18 16:28:08.880635"], ["updated_at", "2015-03-18 16:28:08.880635"]]  (6.1ms) COMMIT TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 2]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 2]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 2]] TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 creating a JsonColumn invalid json schema for Hash TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.9ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 creating a JsonColumn invalid json schema for Hash  (0.3ms) BEGIN SQL (0.3ms) UPDATE "test_models" SET "json" = $1, "updated_at" = $2 WHERE "test_models"."id" = $3 [["json", "{\"c\":\"lk\"}"], ["updated_at", "2015-03-18 16:36:04.628669"], ["id", 1]]  (6.0ms) COMMIT TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] creating a JsonColumn  (0.2ms) BEGIN SQL (0.3ms) INSERT INTO "test_models" ("json", "created_at", "updated_at") VALUES ($1, $2, $3) RETURNING "id" [["json", "{\"a\":42}"], ["created_at", "2015-03-18 16:38:08.665168"], ["updated_at", "2015-03-18 16:38:08.665168"]]  (4.8ms) COMMIT TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (1.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.3ms) BEGIN SQL (0.7ms) INSERT INTO "test_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-03-27 14:10:58.001924"], ["updated_at", "2015-03-27 14:10:58.001924"]]  (7.2ms) COMMIT  (2.1ms) SELECT COUNT(*) FROM "test_models" TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 1 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.7ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 TestModel Load (0.6ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2 ActiveRecord::SchemaMigration Load (0.7ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateBModels (20150327143322)  (0.1ms) BEGIN  (32.6ms) CREATE TABLE "b_models" ("id" serial primary key, "json" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143322"]]  (5.0ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (4.2ms) 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 = 'b_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (3.6ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname TestModel Load (0.7ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2  (0.2ms) BEGIN  (0.2ms) COMMIT TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.5ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]] TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 OFFSET 2  (0.2ms) BEGIN  (0.3ms) COMMIT TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 3]]  (17.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (15.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (13.3ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (3.6ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.1ms) BEGIN  (11.0ms) ALTER TABLE "test_models" ADD "json" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (6.1ms) COMMIT Migrating to CreateBModels (20150327143322)  (0.1ms) BEGIN  (20.6ms) CREATE TABLE "b_models" ("id" serial primary key, "json" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143322"]]  (3.7ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.7ms) 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 = 'b_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.8ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname TestModel Load (1.1ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.2ms) BEGIN SQL (1.5ms) INSERT INTO "test_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-03-30 19:41:20.226870"], ["updated_at", "2015-03-30 19:41:20.226870"]]  (3.6ms) COMMIT TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.8ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1  (0.2ms) BEGIN  (0.2ms) COMMIT TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" ORDER BY "test_models"."id" ASC LIMIT 1 TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] TestModel Load (0.4ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCModels (20150330203604)  (0.2ms) BEGIN  (22.3ms) CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150330203604"]]  (7.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.2ms) 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 = 'b_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) 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 = 'c_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  ActiveRecord::SchemaMigration Load (0.8ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCModels (20150402125831)  (0.1ms) BEGIN  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCModels (20150402125831)  (0.1ms) BEGIN  (11.1ms) CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  PG::DuplicateTable: ERROR: relation "c_models" already exists : CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.1ms) ROLLBACK ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateCModels (20150402125831)  (0.1ms) BEGIN  (2.0ms) CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  PG::DuplicateTable: ERROR: relation "c_models" already exists : CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (0.1ms) ROLLBACK  (0.1ms) DROP DATABASE IF EXISTS "json_column_app_development"  (0.1ms) DROP DATABASE IF EXISTS "app_test"  (855.0ms) CREATE DATABASE "json_column_app_development" ENCODING = 'unicode'  (851.6ms) CREATE DATABASE "app_test" ENCODING = 'unicode' SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (27.2ms) CREATE TABLE "b_models" ("id" serial primary key, "json" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  (25.6ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "json" jsonb)   (14.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)  (14.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.2ms) SELECT version FROM "schema_migrations"  (4.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20150327143322')  (5.4ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317190350')  (5.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317124232') SQL (0.3ms) CREATE EXTENSION IF NOT EXISTS "plpgsql"  (39.1ms) CREATE TABLE "b_models" ("id" serial primary key, "json" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)   (25.4ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL, "json" jsonb)  (14.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (14.5ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")  (0.4ms) SELECT version FROM "schema_migrations"  (3.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20150327143322')  (3.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317190350')  (3.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20150317124232') ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (18.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (18.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateTestModels (20150317124232)  (0.1ms) BEGIN  (12.1ms) CREATE TABLE "test_models" ("id" serial primary key, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317124232"]]  (3.6ms) COMMIT Migrating to AddJsonExtension (20150317190350)  (0.1ms) BEGIN  (12.0ms) ALTER TABLE "test_models" ADD "json" jsonb SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150317190350"]]  (6.0ms) COMMIT Migrating to CreateBModels (20150327143322)  (0.1ms) BEGIN  (20.6ms) CREATE TABLE "b_models" ("id" serial primary key, "json" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150327143322"]]  (3.7ms) COMMIT Migrating to CreateCModels (20150402125831)  (0.1ms) BEGIN  (21.6ms) CREATE TABLE "c_models" ("id" serial primary key, "json" jsonb, "jbson" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150402125831"]]  (5.9ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (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 = 'b_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.0ms) 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 = 'c_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (2.4ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (0.3ms) BEGIN SQL (0.7ms) INSERT INTO "test_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 14:19:09.985240"], ["updated_at", "2015-04-02 14:19:09.985240"]]  (6.7ms) COMMIT TestModel Load (0.2ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] TestModel Load (0.3ms) SELECT "test_models".* FROM "test_models" WHERE "test_models"."id" = $1 LIMIT 1 [["id", 1]] ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreateDModels (20150402162627)  (0.1ms) BEGIN  (28.5ms) CREATE TABLE "d_models" ("id" serial primary key, "arr" jsonb, "created_at" timestamp NOT NULL, "updated_at" timestamp NOT NULL)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20150402162627"]]  (5.5ms) COMMIT ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.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 = 'b_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.7ms) 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 = 'c_models' 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 = 'd_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname   (2.1ms) 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 = 'test_models' AND t3.nspname = ANY (current_schemas(false)) ORDER BY c.conname  (0.2ms) BEGIN SQL (0.6ms) INSERT INTO "d_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 16:29:08.133448"], ["updated_at", "2015-04-02 16:29:08.133448"]]  (3.9ms) COMMIT DModel Load (0.8ms) SELECT "d_models".* FROM "d_models" ORDER BY "d_models"."id" ASC LIMIT 1 DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" ORDER BY "d_models"."id" ASC LIMIT 1 DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" ORDER BY "d_models"."id" ASC LIMIT 1  (0.2ms) BEGIN  (0.1ms) COMMIT DModel Load (0.3ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 1]] DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 1]] DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 1]] DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 1]]  (0.2ms) BEGIN SQL (0.4ms) INSERT INTO "d_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 16:51:08.212360"], ["updated_at", "2015-04-02 16:51:08.212360"]]  (4.8ms) COMMIT DModel Load (0.3ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 2]] DModel Load (0.3ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 2]] DModel Load (0.3ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 2]]  (0.2ms) BEGIN  (0.3ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.2ms) BEGIN  (0.2ms) ROLLBACK  (0.3ms) BEGIN  (0.3ms) ROLLBACK  (0.3ms) BEGIN SQL (0.4ms) INSERT INTO "test_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 17:41:14.973837"], ["updated_at", "2015-04-02 17:41:14.973837"]]  (3.6ms) COMMIT  (0.3ms) BEGIN SQL (0.3ms) INSERT INTO "d_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 17:43:58.019194"], ["updated_at", "2015-04-02 17:43:58.019194"]]  (6.1ms) COMMIT DModel Load (0.3ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 3]] DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 3]] DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 3]]  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "d_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 20:12:11.533128"], ["updated_at", "2015-04-02 20:12:11.533128"]]  (4.7ms) COMMIT  (0.2ms) BEGIN SQL (4.6ms) INSERT INTO "d_models" ("created_at", "updated_at") VALUES ($1, $2) RETURNING "id" [["created_at", "2015-04-02 21:28:26.265823"], ["updated_at", "2015-04-02 21:28:26.265823"]]  (4.0ms) COMMIT DModel Load (0.4ms) SELECT "d_models".* FROM "d_models" WHERE "d_models"."id" = $1 LIMIT 1 [["id", 5]]