  [1m[36mSQL (12.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  select sqlite_version(*)
  [1m[36mSQL (1.0ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("schema_migrations")
  [1m[36mSQL (0.9ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
Migrating to CreatePeople (20110111152835)
  [1m[36mSQL (0.4ms)[0m  [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110111152835')
Migrating to CreateFriendships (20110111152844)
  [1m[36mSQL (0.6ms)[0m  [1mCREATE TABLE "friendships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "friend_id" integer, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m  INSERT INTO "schema_migrations" ("version") VALUES ('20110111152844')
  [1m[36mSQL (0.2ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("friendships")
  [1m[36mSQL (0.0ms)[0m  [1mPRAGMA index_list("people")[0m
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mAREL (0.5ms)[0m  INSERT INTO "people" ("name", "created_at", "updated_at") VALUES ('Chad', '2011-01-11 15:32:10.396127', '2011-01-11 15:32:10.396127')
  [1m[36mAREL (89.9ms)[0m  [1mINSERT INTO "people" ("name", "created_at", "updated_at") VALUES ('Erik', '2011-01-11 15:32:19.503560', '2011-01-11 15:32:19.503560')[0m
  [1m[36mPerson Load (0.6ms)[0m  [1mSELECT "people".* FROM "people"[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mAREL (0.3ms)[0m  [1mDELETE FROM "people" WHERE ("people"."id" = 1)[0m
  [1m[35mAREL (0.1ms)[0m  DELETE FROM "people" WHERE ("people"."id" = 2)
  [1m[36mAREL (0.7ms)[0m  [1mINSERT INTO "people" ("name", "created_at", "updated_at") VALUES ('Chad', '2011-01-11 15:33:21.876898', '2011-01-11 15:33:21.876898')[0m
  [1m[36mSQL (0.5ms)[0m  [1mselect sqlite_version(*)[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (1.2ms)[0m  [1mCREATE TABLE "friendships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "person_id" integer, "friend_id" integer, "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.8ms)[0m  [1mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.9ms)[0m  [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [1m[35mSQL (0.0ms)[0m  PRAGMA index_list("schema_migrations")
  [1m[36mSQL (1.0ms)[0m  [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1mSELECT version FROM "schema_migrations"[0m
  [1m[35mSQL (0.9ms)[0m  INSERT INTO "schema_migrations" (version) VALUES ('20110111152844')
  [1m[36mSQL (0.9ms)[0m  [1mINSERT INTO "schema_migrations" (version) VALUES ('20110111152835')[0m
  [1m[35mSQL (0.1ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mSQL (0.1ms)[0m  SELECT "schema_migrations"."version" FROM "schema_migrations"
  [1m[36mSQL (0.1ms)[0m  [1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [1m[35mAREL (0.4ms)[0m  INSERT INTO "people" ("name", "created_at", "updated_at") VALUES ('Chad', '2011-01-11 15:33:37.859823', '2011-01-11 15:33:37.859823')
  [1m[36mAREL (0.4ms)[0m  [1mINSERT INTO "people" ("name", "created_at", "updated_at") VALUES ('Erik', '2011-01-11 15:33:40.513688', '2011-01-11 15:33:40.513688')[0m
  [1m[35mAREL (0.4ms)[0m  INSERT INTO "friendships" ("person_id", "friend_id", "created_at", "updated_at") VALUES (1, 2, '2011-01-11 15:33:43.215900', '2011-01-11 15:33:43.215900')
  [1m[36mPerson Load (0.1ms)[0m  [1mSELECT "people".* FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 1))[0m
  [1m[35mPerson Load (0.2ms)[0m  SELECT "people".* FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 2))
  [1m[36mFriendship Load (0.2ms)[0m  [1mSELECT "friendships".* FROM "friendships" LIMIT 1[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".* FROM "people" WHERE ("people"."id" = 1) LIMIT 1
  [1m[36mFriendship Load (0.3ms)[0m  [1mSELECT "friendships".* FROM "friendships" LIMIT 1[0m
  [1m[36mPerson Load (0.6ms)[0m  [1mSELECT "people".* FROM "people" LIMIT 1[0m
  [1m[35mPerson Load (0.3ms)[0m  SELECT "people".* FROM "people" ORDER BY people.id DESC LIMIT 1
  [1m[36mSQL (0.1ms)[0m  [1mSELECT COUNT(*) FROM "friendships"[0m
  [1m[35mSQL (0.2ms)[0m   SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
  [1m[36mAREL (0.5ms)[0m  [1mINSERT INTO "friendships" ("person_id", "friend_id", "created_at", "updated_at") VALUES (1, 2, '2011-01-11 15:49:46.695300', '2011-01-11 15:49:46.695300')[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".* FROM "people" WHERE ("people"."id" = 2) LIMIT 1
  [1m[36mPerson Load (0.3ms)[0m  [1mSELECT "people".* FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 1))[0m
  [1m[35mFriendship Load (0.2ms)[0m  SELECT "friendships".* FROM "friendships"
  [1m[36mAREL (0.3ms)[0m  [1mDELETE FROM "friendships" WHERE ("friendships"."id" = 1)[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".* FROM "people" WHERE ("people"."id" = 2) LIMIT 1
  [1m[36mFriendship Load (0.3ms)[0m  [1mSELECT "friendships".* FROM "friendships"[0m
  [1m[35mAREL (0.3ms)[0m  DELETE FROM "friendships" WHERE ("friendships"."id" = 1)
  [1m[36mPerson Load (0.1ms)[0m  [1mSELECT "people".* FROM "people" WHERE ("people"."id" = 2) LIMIT 1[0m
  [1m[35mAREL (1.2ms)[0m  DELETE FROM "friendships" WHERE 1=1
  [1m[36mPerson Load (0.4ms)[0m  [1mSELECT "people".* FROM "people" LIMIT 1[0m
  [1m[35mPerson Load (0.3ms)[0m  SELECT "people".* FROM "people" ORDER BY people.id DESC LIMIT 1
  [1m[36mAREL (0.4ms)[0m  [1mINSERT INTO "friendships" ("person_id", "friend_id", "created_at", "updated_at") VALUES (1, 2, '2011-01-11 15:51:16.014123', '2011-01-11 15:51:16.014123')[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".* FROM "people" WHERE ("people"."id" = 2) LIMIT 1
  [1m[36mPerson Load (0.1ms)[0m  [1mSELECT "people".* FROM "people" WHERE ("people"."id" = 1) LIMIT 1[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".*, "people"."id" FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 2)) AND ("people"."id" = 1) LIMIT 1
  [1m[36mAREL (0.1ms)[0m  [1mINSERT INTO "friendships" ("person_id", "friend_id", "created_at", "updated_at") VALUES (2, 1, '2011-01-11 15:51:16.025038', '2011-01-11 15:51:16.025038')[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".* FROM "people" WHERE ("people"."id" = 1) LIMIT 1
  [1m[36mPerson Load (0.1ms)[0m  [1mSELECT "people".* FROM "people" WHERE ("people"."id" = 2) LIMIT 1[0m
  [1m[35mPerson Load (0.1ms)[0m  SELECT "people".*, "people"."id" FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 1)) AND ("people"."id" = 2) LIMIT 1
  [1m[36mPerson Load (0.1ms)[0m  [1mSELECT "people".* FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 1))[0m
  [1m[35mPerson Load (0.3ms)[0m  SELECT "people".* FROM "people" INNER JOIN "friendships" ON "people".id = "friendships".friend_id WHERE (("friendships".person_id = 2))
