spec/dummy/db/development.sqlite3 in enju_manifestation_viewer-0.1.0.pre7 vs spec/dummy/db/development.sqlite3 in enju_manifestation_viewer-0.1.0.pre8
- old
+ new
@@ -1,10 +1,21 @@
+SQLite format 3 @ -$
+u { {
+# 1
))CtablemanifestationsmanifestationsCREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "access_address" varchar(255), "language_id" integer DEFAULT 1 NOT NULL, "carrier_type_id" integer DEFAULT 1 NOT NULL, "extent_id" integer DEFAULT 1 NOT NULL, "start_page" integer, "end_page" integer, "height" integer, "width" integer, "depth" integer, "price" integer, "fulltext" text, "volume_number_string" varchar(255), "issue_number_string" varchar(255), "serial_number_string" varchar(255), "edition" integer, "note" text, "repository_content" boolean DEFAULT 'f' NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "state" varchar(255), "required_score" integer DEFAULT 0 NOT NULL, "frequency_id" integer DEFAULT 1 NOT NULL, "subscription_master" boolean DEFAULT 'f' NOT NULL, "volume_number" integer, "issue_number" integer, "serial_number" integer, "pub_date" varchar(255), "periodical" boolean),c)Yindexindex_manifestations_on_date_of_publicationmanifestations CREATE INDEX "index_manifestations_on_date_of_publication" ON "manifestations" ("date_of_publication")Q)5indexindex_manifestations_on_updated_atmanifestationsCREATE INDEX "index_manifestations_on_updated_at" ON "manifestations" ("updated_at");m)mindexindex_manifestations_on_manifestation_identifiermanifestationsCREATE INDEX "index_manifestations_on_manifestation_identifier" ON "manifestations" ("manifestation_identifier")Y)Eindexindex_manifestations_on_access_addressmanifestationsCREATE INDEX "index_manifestations_on_access_address" ON "manifestations" ("access_address")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq) ))QtablemanifestationsmanifestationsCREATE TABLE "manifestations" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "original_title" text NOT NULL, "title_alternative" text, "title_transcription" text, "classification_number" varchar(255), "manifestation_identifier" varchar(255), "date_of_publication" datetime, "copyright_date" datetime, "created_at" datetime NOT NULL, "updated_at" datet7m#kindexindex_identifiers_on_body_and_identifier_type_ididentifiersCREATE INDEX "index_identifiers_on_body_and_identifier_type_id" ON "identifiers" ("body", "identifier_type_id")7
+##5tableidentifiersidentifiersCREATE TABLE "identifiers" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "body" varchar(255) NOT NULL, "identifier_type_id" integer NOT NULL, "manifestation_id" integer, "primary" boolean, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL) --Etableidentifier_typesidentifier_types
+CREATE TABLE "identifier_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")q//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
)20130421093852)20110301035123)20130506175834)20130506175303)201109160910205
+ )20130421093852)20110301035123)20130506175834)20130506175303)20110916091020 5
+
+
+
+
+
\ No newline at end of file