qwester 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +33 -0
- data/app/models/qwester/answer_store.rb +11 -1
- data/app/models/qwester/rule_set.rb +1 -1
- data/db/migrate/20121122130930_add_position_to_answers.rb +11 -0
- data/lib/qwester/version.rb +5 -1
- data/test/dummy/app/models/admin_user.rb +0 -9
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/migrate/{20130111112926_create_rule_sets.qwester.rb → 20130314103647_create_rule_sets.qwester.rb} +1 -1
- data/test/dummy/db/migrate/{20130111121500_add_ids_to_questionnaires_questions.qwester.rb → 20130314103655_add_ids_to_questionnaires_questions.qwester.rb} +1 -1
- data/test/dummy/db/migrate/20130314103656_add_position_to_answers.qwester.rb +12 -0
- data/test/dummy/db/schema.rb +3 -4
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +597 -0
- data/test/dummy/log/test.log +13644 -0
- data/test/unit/qwester/answer_store_test.rb +5 -0
- metadata +39 -39
- data/db/migrate/20121122130930_add_cope_index_and_position_to_answers.rb +0 -6
- data/test/dummy/db/migrate/20130111112934_add_cope_index_and_position_to_answers.qwester.rb +0 -7
- /data/test/dummy/db/migrate/{20130111112924_create_questions.qwester.rb → 20130314103645_create_questions.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112925_create_answers.qwester.rb → 20130314103646_create_answers.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112927_create_questionnaires.qwester.rb → 20130314103648_create_questionnaires.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112928_create_answer_stores.qwester.rb → 20130314103649_create_answer_stores.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112929_add_questionnaire_id_to_answers.qwester.rb → 20130314103650_add_questionnaire_id_to_answers.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112930_change_answers_value_to_string.qwester.rb → 20130314103651_change_answers_value_to_string.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112931_add_button_image_to_questionnaires.qwester.rb → 20130314103652_add_button_image_to_questionnaires.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112932_create_ckeditor_assets.qwester.rb → 20130314103653_create_ckeditor_assets.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112933_add_ref_to_questions.qwester.rb → 20130314103654_add_ref_to_questions.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112935_remove_questionnaire_from_answer.qwester.rb → 20130314103657_remove_questionnaire_from_answer.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112936_add_rule_to_rule_sets.qwester.rb → 20130314103658_add_rule_to_rule_sets.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112937_add_multi_answer_to_questions.qwester.rb → 20130314103659_add_multi_answer_to_questions.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112938_create_answer_stores_questionnaires.qwester.rb → 20130314103660_create_answer_stores_questionnaires.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130111112939_add_link_text_to_rule_sets.qwester.rb → 20130314103661_add_link_text_to_rule_sets.qwester.rb} +0 -0
- /data/test/dummy/db/migrate/{20130306115340_add_preserved_to_answer_stores.qwester.rb → 20130314103662_add_preserved_to_answer_stores.qwester.rb} +0 -0
@@ -40365,3 +40365,600 @@ Connecting to database specified by database.yml
|
|
40365
40365
|
[1m[35mSQL (7.5ms)[0m DELETE FROM "qwester_answer_stores" WHERE "qwester_answer_stores"."id" = ? [["id", 1]]
|
40366
40366
|
[1m[36m (133.1ms)[0m [1mcommit transaction[0m
|
40367
40367
|
[1m[35m (1.8ms)[0m SELECT COUNT(*) FROM "qwester_answer_stores"
|
40368
|
+
Connecting to database specified by database.yml
|
40369
|
+
Connecting to database specified by database.yml
|
40370
|
+
Connecting to database specified by database.yml
|
40371
|
+
[1m[36m (0.4ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
40372
|
+
Migrating to DeviseCreateAdminUsers (20130110115938)
|
40373
|
+
Migrating to CreateAdminComments (20130110115940)
|
40374
|
+
Migrating to CreateQuestions (20130111112924)
|
40375
|
+
Migrating to CreateAnswers (20130111112925)
|
40376
|
+
Migrating to CreateRuleSets (20130111112926)
|
40377
|
+
Migrating to CreateQuestionnaires (20130111112927)
|
40378
|
+
Migrating to CreateAnswerStores (20130111112928)
|
40379
|
+
Migrating to AddQuestionnaireIdToAnswers (20130111112929)
|
40380
|
+
Migrating to ChangeAnswersValueToString (20130111112930)
|
40381
|
+
Migrating to AddButtonImageToQuestionnaires (20130111112931)
|
40382
|
+
Migrating to CreateCkeditorAssets (20130111112932)
|
40383
|
+
Migrating to AddRefToQuestions (20130111112933)
|
40384
|
+
Migrating to AddCopeIndexAndPositionToAnswers (20130111112934)
|
40385
|
+
Migrating to RemoveQuestionnaireFromAnswer (20130111112935)
|
40386
|
+
Migrating to AddRuleToRuleSets (20130111112936)
|
40387
|
+
Migrating to AddMultiAnswerToQuestions (20130111112937)
|
40388
|
+
Migrating to CreateAnswerStoresQuestionnaires (20130111112938)
|
40389
|
+
Migrating to AddLinkTextToRuleSets (20130111112939)
|
40390
|
+
Migrating to AddIdsToQuestionnairesQuestions (20130111121500)
|
40391
|
+
Migrating to AddPreservedToAnswerStores (20130306115340)
|
40392
|
+
Migrating to AddPositionToAnswers (20130314102933)
|
40393
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
40394
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40395
|
+
[1m[35m (1.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314102933')
|
40396
|
+
[1m[36m (162.7ms)[0m [1mcommit transaction[0m
|
40397
|
+
[1m[35m (0.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40398
|
+
Connecting to database specified by database.yml
|
40399
|
+
[1m[36m (0.2ms)[0m [1mselect sqlite_version(*)[0m
|
40400
|
+
[1m[35m (174.3ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40401
|
+
[1m[36m (219.4ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
40402
|
+
[1m[35m (0.4ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40403
|
+
Migrating to DeviseCreateAdminUsers (20130110115938)
|
40404
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40405
|
+
[1m[35m (7.9ms)[0m CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40406
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
40407
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
|
40408
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130110115938')[0m
|
40409
|
+
[1m[35m (179.9ms)[0m commit transaction
|
40410
|
+
Migrating to CreateAdminComments (20130110115940)
|
40411
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40412
|
+
[1m[35m (3.6ms)[0m CREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "namespace" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40413
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
40414
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
|
40415
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130110115940')[0m
|
40416
|
+
[1m[35m (134.8ms)[0m commit transaction
|
40417
|
+
Migrating to CreateQuestions (20130111112924)
|
40418
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40419
|
+
[1m[35m (1.9ms)[0m CREATE TABLE "qwester_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40420
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111112924')[0m
|
40421
|
+
[1m[35m (125.2ms)[0m commit transaction
|
40422
|
+
Migrating to CreateAnswers (20130111112925)
|
40423
|
+
[1m[36m (0.7ms)[0m [1mbegin transaction[0m
|
40424
|
+
[1m[35m (4.7ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40425
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111112925')[0m
|
40426
|
+
[1m[35m (113.2ms)[0m commit transaction
|
40427
|
+
Migrating to CreateRuleSets (20130111112926)
|
40428
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40429
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40430
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qwester_answers_rule_sets" ("answer_id" integer, "rule_set_id" integer) [0m
|
40431
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112926')
|
40432
|
+
[1m[36m (98.9ms)[0m [1mcommit transaction[0m
|
40433
|
+
Migrating to CreateQuestionnaires (20130111112927)
|
40434
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40435
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "qwester_questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40436
|
+
[1m[35m (0.1ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer)
|
40437
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111112927')[0m
|
40438
|
+
[1m[35m (82.6ms)[0m commit transaction
|
40439
|
+
Migrating to CreateAnswerStores (20130111112928)
|
40440
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40441
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "qwester_answer_stores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40442
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qwester_answer_stores_answers" ("answer_id" integer, "answer_store_id" integer) [0m
|
40443
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112928')
|
40444
|
+
[1m[36m (88.8ms)[0m [1mcommit transaction[0m
|
40445
|
+
Migrating to AddQuestionnaireIdToAnswers (20130111112929)
|
40446
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40447
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_answers" ADD "questionnaire_id" integer[0m
|
40448
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112929')
|
40449
|
+
[1m[36m (103.6ms)[0m [1mcommit transaction[0m
|
40450
|
+
Migrating to ChangeAnswersValueToString (20130111112930)
|
40451
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40452
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer) [0m
|
40453
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "qwester_answers"
|
40454
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "qwester_answers"[0m
|
40455
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer)
|
40456
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_qwester_answers"[0m
|
40457
|
+
[1m[35m (0.3ms)[0m DROP TABLE "altered_qwester_answers"
|
40458
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111112930')[0m
|
40459
|
+
[1m[35m (138.4ms)[0m commit transaction
|
40460
|
+
Migrating to AddButtonImageToQuestionnaires (20130111112931)
|
40461
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40462
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_name" varchar(255)
|
40463
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_content_type" varchar(255)[0m
|
40464
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_size" integer
|
40465
|
+
[1m[36m (0.1ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_updated_at" datetime[0m
|
40466
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112931')
|
40467
|
+
[1m[36m (286.5ms)[0m [1mcommit transaction[0m
|
40468
|
+
Migrating to CreateCkeditorAssets (20130111112932)
|
40469
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40470
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "qwester_ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40471
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "qwester_idx_ckeditor_assetable_type" ON "qwester_ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
40472
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "qwester_idx_ckeditor_assetable" ON "qwester_ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
40473
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112932')
|
40474
|
+
[1m[36m (240.0ms)[0m [1mcommit transaction[0m
|
40475
|
+
Migrating to AddRefToQuestions (20130111112933)
|
40476
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40477
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "qwester_questions" ADD "ref" varchar(255)[0m
|
40478
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112933')
|
40479
|
+
[1m[36m (221.9ms)[0m [1mcommit transaction[0m
|
40480
|
+
Migrating to AddCopeIndexAndPositionToAnswers (20130111112934)
|
40481
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40482
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "qwester_answers" ADD "position" integer[0m
|
40483
|
+
[1m[35m (0.5ms)[0m ALTER TABLE "qwester_answers" ADD "cope_index" integer DEFAULT 0
|
40484
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111112934')[0m
|
40485
|
+
[1m[35m (197.4ms)[0m commit transaction
|
40486
|
+
Migrating to RemoveQuestionnaireFromAnswer (20130111112935)
|
40487
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40488
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer, "position" integer, "cope_index" integer DEFAULT 0)
|
40489
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "qwester_answers"[0m
|
40490
|
+
[1m[35m (0.3ms)[0m DROP TABLE "qwester_answers"
|
40491
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer, "cope_index" integer DEFAULT 0) [0m
|
40492
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "altered_qwester_answers"
|
40493
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_qwester_answers"[0m
|
40494
|
+
[1m[35m (1.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112935')
|
40495
|
+
[1m[36m (126.4ms)[0m [1mcommit transaction[0m
|
40496
|
+
Migrating to AddRuleToRuleSets (20130111112936)
|
40497
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40498
|
+
[1m[36m (1.3ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "rule" text[0m
|
40499
|
+
[1m[35m (1.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112936')
|
40500
|
+
[1m[36m (126.8ms)[0m [1mcommit transaction[0m
|
40501
|
+
Migrating to AddMultiAnswerToQuestions (20130111112937)
|
40502
|
+
[1m[35m (0.3ms)[0m begin transaction
|
40503
|
+
[1m[36m (9.6ms)[0m [1mALTER TABLE "qwester_questions" ADD "multi_answer" boolean[0m
|
40504
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112937')
|
40505
|
+
[1m[36m (207.2ms)[0m [1mcommit transaction[0m
|
40506
|
+
Migrating to CreateAnswerStoresQuestionnaires (20130111112938)
|
40507
|
+
[1m[35m (0.3ms)[0m begin transaction
|
40508
|
+
[1m[36m (1.6ms)[0m [1mCREATE TABLE "qwester_answer_stores_questionnaires" ("questionnaire_id" integer, "answer_store_id" integer) [0m
|
40509
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112938')
|
40510
|
+
[1m[36m (313.8ms)[0m [1mcommit transaction[0m
|
40511
|
+
Migrating to AddLinkTextToRuleSets (20130111112939)
|
40512
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40513
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "link_text" varchar(255)[0m
|
40514
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130111112939')
|
40515
|
+
[1m[36m (546.6ms)[0m [1mcommit transaction[0m
|
40516
|
+
Migrating to AddIdsToQuestionnairesQuestions (20130111121500)
|
40517
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40518
|
+
[1m[36m (0.3ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer) [0m
|
40519
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "qwester_questionnaires_questions"
|
40520
|
+
[1m[36m (1.5ms)[0m [1mDROP TABLE "qwester_questionnaires_questions"[0m
|
40521
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer, "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
40522
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_qwester_questionnaires_questions"[0m
|
40523
|
+
[1m[35m (0.1ms)[0m DROP TABLE "altered_qwester_questionnaires_questions"
|
40524
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "position" integer[0m
|
40525
|
+
[1m[35m (0.1ms)[0m ALTER TABLE "qwester_questionnaires_questions" ADD "created_at" datetime
|
40526
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "updated_at" datetime[0m
|
40527
|
+
[1m[35m (0.1ms)[0m UPDATE qwester_questionnaires_questions SET created_at = '2013-03-14 10:30:51', updated_at = '2013-03-14 10:30:51';
|
40528
|
+
[1m[36m (0.4ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130111121500')[0m
|
40529
|
+
[1m[35m (607.9ms)[0m commit transaction
|
40530
|
+
Migrating to AddPreservedToAnswerStores (20130306115340)
|
40531
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40532
|
+
[1m[35m (2.8ms)[0m ALTER TABLE "qwester_answer_stores" ADD "preserved" datetime
|
40533
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130306115340')[0m
|
40534
|
+
[1m[35m (497.3ms)[0m commit transaction
|
40535
|
+
Migrating to AddPositionToAnswers (20130314102933)
|
40536
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40537
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314102933')
|
40538
|
+
[1m[36m (536.2ms)[0m [1mcommit transaction[0m
|
40539
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40540
|
+
Connecting to database specified by database.yml
|
40541
|
+
[1m[36mQwester::Questionnaire Load (0.2ms)[0m [1mSELECT "qwester_questionnaires".* FROM "qwester_questionnaires" [0m
|
40542
|
+
Connecting to database specified by database.yml
|
40543
|
+
[1m[36m (0.2ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
40544
|
+
[1m[35m (0.2ms)[0m select sqlite_version(*)
|
40545
|
+
[1m[36m (171.2ms)[0m [1mCREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "namespace" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40546
|
+
[1m[35m (155.6ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
|
40547
|
+
[1m[36m (107.8ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
40548
|
+
[1m[35m (120.3ms)[0m CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40549
|
+
[1m[36m (132.2ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
40550
|
+
[1m[35m (172.7ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
|
40551
|
+
[1m[36m (156.5ms)[0m [1mCREATE TABLE "qwester_answer_stores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "preserved" datetime) [0m
|
40552
|
+
[1m[35m (223.4ms)[0m CREATE TABLE "qwester_answer_stores_answers" ("answer_id" integer, "answer_store_id" integer)
|
40553
|
+
[1m[36m (145.0ms)[0m [1mCREATE TABLE "qwester_answer_stores_questionnaires" ("questionnaire_id" integer, "answer_store_id" integer) [0m
|
40554
|
+
[1m[35m (169.2ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer, "cope_index" integer DEFAULT 0)
|
40555
|
+
[1m[36m (219.7ms)[0m [1mCREATE TABLE "qwester_answers_rule_sets" ("answer_id" integer, "rule_set_id" integer) [0m
|
40556
|
+
[1m[35m (270.0ms)[0m CREATE TABLE "qwester_ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40557
|
+
[1m[36m (281.4ms)[0m [1mCREATE INDEX "qwester_idx_ckeditor_assetable" ON "qwester_ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
40558
|
+
[1m[35m (307.1ms)[0m CREATE INDEX "qwester_idx_ckeditor_assetable_type" ON "qwester_ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
40559
|
+
[1m[36m (244.4ms)[0m [1mCREATE TABLE "qwester_questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "button_image_file_name" varchar(255), "button_image_content_type" varchar(255), "button_image_file_size" integer, "button_image_updated_at" datetime) [0m
|
40560
|
+
[1m[35m (126.0ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "questionnaire_id" integer, "question_id" integer, "position" integer, "created_at" datetime, "updated_at" datetime)
|
40561
|
+
[1m[36m (232.1ms)[0m [1mCREATE TABLE "qwester_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "ref" varchar(255), "multi_answer" boolean) [0m
|
40562
|
+
[1m[35m (305.4ms)[0m CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" varchar(255), "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "rule" text, "link_text" varchar(255))
|
40563
|
+
[1m[36m (274.0ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
40564
|
+
[1m[35m (325.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
40565
|
+
[1m[36m (0.3ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
40566
|
+
[1m[35m (658.4ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130314102933')
|
40567
|
+
[1m[36m (518.8ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130111112935')[0m
|
40568
|
+
[1m[35m (310.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130111112933')
|
40569
|
+
[1m[36m (348.6ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130111112939')[0m
|
40570
|
+
[1m[35m (265.0ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130111112927')
|
40571
|
+
Interrupt: : INSERT INTO "schema_migrations" (version) VALUES ('20130111112927')
|
40572
|
+
Connecting to database specified by database.yml
|
40573
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40574
|
+
[1m[35m (201.0ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40575
|
+
[1m[36m (239.6ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
40576
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40577
|
+
Migrating to CreateQuestions (20130314103645)
|
40578
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40579
|
+
[1m[35m (7.4ms)[0m CREATE TABLE "qwester_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40580
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103645')[0m
|
40581
|
+
[1m[35m (266.3ms)[0m commit transaction
|
40582
|
+
Migrating to CreateAnswers (20130314103646)
|
40583
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40584
|
+
[1m[35m (4.0ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40585
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103646')[0m
|
40586
|
+
[1m[35m (131.1ms)[0m commit transaction
|
40587
|
+
Migrating to CreateRuleSets (20130314103647)
|
40588
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40589
|
+
[1m[35m (4.5ms)[0m CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40590
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "qwester_answers_rule_sets" ("answer_id" integer, "rule_set_id" integer) [0m
|
40591
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103647')
|
40592
|
+
[1m[36m (135.9ms)[0m [1mcommit transaction[0m
|
40593
|
+
Migrating to CreateQuestionnaires (20130314103648)
|
40594
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40595
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "qwester_questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40596
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer)
|
40597
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103648')[0m
|
40598
|
+
[1m[35m (134.8ms)[0m commit transaction
|
40599
|
+
Migrating to CreateAnswerStores (20130314103649)
|
40600
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40601
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_answer_stores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40602
|
+
[1m[36m (0.1ms)[0m [1mCREATE TABLE "qwester_answer_stores_answers" ("answer_id" integer, "answer_store_id" integer) [0m
|
40603
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103649')
|
40604
|
+
[1m[36m (144.3ms)[0m [1mcommit transaction[0m
|
40605
|
+
Migrating to AddQuestionnaireIdToAnswers (20130314103650)
|
40606
|
+
[1m[35m (0.3ms)[0m begin transaction
|
40607
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_answers" ADD "questionnaire_id" integer[0m
|
40608
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103650')
|
40609
|
+
[1m[36m (140.6ms)[0m [1mcommit transaction[0m
|
40610
|
+
Migrating to ChangeAnswersValueToString (20130314103651)
|
40611
|
+
[1m[35m (0.3ms)[0m begin transaction
|
40612
|
+
[1m[36m (0.6ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer) [0m
|
40613
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "qwester_answers"
|
40614
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "qwester_answers"[0m
|
40615
|
+
[1m[35m (4.4ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer)
|
40616
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "altered_qwester_answers"[0m
|
40617
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_qwester_answers"
|
40618
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103651')[0m
|
40619
|
+
[1m[35m (211.0ms)[0m commit transaction
|
40620
|
+
Migrating to AddButtonImageToQuestionnaires (20130314103652)
|
40621
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40622
|
+
[1m[35m (1.9ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_name" varchar(255)
|
40623
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_content_type" varchar(255)[0m
|
40624
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_size" integer
|
40625
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_updated_at" datetime[0m
|
40626
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103652')
|
40627
|
+
[1m[36m (524.6ms)[0m [1mcommit transaction[0m
|
40628
|
+
Migrating to CreateCkeditorAssets (20130314103653)
|
40629
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40630
|
+
[1m[36m (10.3ms)[0m [1mCREATE TABLE "qwester_ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40631
|
+
[1m[35m (0.4ms)[0m CREATE INDEX "qwester_idx_ckeditor_assetable_type" ON "qwester_ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
40632
|
+
[1m[36m (0.4ms)[0m [1mCREATE INDEX "qwester_idx_ckeditor_assetable" ON "qwester_ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
40633
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103653')
|
40634
|
+
[1m[36m (221.4ms)[0m [1mcommit transaction[0m
|
40635
|
+
Migrating to AddRefToQuestions (20130314103654)
|
40636
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40637
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "qwester_questions" ADD "ref" varchar(255)[0m
|
40638
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103654')
|
40639
|
+
[1m[36m (276.4ms)[0m [1mcommit transaction[0m
|
40640
|
+
Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
|
40641
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40642
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer) [0m
|
40643
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "qwester_questionnaires_questions"
|
40644
|
+
[1m[36m (0.4ms)[0m [1mDROP TABLE "qwester_questionnaires_questions"[0m
|
40645
|
+
[1m[35m (1.0ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer, "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
40646
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_qwester_questionnaires_questions"[0m
|
40647
|
+
[1m[35m (0.2ms)[0m DROP TABLE "altered_qwester_questionnaires_questions"
|
40648
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "position" integer[0m
|
40649
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "qwester_questionnaires_questions" ADD "created_at" datetime
|
40650
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "updated_at" datetime[0m
|
40651
|
+
[1m[35m (0.1ms)[0m UPDATE qwester_questionnaires_questions SET created_at = '2013-03-14 10:37:01', updated_at = '2013-03-14 10:37:01';
|
40652
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103655')[0m
|
40653
|
+
[1m[35m (178.2ms)[0m commit transaction
|
40654
|
+
Migrating to AddPositionToAnswers (20130314103656)
|
40655
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40656
|
+
[1m[35m (1.1ms)[0m ALTER TABLE "qwester_answers" ADD "position" integer
|
40657
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103656')[0m
|
40658
|
+
[1m[35m (217.9ms)[0m commit transaction
|
40659
|
+
Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
|
40660
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40661
|
+
[1m[35m (0.4ms)[0m CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer, "position" integer)
|
40662
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "qwester_answers"[0m
|
40663
|
+
[1m[35m (2.7ms)[0m DROP TABLE "qwester_answers"
|
40664
|
+
[1m[36m (1.9ms)[0m [1mCREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer) [0m
|
40665
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "altered_qwester_answers"
|
40666
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_qwester_answers"[0m
|
40667
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103657')
|
40668
|
+
[1m[36m (395.7ms)[0m [1mcommit transaction[0m
|
40669
|
+
Migrating to AddRuleToRuleSets (20130314103658)
|
40670
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40671
|
+
[1m[36m (1.5ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "rule" text[0m
|
40672
|
+
[1m[35m (1.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103658')
|
40673
|
+
[1m[36m (360.2ms)[0m [1mcommit transaction[0m
|
40674
|
+
Migrating to AddMultiAnswerToQuestions (20130314103659)
|
40675
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40676
|
+
[1m[36m (1.2ms)[0m [1mALTER TABLE "qwester_questions" ADD "multi_answer" boolean[0m
|
40677
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103659')
|
40678
|
+
[1m[36m (418.9ms)[0m [1mcommit transaction[0m
|
40679
|
+
Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
|
40680
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40681
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "qwester_answer_stores_questionnaires" ("questionnaire_id" integer, "answer_store_id" integer) [0m
|
40682
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103660')
|
40683
|
+
[1m[36m (325.3ms)[0m [1mcommit transaction[0m
|
40684
|
+
Migrating to AddLinkTextToRuleSets (20130314103661)
|
40685
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40686
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "link_text" varchar(255)[0m
|
40687
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103661')
|
40688
|
+
[1m[36m (221.5ms)[0m [1mcommit transaction[0m
|
40689
|
+
Migrating to AddPreservedToAnswerStores (20130314103662)
|
40690
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40691
|
+
[1m[36m (2.3ms)[0m [1mALTER TABLE "qwester_answer_stores" ADD "preserved" datetime[0m
|
40692
|
+
[1m[35m (2.0ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103662')
|
40693
|
+
[1m[36m (272.2ms)[0m [1mcommit transaction[0m
|
40694
|
+
[1m[35m (0.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40695
|
+
Connecting to database specified by database.yml
|
40696
|
+
[1m[36mQwester::Questionnaire Load (0.2ms)[0m [1mSELECT "qwester_questionnaires".* FROM "qwester_questionnaires" [0m
|
40697
|
+
Connecting to database specified by database.yml
|
40698
|
+
Connecting to database specified by database.yml
|
40699
|
+
Connecting to database specified by database.yml
|
40700
|
+
Connecting to database specified by database.yml
|
40701
|
+
Connecting to database specified by database.yml
|
40702
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40703
|
+
[1m[35m (109.2ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40704
|
+
[1m[36m (132.2ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
40705
|
+
[1m[35m (1.3ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40706
|
+
Migrating to CreateQuestions (20130314103645)
|
40707
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40708
|
+
[1m[35m (1.8ms)[0m CREATE TABLE "qwester_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40709
|
+
[1m[36m (1.6ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103645')[0m
|
40710
|
+
[1m[35m (119.7ms)[0m commit transaction
|
40711
|
+
Migrating to CreateAnswers (20130314103646)
|
40712
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40713
|
+
[1m[35m (2.8ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40714
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103646')[0m
|
40715
|
+
[1m[35m (118.1ms)[0m commit transaction
|
40716
|
+
Migrating to CreateRuleSets (20130314103647)
|
40717
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40718
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40719
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qwester_answers_rule_sets" ("answer_id" integer, "rule_set_id" integer) [0m
|
40720
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103647')
|
40721
|
+
[1m[36m (125.4ms)[0m [1mcommit transaction[0m
|
40722
|
+
Migrating to CreateQuestionnaires (20130314103648)
|
40723
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40724
|
+
[1m[36m (0.4ms)[0m [1mCREATE TABLE "qwester_questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40725
|
+
[1m[35m (0.2ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer)
|
40726
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103648')[0m
|
40727
|
+
[1m[35m (139.0ms)[0m commit transaction
|
40728
|
+
Migrating to CreateAnswerStores (20130314103649)
|
40729
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40730
|
+
[1m[35m (11.1ms)[0m CREATE TABLE "qwester_answer_stores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40731
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qwester_answer_stores_answers" ("answer_id" integer, "answer_store_id" integer) [0m
|
40732
|
+
[1m[35m (9.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103649')
|
40733
|
+
[1m[36m (130.5ms)[0m [1mcommit transaction[0m
|
40734
|
+
Migrating to AddQuestionnaireIdToAnswers (20130314103650)
|
40735
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40736
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "qwester_answers" ADD "questionnaire_id" integer[0m
|
40737
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103650')
|
40738
|
+
[1m[36m (133.9ms)[0m [1mcommit transaction[0m
|
40739
|
+
Migrating to ChangeAnswersValueToString (20130314103651)
|
40740
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40741
|
+
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer) [0m
|
40742
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "qwester_answers"
|
40743
|
+
[1m[36m (1.9ms)[0m [1mDROP TABLE "qwester_answers"[0m
|
40744
|
+
[1m[35m (0.7ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer)
|
40745
|
+
[1m[36m (3.9ms)[0m [1mSELECT * FROM "altered_qwester_answers"[0m
|
40746
|
+
[1m[35m (0.3ms)[0m DROP TABLE "altered_qwester_answers"
|
40747
|
+
[1m[36m (1.0ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103651')[0m
|
40748
|
+
[1m[35m (121.1ms)[0m commit transaction
|
40749
|
+
Migrating to AddButtonImageToQuestionnaires (20130314103652)
|
40750
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40751
|
+
[1m[35m (2.7ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_name" varchar(255)
|
40752
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_content_type" varchar(255)[0m
|
40753
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_size" integer
|
40754
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_updated_at" datetime[0m
|
40755
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103652')
|
40756
|
+
[1m[36m (196.4ms)[0m [1mcommit transaction[0m
|
40757
|
+
Migrating to CreateCkeditorAssets (20130314103653)
|
40758
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40759
|
+
[1m[36m (1.4ms)[0m [1mCREATE TABLE "qwester_ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40760
|
+
[1m[35m (0.3ms)[0m CREATE INDEX "qwester_idx_ckeditor_assetable_type" ON "qwester_ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
40761
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "qwester_idx_ckeditor_assetable" ON "qwester_ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
40762
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103653')
|
40763
|
+
[1m[36m (173.4ms)[0m [1mcommit transaction[0m
|
40764
|
+
Migrating to AddRefToQuestions (20130314103654)
|
40765
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40766
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "qwester_questions" ADD "ref" varchar(255)[0m
|
40767
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103654')
|
40768
|
+
[1m[36m (287.7ms)[0m [1mcommit transaction[0m
|
40769
|
+
Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
|
40770
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40771
|
+
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer) [0m
|
40772
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "qwester_questionnaires_questions"
|
40773
|
+
[1m[36m (9.2ms)[0m [1mDROP TABLE "qwester_questionnaires_questions"[0m
|
40774
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer, "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
40775
|
+
[1m[36m (0.2ms)[0m [1mSELECT * FROM "altered_qwester_questionnaires_questions"[0m
|
40776
|
+
[1m[35m (0.4ms)[0m DROP TABLE "altered_qwester_questionnaires_questions"
|
40777
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "position" integer[0m
|
40778
|
+
[1m[35m (0.3ms)[0m ALTER TABLE "qwester_questionnaires_questions" ADD "created_at" datetime
|
40779
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "updated_at" datetime[0m
|
40780
|
+
[1m[35m (0.1ms)[0m UPDATE qwester_questionnaires_questions SET created_at = '2013-03-14 10:57:07', updated_at = '2013-03-14 10:57:07';
|
40781
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103655')[0m
|
40782
|
+
[1m[35m (200.1ms)[0m commit transaction
|
40783
|
+
Migrating to AddPositionToAnswers (20130314103656)
|
40784
|
+
[1m[36m (0.2ms)[0m [1mbegin transaction[0m
|
40785
|
+
[1m[35m (7.9ms)[0m ALTER TABLE "qwester_answers" ADD "position" integer
|
40786
|
+
[1m[36m (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103656')[0m
|
40787
|
+
[1m[35m (248.1ms)[0m commit transaction
|
40788
|
+
Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
|
40789
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40790
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer, "position" integer)
|
40791
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "qwester_answers"[0m
|
40792
|
+
[1m[35m (2.0ms)[0m DROP TABLE "qwester_answers"
|
40793
|
+
[1m[36m (1.0ms)[0m [1mCREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer) [0m
|
40794
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_qwester_answers"
|
40795
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_qwester_answers"[0m
|
40796
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103657')
|
40797
|
+
[1m[36m (161.6ms)[0m [1mcommit transaction[0m
|
40798
|
+
Migrating to AddRuleToRuleSets (20130314103658)
|
40799
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40800
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "rule" text[0m
|
40801
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103658')
|
40802
|
+
[1m[36m (127.2ms)[0m [1mcommit transaction[0m
|
40803
|
+
Migrating to AddMultiAnswerToQuestions (20130314103659)
|
40804
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40805
|
+
[1m[36m (1.6ms)[0m [1mALTER TABLE "qwester_questions" ADD "multi_answer" boolean[0m
|
40806
|
+
[1m[35m (0.6ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103659')
|
40807
|
+
[1m[36m (114.0ms)[0m [1mcommit transaction[0m
|
40808
|
+
Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
|
40809
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40810
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "qwester_answer_stores_questionnaires" ("questionnaire_id" integer, "answer_store_id" integer) [0m
|
40811
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103660')
|
40812
|
+
[1m[36m (112.6ms)[0m [1mcommit transaction[0m
|
40813
|
+
Migrating to AddLinkTextToRuleSets (20130314103661)
|
40814
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40815
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "link_text" varchar(255)[0m
|
40816
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103661')
|
40817
|
+
[1m[36m (121.9ms)[0m [1mcommit transaction[0m
|
40818
|
+
Migrating to AddPreservedToAnswerStores (20130314103662)
|
40819
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40820
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "qwester_answer_stores" ADD "preserved" datetime[0m
|
40821
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103662')
|
40822
|
+
[1m[36m (113.9ms)[0m [1mcommit transaction[0m
|
40823
|
+
Migrating to AddDeviseToAdminUsers (20130314105040)
|
40824
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40825
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "admin_users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
40826
|
+
SQLite3::SQLException: no such table: admin_users: ALTER TABLE "admin_users" ADD "email" varchar(255) DEFAULT '' NOT NULL
|
40827
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
40828
|
+
Connecting to database specified by database.yml
|
40829
|
+
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
40830
|
+
[1m[35m (309.1ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
40831
|
+
[1m[36m (299.3ms)[0m [1mCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")[0m
|
40832
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|
40833
|
+
Migrating to DeviseCreateAdminUsers (20130110115938)
|
40834
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40835
|
+
[1m[35m (2.3ms)[0m CREATE TABLE "admin_users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(255) DEFAULT '' NOT NULL, "reset_password_token" varchar(255), "reset_password_sent_at" datetime, "remember_created_at" datetime, "sign_in_count" integer DEFAULT 0, "current_sign_in_at" datetime, "last_sign_in_at" datetime, "current_sign_in_ip" varchar(255), "last_sign_in_ip" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40836
|
+
[1m[36m (0.4ms)[0m [1mCREATE UNIQUE INDEX "index_admin_users_on_email" ON "admin_users" ("email")[0m
|
40837
|
+
[1m[35m (0.2ms)[0m CREATE UNIQUE INDEX "index_admin_users_on_reset_password_token" ON "admin_users" ("reset_password_token")
|
40838
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130110115938')[0m
|
40839
|
+
[1m[35m (131.9ms)[0m commit transaction
|
40840
|
+
Migrating to CreateAdminComments (20130110115940)
|
40841
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40842
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "active_admin_comments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "resource_id" varchar(255) NOT NULL, "resource_type" varchar(255) NOT NULL, "author_id" integer, "author_type" varchar(255), "namespace" varchar(255), "body" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40843
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_active_admin_comments_on_namespace" ON "active_admin_comments" ("namespace")[0m
|
40844
|
+
[1m[35m (0.6ms)[0m CREATE INDEX "index_active_admin_comments_on_author_type_and_author_id" ON "active_admin_comments" ("author_type", "author_id")
|
40845
|
+
[1m[36m (0.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130110115940')[0m
|
40846
|
+
[1m[35m (129.7ms)[0m commit transaction
|
40847
|
+
Migrating to CreateQuestions (20130314103645)
|
40848
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40849
|
+
[1m[35m (2.0ms)[0m CREATE TABLE "qwester_questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "parent_id" integer, "lft" integer, "rgt" integer, "depth" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40850
|
+
[1m[36m (1.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103645')[0m
|
40851
|
+
[1m[35m (105.8ms)[0m commit transaction
|
40852
|
+
Migrating to CreateAnswers (20130314103646)
|
40853
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40854
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40855
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103646')[0m
|
40856
|
+
[1m[35m (100.3ms)[0m commit transaction
|
40857
|
+
Migrating to CreateRuleSets (20130314103647)
|
40858
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40859
|
+
[1m[35m (0.5ms)[0m CREATE TABLE "qwester_rule_sets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "url" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40860
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "qwester_answers_rule_sets" ("answer_id" integer, "rule_set_id" integer) [0m
|
40861
|
+
[1m[35m (0.7ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103647')
|
40862
|
+
[1m[36m (152.5ms)[0m [1mcommit transaction[0m
|
40863
|
+
Migrating to CreateQuestionnaires (20130314103648)
|
40864
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40865
|
+
[1m[36m (2.9ms)[0m [1mCREATE TABLE "qwester_questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "title" varchar(255), "description" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40866
|
+
[1m[35m (8.7ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer)
|
40867
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103648')[0m
|
40868
|
+
[1m[35m (126.1ms)[0m commit transaction
|
40869
|
+
Migrating to CreateAnswerStores (20130314103649)
|
40870
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40871
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_answer_stores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "session_id" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
|
40872
|
+
[1m[36m (0.2ms)[0m [1mCREATE TABLE "qwester_answer_stores_answers" ("answer_id" integer, "answer_store_id" integer) [0m
|
40873
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103649')
|
40874
|
+
[1m[36m (173.5ms)[0m [1mcommit transaction[0m
|
40875
|
+
Migrating to AddQuestionnaireIdToAnswers (20130314103650)
|
40876
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40877
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_answers" ADD "questionnaire_id" integer[0m
|
40878
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103650')
|
40879
|
+
[1m[36m (271.2ms)[0m [1mcommit transaction[0m
|
40880
|
+
Migrating to ChangeAnswersValueToString (20130314103651)
|
40881
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40882
|
+
[1m[36m (0.5ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" boolean, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer) [0m
|
40883
|
+
[1m[35m (3.1ms)[0m SELECT * FROM "qwester_answers"
|
40884
|
+
[1m[36m (2.3ms)[0m [1mDROP TABLE "qwester_answers"[0m
|
40885
|
+
[1m[35m (5.5ms)[0m CREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer)
|
40886
|
+
[1m[36m (0.3ms)[0m [1mSELECT * FROM "altered_qwester_answers"[0m
|
40887
|
+
[1m[35m (1.1ms)[0m DROP TABLE "altered_qwester_answers"
|
40888
|
+
[1m[36m (1.9ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103651')[0m
|
40889
|
+
[1m[35m (128.1ms)[0m commit transaction
|
40890
|
+
Migrating to AddButtonImageToQuestionnaires (20130314103652)
|
40891
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40892
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_name" varchar(255)
|
40893
|
+
[1m[36m (0.3ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_content_type" varchar(255)[0m
|
40894
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "qwester_questionnaires" ADD "button_image_file_size" integer
|
40895
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires" ADD "button_image_updated_at" datetime[0m
|
40896
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103652')
|
40897
|
+
[1m[36m (302.4ms)[0m [1mcommit transaction[0m
|
40898
|
+
Migrating to CreateCkeditorAssets (20130314103653)
|
40899
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40900
|
+
[1m[36m (3.8ms)[0m [1mCREATE TABLE "qwester_ckeditor_assets" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "data_file_name" varchar(255) NOT NULL, "data_content_type" varchar(255), "data_file_size" integer, "assetable_id" integer, "assetable_type" varchar(30), "type" varchar(30), "width" integer, "height" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) [0m
|
40901
|
+
[1m[35m (0.9ms)[0m CREATE INDEX "qwester_idx_ckeditor_assetable_type" ON "qwester_ckeditor_assets" ("assetable_type", "type", "assetable_id")
|
40902
|
+
[1m[36m (0.3ms)[0m [1mCREATE INDEX "qwester_idx_ckeditor_assetable" ON "qwester_ckeditor_assets" ("assetable_type", "assetable_id")[0m
|
40903
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103653')
|
40904
|
+
[1m[36m (264.9ms)[0m [1mcommit transaction[0m
|
40905
|
+
Migrating to AddRefToQuestions (20130314103654)
|
40906
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40907
|
+
[1m[36m (0.7ms)[0m [1mALTER TABLE "qwester_questions" ADD "ref" varchar(255)[0m
|
40908
|
+
[1m[35m (0.3ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103654')
|
40909
|
+
[1m[36m (138.1ms)[0m [1mcommit transaction[0m
|
40910
|
+
Migrating to AddIdsToQuestionnairesQuestions (20130314103655)
|
40911
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40912
|
+
[1m[36m (0.4ms)[0m [1mCREATE TEMPORARY TABLE "altered_qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer) [0m
|
40913
|
+
[1m[35m (0.2ms)[0m SELECT * FROM "qwester_questionnaires_questions"
|
40914
|
+
[1m[36m (2.8ms)[0m [1mDROP TABLE "qwester_questionnaires_questions"[0m
|
40915
|
+
[1m[35m (0.4ms)[0m CREATE TABLE "qwester_questionnaires_questions" ("questionnaire_id" integer, "question_id" integer, "id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
|
40916
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "altered_qwester_questionnaires_questions"[0m
|
40917
|
+
[1m[35m (0.3ms)[0m DROP TABLE "altered_qwester_questionnaires_questions"
|
40918
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "position" integer[0m
|
40919
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "qwester_questionnaires_questions" ADD "created_at" datetime
|
40920
|
+
[1m[36m (0.2ms)[0m [1mALTER TABLE "qwester_questionnaires_questions" ADD "updated_at" datetime[0m
|
40921
|
+
[1m[35m (0.1ms)[0m UPDATE qwester_questionnaires_questions SET created_at = '2013-03-14 11:06:50', updated_at = '2013-03-14 11:06:50';
|
40922
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103655')[0m
|
40923
|
+
[1m[35m (109.5ms)[0m commit transaction
|
40924
|
+
Migrating to AddPositionToAnswers (20130314103656)
|
40925
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40926
|
+
[1m[35m (0.4ms)[0m ALTER TABLE "qwester_answers" ADD "position" integer
|
40927
|
+
[1m[36m (0.2ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20130314103656')[0m
|
40928
|
+
[1m[35m (161.0ms)[0m commit transaction
|
40929
|
+
Migrating to RemoveQuestionnaireFromAnswer (20130314103657)
|
40930
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
40931
|
+
[1m[35m (0.3ms)[0m CREATE TEMPORARY TABLE "altered_qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "questionnaire_id" integer, "position" integer)
|
40932
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "qwester_answers"[0m
|
40933
|
+
[1m[35m (0.3ms)[0m DROP TABLE "qwester_answers"
|
40934
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "qwester_answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "value" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "position" integer) [0m
|
40935
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_qwester_answers"
|
40936
|
+
[1m[36m (0.2ms)[0m [1mDROP TABLE "altered_qwester_answers"[0m
|
40937
|
+
[1m[35m (0.8ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103657')
|
40938
|
+
[1m[36m (254.4ms)[0m [1mcommit transaction[0m
|
40939
|
+
Migrating to AddRuleToRuleSets (20130314103658)
|
40940
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40941
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "rule" text[0m
|
40942
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103658')
|
40943
|
+
[1m[36m (287.8ms)[0m [1mcommit transaction[0m
|
40944
|
+
Migrating to AddMultiAnswerToQuestions (20130314103659)
|
40945
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40946
|
+
[1m[36m (3.3ms)[0m [1mALTER TABLE "qwester_questions" ADD "multi_answer" boolean[0m
|
40947
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103659')
|
40948
|
+
[1m[36m (303.0ms)[0m [1mcommit transaction[0m
|
40949
|
+
Migrating to CreateAnswerStoresQuestionnaires (20130314103660)
|
40950
|
+
[1m[35m (0.2ms)[0m begin transaction
|
40951
|
+
[1m[36m (8.2ms)[0m [1mCREATE TABLE "qwester_answer_stores_questionnaires" ("questionnaire_id" integer, "answer_store_id" integer) [0m
|
40952
|
+
[1m[35m (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103660')
|
40953
|
+
[1m[36m (118.4ms)[0m [1mcommit transaction[0m
|
40954
|
+
Migrating to AddLinkTextToRuleSets (20130314103661)
|
40955
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40956
|
+
[1m[36m (2.4ms)[0m [1mALTER TABLE "qwester_rule_sets" ADD "link_text" varchar(255)[0m
|
40957
|
+
[1m[35m (0.9ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103661')
|
40958
|
+
[1m[36m (101.0ms)[0m [1mcommit transaction[0m
|
40959
|
+
Migrating to AddPreservedToAnswerStores (20130314103662)
|
40960
|
+
[1m[35m (0.1ms)[0m begin transaction
|
40961
|
+
[1m[36m (0.5ms)[0m [1mALTER TABLE "qwester_answer_stores" ADD "preserved" datetime[0m
|
40962
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20130314103662')
|
40963
|
+
[1m[36m (163.0ms)[0m [1mcommit transaction[0m
|
40964
|
+
[1m[35m (0.2ms)[0m SELECT "schema_migrations"."version" FROM "schema_migrations"
|