spec/dummy/db/test.sqlite3 in enju_message-0.1.0 vs spec/dummy/db/test.sqlite3 in enju_message-0.1.1
- old
+ new
@@ -1,6 +1,6 @@
-SQLite format 3 @ ! 5 - ZikLo
O/?indexindex_message_templates_on_statusmessage_templatesCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")F//;tablemessage_templatesmessage_templates
CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Q)5indexindex_library_groups_on_short_namelibrary_groupsCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
+SQLite format 3 @ ! 5 - ZikLo
O/?indexindex_message_templates_on_statusmessage_templatesCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")F//;tablemessage_templatesmessage_templates
CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Q)5indexindex_library_groups_on_short_namelibrary_groupsCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
))stablelibrary_groupslibrary_groupsCREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "use_dsbl" boolean DEFAULT 'f' NOT NULL, "dsbl_list" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)r Aindexindex_patrons_on_full_namepatrons
CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")O1indexindex_patrons_on_required_role_idpatrons CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")uCindexindex_patrons_on_country_idpatronsCREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")xEindexindex_patrons_on_language_idpatronsCREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")s=indexindex_patrons_on_user_idpatronsCREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)_tablepatronspatronsCREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "patron_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "creates_count" integer DEFAULT 0 NOT NULL, "realizes_count" integer DEFAULT 0 NOT NULL, "produces_count" integer DEFAULT 0 NOT NULL, "owns_count" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)=//indexunique_schema_migrationsschema_migrationsCREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")q//tableschema_migrationsschema_migrationsCREATE TABLE "schema_migrations" ("version" varchar(255) NOT
{iWE3! )20120213092115)20120125050502)20111201163718)20111201163342)20111201155513)20111201155456)20111201121844)20111201121636
)20111020063828)20110913115320)20110222073537
)20110115022329 )20100527113752)20100222124420)20100211105551)20080905191442)20080819181903154149801
q^K8% )20120213092115)20120125050502)20111201163718)20111201163342)20111201155513)20111201155456)20111201121844)20111201121636)20111020063828
)20110913115320)20110222073537)20110115022329
)20100527113752 )20100222124420)20100211105551)20080905191442)20080819181903154149801
iB
*n
@@ -15,26 +15,26 @@
hgfe
hgfe
p_U;$ Ruby社 %オーム社 +試験用会社h+作者ダミーg1出版社テストf7テスト正式名称e User3%New patron 5
-%New patron 4 %New patron 3%New patron 2%New patron 1 User2!Librarian2'Kosuke Tanabe!Librarian1'Administrator
t t ? 33 9unknownunknownunknownnext-l@library.example.jp0.0.0.0/0mf2012-04-30 21:51:132012-04-30 21:51:13fhttp://localhost:3000/
+%New patron 4 %New patron 3%New patron 2%New patron 1 User2!Librarian2'Kosuke Tanabe!Librarian1'Administrator
t t ? 33 9unknownunknownunknownnext-l@library.example.jp0.0.0.0/0mf2012-05-08 09:19:222012-05-08 09:19:22fhttp://localhost:3000/
unknown
.
7u e
?''33item_received_for_libraryItem receivedItem received
-ja2012-04-30 21:51:132012-04-30 21:51:13z M5533reservation_accepted_for_libraryReservation acceptedReservation accepted ja2012-04-30 21:51:132012-04-30 21:51:13k 33333recall_overdue_itemRecall overdue itemRecall overdue itemja2012-04-30 21:51:132012-04-30 21:51:13S ###33recall_itemRecall itemRecall itemja2012-04-30 21:51:132012-04-30 21:51:13z M5533reservation_canceled_for_libraryReservation canceledReservation canceledja2012-04-30 21:51:132012-04-30 21:51:13y K5533reservation_canceled_for_patronReservation canceledReservation canceledja2012-04-30 21:51:132012-04-30 21:51:13w K3333reservation_expired_for_libraryReservation expiredReservation expiredja2012-04-30 21:51:132012-04-30 21:51:13v I3333reservation_expired_for_patronReservation expiredReservation expiredja2012-04-30 21:51:132012-04-30 21:51:13d =''33item_received_for_patronItem receivedItem receivedja2012-04-30 21:51:132012-04-30 21:51:13y K5533reservation_accepted_for_patronReservation acceptedReservation acceptedja2012-04-30 21:51:132012-04-30 21:51:13
+ja2012-05-08 09:19:222012-05-08 09:19:22z M5533reservation_accepted_for_libraryReservation acceptedReservation accepted ja2012-05-08 09:19:222012-05-08 09:19:22k 33333recall_overdue_itemRecall overdue itemRecall overdue itemja2012-05-08 09:19:222012-05-08 09:19:22S ###33recall_itemRecall itemRecall itemja2012-05-08 09:19:222012-05-08 09:19:22z M5533reservation_canceled_for_libraryReservation canceledReservation canceledja2012-05-08 09:19:222012-05-08 09:19:22y K5533reservation_canceled_for_patronReservation canceledReservation canceledja2012-05-08 09:19:222012-05-08 09:19:22w K3333reservation_expired_for_libraryReservation expiredReservation expiredja2012-05-08 09:19:222012-05-08 09:19:22v I3333reservation_expired_for_patronReservation expiredReservation expiredja2012-05-08 09:19:222012-05-08 09:19:22d =''33item_received_for_patronItem receivedItem receivedja2012-05-08 09:19:222012-05-08 09:19:22y K5533reservation_accepted_for_patronReservation acceptedReservation acceptedja2012-05-08 09:19:222012-05-08 09:19:22
/Tx ?item_received_for_library
-$Mreservation_accepted_for_library 3recall_overdue_item#recall_item$Mreservation_canceled_for_library#Kreservation_canceled_for_patron#Kreservation_expired_for_library"Ireservation_expired_for_patron=item_received_for_patron#Kreservation_accepted_for_patron
G }G U 1 33 Dad!He is sucha dork.unread2012-04-28 21:51:132012-04-30 21:51:13k )I 33 Second MessageCatie, you get the 2nd messageunread2012-04-29 21:51:132012-04-30 21:51:13p /M 33 RE: First MessageThanks Dad! You are the coolest!unread2012-04-28 21:51:132012-04-30 21:51:13 3'K 73 2012-04-27 21:51:13First MessageAbby, you get the first messageunread2007-07-04 12:10:47.02012-04-30 21:51:13
!Zik" ktablemessagesmessagesCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "lft" integer, "rgt" integer, "depth" integer)vCindexindex_messages_on_parent_idmessagesCREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")U=indexindex_messages_on_message_request_idmessagesCREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")|G!indexindex_messages_on_receiver_idmessagesCREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")vCindexindex_messages_on_sender_idmessagesCREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")
O/?indexindex_message_templates_on_statusmessage_templatesCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")F//;tablemessage_templatesmessage_templates
CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)r Aindexindex_patrons_on_full_namepatrons
+$Mreservation_accepted_for_library 3recall_overdue_item#recall_item$Mreservation_canceled_for_library#Kreservation_canceled_for_patron#Kreservation_expired_for_library"Ireservation_expired_for_patron=item_received_for_patron#Kreservation_accepted_for_patron
G }G U 1 33 Dad!He is sucha dork.unread2012-05-06 09:19:222012-05-08 09:19:22k )I 33 Second MessageCatie, you get the 2nd messageunread2012-05-07 09:19:222012-05-08 09:19:22p /M 33 RE: First MessageThanks Dad! You are the coolest!unread2012-05-06 09:19:222012-05-08 09:19:22 3'K 73 2012-05-05 09:19:22First MessageAbby, you get the first messageunread2007-07-04 12:10:47.02012-05-08 09:19:22
!Zik" ktablemessagesmessagesCREATE TABLE "messages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "read_at" datetime, "receiver_id" integer, "sender_id" integer, "subject" varchar(255) NOT NULL, "body" text, "message_request_id" integer, "state" varchar(255), "parent_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "lft" integer, "rgt" integer, "depth" integer)vCindexindex_messages_on_parent_idmessagesCREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")U=indexindex_messages_on_message_request_idmessagesCREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")|G!indexindex_messages_on_receiver_idmessagesCREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")vCindexindex_messages_on_sender_idmessagesCREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")
O/?indexindex_message_templates_on_statusmessage_templatesCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")F//;tablemessage_templatesmessage_templates
CREATE TABLE "message_templates" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "status" varchar(255) NOT NULL, "title" text NOT NULL, "body" text NOT NULL, "position" integer, "locale" varchar(255) DEFAULT 'en', "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)r Aindexindex_patrons_on_full_namepatrons
CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")O1indexindex_patrons_on_required_role_idpatrons CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")uCindexindex_patrons_on_country_idpatronsCREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")xEindexindex_patrons_on_language_idpatronsCREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")s=indexindex_patrons_on_user_idpatronsCREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")P++Ytablesqlite_sequencesqlite_sequenceCREATE TABLE sqlite_sequence(name,seq)_tablepatronspatronsCREATE TABLE "patrons" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "last_name" varchar(255), "middle_name" varchar(255), "first_name" varchar(255), "last_name_transcription" varchar(255), "middle_name_transcription" varchar(255), "first_name_transcription" varchar(255), "corporate_name" varchar(255), "corporate_name_transcription" varchar(255), "full_name" varchar(255), "full_name_transcription" text, "full_name_alternative" text, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "deleted_at" datetime, "zip_code_1" varchar(255), "zip_code_2" varchar(255), "address_1" text, "address_2" text, "address_1_note" text, "address_2_note" text, "telephone_number_1" varchar(255), "telephone_number_2" varchar(255), "fax_number_1" varchar(255), "fax_number_2" varchar(255), "other_designation" text, "place" text, "postal_code" varchar(255), "street" text, "locality" text, "region" text, "date_of_birth" datetime, "date_of_death" datetime, "language_id" integer DEFAULT 1 NOT NULL, "country_id" integer DEFAULT 1 NOT NULL, "patron_type_id" integer DEFAULT 1 NOT NULL, "lock_version" integer DEFAULT 0 NOT NULL, "note" text, "creates_count" integer DEFAULT 0 NOT NULL, "realizes_count" integer DEFAULT 0 NOT NULL, "produces_count" integer DEFAULT 0 NOT NULL, "owns_count" integer DEFAULT 0 NOT NULL, "required_role_id" integer DEFAULT 1 NOT NULL, "required_score" integer DEFAULT 0 NOT NULL, "state" varchar(255), "email" text, "url" text)=//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)
F
F
3< %%Ctabledelayed_jobsdelayed_jobsCREATE TABLE "delayed_jobs" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "priority" integer DEFAULT 0, "attempts" integer DEFAULT 0, "handler" text, "last_error" text, "run_at" datetime, "locked_at" datetime, "failed_at" datetime, "locked_by" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "queue" varchar(255))^ ))wtableuser_has_rolesuser_has_roles!CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)z##;tableuser_groupsuser_groups CREATE TABLE "user_groups" ("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)SGindexindex_users_on_reset_password_tokenusersCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")]5}indexindex_users_on_emailusersCREATE INDEX "index_users_on_email" ON "users" ("email") tableusersusersCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_group_id" integer, "required_role_id" integer, "username" varchar(255), "note" text, "locale" varchar(255), "user_number" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "email" varchar(255) DEFAULT '' NOT NULL, "encrypted_password" varchar(128) 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))h/tablerolesrolesCREATE TABLE "roles" ("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)^tablelanguageslanguagesCREATE TABLE "languages" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "native_name" varchar(255), "display_name" text, "iso_639_1" varchar(255), "iso_639_2" varchar(255), "iso_639_3" varchar(255), "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)Q)5indexindex_library_groups_on_short_namelibrary_groupsCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")}))5tablelibrary_groupslibrary_groupsCREATE TABLE "library_groups" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "short_name" varchar(255) NOT NULL, "email" varchar(255), "my_networks" text, "login_banner" text, "note" text, "valid_period_for_new_user" integer DEFAULT 365 NOT NULL, "post_to_union_catalog" boolean DEFAULT 'f' NOT NULL, "country_id" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/'){7%'indexdelayed_jobs_prioritydelayed_jobsCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")%%Otablepatron_typespatron_typesCREATE TABLE "patron_types" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255) NOT NULL, "display_name" text, "note" text, "position" integer, "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
K-)indexindex_message_requests_on_statemessage_requestsCREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")W--atablemessage_requestsmessage_requestsCREATE TABLE "message_requests" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "sender_id" integer, "receiver_id" integer, "message_template_id" integer, "sent_at" datetime, "deleted_at" datetime, "body" text, "state" varchar(255), "created_at" datetime NOT NULL, "updated_at" datetime NOT NULL)
-
~ ~ ;f 33pending2012-04-30 21:51:132012-04-30 21:51:13;Ӳr 33pending2012-04-30 21:51:132012-04-30 21:51:13
+
~ ~ ;f 33pending2012-05-08 09:19:222012-05-08 09:19:22;Ӳr 33pending2012-05-08 09:19:222012-05-08 09:19:22
pendingʊfpending:l
-
L H ''