  [4;36;1mSQL (0.000220)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000160)[0m   [0mselect sqlite_version(*)[0m
  [4;36;1mSQL (0.003358)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [4;35;1mSQL (0.002919)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [4;36;1mSQL (0.000550)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000192)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;36;1mSQL (0.000097)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.002809)[0m   [0mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255) DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "description" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.001879)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828053203')[0m
  [4;35;1mSQL (0.000510)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000467)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000046)[0m   [0mPRAGMA index_list("photos")[0m
  [4;36;1mSQL (0.000237)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000137)[0m   [0mselect sqlite_version(*)[0m
  [4;36;1mSQL (0.005733)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [4;35;1mSQL (0.001677)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [4;36;1mSQL (0.000251)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000107)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;36;1mSQL (0.000081)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.002053)[0m   [0mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255) DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "description" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.007063)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828053203')[0m
  [4;35;1mSQL (0.000305)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000209)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000047)[0m   [0mPRAGMA index_list("photos")[0m
  [4;36;1mSQL (0.000249)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000187)[0m   [0mselect sqlite_version(*)[0m
  [4;36;1mSQL (0.003407)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [4;35;1mSQL (0.002968)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [4;36;1mSQL (0.000663)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000292)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000228)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;35;1mSQL (0.000127)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.002628)[0m   [0;1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255) DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "description" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;35;1mSQL (0.002234)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828053203')[0m
Migrating to CreateSlides (20080828053805)
  [4;36;1mSQL (0.000360)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.002420)[0m   [0mCREATE TABLE "slides" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer DEFAULT NULL NULL, "photo_id" integer DEFAULT NULL NULL, "slideshow_id" integer DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.002116)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828053805')[0m
  [4;35;1mSQL (0.000513)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000794)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000077)[0m   [0mPRAGMA index_list("photos")[0m
  [4;36;1mSQL (0.000052)[0m   [0;1mPRAGMA index_list("slides")[0m
  [4;36;1mSQL (0.000243)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000137)[0m   [0mselect sqlite_version(*)[0m
  [4;36;1mSQL (0.002149)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [4;35;1mSQL (0.002810)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [4;36;1mSQL (0.000666)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000208)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000145)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000188)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000141)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;35;1mSQL (0.000148)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.002158)[0m   [0;1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255) DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "description" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;35;1mSQL (0.001900)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828053203')[0m
Migrating to CreateSlides (20080828053805)
  [4;36;1mSQL (0.000618)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.004355)[0m   [0mCREATE TABLE "slides" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer DEFAULT NULL NULL, "photo_id" integer DEFAULT NULL NULL, "slideshow_id" integer DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.001676)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828053805')[0m
Migrating to CreateSlideshows (20080828053923)
  [4;35;1mSQL (0.000244)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.002239)[0m   [0;1mCREATE TABLE "slideshows" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;35;1mSQL (0.001964)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828053923')[0m
Migrating to CreateCategories (20080828054424)
  [4;36;1mSQL (0.000444)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.003363)[0m   [0mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer DEFAULT NULL NULL, "name" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.003639)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828054424')[0m
  [4;35;1mSQL (0.000390)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000332)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.001173)[0m   [0mPRAGMA index_list("categories")[0m
  [4;36;1mSQL (0.000062)[0m   [0;1mPRAGMA index_list("photos")[0m
  [4;35;1mSQL (0.000046)[0m   [0mPRAGMA index_list("slides")[0m
  [4;36;1mSQL (0.000048)[0m   [0;1mPRAGMA index_list("slideshows")[0m
  [4;36;1mSQL (0.000277)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000140)[0m   [0mselect sqlite_version(*)[0m
  [4;36;1mSQL (0.002488)[0m   [0;1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
  [4;35;1mSQL (0.002591)[0m   [0mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
  [4;36;1mSQL (0.000366)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000154)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000081)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000079)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000116)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;35;1mSQL (0.000083)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.002482)[0m   [0;1mCREATE TABLE "photos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "filename" varchar(255) DEFAULT NULL NULL, "thumbnail" varchar(255) DEFAULT NULL NULL, "description" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;35;1mSQL (0.002133)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828053203')[0m
Migrating to CreateSlides (20080828053805)
  [4;36;1mSQL (0.000567)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.004761)[0m   [0mCREATE TABLE "slides" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "position" integer DEFAULT NULL NULL, "photo_id" integer DEFAULT NULL NULL, "slideshow_id" integer DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.001826)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828053805')[0m
Migrating to CreateSlideshows (20080828053923)
  [4;35;1mSQL (0.000246)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.003362)[0m   [0;1mCREATE TABLE "slideshows" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;35;1mSQL (0.001518)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828053923')[0m
Migrating to CreateCategories (20080828054424)
  [4;36;1mSQL (0.000340)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.005199)[0m   [0mCREATE TABLE "categories" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "parent_id" integer DEFAULT NULL NULL, "name" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.001883)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828054424')[0m
  [4;35;1mSQL (0.000313)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000326)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000058)[0m   [0mPRAGMA index_list("categories")[0m
  [4;36;1mSQL (0.000047)[0m   [0;1mPRAGMA index_list("photos")[0m
  [4;35;1mSQL (0.000047)[0m   [0mPRAGMA index_list("slides")[0m
  [4;36;1mSQL (0.000045)[0m   [0;1mPRAGMA index_list("slideshows")[0m
  [4;36;1mPhoto Create (0.361586)[0m   [0;1mINSERT INTO "photos" ("thumbnail", "updated_at", "description", "filename", "created_at") VALUES(NULL, '2008-08-28 05:53:59', NULL, 'cat.jpg', '2008-08-28 05:53:59')[0m
  [4;35;1mPhoto Create (0.000739)[0m   [0mINSERT INTO "photos" ("thumbnail", "updated_at", "description", "filename", "created_at") VALUES(NULL, '2008-08-28 05:54:09', NULL, 'dog.jpg', '2008-08-28 05:54:09')[0m
  [4;36;1mPhoto Create (0.000347)[0m   [0;1mINSERT INTO "photos" ("thumbnail", "updated_at", "description", "filename", "created_at") VALUES(NULL, '2008-08-28 05:54:28', NULL, 'armadillo.jpg', '2008-08-28 05:54:28')[0m
  [4;36;1mSQL (0.000735)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000414)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000255)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000262)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000249)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;35;1mSQL (0.000251)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreateSlides (20080828053805)
  [4;36;1mSQL (0.000311)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreateSlideshows (20080828053923)
  [4;35;1mSQL (0.000252)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreateCategories (20080828054424)
  [4;36;1mSQL (0.000251)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreatePeople (20080828055447)
  [4;35;1mSQL (0.000253)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000112)[0m   [0;1mselect sqlite_version(*)[0m
  [4;35;1mSQL (0.003608)[0m   [0mCREATE TABLE "people" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) DEFAULT NULL NULL, "type" varchar(255) DEFAULT NULL NULL, "email" varchar(255) DEFAULT NULL NULL, "camera" varchar(255) DEFAULT NULL NULL, "created_at" datetime DEFAULT NULL NULL, "updated_at" datetime DEFAULT NULL NULL) [0m
  [4;36;1mSQL (0.001796)[0m   [0;1mINSERT INTO schema_migrations (version) VALUES ('20080828055447')[0m
  [4;35;1mSQL (0.004886)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000508)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000065)[0m   [0mPRAGMA index_list("categories")[0m
  [4;36;1mSQL (0.000045)[0m   [0;1mPRAGMA index_list("people")[0m
  [4;35;1mSQL (0.000045)[0m   [0mPRAGMA index_list("photos")[0m
  [4;36;1mSQL (0.000045)[0m   [0;1mPRAGMA index_list("slides")[0m
  [4;35;1mSQL (0.000045)[0m   [0mPRAGMA index_list("slideshows")[0m
  [4;36;1mSQL (0.000735)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mPerson Create (0.001083)[0m   [0mINSERT INTO "people" ("name", "updated_at", "type", "camera", "email", "created_at") VALUES('bruce', '2008-08-28 05:56:47', NULL, NULL, 'b@t.com', '2008-08-28 05:56:47')[0m
  [4;36;1mPhotographer Create (0.000462)[0m   [0;1mINSERT INTO "people" ("name", "updated_at", "type", "camera", "email", "created_at") VALUES('lance', '2008-08-28 05:56:53', 'Photographer', 'iphone', 'l@c.com', '2008-08-28 05:56:53')[0m
  [4;35;1mSQL (0.000412)[0m   [0mSELECT count(*) AS count_all FROM "people" WHERE ( ("people"."type" = 'Photographer' ) ) [0m
  [4;36;1mSQL (0.000363)[0m   [0;1mSELECT count(*) AS count_all FROM "people" [0m
  [4;35;1mPerson Load (0.000508)[0m   [0mSELECT * FROM "people" WHERE ("people"."name" = 'bruce') LIMIT 1[0m
  [4;36;1mPerson Load (0.000514)[0m   [0;1mSELECT * FROM "people" WHERE ("people"."name" = 'lance') LIMIT 1[0m
  [4;36;1mSQL (0.000720)[0m   [0;1m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;35;1mSQL (0.000373)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000520)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000345)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000372)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000295)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreatePhotos (20080828053203)
  [4;36;1mSQL (0.000294)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreateSlides (20080828053805)
  [4;35;1mSQL (0.000347)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreateSlideshows (20080828053923)
  [4;36;1mSQL (0.000779)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to CreateCategories (20080828054424)
  [4;35;1mSQL (0.000333)[0m   [0mSELECT version FROM schema_migrations[0m
Migrating to CreatePeople (20080828055447)
  [4;36;1mSQL (0.000298)[0m   [0;1mSELECT version FROM schema_migrations[0m
Migrating to AddAddressToPerson (20080828055725)
  [4;35;1mSQL (0.000479)[0m   [0mSELECT version FROM schema_migrations[0m
  [4;36;1mSQL (0.000117)[0m   [0;1mselect sqlite_version(*)[0m
  [4;35;1mSQL (0.003627)[0m   [0mALTER TABLE "people" ADD "street_address" varchar(255)[0m
  [4;36;1mSQL (0.008918)[0m   [0;1mVACUUM[0m
  [4;35;1mSQL (0.004955)[0m   [0mALTER TABLE "people" ADD "city" varchar(255)[0m
  [4;36;1mSQL (0.007598)[0m   [0;1mVACUUM[0m
  [4;35;1mSQL (0.016235)[0m   [0mALTER TABLE "people" ADD "state" varchar(255)[0m
  [4;36;1mSQL (0.009211)[0m   [0;1mVACUUM[0m
  [4;35;1mSQL (0.002159)[0m   [0mALTER TABLE "people" ADD "zip" varchar(255)[0m
  [4;36;1mSQL (0.004771)[0m   [0;1mVACUUM[0m
  [4;35;1mSQL (0.002795)[0m   [0mINSERT INTO schema_migrations (version) VALUES ('20080828055725')[0m
  [4;36;1mSQL (0.000605)[0m   [0;1mSELECT version FROM schema_migrations[0m
  [4;35;1mSQL (0.000487)[0m   [0m SELECT name
 FROM sqlite_master
 WHERE type = 'table' AND NOT name = 'sqlite_sequence'
[0m
  [4;36;1mSQL (0.000065)[0m   [0;1mPRAGMA index_list("categories")[0m
  [4;35;1mSQL (0.000055)[0m   [0mPRAGMA index_list("people")[0m
  [4;36;1mSQL (0.000046)[0m   [0;1mPRAGMA index_list("photos")[0m
  [4;35;1mSQL (0.000043)[0m   [0mPRAGMA index_list("slides")[0m
  [4;36;1mSQL (0.000046)[0m   [0;1mPRAGMA index_list("slideshows")[0m
  [4;36;1mPerson Create (0.000426)[0m   [0;1mINSERT INTO "people" ("name", "city", "updated_at", "zip", "type", "camera", "street_address", "email", "created_at", "state") VALUES('Elvis', 'Memphis', '2008-08-28 05:59:17', '38186', NULL, NULL, '3734 Elvis Presley Boulevard', NULL, '2008-08-28 05:59:17', 'Tn')[0m
  [4;35;1mPerson Load (0.000764)[0m   [0mSELECT * FROM "people" WHERE ("people"."name" = 'Elvis') LIMIT 1[0m
  [4;36;1mPhoto Load (0.000379)[0m   [0;1mSELECT * FROM "photos" WHERE ("photos"."id" = 1) [0m
  [4;35;1mPhoto Load (0.000448)[0m   [0mSELECT * FROM "photos" LIMIT 1[0m
  [4;36;1mPhoto Load (0.000489)[0m   [0;1mSELECT * FROM "photos" LIMIT 1[0m
  [4;35;1mPhoto Load (0.002332)[0m   [0mSELECT * FROM "photos" [0m
  [4;36;1mPhoto Load (0.002119)[0m   [0;1mselect * from photos[0m
  [4;35;1mPhoto Load (0.001037)[0m   [0mselect * from people[0m
  [4;36;1mPhoto Load (0.000512)[0m   [0;1mSELECT * FROM "photos" WHERE ("photos"."id" = 1) LIMIT 1[0m
  [4;35;1mPhoto Load (0.000483)[0m   [0mSELECT * FROM "photos" WHERE ("photos"."filename" = 'train.jpg') LIMIT 1[0m
  [4;36;1mPhoto Load (0.000499)[0m   [0;1mSELECT * FROM "photos" WHERE ("photos"."filename" = 'train.jpg' AND "photos"."id" = 1) LIMIT 1[0m
  [4;35;1mPhoto Load (0.000236)[0m   [0mSELECT * FROM "photos" WHERE ("photos"."id" = 1) [0m
  [4;36;1mPhoto Update (0.000765)[0m   [0;1mUPDATE "photos" SET "filename" = 'updated_train.jpg', "updated_at" = '2008-08-28 06:00:35' WHERE "id" = 1[0m
  [4;35;1mPerson Load (0.000378)[0m   [0mSELECT * FROM "people" WHERE ("people"."id" = 1) [0m
  [4;36;1mPerson Update (0.000317)[0m   [0;1mUPDATE "people" SET "email" = 'jelly@donut.com', "name" = 'Elvis Presley', "updated_at" = '2008-08-28 06:00:44' WHERE "id" = 1[0m
  [4;35;1mPerson Load (0.000629)[0m   [0mSELECT * FROM "people" WHERE ("people"."id" = 1) [0m
  [4;36;1mPerson Load (0.000573)[0m   [0;1mSELECT * FROM "people" WHERE ("people"."id" = 1) [0m
  [4;35;1mPerson Load (0.000384)[0m   [0mSELECT * FROM "people" WHERE ("people"."id" = 1) [0m
  [4;36;1mPerson Destroy (0.000486)[0m   [0;1m DELETE FROM "people"
 WHERE "id" = 1
[0m
  [4;35;1mPerson Load (0.000392)[0m   [0mSELECT * FROM "people" WHERE ("people"."id" = 1) [0m
  [4;36;1mPhoto Load (0.001453)[0m   [0;1mSELECT * FROM "photos" WHERE (filename like '%.jpg') [0m
  [4;35;1mSQL (0.000343)[0m   [0mSELECT count(*) AS count_all FROM "photos" WHERE (filename like '%.jpg') [0m
  [4;36;1mPhoto Load (0.001889)[0m   [0;1mSELECT * FROM "photos" WHERE ((thumbnail not null and thumbnail != '') AND (filename like '%.jpg')) [0m
  [4;35;1mSQL (0.000465)[0m   [0mSELECT count(*) AS count_all FROM "photos" WHERE ((thumbnail not null and thumbnail != '') AND (filename like '%.jpg')) [0m
  [4;36;1mPhoto Load (0.000521)[0m   [0;1mSELECT * FROM "photos" WHERE ("photos"."id" = 5) AND ((thumbnail not null and thumbnail != '') AND (filename like '%.jpg')) [0m
  [4;35;1mPhoto Load (0.002762)[0m   [0mSELECT * FROM "photos" WHERE (filename like '%.jpg') [0m
  [4;36;1mPhoto Create (0.000516)[0m   [0;1mINSERT INTO "photos" ("thumbnail", "updated_at", "description", "filename", "created_at") VALUES(NULL, '2008-08-28 06:02:39', NULL, NULL, '2008-08-28 06:02:39')[0m
  [4;35;1mPhoto Load (0.000369)[0m   [0mSELECT * FROM "photos" WHERE ("photos"."id" = 2) [0m
