enju_message 0.0.9 → 0.0.10

Sign up to get free protection for your applications and to get access to all the features.
Files changed (136) hide show
  1. data/app/controllers/message_templates_controller.rb +2 -3
  2. data/lib/enju_message/version.rb +1 -1
  3. data/spec/controllers/message_templates_controller_spec.rb +1 -1
  4. data/spec/dummy/app/controllers/application_controller.rb +8 -0
  5. data/spec/dummy/db/schema.rb +25 -26
  6. data/spec/dummy/db/test.sqlite3 +0 -0
  7. data/spec/dummy/log/development.log +69 -189
  8. data/spec/dummy/log/sunspot-solr-test.log +232 -222
  9. data/spec/dummy/log/test.log +144089 -34525
  10. data/spec/dummy/solr/data/test/index/segments_1 +0 -0
  11. data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
  12. metadata +53 -171
  13. data/app/views/baskets/edit.html.erb +0 -30
  14. data/app/views/baskets/index.html.erb +0 -31
  15. data/app/views/baskets/new.html.erb +0 -29
  16. data/app/views/baskets/show.html.erb +0 -23
  17. data/app/views/carrier_type_has_checkout_types/_form.html.erb +0 -19
  18. data/app/views/carrier_type_has_checkout_types/edit.html.erb +0 -13
  19. data/app/views/carrier_type_has_checkout_types/index.html.erb +0 -33
  20. data/app/views/carrier_type_has_checkout_types/new.html.erb +0 -12
  21. data/app/views/carrier_type_has_checkout_types/show.html.erb +0 -29
  22. data/app/views/checked_items/_checkouts.html.erb +0 -20
  23. data/app/views/checked_items/_list.html.erb +0 -39
  24. data/app/views/checked_items/edit.html.erb +0 -21
  25. data/app/views/checked_items/index.html.erb +0 -32
  26. data/app/views/checked_items/index.js.erb +0 -1
  27. data/app/views/checked_items/new.html.erb +0 -20
  28. data/app/views/checked_items/show.html.erb +0 -24
  29. data/app/views/checkins/_form.html.erb +0 -24
  30. data/app/views/checkins/_list.html.erb +0 -51
  31. data/app/views/checkins/edit.html.erb +0 -26
  32. data/app/views/checkins/index.html.erb +0 -16
  33. data/app/views/checkins/index.js.erb +0 -1
  34. data/app/views/checkins/new.html.erb +0 -14
  35. data/app/views/checkins/show.html.erb +0 -24
  36. data/app/views/checkout_stat_has_manifestations/_form.html.erb +0 -15
  37. data/app/views/checkout_stat_has_manifestations/edit.html.erb +0 -13
  38. data/app/views/checkout_stat_has_manifestations/index.html.erb +0 -33
  39. data/app/views/checkout_stat_has_manifestations/new.html.erb +0 -12
  40. data/app/views/checkout_stat_has_manifestations/show.html.erb +0 -28
  41. data/app/views/checkout_stat_has_users/_form.html.erb +0 -15
  42. data/app/views/checkout_stat_has_users/edit.html.erb +0 -13
  43. data/app/views/checkout_stat_has_users/index.html.erb +0 -33
  44. data/app/views/checkout_stat_has_users/new.html.erb +0 -12
  45. data/app/views/checkout_stat_has_users/show.html.erb +0 -28
  46. data/app/views/checkout_types/_form.html.erb +0 -19
  47. data/app/views/checkout_types/edit.html.erb +0 -13
  48. data/app/views/checkout_types/index.html.erb +0 -50
  49. data/app/views/checkout_types/new.html.erb +0 -12
  50. data/app/views/checkout_types/show.html.erb +0 -38
  51. data/app/views/checkouts/_form.html.erb +0 -28
  52. data/app/views/checkouts/_index.html.erb +0 -23
  53. data/app/views/checkouts/_index_overdue.html.erb +0 -33
  54. data/app/views/checkouts/_index_user.html.erb +0 -44
  55. data/app/views/checkouts/_list.html.erb +0 -45
  56. data/app/views/checkouts/edit.html.erb +0 -51
  57. data/app/views/checkouts/index.atom.builder +0 -14
  58. data/app/views/checkouts/index.csv.erb +0 -4
  59. data/app/views/checkouts/index.html.erb +0 -11
  60. data/app/views/checkouts/index.ics.erb +0 -13
  61. data/app/views/checkouts/index.rss.builder +0 -38
  62. data/app/views/checkouts/new.html.erb +0 -20
  63. data/app/views/checkouts/show.html.erb +0 -35
  64. data/app/views/circulation_statuses/_form.html.erb +0 -19
  65. data/app/views/circulation_statuses/edit.html.erb +0 -13
  66. data/app/views/circulation_statuses/index.html.erb +0 -43
  67. data/app/views/circulation_statuses/new.html.erb +0 -12
  68. data/app/views/circulation_statuses/show.html.erb +0 -29
  69. data/app/views/item_has_use_restrictions/edit.html.erb +0 -27
  70. data/app/views/item_has_use_restrictions/index.html.erb +0 -32
  71. data/app/views/item_has_use_restrictions/new.html.erb +0 -25
  72. data/app/views/item_has_use_restrictions/show.html.erb +0 -29
  73. data/app/views/lending_policies/_form.html.erb +0 -41
  74. data/app/views/lending_policies/edit.html.erb +0 -13
  75. data/app/views/lending_policies/index.html.erb +0 -42
  76. data/app/views/lending_policies/new.html.erb +0 -12
  77. data/app/views/lending_policies/show.html.erb +0 -50
  78. data/app/views/manifestation_checkout_stats/_form.html.erb +0 -19
  79. data/app/views/manifestation_checkout_stats/edit.html.erb +0 -13
  80. data/app/views/manifestation_checkout_stats/index.html.erb +0 -35
  81. data/app/views/manifestation_checkout_stats/new.html.erb +0 -12
  82. data/app/views/manifestation_checkout_stats/show.csv.erb +0 -4
  83. data/app/views/manifestation_checkout_stats/show.html.erb +0 -55
  84. data/app/views/manifestation_reserve_stats/_form.html.erb +0 -19
  85. data/app/views/manifestation_reserve_stats/edit.html.erb +0 -13
  86. data/app/views/manifestation_reserve_stats/index.html.erb +0 -35
  87. data/app/views/manifestation_reserve_stats/new.html.erb +0 -12
  88. data/app/views/manifestation_reserve_stats/show.csv.erb +0 -4
  89. data/app/views/manifestation_reserve_stats/show.html.erb +0 -55
  90. data/app/views/reserve_stat_has_manifestations/_form.html.erb +0 -15
  91. data/app/views/reserve_stat_has_manifestations/edit.html.erb +0 -13
  92. data/app/views/reserve_stat_has_manifestations/index.html.erb +0 -33
  93. data/app/views/reserve_stat_has_manifestations/new.html.erb +0 -12
  94. data/app/views/reserve_stat_has_manifestations/show.html.erb +0 -28
  95. data/app/views/reserve_stat_has_users/_form.html.erb +0 -15
  96. data/app/views/reserve_stat_has_users/edit.html.erb +0 -13
  97. data/app/views/reserve_stat_has_users/index.html.erb +0 -33
  98. data/app/views/reserve_stat_has_users/new.html.erb +0 -12
  99. data/app/views/reserve_stat_has_users/show.html.erb +0 -28
  100. data/app/views/reserves/_form.html.erb +0 -49
  101. data/app/views/reserves/_new.html.erb +0 -44
  102. data/app/views/reserves/_new_user.html.erb +0 -50
  103. data/app/views/reserves/_title.html.erb +0 -19
  104. data/app/views/reserves/edit.html.erb +0 -42
  105. data/app/views/reserves/index.atom.builder +0 -14
  106. data/app/views/reserves/index.csv.erb +0 -4
  107. data/app/views/reserves/index.html.erb +0 -75
  108. data/app/views/reserves/index.rss.builder +0 -41
  109. data/app/views/reserves/new.html.erb +0 -5
  110. data/app/views/reserves/show.html.erb +0 -61
  111. data/app/views/use_restrictions/_form.html.erb +0 -19
  112. data/app/views/use_restrictions/edit.html.erb +0 -13
  113. data/app/views/use_restrictions/index.html.erb +0 -43
  114. data/app/views/use_restrictions/new.html.erb +0 -12
  115. data/app/views/use_restrictions/show.html.erb +0 -29
  116. data/app/views/user_checkout_stats/_form.html.erb +0 -19
  117. data/app/views/user_checkout_stats/edit.html.erb +0 -13
  118. data/app/views/user_checkout_stats/index.html.erb +0 -35
  119. data/app/views/user_checkout_stats/new.html.erb +0 -12
  120. data/app/views/user_checkout_stats/show.csv.erb +0 -4
  121. data/app/views/user_checkout_stats/show.html.erb +0 -55
  122. data/app/views/user_group_has_checkout_types/edit.html.erb +0 -63
  123. data/app/views/user_group_has_checkout_types/index.html.erb +0 -32
  124. data/app/views/user_group_has_checkout_types/new.html.erb +0 -62
  125. data/app/views/user_group_has_checkout_types/show.html.erb +0 -64
  126. data/app/views/user_reserve_stats/_form.html.erb +0 -19
  127. data/app/views/user_reserve_stats/edit.html.erb +0 -13
  128. data/app/views/user_reserve_stats/index.html.erb +0 -35
  129. data/app/views/user_reserve_stats/new.html.erb +0 -12
  130. data/app/views/user_reserve_stats/show.csv.erb +0 -4
  131. data/app/views/user_reserve_stats/show.html.erb +0 -54
  132. data/spec/dummy/db/development.sqlite3 +0 -0
  133. data/spec/dummy/db/migrate/20120213092115_add_queue_to_delayed_jobs.rb +0 -9
  134. data/spec/dummy/db/production.sqlite3 +0 -0
  135. data/spec/dummy/log/production.log +0 -20
  136. data/spec/dummy/script/delayed_job +0 -5
@@ -4,9 +4,8 @@ class MessageTemplatesController < InheritedResources::Base
4
4
 
5
5
  def update
6
6
  @message_template = MessageTemplate.find(params[:id])
7
- if params[:position]
8
- @message_template.insert_at(params[:position])
9
- redirect_to message_templates_url
7
+ if params[:move]
8
+ move_position(@message_template, params[:move])
10
9
  return
11
10
  end
12
11
  update!
@@ -1,3 +1,3 @@
1
1
  module EnjuMessage
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -305,7 +305,7 @@ describe MessageTemplatesController do
305
305
  end
306
306
 
307
307
  it "moves its position when specified" do
308
- put :update, :id => @message_template.id, :message_template => @attrs, :position => 2
308
+ put :update, :id => @message_template.id, :message_template => @attrs, :move => 'lower'
309
309
  response.should redirect_to(message_templates_url)
310
310
  end
311
311
  end
@@ -42,4 +42,12 @@ class ApplicationController < ActionController::Base
42
42
  def solr_commit
43
43
  Sunspot.commit
44
44
  end
45
+
46
+ def move_position(resource, direction)
47
+ if ['higher', 'lower'].include?(direction)
48
+ resource.send("move_#{direction}")
49
+ redirect_to url_for(:controller => resource.class.to_s.pluralize.underscore)
50
+ return
51
+ end
52
+ end
45
53
  end
@@ -11,7 +11,7 @@
11
11
  #
12
12
  # It's strongly recommended to check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20120213092115) do
14
+ ActiveRecord::Schema.define(:version => 20120125050502) do
15
15
 
16
16
  create_table "delayed_jobs", :force => true do |t|
17
17
  t.integer "priority", :default => 0
@@ -22,9 +22,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
22
22
  t.datetime "locked_at"
23
23
  t.datetime "failed_at"
24
24
  t.string "locked_by"
25
- t.datetime "created_at"
26
- t.datetime "updated_at"
27
- t.string "queue"
25
+ t.datetime "created_at", :null => false
26
+ t.datetime "updated_at", :null => false
28
27
  end
29
28
 
30
29
  add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
@@ -38,8 +37,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
38
37
  t.string "iso_639_3"
39
38
  t.text "note"
40
39
  t.integer "position"
41
- t.datetime "created_at"
42
- t.datetime "updated_at"
40
+ t.datetime "created_at", :null => false
41
+ t.datetime "updated_at", :null => false
43
42
  end
44
43
 
45
44
  create_table "library_groups", :force => true do |t|
@@ -53,8 +52,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
53
52
  t.integer "valid_period_for_new_user", :default => 365, :null => false
54
53
  t.boolean "post_to_union_catalog", :default => false, :null => false
55
54
  t.integer "country_id"
56
- t.datetime "created_at"
57
- t.datetime "updated_at"
55
+ t.datetime "created_at", :null => false
56
+ t.datetime "updated_at", :null => false
58
57
  t.text "admin_networks"
59
58
  t.boolean "allow_bookmark_external_url", :default => false, :null => false
60
59
  t.integer "position"
@@ -71,8 +70,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
71
70
  t.datetime "deleted_at"
72
71
  t.text "body"
73
72
  t.string "state"
74
- t.datetime "created_at"
75
- t.datetime "updated_at"
73
+ t.datetime "created_at", :null => false
74
+ t.datetime "updated_at", :null => false
76
75
  end
77
76
 
78
77
  add_index "message_requests", ["state"], :name => "index_message_requests_on_state"
@@ -83,8 +82,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
83
82
  t.text "body", :null => false
84
83
  t.integer "position"
85
84
  t.string "locale", :default => "en"
86
- t.datetime "created_at"
87
- t.datetime "updated_at"
85
+ t.datetime "created_at", :null => false
86
+ t.datetime "updated_at", :null => false
88
87
  end
89
88
 
90
89
  add_index "message_templates", ["status"], :name => "index_message_templates_on_status", :unique => true
@@ -98,8 +97,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
98
97
  t.integer "message_request_id"
99
98
  t.string "state"
100
99
  t.integer "parent_id"
101
- t.datetime "created_at"
102
- t.datetime "updated_at"
100
+ t.datetime "created_at", :null => false
101
+ t.datetime "updated_at", :null => false
103
102
  t.integer "lft"
104
103
  t.integer "rgt"
105
104
  t.integer "depth"
@@ -115,8 +114,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
115
114
  t.text "display_name"
116
115
  t.text "note"
117
116
  t.integer "position"
118
- t.datetime "created_at"
119
- t.datetime "updated_at"
117
+ t.datetime "created_at", :null => false
118
+ t.datetime "updated_at", :null => false
120
119
  end
121
120
 
122
121
  create_table "patrons", :force => true do |t|
@@ -132,8 +131,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
132
131
  t.string "full_name"
133
132
  t.text "full_name_transcription"
134
133
  t.text "full_name_alternative"
135
- t.datetime "created_at"
136
- t.datetime "updated_at"
134
+ t.datetime "created_at", :null => false
135
+ t.datetime "updated_at", :null => false
137
136
  t.datetime "deleted_at"
138
137
  t.string "zip_code_1"
139
138
  t.string "zip_code_2"
@@ -180,8 +179,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
180
179
  t.text "display_name"
181
180
  t.text "note"
182
181
  t.integer "position"
183
- t.datetime "created_at"
184
- t.datetime "updated_at"
182
+ t.datetime "created_at", :null => false
183
+ t.datetime "updated_at", :null => false
185
184
  end
186
185
 
187
186
  create_table "user_groups", :force => true do |t|
@@ -189,15 +188,15 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
189
188
  t.text "display_name"
190
189
  t.text "note"
191
190
  t.integer "position"
192
- t.datetime "created_at"
193
- t.datetime "updated_at"
191
+ t.datetime "created_at", :null => false
192
+ t.datetime "updated_at", :null => false
194
193
  end
195
194
 
196
195
  create_table "user_has_roles", :force => true do |t|
197
196
  t.integer "user_id"
198
197
  t.integer "role_id"
199
- t.datetime "created_at"
200
- t.datetime "updated_at"
198
+ t.datetime "created_at", :null => false
199
+ t.datetime "updated_at", :null => false
201
200
  end
202
201
 
203
202
  create_table "users", :force => true do |t|
@@ -207,8 +206,8 @@ ActiveRecord::Schema.define(:version => 20120213092115) do
207
206
  t.text "note"
208
207
  t.string "locale"
209
208
  t.string "user_number"
210
- t.datetime "created_at"
211
- t.datetime "updated_at"
209
+ t.datetime "created_at", :null => false
210
+ t.datetime "updated_at", :null => false
212
211
  t.string "email", :default => "", :null => false
213
212
  t.string "encrypted_password", :limit => 128, :default => "", :null => false
214
213
  t.string "reset_password_token"
Binary file
@@ -1,226 +1,106 @@
1
- SOLR Request (1.5ms) [ path=#<RSolr::Client:0x007feca4acdf30> parameters={data: <?xml version="1.0" encoding="UTF-8"?><delete><query>type:Message</query></delete>, headers: {"Content-Type"=>"text/xml"}, method: post, params: {:wt=>:ruby}, query: wt=ruby, path: update, uri: http://localhost:8982/solr/update?wt=ruby} ]
2
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSolr::Connection instead. (called from <top (required)> at /Users/kosuke/enju_message/spec/dummy/config/environment.rb:5)
3
- DEPRECATION WARNING: The InstanceMethods module inside ActiveSupport::Concern will be no longer included automatically. Please define instance methods directly in RSolr::Connection instead. (called from <top (required)> at /Users/kosuke/enju_message/spec/dummy/config/environment.rb:5)
4
1
   (0.1ms) select sqlite_version(*)
5
-  (5.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
6
-  (0.1ms) PRAGMA index_list("schema_migrations")
7
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
2
+  (1.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
3
+  (0.0ms) PRAGMA index_list("schema_migrations")
4
+  (1.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
8
5
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
9
- Migrating to CreatePatrons (1)
10
-  (0.0ms) begin transaction
11
-  (0.5ms) CREATE 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) 
12
-  (0.0ms) PRAGMA index_list("patrons")
13
-  (2.0ms) CREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")
14
-  (0.0ms) PRAGMA index_list("patrons")
15
-  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')
16
-  (0.1ms) CREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")
17
-  (0.0ms) PRAGMA index_list("patrons")
18
-  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')
19
-  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')
20
-  (0.1ms) CREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")
21
-  (0.0ms) PRAGMA index_list("patrons")
22
-  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')
23
-  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')
24
-  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')
25
-  (0.1ms) CREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")
26
-  (0.0ms) PRAGMA index_list("patrons")
27
-  (0.0ms) PRAGMA index_info('index_patrons_on_required_role_id')
28
-  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')
29
-  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')
30
-  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')
31
-  (0.1ms) CREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")
32
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('1')
33
-  (1.2ms) commit transaction
34
- Migrating to CreateLibraryGroups (80)
35
-  (0.0ms) begin transaction
36
-  (0.4ms) 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) 
37
-  (0.1ms) PRAGMA index_list("library_groups")
38
-  (0.2ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
39
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('80')
40
-  (0.9ms) commit transaction
41
6
  Migrating to CreateMessageTemplates (149)
42
-  (0.0ms) begin transaction
43
-  (0.4ms) 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) 
44
-  (0.0ms) PRAGMA index_list("message_templates")
45
-  (0.3ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")
46
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149')
47
-  (0.8ms) commit transaction
7
+  (0.4ms) 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)
8
+  (0.0ms) PRAGMA index_list("message_templates")
9
+  (0.4ms) CREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")
10
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('149')
48
11
  Migrating to CreateMessages (154)
49
-  (0.0ms) begin transaction
50
-  (0.3ms) CREATE 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) 
51
-  (0.0ms) PRAGMA index_list("messages")
52
-  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")
53
-  (0.0ms) PRAGMA index_list("messages")
54
-  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
55
-  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")
12
+  (0.3ms) CREATE 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)
56
13
   (0.0ms) PRAGMA index_list("messages")
57
-  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')
58
-  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
59
-  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")
14
+  (0.1ms) CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")
60
15
   (0.0ms) PRAGMA index_list("messages")
61
-  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')
16
+  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
17
+  (0.1ms) CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")
18
+  (0.0ms) PRAGMA index_list("messages")
62
19
   (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')
63
20
   (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
64
-  (0.2ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")
65
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154')
66
-  (1.1ms) commit transaction
21
+  (0.1ms) CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")
22
+  (0.0ms) PRAGMA index_list("messages")
23
+  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')
24
+  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')
25
+  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
26
+  (0.1ms) CREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")
27
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('154')
67
28
  Migrating to CreateMessageRequests (20080819181903)
68
-  (0.0ms) begin transaction
69
-  (0.5ms) CREATE 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) 
70
-  (0.0ms) PRAGMA index_list("message_requests")
71
-  (0.2ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")
72
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903')
73
-  (0.8ms) commit transaction
74
- Migrating to CreatePatronTypes (20080905191442)
75
-  (0.1ms) begin transaction
76
-  (0.5ms) CREATE 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) 
77
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
78
-  (1.0ms) commit transaction
79
- Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
80
-  (0.1ms) begin transaction
81
-  (0.4ms) ALTER TABLE "library_groups" ADD "admin_networks" text
82
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
83
-  (0.9ms) commit transaction
84
- Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
85
-  (0.0ms) begin transaction
86
-  (0.4ms) ALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL
87
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100222124420')
88
-  (1.0ms) commit transaction
89
- Migrating to CreateDelayedJobs (20100527113752)
90
-  (0.0ms) begin transaction
91
-  (0.3ms) CREATE 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) 
92
-  (0.0ms) PRAGMA index_list("delayed_jobs")
93
-  (0.1ms) CREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")
94
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20100527113752')
95
-  (1.1ms) commit transaction
96
- Migrating to AddPositionToLibraryGroup (20110115022329)
97
-  (0.1ms) begin transaction
98
-  (0.6ms) ALTER TABLE "library_groups" ADD "position" integer
99
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110115022329')
100
-  (1.2ms) commit transaction
101
- Migrating to AddUrlToLibraryGroup (20110222073537)
102
-  (0.0ms) begin transaction
103
-  (0.4ms) ALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'
104
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
105
-  (0.9ms) commit transaction
29
+  (0.4ms) CREATE 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)
30
+  (0.0ms) PRAGMA index_list("message_requests")
31
+  (0.1ms) CREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")
32
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903')
106
33
  Migrating to AddLftAndRgtToMessage (20110913115320)
107
-  (0.0ms) begin transaction
108
-  (0.4ms) ALTER TABLE "messages" ADD "lft" integer
109
-  (0.2ms) ALTER TABLE "messages" ADD "rgt" integer
110
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320')
111
-  (0.8ms) commit transaction
112
- Migrating to RemoveDsblFromLibraryGroup (20111020063828)
113
-  (0.0ms) begin transaction
114
-  (0.5ms) CREATE TEMPORARY TABLE "altered_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, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
115
-  (0.0ms) PRAGMA index_list("library_groups")
116
-  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')
117
-  (0.0ms) PRAGMA index_list("altered_library_groups")
118
-  (0.1ms) CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")
119
-  (0.1ms) SELECT * FROM "library_groups"
120
-  (0.2ms) DROP TABLE "library_groups"
121
-  (0.2ms) 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, "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, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/') 
122
-  (0.0ms) PRAGMA index_list("altered_library_groups")
123
-  (0.0ms) PRAGMA index_info('temp_index_altered_library_groups_on_short_name')
124
-  (0.0ms) PRAGMA index_list("library_groups")
125
-  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
126
-  (0.1ms) SELECT * FROM "altered_library_groups"
127
-  (0.5ms) DROP TABLE "altered_library_groups"
128
-  (0.3ms) CREATE TEMPORARY TABLE "altered_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, "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, "admin_networks" text, "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL, "position" integer, "url" varchar(255) DEFAULT 'http://localhost:3000/')
129
-  (0.0ms) PRAGMA index_list("library_groups")
130
-  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')
131
-  (0.0ms) PRAGMA index_list("altered_library_groups")
132
-  (0.2ms) CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")
133
-  (0.1ms) SELECT * FROM "library_groups"
134
-  (0.5ms) DROP TABLE "library_groups"
135
-  (0.2ms) 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/') 
136
-  (0.0ms) PRAGMA index_list("altered_library_groups")
137
-  (0.0ms) PRAGMA index_info('temp_index_altered_library_groups_on_short_name')
138
-  (0.0ms) PRAGMA index_list("library_groups")
139
-  (0.1ms) CREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")
140
-  (0.1ms) SELECT * FROM "altered_library_groups"
141
-  (0.1ms) DROP TABLE "altered_library_groups"
142
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111020063828')
143
-  (1.5ms) commit transaction
34
+  (0.5ms) ALTER TABLE "messages" ADD "lft" integer
35
+  (0.2ms) ALTER TABLE "messages" ADD "rgt" integer
36
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20110913115320')
144
37
  Migrating to CreateLanguages (20111201121636)
145
-  (0.0ms) begin transaction
146
-  (0.4ms) CREATE 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) 
147
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
148
-  (0.8ms) commit transaction
38
+  (0.5ms) CREATE 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) 
39
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
149
40
  Migrating to CreateRoles (20111201121844)
150
-  (0.0ms) begin transaction
151
-  (0.3ms) CREATE 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) 
41
+  (0.3ms) CREATE 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) 
152
42
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
153
-  (1.1ms) commit transaction
154
43
  Migrating to CreateUsers (20111201155456)
155
-  (0.1ms) begin transaction
156
-  (0.4ms) CREATE 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) 
44
+  (0.4ms) CREATE 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), "created_at" datetime, "updated_at" datetime) 
157
45
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
158
-  (0.9ms) commit transaction
159
46
  Migrating to AddDeviseToUsers (20111201155513)
160
-  (0.0ms) begin transaction
161
-  (0.4ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
47
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
48
+ Migrating to CreateMessageTemplates (149)
49
+ Migrating to CreateMessages (154)
50
+ Migrating to CreateMessageRequests (20080819181903)
51
+ Migrating to AddLftAndRgtToMessage (20110913115320)
52
+ Migrating to CreateLanguages (20111201121636)
53
+ Migrating to CreateRoles (20111201121844)
54
+ Migrating to CreateUsers (20111201155456)
55
+ Migrating to AddDeviseToUsers (20111201155513)
56
+  (0.0ms) select sqlite_version(*)
57
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
58
+ Migrating to CreateMessageTemplates (149)
59
+ Migrating to CreateMessages (154)
60
+ Migrating to CreateMessageRequests (20080819181903)
61
+ Migrating to AddLftAndRgtToMessage (20110913115320)
62
+ Migrating to CreateLanguages (20111201121636)
63
+ Migrating to CreateRoles (20111201121844)
64
+ Migrating to CreateUsers (20111201155456)
65
+ Migrating to AddDeviseToUsers (20111201155513)
66
+  (0.0ms) select sqlite_version(*)
67
+  (0.6ms) ALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL
162
68
   (0.2ms) ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
163
69
   (0.2ms) ALTER TABLE "users" ADD "reset_password_token" varchar(255)
164
70
   (0.2ms) ALTER TABLE "users" ADD "reset_password_sent_at" datetime
165
71
   (0.2ms) ALTER TABLE "users" ADD "remember_created_at" datetime
166
-  (0.2ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
72
+  (0.3ms) ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
167
73
   (0.2ms) ALTER TABLE "users" ADD "current_sign_in_at" datetime
168
74
   (0.2ms) ALTER TABLE "users" ADD "last_sign_in_at" datetime
169
75
   (0.2ms) ALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)
170
76
   (0.2ms) ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
171
77
   (0.0ms) PRAGMA index_list("users")
172
-  (0.1ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
78
+  (0.2ms) CREATE INDEX "index_users_on_email" ON "users" ("email")
173
79
   (0.0ms) PRAGMA index_list("users")
174
80
   (0.0ms) PRAGMA index_info('index_users_on_email')
175
-  (0.3ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
81
+  (0.5ms) CREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")
176
82
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
177
-  (1.1ms) commit transaction
178
83
  Migrating to CreateUserGroups (20111201163342)
179
-  (0.0ms) begin transaction
180
-  (0.4ms) 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) 
84
+  (0.5ms) 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) 
181
85
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
182
-  (0.8ms) commit transaction
183
86
  Migrating to CreateUserHasRoles (20111201163718)
184
-  (0.0ms) begin transaction
185
-  (0.4ms) 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) 
87
+  (0.5ms) CREATE TABLE "user_has_roles" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "role_id" integer, "created_at" datetime, "updated_at" datetime) 
186
88
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
187
-  (1.0ms) commit transaction
188
- Migrating to AddDepthToMessage (20120125050502)
189
-  (0.0ms) begin transaction
190
-  (0.6ms) ALTER TABLE "messages" ADD "depth" integer
191
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120125050502')
192
-  (0.9ms) commit transaction
193
- Migrating to AddQueueToDelayedJobs (20120213092115)
194
-  (0.0ms) begin transaction
195
-  (0.4ms) ALTER TABLE "delayed_jobs" ADD "queue" varchar(255)
196
-  (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES ('20120213092115')
197
-  (0.7ms) commit transaction
198
-  (0.5ms) select sqlite_version(*)
199
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
200
-  (0.0ms) PRAGMA index_list("delayed_jobs")
201
-  (0.0ms) PRAGMA index_info('delayed_jobs_priority')
202
-  (0.0ms) PRAGMA index_list("languages")
203
-  (0.0ms) PRAGMA index_list("library_groups")
204
-  (0.0ms) PRAGMA index_info('index_library_groups_on_short_name')
205
-  (0.0ms) PRAGMA index_list("message_requests")
206
-  (0.0ms) PRAGMA index_info('index_message_requests_on_state')
207
-  (0.0ms) PRAGMA index_list("message_templates")
208
-  (0.0ms) PRAGMA index_info('index_message_templates_on_status')
209
-  (0.0ms) PRAGMA index_list("messages")
210
-  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')
211
-  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')
212
-  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')
213
-  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
214
-  (0.0ms) PRAGMA index_list("patron_types")
215
-  (0.1ms) PRAGMA index_list("patrons")
216
-  (0.0ms) PRAGMA index_info('index_patrons_on_full_name')
217
-  (0.0ms) PRAGMA index_info('index_patrons_on_required_role_id')
218
-  (0.0ms) PRAGMA index_info('index_patrons_on_country_id')
219
-  (0.0ms) PRAGMA index_info('index_patrons_on_language_id')
220
-  (0.0ms) PRAGMA index_info('index_patrons_on_user_id')
89
+  (0.5ms) select sqlite_version(*)
90
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
91
+  (0.0ms) PRAGMA index_list("languages")
92
+  (0.0ms) PRAGMA index_list("message_requests")
93
+  (0.0ms) PRAGMA index_info('index_message_requests_on_state')
94
+  (0.0ms) PRAGMA index_list("message_templates")
95
+  (0.0ms) PRAGMA index_info('index_message_templates_on_status')
96
+  (0.1ms) PRAGMA index_list("messages")
97
+  (0.0ms) PRAGMA index_info('index_messages_on_parent_id')
98
+  (0.0ms) PRAGMA index_info('index_messages_on_message_request_id')
99
+  (0.0ms) PRAGMA index_info('index_messages_on_receiver_id')
100
+  (0.0ms) PRAGMA index_info('index_messages_on_sender_id')
221
101
   (0.0ms) PRAGMA index_list("roles")
222
102
   (0.0ms) PRAGMA index_list("user_groups")
223
103
   (0.0ms) PRAGMA index_list("user_has_roles")
224
-  (0.1ms) PRAGMA index_list("users")
104
+  (0.0ms) PRAGMA index_list("users")
225
105
   (0.0ms) PRAGMA index_info('index_users_on_reset_password_token')
226
106
   (0.0ms) PRAGMA index_info('index_users_on_email')