(1.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePersonns (20141229111027)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "personns" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141229111027"]]  (0.7ms) 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" 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" Migrating to CreatePeople (20141228200436)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "products" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "adresss_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]  (1.5ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.1ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) begin transaction  (0.5ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "adresss_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]  (0.9ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence' Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44 ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople2 (20141228200437)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]  (1.6ms) commit transaction Migrating to CreatePlaces (20141228200438)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]  (0.9ms) commit transaction Migrating to CreateItems (20141228200439)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]  (0.9ms) commit transaction Migrating to CreateItemsPeople (20141228200440)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.0ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "addresss_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]  (0.8ms) commit transaction Migrating to CreatePeople2 (20141228200437)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]  (0.7ms) commit transaction Migrating to CreatePlaces (20141228200438)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]  (0.7ms) commit transaction Migrating to CreateItems (20141228200439)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]  (0.8ms) commit transaction Migrating to CreateItemsPeople (20141228200440)  (0.0ms) begin transaction  (0.3ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]  (0.7ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence' Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436) ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.0ms) begin transaction  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]  (1.6ms) commit transaction Migrating to CreatePeople2 (20141228200437)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]  (0.9ms) commit transaction Migrating to CreatePlaces (20141228200438)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]  (1.0ms) commit transaction Migrating to CreateItems (20141228200439)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]  (0.9ms) commit transaction Migrating to CreateItemsPeople (20141228200440)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]  (1.0ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44  (0.1ms) begin transaction SQL (0.4ms) INSERT INTO "places" ("address", "created_at", "updated_at") VALUES (?, ?, ?) [["address", "my adress"], ["created_at", "2014-12-29 13:40:57.074522"], ["updated_at", "2014-12-29 13:40:57.074522"]]  (1.6ms) commit transaction  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "people" ("created_at", "first_name", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-29 13:42:04.717661"], ["first_name", "laurent"], ["updated_at", "2014-12-29 13:42:04.717661"]]  (1.2ms) commit transaction  (0.3ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (1.8ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) begin transaction SQL (0.5ms) INSERT INTO "places" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:04.742173"], ["updated_at", "2014-12-29 13:44:04.742173"]]  (1.4ms) commit transaction  (0.1ms) begin transaction SQL (0.3ms) INSERT INTO "people" ("address_id", "created_at", "first_name", "updated_at") VALUES (?, ?, ?, ?) [["address_id", 2], ["created_at", "2014-12-29 13:44:20.287995"], ["first_name", "Primus"], ["updated_at", "2014-12-29 13:44:20.287995"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "items" ("created_at", "person_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-29 13:44:20.303974"], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.303974"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "items" ("created_at", "person_id", "updated_at") VALUES (?, ?, ?) [["created_at", "2014-12-29 13:44:20.306042"], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.306042"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:20.308846"], ["updated_at", "2014-12-29 13:44:20.308846"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:20.310327"], ["updated_at", "2014-12-29 13:44:20.310327"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.1ms) INSERT INTO "items" ("created_at", "updated_at") VALUES (?, ?) [["created_at", "2014-12-29 13:44:20.311734"], ["updated_at", "2014-12-29 13:44:20.311734"]]  (0.5ms) commit transaction  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "items_people" ("created_at", "item_id", "person_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-29 13:44:20.321001"], ["item_id", 3], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.321001"]]  (0.5ms) commit transaction Item Load (0.2ms) SELECT "items".* FROM "items" INNER JOIN "items_people" ON "items"."id" = "items_people"."item_id" WHERE "items_people"."person_id" = ? [["person_id", 2]]  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "items_people" ("created_at", "item_id", "person_id", "updated_at") VALUES (?, ?, ?, ?) [["created_at", "2014-12-29 13:44:20.330610"], ["item_id", 5], ["person_id", 2], ["updated_at", "2014-12-29 13:44:20.330610"]]  (0.6ms) commit transaction VPerson Load (0.3ms) SELECT "v_people".* FROM "v_people" WHERE "v_people"."id" = ? LIMIT 1 [["id", 2]] Item Load (0.2ms) SELECT "items".* FROM "items" WHERE "items"."person_id" = ? [["person_id", 2]] Place Load (0.3ms) SELECT "places".* FROM "places" WHERE "places"."id" = ? LIMIT 1 [["id", 2]]  (2.3ms) DROP VIEW "v_people"  (1.2ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.6ms) DROP VIEW "v_people"  (1.2ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.6ms) DROP VIEW "v_people"  (1.3ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence' Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44 ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.4ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence' Unable to dump views: uninitialized constant RailsSqlViews4::SchemaDumper::RailsSqlViews44 VPerson Load (0.3ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 Person Load (0.1ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1  (1.7ms) DROP VIEW "v_people"  (3.7ms) CREATE VIEW "v_people" AS select first_name, last_name, ssn from people VPerson Load (0.3ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 SQLite3::SQLException: no such column: v_people.id: SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 SQLite3::SQLException: no such column: v_people.id: SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1  (1.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)   (0.1ms) select sqlite_version(*)  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200436"]]  (0.9ms) commit transaction Migrating to CreatePeople2 (20141228200437)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200437"]]  (1.0ms) commit transaction Migrating to CreatePlaces (20141228200438)  (0.1ms) begin transaction  (0.4ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200438"]]  (0.9ms) commit transaction Migrating to CreateItems (20141228200439)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200439"]]  (0.8ms) commit transaction Migrating to CreateItemsPeople (20141228200440)  (0.1ms) begin transaction  (0.3ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime) SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20141228200440"]]  (0.8ms) commit transaction ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence' Unable to dump views: undefined method `module' for #  (0.5ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (5.3ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn from people VPerson Load (0.1ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1  (0.0ms) begin transaction SQL (0.2ms) INSERT INTO "people" ("first_name", "last_name", "ssn") VALUES (?, ?, ?) [["first_name", "John"], ["last_name", "Doe"], ["ssn", "123456789"]]  (1.0ms) commit transaction Person Load (0.2ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1  (1.6ms) DROP VIEW "v_people"  (1.1ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn from people ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms)  SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  Unable to dump views: undefined method `module' for # ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'view' AND NOT name = 'sqlite_sequence'   (0.1ms) SELECT sql FROM sqlite_master WHERE name = 'v_people' AND NOT name = 'sqlite_sequence' Person Load (0.1ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1 Person Load (0.2ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 Person Load (0.3ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 VPerson Load (0.2ms) SELECT "v_people".* FROM "v_people" ORDER BY "v_people"."id" ASC LIMIT 1  (1.9ms) DROP VIEW "v_people"  (1.0ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'view' AND NOT name = 'sqlite_sequence'   (0.1ms) SELECT sql FROM sqlite_master WHERE name = 'v_people' AND NOT name = 'sqlite_sequence' ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.2ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'view' AND NOT name = 'sqlite_sequence'   (0.1ms) SELECT sql FROM sqlite_master WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'  (0.3ms) DROP TABLE "items" CASCADE SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE  (0.2ms) DROP TABLE "items" CASCADE SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE  (0.2ms) DROP TABLE "items" CASCADE SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE  (0.3ms) DROP TABLE "items" CASCADE SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE  (0.5ms) DROP TABLE "items" CASCADE SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE "items" CASCADE  (1.9ms) DROP VIEW "v_people"  (1.0ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"  (0.1ms) SELECT name FROM sqlite_master WHERE (type = 'table') AND NOT name = 'sqlite_sequence'  (0.1ms)  SELECT name FROM sqlite_master WHERE type = 'view' AND NOT name = 'sqlite_sequence'   (0.1ms) SELECT sql FROM sqlite_master WHERE name = 'v_people' AND NOT name = 'sqlite_sequence'  (1.3ms) DROP TABLE "items"  (0.7ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) DROP TABLE "items_people"  (0.7ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) DROP TABLE "people"  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)  (0.7ms) DROP TABLE "people2"  (0.7ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.6ms) DROP TABLE "places"  (0.7ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.5ms) DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.3ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.3ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (0.2ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW \"v_people\" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW \"v_people\" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.9ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.7ms) DROP TABLE "items"  (1.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) DROP TABLE "items_people"  (0.8ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) DROP TABLE "people"  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)   (0.7ms) DROP TABLE "people2"  (0.7ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) DROP TABLE "places"  (0.7ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.6ms) DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (2.3ms) DROP TABLE "items"  (1.1ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)   (0.9ms) DROP TABLE "items_people"  (0.8ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)   (0.7ms) DROP TABLE "people"  (0.8ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)   (0.7ms) DROP TABLE "people2"  (0.7ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.7ms) DROP TABLE "places"  (0.7ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)   (0.1ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.7ms) DROP TABLE "items"  (0.9ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  (0.9ms) DROP TABLE "items_people"  (0.7ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  (0.8ms) DROP TABLE "people"  (1.0ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)  (0.9ms) DROP TABLE "people2"  (1.0ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) DROP TABLE "places"  (1.1ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (8.0ms) DROP TABLE "items"  (1.0ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  (1.0ms) DROP TABLE "items_people"  (1.1ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  (1.0ms) DROP TABLE "people"  (1.0ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)  (1.1ms) DROP TABLE "people2"  (1.1ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) DROP TABLE "places"  (0.9ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.2ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (0.1ms) CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people SQLite3::SQLException: near "CREATE": syntax error: CREATE VIEW "v_people" AS CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (1.6ms) DROP TABLE "items"  (5.2ms) CREATE TABLE "items" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "created_at" datetime, "updated_at" datetime)  (0.7ms) DROP TABLE "items_people"  (1.1ms) CREATE TABLE "items_people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "item_id" integer, "created_at" datetime, "updated_at" datetime)  (1.1ms) DROP TABLE "people"  (0.9ms) CREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "address_id" integer)  (1.1ms) DROP TABLE "people2"  (1.1ms) CREATE TABLE "people2" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "first_name" varchar(255), "last_name" varchar(255), "ssn" varchar(255), "created_at" datetime, "updated_at" datetime)  (1.0ms) DROP TABLE "places"  (1.1ms) CREATE TABLE "places" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "address" text, "city" varchar(255), "cstate" varchar(255), "country" varchar(255), "created_at" datetime, "updated_at" datetime)  (0.3ms) DROP VIEW "v_people" SQLite3::SQLException: no such view: v_people: DROP VIEW "v_people"  (1.0ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.8ms) DROP VIEW "v_people"  (0.9ms) CREATE VIEW "v_people" AS select id, first_name, last_name, ssn, address_id from people  (0.1ms) SELECT version FROM "schema_migrations"  (3.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (3.1ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.5ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.3ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (3.1ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.4ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (3.3ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.5ms) COMMIT Migrating to CreateItems (20141228200439)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (1.6ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.4ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (2.2ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.5ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.7ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW'  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (3.0ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.4ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (2.2ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.4ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (2.5ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.4ms) COMMIT Migrating to CreateItems (20141228200439)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (2.9ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.3ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (1.7ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.6ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.6ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW'  (2.8ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (2.7ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.5ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (2.4ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (1.3ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (2.1ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.3ms) COMMIT Migrating to CreateItems (20141228200439)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (2.5ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.3ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (1.5ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.4ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.7ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW'  (2.5ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (3.1ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.4ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (2.4ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.3ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.5ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (2.6ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.3ms) COMMIT Migrating to CreateItems (20141228200439)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (2.1ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.3ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (1.5ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.7ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW'  (16.9ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.2ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (2.9ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.6ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.8ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (2.5ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.5ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (2.5ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.4ms) COMMIT Migrating to CreateItems (20141228200439)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (2.0ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.4ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamp` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (2.2ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.3ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (5.5ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.8ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW'  (0.3ms) DROP VIEW "v_people" PG::UndefinedTable: ERROR: view "v_people" does not exist : DROP VIEW "v_people"  (2.4ms) CREATE VIEW "v_people" AS select first_name, last_name, ssn from people  (4.2ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type IN ('BASE TABLE', 'VIEW')  Person Load (0.5ms) SELECT "people".* FROM "people"  (4.0ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type IN ('BASE TABLE', 'VIEW')  (0.2ms) BEGIN SQL (0.7ms) INSERT INTO "people" ("first_name", "last_name") VALUES ($1, $2) RETURNING "id" [["first_name", "Laurent"], ["last_name", "Buffat"]]  (0.4ms) COMMIT  (0.2ms) BEGIN SQL (0.5ms) INSERT INTO "people" ("last_name", "first_name") VALUES ($1, $2) RETURNING "id" [["last_name", "Villemagne"], ["first_name", "Genevieve"]]  (1.0ms) COMMIT Person Load (0.4ms) SELECT "people".* FROM "people"  (2.2ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type IN ('BASE TABLE', 'VIEW')  Person Load (0.7ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1 VPerson Load (0.9ms) SELECT "v_people".* FROM "v_people" LIMIT 1 Person Load (0.5ms) SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1  (3.6ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (1.3ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (35.0ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (15.8ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (15.1ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (3.6ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.4ms) COMMIT Migrating to CreatePlaces (20141228200438)  (0.3ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (2.6ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.4ms) COMMIT Migrating to CreateItems (20141228200439)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (1.5ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.5ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (0.2ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (1.7ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (18.8ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.7ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW' ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"  (2.7ms) CREATE TABLE "schema_migrations" ("version" character varying NOT NULL)   (16.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version") ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations" Migrating to CreatePeople (20141228200436)  (0.1ms) BEGIN  (34.7ms) CREATE TABLE "people" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "address_id" integer)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200436"]]  (0.5ms) COMMIT Migrating to CreatePeople2 (20141228200437)  (15.6ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200437_create_people2.rb:8)  (18.9ms) CREATE TABLE "people2" ("id" serial primary key, "first_name" character varying, "last_name" character varying, "ssn" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200437"]]  (0.5ms) COMMIT Migrating to CreatePlaces (20141228200438)  (15.7ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200438_create_places.rb:9)  (18.4ms) CREATE TABLE "places" ("id" serial primary key, "address" text, "city" character varying, "cstate" character varying, "country" character varying, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200438"]]  (0.4ms) COMMIT Migrating to CreateItems (20141228200439)  (15.5ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200439_create_items.rb:5)  (17.9ms) CREATE TABLE "items" ("id" serial primary key, "person_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200439"]]  (0.4ms) COMMIT Migrating to CreateItemsPeople (20141228200440)  (15.5ms) BEGIN DEPRECATION WARNING: `#timestamps` was called without specifying an option for `null`. In Rails 5, this behavior will change to `null: false`. You should manually specify `null: true` to prevent the behavior of your existing migrations from changing. (called from block in change at /Users/laurent/Desktop/code/rails_sql_views4/test/dummy/db/migrate/20141228200440_create_items_people.rb:6)  (17.6ms) CREATE TABLE "items_people" ("id" serial primary key, "person_id" integer, "item_id" integer, "created_at" timestamp, "updated_at" timestamp)  SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20141228200440"]]  (0.4ms) COMMIT ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"  (3.1ms)  SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'BASE TABLE'   (0.7ms) SELECT table_name, table_type FROM information_schema.tables WHERE table_schema IN ('"$user"','public') AND table_type = 'VIEW' ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"