spec/dummy/db/test.sqlite3 in enju_message-0.0.9 vs spec/dummy/db/test.sqlite3 in enju_message-0.0.10

- old
+ new

@@ -1,43 +1,34 @@ -SQLite format 3@ !5 -l{}p -KitablemessagesmessagesCREATE 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, "updated_at" datetime) O/?indexindex_message_templates_on_statusmessage_templatesCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")4 //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, "updated_at" datetime) Q)5indexindex_library_groups_on_short_namelibrary_groups CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name") - -))Otablelibrary_groupslibrary_groups CREATE 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, "updated_at" datetime)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)MqtablepatronspatronsCREATE 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, "updated_at" datetime, "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 +SQLite format 3@ !4-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_groups CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name") +))stablelibrary_groupslibrary_groups CREATE 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!)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 +q^K8%)20120125050502)20111201163718)20111201163342)20111201155513)20111201155456)20111201121844)20111201121636)20111020063828 )20110913115320 )20110222073537 )20110115022329 )20100527113752 )20100222124420)20100211105551)20080905191442)20080819181903154149801 iB *  n F  vJ1AA Ruby社2010-03-15 08:00:00.5793962010-03-15 08:00:00.579396{I1%AA オーム社2010-03-15 08:00:00.5793962010-03-15 08:00:00.579396~h1+AA 試験用会社2010-03-16 10:00:00.5793962010-03-16 10:00:00.579396~g1+AA 作者ダミー2010-03-16 10:00:00.5793962010-03-16 10:00:00.579396f11AA 出版社テスト2010-03-03 08:00:00.5793962010-03-03 08:00:00.579396,e1++7AA !テスト名字テスト名前テスト正式名称2010-03-03 08:00:00.5793962010-03-03 08:00:00.5793962000-01-01 1AA !User3User32007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-01 -1%%AA !New patron 5New patron 52007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-01 1%%AA !New patron 4New patron 42007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 3New patron 32007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 2New patron 22007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 1New patron 12007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011AA !User2User22007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011!!AA!Librarian2Librarian22007-12-04 07:25:01.7850272007-12-04 07:25:01.7850272000-01-011'AA!KosukeTanabeKosuke Tanabe2007-12-04 07:25:01.5236182007-12-04 07:25:01.5236182000-01-011!!AA !Librarian1Librarian12007-11-19 08:06:07.7245172007-11-21 13:02:10.3597932000-01-011''AA !AdministratorAdministrator2007-11-19 08:06:06.5072372007-11-21 13:01:56.1374092000-01-01 -PmbP -%delayed_jobs users)user_has_roles<;q#user_groups roles patrons messages/message_templates-message_requests:l)library_groups +1%%AA !New patron 5New patron 52007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-01 1%%AA !New patron 4New patron 42007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 3New patron 32007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 2New patron 22007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011%%AA !New patron 1New patron 12007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011AA !User2User22007-11-19 08:24:50.1534172007-11-21 13:02:35.5793962000-01-011!!AA!Librarian2Librarian22007-12-04 07:25:01.7850272007-12-04 07:25:01.7850272000-01-011'AA!KosukeTanabeKosuke Tanabe2007-12-04 07:25:01.5236182007-12-04 07:25:01.5236182000-01-011!!AA !Librarian1Librarian12007-11-19 08:06:07.7245172007-11-21 13:02:10.3597932000-01-011''AA !AdministratorAdministrator2007-11-19 08:06:06.5072372007-11-21 13:01:56.1374092000-01-01 bmb users)user_has_roles<;q#user_groups roles patrons messages/message_templates-message_requests:l)library_groups hgfe    hgfe    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 tt ?339unknownunknownunknownnext-l@library.example.jp0.0.0.0/0mf2012-02-14 03:29:152012-02-14 03:29:15fhttp://localhost:3000/ - unknown  5D M k 33333recall_overdue_itemRecall overdue itemRecall overdue itemen2012-02-14 03:29:152012-02-14 03:29:15S ###33recall_itemRecall itemRecall itemen2012-02-14 03:29:152012-02-14 03:29:15z M5533reservation_canceled_for_libraryReservation canceledReservation canceleden2012-02-14 03:29:152012-02-14 03:29:15y K5533reservation_canceled_for_patronReservation canceledReservation canceleden2012-02-14 03:29:152012-02-14 03:29:15w K3333reservation_expired_for_libraryReservation expiredReservation expireden2012-02-14 03:29:152012-02-14 03:29:15v I3333reservation_expired_for_patronReservation expiredReservation expireden2012-02-14 03:29:152012-02-14 03:29:15Y '''33item_receivedItem receivedItem receiveden2012-02-14 03:29:152012-02-14 03:29:15n 55533reservation_acceptedReservation acceptedReservation accepteden2012-02-14 03:29:152012-02-14 03:29:15 -5Ej3recall_overdue_item#recall_item$Mreservation_canceled_for_library#Kreservation_canceled_for_patron#Kreservation_expired_for_library"Ireservation_expired_for_patron'item_received5reservation_accepted G} G3'K732012-02-10 09:14:01First MessageAbby, you get the first messageunread2007-07-04 12:10:47.02012-02-13 09:14:U133Dad!He is sucha dork.unread2012-02-12 03:29:142012-02-14 03:29:15k)I33Second MessageCatie, you get the 2nd messageunread2012-02-13 03:29:142012-02-14 03:29:15p/M33RE: First MessageThanks Dad! You are the coolest!unread2012-02-12 03:29:142012-02-14 03:29:153'K732012-02-11 03:29:14First MessageAbby, you get the first messageunread2007-07-04 12:10:47.02012-02-14 03:29:15 - , 3l{}F,3!zGtablemessagesmessagesCREATE 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, "updated_at" datetime, "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")4 //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, "updated_at" datetime)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)MqtablepatronspatronsCREATE 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, "updated_at" datetime, "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) - + 4 -I f(Yn%%tabledelayed_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, "updated_at" datetime, "queue" varchar(255))L ))Stableuser_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, "updated_at" datetime)h##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, "updated_at" datetime)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")etableusersusersCREATE 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, "updated_at" datetime, "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))V tablerolesrolesCREATE TABLE "roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "display_name" text, "note" text, "position" integer, "created_at" datetime, "updated_at" datetime)LgtablelanguageslanguagesCREATE 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, "updated_at" datetime)Q)5indexindex_library_groups_on_short_namelibrary_groups CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")k))tablelibrary_groupslibrary_groups CREATE 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, "updated_at" datetime, "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")t%%+tablepatron_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, "updated_at" datetime) -K-)indexindex_message_requests_on_statemessage_requestsCREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")E--=tablemessage_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, "updated_at" datetime) +%New patron 4 %New patron 3%New patron 2%New patron 1 User2!Librarian2'Kosuke Tanabe!Librarian1'Administrator tt ?339unknownunknownunknownnext-l@library.example.jp0.0.0.0/0mf2012-02-24 13:13:532012-02-24 13:13:53fhttp://localhost:3000/ + unknown  5D M k 33333recall_overdue_itemRecall overdue itemRecall overdue itemen2012-02-24 13:13:532012-02-24 13:13:53S ###33recall_itemRecall itemRecall itemen2012-02-24 13:13:532012-02-24 13:13:53z M5533reservation_canceled_for_libraryReservation canceledReservation canceleden2012-02-24 13:13:532012-02-24 13:13:53y K5533reservation_canceled_for_patronReservation canceledReservation canceleden2012-02-24 13:13:532012-02-24 13:13:53w K3333reservation_expired_for_libraryReservation expiredReservation expireden2012-02-24 13:13:532012-02-24 13:13:53v I3333reservation_expired_for_patronReservation expiredReservation expireden2012-02-24 13:13:532012-02-24 13:13:53Y '''33item_receivedItem receivedItem receiveden2012-02-24 13:13:532012-02-24 13:13:53n 55533reservation_acceptedReservation acceptedReservation accepteden2012-02-24 13:13:532012-02-24 13:13:53 +5Ej3recall_overdue_item#recall_item$Mreservation_canceled_for_library#Kreservation_canceled_for_patron#Kreservation_expired_for_library"Ireservation_expired_for_patron'item_received5reservation_accepted G} GU133Dad!He is sucha dork.unread2012-02-22 13:13:532012-02-24 13:13:54k)I33Second MessageCatie, you get the 2nd messageunread2012-02-23 13:13:532012-02-24 13:13:54p/M33RE: First MessageThanks Dad! You are the coolest!unread2012-02-22 13:13:532012-02-24 13:13:543'K732012-02-21 13:13:52First MessageAbby, you get the first messageunread2007-07-04 12:10:47.02012-02-24 13:13:54  !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) + \=$- + + wn\84 sSGindexindex_users_on_reset_^ ))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)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) +K-)indexindex_message_requests_on_statemessage_requestsCREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")%%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)j%%tabledelayed_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){7%'indexdelayed_jobs_prioritydelayed_jobsCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")}))5tablelibrary_groupslibrary_groups CREATE 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/')Q)5indexindex_library_groups_on_short_namelibrary_groups CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")^ 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)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) 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))]5}indexindex_users_on_emailusersCREATE INDEX "index_users_on_email" ON "users" ("email")SGindexindex_users_on_reset_password_tokenusersCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")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) +  - ~~;f 33pending2012-02-14 03:29:152012-02-14 03:29:15;Ӳr 33pending2012-02-14 03:29:152012-02-14 03:29:15 -pendingʊfpending:l  66G^AAA--- !ruby/object:Delayed::PerformableMethod -args: [] - -method_name: :inspect -object: !ruby/class Message -2012-02-14 03:25:22.9859442012-02-14 03:25:22.9876382012-02-14 03:25:22.987638 - A2012-02-14 03:25:22.985944  LH''33AdministratorAdministrator2012-02-14 03:29:152012-02-14 03:29:15@33LibrarianLibrarian2012-02-14 03:29:152012-02-14 03:29:15633UserUser2012-02-14 03:29:152012-02-14 03:29:15833GuestGuest2012-02-14 03:29:152012-02-14 03:29:15  + ~~;f 33pending2012-02-24 13:13:532012-02-24 13:13:53;Ӳr 33pending2012-02-24 13:13:532012-02-24 13:13:53 +pendingʊfpending:l   +  LH''33AdministratorAdministrator2012-02-24 13:13:542012-02-24 13:13:54@33LibrarianLibrarian2012-02-24 13:13:542012-02-24 13:13:54633UserUser2012-02-24 13:13:542012-02-24 13:13:54833GuestGuest2012-02-24 13:13:542012-02-24 13:13:54  U C kAAA user42007-11-19 07:58:34.6374132008-05-31 04:02:25.101261user4@kamata.lib.teu.ac.jpcc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417kAAA user32007-11-19 07:58:34.6374132008-05-31 04:02:25.101261user3@kamata.lib.teu.ac.jpcc53de0c2d9a1a228daa9a673ec824473747e17507a6c3c4f7e5eff8821f531d4b9e23616b3ddc66fe17006b2298a556fbd567ac080e87f00f37eef8cee6c417'AAAuser22008-01-18 04:29:06.9227282008-05-31 03:42:44.711117user2@kamata.lib.teu.ac.jp$2a$10$i7UjJhLVrJM/J7qaTwW39OXw1NiwowUEbtNHVDV0sqMLjX9.UO9ca1!AAKlibrarian22008-01-18 03:24:04.2223442008-05-31 03:42:23.340575librarian2@kamata.lib.teu.ac.jp$2a$10$YmmTGrYQ1Ir6oc7wXnp.GuNeO1eYLoP3sv8wMSIrTdaGw2BPwRrpS'AAAuser12007-11-19 07:58:34.6374132008-05-31 04:02:25.101261user1@kamata.lib.teu.ac.jp$2a$10$JthS59A0BNkDOoFpCXM0V.GhhffKaoWKbzpPahYp/vTFrOyM7h/uW1!AAKlibrarian12007-11-19 07:58:33.1724412008-05-31 03:41:16.337474librarian1@kamata.lib.teu.ac.jp$2a$10$9O2VuTccN4gHq36ARg0QReSrb1D7WrBBhZZ759RM9moHbB0W5zCzS(AACadmin2007-11-19 07:58:32.1119412008-05-31 04:16:30.163731tanabe@kamata.lib.teu.ac.jp$2a$10$vHohD1WflnTIqAa8zMkF9evwAgIZRw3XuR4d3bi29M.jph/MB/AJi yZ;Auser4@kamata.lib.teu.ac.jpAuser3@kamata.lib.teu.ac.jpAuser2@kamata.lib.teu.ac.jp#Klibrarian2@kamata.lib.teu.ac.jpAuser1@kamata.lib.teu.ac.jp#Klibrarian1@kamata.lib.teu.ac.jpCtanabe@kamata.lib.teu.ac.jp - \K AAFacultyFaculty2007-12-22 18:15:05.1264572007-12-22 18:15:05.134351E AAUserUser2007-12-22 18:14:40.1739542007-12-22 18:14:56.836548[++ AA(not specified)(not specified)2007-12-13 12:00:01.6749762007-12-13 12:00:51.564542 f3.]332012-02-14 03:29:152012-02-14 03:29:15.z332012-02-14 03:29:152012-02-14 03:29:15.o332012-02-14 03:29:152012-02-14 03:29:15.U332012-02-14 03:29:152012-02-14 03:29:15.ƊW332012-02-14 03:29:152012-02-14 03:29:15.q332012-02-14 03:29:152012-02-14 03:29:15.x332012-02-14 03:29:152012-02-14 03:29:15 + \K AAFacultyFaculty2007-12-22 18:15:05.1264572007-12-22 18:15:05.134351E AAUserUser2007-12-22 18:14:40.1739542007-12-22 18:14:56.836548[++ AA(not specified)(not specified)2007-12-13 12:00:01.6749762007-12-13 12:00:51.564542 f3.]332012-02-24 13:13:542012-02-24 13:13:54.z332012-02-24 13:13:542012-02-24 13:13:54.o332012-02-24 13:13:542012-02-24 13:13:54.U332012-02-24 13:13:542012-02-24 13:13:54.ƊW332012-02-24 13:13:542012-02-24 13:13:54.q332012-02-24 13:13:542012-02-24 13:13:54.x332012-02-24 13:13:542012-02-24 13:13:54 \ No newline at end of file