test/dummy/log/development.log in survey_says-0.0.1 vs test/dummy/log/development.log in survey_says-0.0.2
- old
+ new
@@ -11104,5 +11104,258 @@
Served asset /survey_says.js - 200 OK (0ms)
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2011-12-14 03:53:30 -0500
Served asset /jquery.js - 304 Not Modified (2ms)
+ [1m[36m (0.5ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+Migrating to CreateQuestions (20111208181247)
+Migrating to CreateAnswers (20111208181414)
+Migrating to CreateSurveyProperties (20111208181429)
+Migrating to CreateScores (20111208181449)
+Migrating to CreateUserAnswers (20111211175518)
+Migrating to CreateQuestionnaires (20111211175604)
+Migrating to AddQuestionaireIdToQuestions (20111211180011)
+Migrating to CreateSurveyImages (20111213185612)
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questionnaires_on_name')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questions")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questions_on_questionnaire_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_images")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_properties")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_answer_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_user_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questionnaires_on_name')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questions")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questions_on_questionnaire_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_images")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_properties")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_answer_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_user_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (1.4ms)[0m [1mCREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (1.1ms)[0m CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (1.1ms)[0m CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")
+ [1m[36m (1.0ms)[0m [1mCREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questions")
+ [1m[36m (1.1ms)[0m [1mCREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "survey_property_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (1.2ms)[0m [1mCREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (1.3ms)[0m CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)
+ [1m[36m (1.1ms)[0m [1mCREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_answer_id')[0m
+ [1m[35m (0.9ms)[0m CREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")
+ [1m[36m (1.0ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) [0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (1.1ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
+ [1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111213185612')
+ [1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111010112000')[0m
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questionnaires_on_name')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questions")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questions_on_questionnaire_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_images")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_properties")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_answer_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_user_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+Migrating to CreateQuestions (20111208181247)
+Migrating to CreateAnswers (20111208181414)
+Migrating to CreateSurveyProperties (20111208181429)
+Migrating to CreateScores (20111208181449)
+Migrating to CreateUserAnswers (20111211175518)
+Migrating to CreateQuestionnaires (20111211175604)
+Migrating to AddQuestionaireIdToQuestions (20111211180011)
+Migrating to CreateSurveyImages (20111213185612)
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questionnaires_on_name')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questions")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_questions_on_questionnaire_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_images")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_properties")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_answer_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_user_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
+ [1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
+ [1m[35m (1.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+ [1m[35m (0.4ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111010112000')[0m
+Migrating to CreateQuestions (20111208181247)
+ [1m[35m (0.4ms)[0m CREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111208181247')[0m
+Migrating to CreateAnswers (20111208181414)
+ [1m[35m (0.3ms)[0m CREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("answers")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111208181414')[0m
+Migrating to CreateSurveyProperties (20111208181429)
+ [1m[35m (0.3ms)[0m CREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111208181429')[0m
+Migrating to CreateScores (20111208181449)
+ [1m[35m (0.3ms)[0m CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_scores_on_answer_id')
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")[0m
+ [1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111208181449')
+Migrating to CreateUserAnswers (20111211175518)
+ [1m[36m (0.3ms)[0m [1mCREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.1ms)[0m [1mCREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("user_answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_user_id')[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111211175518')[0m
+Migrating to CreateQuestionnaires (20111211175604)
+ [1m[35m (0.3ms)[0m CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.1ms)[0m CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111211175604')[0m
+Migrating to AddQuestionaireIdToQuestions (20111211180011)
+ [1m[35m (0.6ms)[0m ALTER TABLE "questions" ADD "questionnaire_id" integer
+ [1m[36m (0.1ms)[0m [1mPRAGMA index_list("questions")[0m
+ [1m[35m (0.2ms)[0m CREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111211180011')[0m
+Migrating to CreateSurveyImages (20111213185612)
+ [1m[35m (0.4ms)[0m CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20111213185612')[0m
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_answers_on_question_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questionnaires")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_questionnaires_on_name')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questions")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_questions_on_questionnaire_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("scores")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_scores_on_survey_property_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_scores_on_answer_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_images")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_properties")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_answer_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_user_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("users")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+Migrating to CreateUsers (20111010112000)
+ [1m[35m (0.3ms)[0m select sqlite_version(*)
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_answers_on_question_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questionnaires")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_questionnaires_on_name')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questions")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_questions_on_questionnaire_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("scores")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_scores_on_survey_property_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_scores_on_answer_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("survey_images")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("survey_properties")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_answer_id')
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_user_answers_on_user_id')[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("users")
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (1.2ms)[0m [1mCREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.1ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")[0m
+ [1m[35m (0.7ms)[0m CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.8ms)[0m CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")
+ [1m[36m (0.9ms)[0m [1mCREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questions")
+ [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")[0m
+ [1m[35m (0.9ms)[0m CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.7ms)[0m CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_scores_on_answer_id')
+ [1m[36m (0.6ms)[0m [1mCREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")[0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.7ms)[0m CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_answer_id')
+ [1m[36m (0.7ms)[0m [1mCREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")[0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
+ [1m[36m (0.7ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36m (0.9ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111213185612')[0m
+ [1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111010112000')
+ [1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
+ [1m[35m (0.2ms)[0m select sqlite_version(*)
+ [1m[36m (1.2ms)[0m [1mCREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer NOT NULL, "details" text, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("answers")
+ [1m[36m (0.8ms)[0m [1mCREATE INDEX "index_answers_on_question_id" ON "answers" ("question_id")[0m
+ [1m[35m (1.3ms)[0m CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("questionnaires")[0m
+ [1m[35m (0.8ms)[0m CREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")
+ [1m[36m (1.3ms)[0m [1mCREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text NOT NULL, "active" boolean DEFAULT 't', "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("questions")
+ [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_questions_on_questionnaire_id" ON "questions" ("questionnaire_id")[0m
+ [1m[35m (1.1ms)[0m CREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer NOT NULL, "survey_property_id" integer NOT NULL, "value" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.9ms)[0m CREATE INDEX "index_scores_on_answer_id" ON "scores" ("answer_id")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("scores")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_scores_on_answer_id')
+ [1m[36m (1.2ms)[0m [1mCREATE INDEX "index_scores_on_survey_property_id" ON "scores" ("survey_property_id")[0m
+ [1m[35m (1.0ms)[0m CREATE TABLE "survey_images" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "imageable_id" integer, "imageable_type" varchar(255), "position" integer, "photo_file_name" varchar(255), "photo_content_type" varchar(255), "photo_file_size" integer, "caption" varchar(255), "created_at" datetime, "updated_at" datetime)
+ [1m[36m (1.2ms)[0m [1mCREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35m (0.8ms)[0m CREATE TABLE "user_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer NOT NULL, "answer_id" integer NOT NULL, "created_at" datetime, "updated_at" datetime)
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.7ms)[0m CREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")
+ [1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_answers")[0m
+ [1m[35m (0.0ms)[0m PRAGMA index_info('index_user_answers_on_answer_id')
+ [1m[36m (1.0ms)[0m [1mCREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")[0m
+ [1m[35m (1.1ms)[0m CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
+ [1m[36m (0.8ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (0.0ms)[0m PRAGMA index_list("schema_migrations")
+ [1m[36m (0.8ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
+ [1m[35m (0.1ms)[0m SELECT version FROM "schema_migrations"
+ [1m[36m (1.4ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20111213185612')[0m
+ [1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20111010112000')