test/dummy/db/development.sqlite3 in survey_says-0.0.1 vs test/dummy/db/development.sqlite3 in survey_says-0.0.2
- old
+ new
@@ -1,12 +1,12 @@
-SQLite format 3 @ -
3
9d
-
- nq d''tablesurvey_imagessurvey_imagesCREATE 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)i!tablequestionsquestionsCREATE TABLE "questions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime, "questionnaire_id" integer)
E)indexindex_questionnaires_on_namequestionnairesCREATE INDEX "index_questionnaires_on_name" ON "questionnaires" ("name")))gtablequestionnairesquestionnaires
CREATE TABLE "questionnaires" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL)K%)indexindex_user_answers_on_answer_iduser_answersCREATE INDEX "index_user_answers_on_answer_id" ON "user_answers" ("answer_id")
-G%!indexindex_user_answers_on_user_iduser_answersCREATE INDEX "index_user_answers_on_user_id" ON "user_answers" ("user_id")Z %%wtableuser_answersuser_answers
-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)rCtableusersusers CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))RtablescoresscoresCREATE TABLE "scores" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "answer_id" integer, "survey_property_id" integer, "value" integer, "created_at" datetime, "updated_at" datetime)D//7tablesurvey_propertiessurvey_propertiesCREATE TABLE "survey_properties" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "created_at" datetime, "updated_at" datetime)^tableanswersanswersCREATE TABLE "answers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "question_id" integer, "details" text, "active" boolean, "position" integer, "created_at" datetime, "updated_at" datetime)P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq) >itablequestionsquestionsCREATE TABLE "questions"