enju_message 0.0.7 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/app/models/message.rb +1 -1
- data/app/views/baskets/edit.html.erb +30 -0
- data/app/views/baskets/index.html.erb +31 -0
- data/app/views/baskets/new.html.erb +29 -0
- data/app/views/baskets/show.html.erb +23 -0
- data/app/views/carrier_type_has_checkout_types/_form.html.erb +19 -0
- data/app/views/carrier_type_has_checkout_types/edit.html.erb +13 -0
- data/app/views/carrier_type_has_checkout_types/index.html.erb +33 -0
- data/app/views/carrier_type_has_checkout_types/new.html.erb +12 -0
- data/app/views/carrier_type_has_checkout_types/show.html.erb +29 -0
- data/app/views/checked_items/_checkouts.html.erb +20 -0
- data/app/views/checked_items/_list.html.erb +39 -0
- data/app/views/checked_items/edit.html.erb +21 -0
- data/app/views/checked_items/index.html.erb +32 -0
- data/app/views/checked_items/index.js.erb +1 -0
- data/app/views/checked_items/new.html.erb +20 -0
- data/app/views/checked_items/show.html.erb +24 -0
- data/app/views/checkins/_form.html.erb +24 -0
- data/app/views/checkins/_list.html.erb +51 -0
- data/app/views/checkins/edit.html.erb +26 -0
- data/app/views/checkins/index.html.erb +16 -0
- data/app/views/checkins/index.js.erb +1 -0
- data/app/views/checkins/new.html.erb +14 -0
- data/app/views/checkins/show.html.erb +24 -0
- data/app/views/checkout_stat_has_manifestations/_form.html.erb +15 -0
- data/app/views/checkout_stat_has_manifestations/edit.html.erb +13 -0
- data/app/views/checkout_stat_has_manifestations/index.html.erb +33 -0
- data/app/views/checkout_stat_has_manifestations/new.html.erb +12 -0
- data/app/views/checkout_stat_has_manifestations/show.html.erb +28 -0
- data/app/views/checkout_stat_has_users/_form.html.erb +15 -0
- data/app/views/checkout_stat_has_users/edit.html.erb +13 -0
- data/app/views/checkout_stat_has_users/index.html.erb +33 -0
- data/app/views/checkout_stat_has_users/new.html.erb +12 -0
- data/app/views/checkout_stat_has_users/show.html.erb +28 -0
- data/app/views/checkout_types/_form.html.erb +19 -0
- data/app/views/checkout_types/edit.html.erb +13 -0
- data/app/views/checkout_types/index.html.erb +50 -0
- data/app/views/checkout_types/new.html.erb +12 -0
- data/app/views/checkout_types/show.html.erb +38 -0
- data/app/views/checkouts/_form.html.erb +28 -0
- data/app/views/checkouts/_index.html.erb +23 -0
- data/app/views/checkouts/_index_overdue.html.erb +33 -0
- data/app/views/checkouts/_index_user.html.erb +44 -0
- data/app/views/checkouts/_list.html.erb +45 -0
- data/app/views/checkouts/edit.html.erb +51 -0
- data/app/views/checkouts/index.atom.builder +14 -0
- data/app/views/checkouts/index.csv.erb +4 -0
- data/app/views/checkouts/index.html.erb +11 -0
- data/app/views/checkouts/index.ics.erb +13 -0
- data/app/views/checkouts/index.rss.builder +38 -0
- data/app/views/checkouts/new.html.erb +20 -0
- data/app/views/checkouts/show.html.erb +35 -0
- data/app/views/circulation_statuses/_form.html.erb +19 -0
- data/app/views/circulation_statuses/edit.html.erb +13 -0
- data/app/views/circulation_statuses/index.html.erb +43 -0
- data/app/views/circulation_statuses/new.html.erb +12 -0
- data/app/views/circulation_statuses/show.html.erb +29 -0
- data/app/views/item_has_use_restrictions/edit.html.erb +27 -0
- data/app/views/item_has_use_restrictions/index.html.erb +32 -0
- data/app/views/item_has_use_restrictions/new.html.erb +25 -0
- data/app/views/item_has_use_restrictions/show.html.erb +29 -0
- data/app/views/lending_policies/_form.html.erb +41 -0
- data/app/views/lending_policies/edit.html.erb +13 -0
- data/app/views/lending_policies/index.html.erb +42 -0
- data/app/views/lending_policies/new.html.erb +12 -0
- data/app/views/lending_policies/show.html.erb +50 -0
- data/app/views/manifestation_checkout_stats/_form.html.erb +19 -0
- data/app/views/manifestation_checkout_stats/edit.html.erb +13 -0
- data/app/views/manifestation_checkout_stats/index.html.erb +35 -0
- data/app/views/manifestation_checkout_stats/new.html.erb +12 -0
- data/app/views/manifestation_checkout_stats/show.csv.erb +4 -0
- data/app/views/manifestation_checkout_stats/show.html.erb +55 -0
- data/app/views/manifestation_reserve_stats/_form.html.erb +19 -0
- data/app/views/manifestation_reserve_stats/edit.html.erb +13 -0
- data/app/views/manifestation_reserve_stats/index.html.erb +35 -0
- data/app/views/manifestation_reserve_stats/new.html.erb +12 -0
- data/app/views/manifestation_reserve_stats/show.csv.erb +4 -0
- data/app/views/manifestation_reserve_stats/show.html.erb +55 -0
- data/app/views/reserve_stat_has_manifestations/_form.html.erb +15 -0
- data/app/views/reserve_stat_has_manifestations/edit.html.erb +13 -0
- data/app/views/reserve_stat_has_manifestations/index.html.erb +33 -0
- data/app/views/reserve_stat_has_manifestations/new.html.erb +12 -0
- data/app/views/reserve_stat_has_manifestations/show.html.erb +28 -0
- data/app/views/reserve_stat_has_users/_form.html.erb +15 -0
- data/app/views/reserve_stat_has_users/edit.html.erb +13 -0
- data/app/views/reserve_stat_has_users/index.html.erb +33 -0
- data/app/views/reserve_stat_has_users/new.html.erb +12 -0
- data/app/views/reserve_stat_has_users/show.html.erb +28 -0
- data/app/views/reserves/_form.html.erb +49 -0
- data/app/views/reserves/_new.html.erb +44 -0
- data/app/views/reserves/_new_user.html.erb +50 -0
- data/app/views/reserves/_title.html.erb +19 -0
- data/app/views/reserves/edit.html.erb +42 -0
- data/app/views/reserves/index.atom.builder +14 -0
- data/app/views/reserves/index.csv.erb +4 -0
- data/app/views/reserves/index.html.erb +75 -0
- data/app/views/reserves/index.rss.builder +41 -0
- data/app/views/reserves/new.html.erb +5 -0
- data/app/views/reserves/show.html.erb +61 -0
- data/app/views/use_restrictions/_form.html.erb +19 -0
- data/app/views/use_restrictions/edit.html.erb +13 -0
- data/app/views/use_restrictions/index.html.erb +43 -0
- data/app/views/use_restrictions/new.html.erb +12 -0
- data/app/views/use_restrictions/show.html.erb +29 -0
- data/app/views/user_checkout_stats/_form.html.erb +19 -0
- data/app/views/user_checkout_stats/edit.html.erb +13 -0
- data/app/views/user_checkout_stats/index.html.erb +35 -0
- data/app/views/user_checkout_stats/new.html.erb +12 -0
- data/app/views/user_checkout_stats/show.csv.erb +4 -0
- data/app/views/user_checkout_stats/show.html.erb +55 -0
- data/app/views/user_group_has_checkout_types/edit.html.erb +63 -0
- data/app/views/user_group_has_checkout_types/index.html.erb +32 -0
- data/app/views/user_group_has_checkout_types/new.html.erb +62 -0
- data/app/views/user_group_has_checkout_types/show.html.erb +64 -0
- data/app/views/user_reserve_stats/_form.html.erb +19 -0
- data/app/views/user_reserve_stats/edit.html.erb +13 -0
- data/app/views/user_reserve_stats/index.html.erb +35 -0
- data/app/views/user_reserve_stats/new.html.erb +12 -0
- data/app/views/user_reserve_stats/show.csv.erb +4 -0
- data/app/views/user_reserve_stats/show.html.erb +54 -0
- data/db/migrate/20120125050502_add_depth_to_message.rb +6 -0
- data/lib/enju_message/engine.rb +1 -1
- data/lib/enju_message/version.rb +1 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20120213092115_add_queue_to_delayed_jobs.rb +9 -0
- data/spec/dummy/db/production.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +3 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/development.log +189 -69
- data/spec/dummy/log/production.log +20 -0
- data/spec/dummy/log/sunspot-solr-test.log +222 -232
- data/spec/dummy/log/test.log +36026 -126145
- data/spec/dummy/script/delayed_job +5 -0
- data/spec/dummy/solr/data/test/index/segments_1 +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/fixtures/users.yml +2 -0
- metadata +179 -51
@@ -0,0 +1,12 @@
|
|
1
|
+
<div id="content_detail" class="ui-corner-all">
|
2
|
+
<h1 class="title"><%= t('page.new', :model => t('activerecord.models.user_reserve_stat')) -%></h1>
|
3
|
+
<div id="content_list">
|
4
|
+
<%= render 'form' %>
|
5
|
+
</div>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<div id="submenu" class="ui-corner-all">
|
9
|
+
<ul>
|
10
|
+
<li><%= link_to t('page.back'), user_reserve_stats_path -%></li>
|
11
|
+
</ul>
|
12
|
+
</div>
|
@@ -0,0 +1,54 @@
|
|
1
|
+
<div id="content_detail" class="ui-corner-all">
|
2
|
+
<h1 class="title"><%= t('page.showing', :model => t('activerecord.models.user_reserve_stat')) -%></h1>
|
3
|
+
<div id="content_list">
|
4
|
+
<p id="notice"><%= notice %></p>
|
5
|
+
|
6
|
+
<p>
|
7
|
+
<strong><%= t('activerecord.attributes.user_reserve_stat.start_date') -%>:</strong>
|
8
|
+
<%= l(@user_reserve_stat.start_date) -%>
|
9
|
+
</p>
|
10
|
+
|
11
|
+
<p>
|
12
|
+
<strong><%= t('activerecord.attributes.user_reserve_stat.end_date') -%>:</strong>
|
13
|
+
<%= l(@user_reserve_stat.end_date) -%>
|
14
|
+
</p>
|
15
|
+
|
16
|
+
<p>
|
17
|
+
<strong><%= t('activerecord.attributes.user_reserve_stat.state') -%>:</strong>
|
18
|
+
<%= @user_reserve_stat.state -%>
|
19
|
+
</p>
|
20
|
+
|
21
|
+
<p>
|
22
|
+
<strong><%= t('activerecord.attributes.user_reserve_stat.note') -%>:</strong>
|
23
|
+
<%= @user_reserve_stat.note -%>
|
24
|
+
</p>
|
25
|
+
|
26
|
+
<table class="index">
|
27
|
+
<tr>
|
28
|
+
<th><%= t('activerecord.models.user') -%></th>
|
29
|
+
<th><%= t('activerecord.attributes.reserve_stat_has_user.reserves_count') -%></th>
|
30
|
+
</tr>
|
31
|
+
<%- @stats.each do |stat| -%>
|
32
|
+
<tr class="line<%= cycle("0", "1") -%>">
|
33
|
+
<td>
|
34
|
+
<%= link_to stat.user.username, stat.user -%>
|
35
|
+
</td>
|
36
|
+
<td><%= stat.reserves_count -%></td>
|
37
|
+
</tr>
|
38
|
+
<%- end -%>
|
39
|
+
</table>
|
40
|
+
|
41
|
+
<%= will_paginate(@stats) -%>
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
|
45
|
+
<div id="submenu" class="ui-corner-all">
|
46
|
+
<ul>
|
47
|
+
<li><%= link_to t('page.edit'), edit_user_reserve_stat_path(@user_reserve_stat) -%></li>
|
48
|
+
<li><%= back_to_index(flash[:page_info]) -%></li>
|
49
|
+
</ul>
|
50
|
+
<h4><%= t('page.export') -%></h4>
|
51
|
+
<ul>
|
52
|
+
<li><%= link_to 'CSV', user_reserve_stat_path(@user_reserve_stat, :format => :csv, :locale => @locale.to_s) -%></li>
|
53
|
+
</ul>
|
54
|
+
</div>
|
data/lib/enju_message/engine.rb
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
+
require 'configatron'
|
1
2
|
require 'delayed_job_active_record'
|
2
3
|
require 'devise'
|
3
4
|
require 'cancan'
|
4
5
|
require 'state_machine'
|
5
6
|
require 'inherited_resources'
|
6
7
|
require 'attribute_normalizer'
|
7
|
-
require 'configatron'
|
8
8
|
require 'addressable/uri'
|
9
9
|
require 'friendly_id'
|
10
10
|
require 'awesome_nested_set'
|
data/lib/enju_message/version.rb
CHANGED
Binary file
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -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 =>
|
14
|
+
ActiveRecord::Schema.define(:version => 20120213092115) do
|
15
15
|
|
16
16
|
create_table "delayed_jobs", :force => true do |t|
|
17
17
|
t.integer "priority", :default => 0
|
@@ -24,6 +24,7 @@ ActiveRecord::Schema.define(:version => 20111201163718) do
|
|
24
24
|
t.string "locked_by"
|
25
25
|
t.datetime "created_at"
|
26
26
|
t.datetime "updated_at"
|
27
|
+
t.string "queue"
|
27
28
|
end
|
28
29
|
|
29
30
|
add_index "delayed_jobs", ["priority", "run_at"], :name => "delayed_jobs_priority"
|
@@ -101,6 +102,7 @@ ActiveRecord::Schema.define(:version => 20111201163718) do
|
|
101
102
|
t.datetime "updated_at"
|
102
103
|
t.integer "lft"
|
103
104
|
t.integer "rgt"
|
105
|
+
t.integer "depth"
|
104
106
|
end
|
105
107
|
|
106
108
|
add_index "messages", ["message_request_id"], :name => "index_messages_on_message_request_id"
|
data/spec/dummy/db/test.sqlite3
CHANGED
Binary file
|
@@ -1,106 +1,226 @@
|
|
1
|
+
[1m[32mSOLR Request (1.5ms)[0m [ path=#<RSolr::Client:0x007feca4acdf30> parameters={data: [1m[1m<?xml version="1.0" encoding="UTF-8"?><delete><query>type:Message</query></delete>[0m, headers: [1m[1m{"Content-Type"=>"text/xml"}[0m, method: [1m[1mpost[0m, params: [1m[1m{:wt=>:ruby}[0m, query: [1m[1mwt=ruby[0m, path: [1m[1mupdate[0m, uri: [1m[1mhttp://localhost:8982/solr/update?wt=ruby[0m} ]
|
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)
|
1
4
|
[1m[36m (0.1ms)[0m [1mselect sqlite_version(*)[0m
|
2
|
-
[1m[35m (
|
3
|
-
[1m[36m (0.
|
4
|
-
[1m[35m (1.
|
5
|
+
[1m[35m (5.4ms)[0m CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
|
6
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("schema_migrations")[0m
|
7
|
+
[1m[35m (1.0ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
5
8
|
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
9
|
+
Migrating to CreatePatrons (1)
|
10
|
+
[1m[35m (0.0ms)[0m begin transaction
|
11
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
12
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("patrons")
|
13
|
+
[1m[36m (2.0ms)[0m [1mCREATE UNIQUE INDEX "index_patrons_on_user_id" ON "patrons" ("user_id")[0m
|
14
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("patrons")
|
15
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_user_id')[0m
|
16
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_patrons_on_language_id" ON "patrons" ("language_id")
|
17
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("patrons")[0m
|
18
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_language_id')
|
19
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_user_id')[0m
|
20
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_patrons_on_country_id" ON "patrons" ("country_id")
|
21
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("patrons")[0m
|
22
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_country_id')
|
23
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_language_id')[0m
|
24
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_user_id')
|
25
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_patrons_on_required_role_id" ON "patrons" ("required_role_id")[0m
|
26
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("patrons")
|
27
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_required_role_id')[0m
|
28
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_country_id')
|
29
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_language_id')[0m
|
30
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_user_id')
|
31
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_patrons_on_full_name" ON "patrons" ("full_name")[0m
|
32
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('1')
|
33
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
34
|
+
Migrating to CreateLibraryGroups (80)
|
35
|
+
[1m[35m (0.0ms)[0m begin transaction
|
36
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
37
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("library_groups")
|
38
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
39
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('80')
|
40
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
6
41
|
Migrating to CreateMessageTemplates (149)
|
7
|
-
[1m[35m (0.
|
8
|
-
[1m[36m (0.
|
9
|
-
[1m[35m (0.
|
10
|
-
[1m[36m (0.
|
42
|
+
[1m[35m (0.0ms)[0m begin transaction
|
43
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
44
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("message_templates")
|
45
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_message_templates_on_status" ON "message_templates" ("status")[0m
|
46
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('149')
|
47
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
11
48
|
Migrating to CreateMessages (154)
|
12
|
-
[1m[35m (0.
|
13
|
-
[1m[36m (0.
|
14
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")
|
15
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("messages")[0m
|
16
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_sender_id')
|
17
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")[0m
|
49
|
+
[1m[35m (0.0ms)[0m begin transaction
|
50
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
18
51
|
[1m[35m (0.0ms)[0m PRAGMA index_list("messages")
|
19
|
-
[1m[36m (0.
|
20
|
-
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_sender_id')
|
21
|
-
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")[0m
|
52
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_messages_on_sender_id" ON "messages" ("sender_id")[0m
|
22
53
|
[1m[35m (0.0ms)[0m PRAGMA index_list("messages")
|
23
|
-
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('
|
54
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_messages_on_sender_id')[0m
|
55
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_messages_on_receiver_id" ON "messages" ("receiver_id")
|
56
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("messages")[0m
|
24
57
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_receiver_id')
|
25
58
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_messages_on_sender_id')[0m
|
26
|
-
[1m[35m (0.1ms)[0m CREATE INDEX "
|
27
|
-
[1m[36m (0.
|
59
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_messages_on_message_request_id" ON "messages" ("message_request_id")
|
60
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("messages")[0m
|
61
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_message_request_id')
|
62
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_messages_on_receiver_id')[0m
|
63
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_sender_id')
|
64
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_messages_on_parent_id" ON "messages" ("parent_id")[0m
|
65
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('154')
|
66
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
28
67
|
Migrating to CreateMessageRequests (20080819181903)
|
29
|
-
[1m[35m (0.
|
30
|
-
[1m[36m (0.
|
31
|
-
[1m[35m (0.
|
32
|
-
[1m[36m (0.
|
68
|
+
[1m[35m (0.0ms)[0m begin transaction
|
69
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
70
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("message_requests")
|
71
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_message_requests_on_state" ON "message_requests" ("state")[0m
|
72
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080819181903')
|
73
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
74
|
+
Migrating to CreatePatronTypes (20080905191442)
|
75
|
+
[1m[35m (0.1ms)[0m begin transaction
|
76
|
+
[1m[36m (0.5ms)[0m [1mCREATE 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) [0m
|
77
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20080905191442')
|
78
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
79
|
+
Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
|
80
|
+
[1m[35m (0.1ms)[0m begin transaction
|
81
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "library_groups" ADD "admin_networks" text[0m
|
82
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100211105551')
|
83
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
84
|
+
Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
|
85
|
+
[1m[35m (0.0ms)[0m begin transaction
|
86
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "library_groups" ADD "allow_bookmark_external_url" boolean DEFAULT 'f' NOT NULL[0m
|
87
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100222124420')
|
88
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
89
|
+
Migrating to CreateDelayedJobs (20100527113752)
|
90
|
+
[1m[35m (0.0ms)[0m begin transaction
|
91
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
92
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("delayed_jobs")
|
93
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "delayed_jobs_priority" ON "delayed_jobs" ("priority", "run_at")[0m
|
94
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20100527113752')
|
95
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
96
|
+
Migrating to AddPositionToLibraryGroup (20110115022329)
|
97
|
+
[1m[35m (0.1ms)[0m begin transaction
|
98
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "library_groups" ADD "position" integer[0m
|
99
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110115022329')
|
100
|
+
[1m[36m (1.2ms)[0m [1mcommit transaction[0m
|
101
|
+
Migrating to AddUrlToLibraryGroup (20110222073537)
|
102
|
+
[1m[35m (0.0ms)[0m begin transaction
|
103
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "library_groups" ADD "url" varchar(255) DEFAULT 'http://localhost:3000/'[0m
|
104
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20110222073537')
|
105
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
33
106
|
Migrating to AddLftAndRgtToMessage (20110913115320)
|
34
|
-
[1m[35m (0.
|
35
|
-
[1m[36m (0.
|
36
|
-
[1m[35m (0.
|
107
|
+
[1m[35m (0.0ms)[0m begin transaction
|
108
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "messages" ADD "lft" integer[0m
|
109
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "messages" ADD "rgt" integer
|
110
|
+
[1m[36m (0.1ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ('20110913115320')[0m
|
111
|
+
[1m[35m (0.8ms)[0m commit transaction
|
112
|
+
Migrating to RemoveDsblFromLibraryGroup (20111020063828)
|
113
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
114
|
+
[1m[35m (0.5ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("library_groups")[0m
|
116
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_library_groups_on_short_name')
|
117
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_library_groups")[0m
|
118
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")
|
119
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "library_groups"[0m
|
120
|
+
[1m[35m (0.2ms)[0m DROP TABLE "library_groups"
|
121
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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/') [0m
|
122
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_library_groups")
|
123
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_library_groups_on_short_name')[0m
|
124
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("library_groups")
|
125
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
126
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_library_groups"
|
127
|
+
[1m[36m (0.5ms)[0m [1mDROP TABLE "altered_library_groups"[0m
|
128
|
+
[1m[35m (0.3ms)[0m 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
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("library_groups")[0m
|
130
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_library_groups_on_short_name')
|
131
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("altered_library_groups")[0m
|
132
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "temp_index_altered_library_groups_on_short_name" ON "altered_library_groups" ("short_name")
|
133
|
+
[1m[36m (0.1ms)[0m [1mSELECT * FROM "library_groups"[0m
|
134
|
+
[1m[35m (0.5ms)[0m DROP TABLE "library_groups"
|
135
|
+
[1m[36m (0.2ms)[0m [1mCREATE 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/') [0m
|
136
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("altered_library_groups")
|
137
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('temp_index_altered_library_groups_on_short_name')[0m
|
138
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("library_groups")
|
139
|
+
[1m[36m (0.1ms)[0m [1mCREATE INDEX "index_library_groups_on_short_name" ON "library_groups" ("short_name")[0m
|
140
|
+
[1m[35m (0.1ms)[0m SELECT * FROM "altered_library_groups"
|
141
|
+
[1m[36m (0.1ms)[0m [1mDROP TABLE "altered_library_groups"[0m
|
142
|
+
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111020063828')
|
143
|
+
[1m[36m (1.5ms)[0m [1mcommit transaction[0m
|
37
144
|
Migrating to CreateLanguages (20111201121636)
|
38
|
-
[1m[
|
39
|
-
[1m[
|
145
|
+
[1m[35m (0.0ms)[0m begin transaction
|
146
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
147
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201121636')
|
148
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
40
149
|
Migrating to CreateRoles (20111201121844)
|
41
|
-
[1m[
|
150
|
+
[1m[35m (0.0ms)[0m begin transaction
|
151
|
+
[1m[36m (0.3ms)[0m [1mCREATE 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) [0m
|
42
152
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201121844')
|
153
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
43
154
|
Migrating to CreateUsers (20111201155456)
|
44
|
-
[1m[
|
155
|
+
[1m[35m (0.1ms)[0m begin transaction
|
156
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
45
157
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155456')
|
158
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
46
159
|
Migrating to AddDeviseToUsers (20111201155513)
|
47
|
-
[1m[
|
48
|
-
|
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
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
57
|
-
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
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
|
-
[1m[35m (0.0ms)[0m select sqlite_version(*)
|
67
|
-
[1m[36m (0.6ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
160
|
+
[1m[35m (0.0ms)[0m begin transaction
|
161
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "users" ADD "email" varchar(255) DEFAULT '' NOT NULL[0m
|
68
162
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "encrypted_password" varchar(128) DEFAULT '' NOT NULL
|
69
163
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "reset_password_token" varchar(255)[0m
|
70
164
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "reset_password_sent_at" datetime
|
71
165
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "remember_created_at" datetime[0m
|
72
|
-
[1m[35m (0.
|
166
|
+
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "sign_in_count" integer DEFAULT 0
|
73
167
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_at" datetime[0m
|
74
168
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_at" datetime
|
75
169
|
[1m[36m (0.2ms)[0m [1mALTER TABLE "users" ADD "current_sign_in_ip" varchar(255)[0m
|
76
170
|
[1m[35m (0.2ms)[0m ALTER TABLE "users" ADD "last_sign_in_ip" varchar(255)
|
77
171
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
78
|
-
[1m[35m (0.
|
172
|
+
[1m[35m (0.1ms)[0m CREATE INDEX "index_users_on_email" ON "users" ("email")
|
79
173
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("users")[0m
|
80
174
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
81
|
-
[1m[36m (0.
|
175
|
+
[1m[36m (0.3ms)[0m [1mCREATE UNIQUE INDEX "index_users_on_reset_password_token" ON "users" ("reset_password_token")[0m
|
82
176
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201155513')
|
177
|
+
[1m[36m (1.1ms)[0m [1mcommit transaction[0m
|
83
178
|
Migrating to CreateUserGroups (20111201163342)
|
84
|
-
[1m[
|
179
|
+
[1m[35m (0.0ms)[0m begin transaction
|
180
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
85
181
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201163342')
|
182
|
+
[1m[36m (0.8ms)[0m [1mcommit transaction[0m
|
86
183
|
Migrating to CreateUserHasRoles (20111201163718)
|
87
|
-
[1m[
|
184
|
+
[1m[35m (0.0ms)[0m begin transaction
|
185
|
+
[1m[36m (0.4ms)[0m [1mCREATE 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) [0m
|
88
186
|
[1m[35m (0.1ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20111201163718')
|
89
|
-
[1m[36m (
|
90
|
-
|
91
|
-
[1m[
|
92
|
-
[1m[
|
93
|
-
[1m[
|
94
|
-
[1m[
|
95
|
-
|
96
|
-
[1m[35m (0.
|
97
|
-
[1m[36m (0.
|
98
|
-
[1m[35m (0.
|
99
|
-
[1m[36m (0.
|
100
|
-
[1m[35m (0.
|
187
|
+
[1m[36m (1.0ms)[0m [1mcommit transaction[0m
|
188
|
+
Migrating to AddDepthToMessage (20120125050502)
|
189
|
+
[1m[35m (0.0ms)[0m begin transaction
|
190
|
+
[1m[36m (0.6ms)[0m [1mALTER TABLE "messages" ADD "depth" integer[0m
|
191
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120125050502')
|
192
|
+
[1m[36m (0.9ms)[0m [1mcommit transaction[0m
|
193
|
+
Migrating to AddQueueToDelayedJobs (20120213092115)
|
194
|
+
[1m[35m (0.0ms)[0m begin transaction
|
195
|
+
[1m[36m (0.4ms)[0m [1mALTER TABLE "delayed_jobs" ADD "queue" varchar(255)[0m
|
196
|
+
[1m[35m (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES ('20120213092115')
|
197
|
+
[1m[36m (0.7ms)[0m [1mcommit transaction[0m
|
198
|
+
[1m[35m (0.5ms)[0m select sqlite_version(*)
|
199
|
+
[1m[36m (0.1ms)[0m [1mSELECT "schema_migrations"."version" FROM "schema_migrations" [0m
|
200
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("delayed_jobs")
|
201
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('delayed_jobs_priority')[0m
|
202
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("languages")
|
203
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("library_groups")[0m
|
204
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_library_groups_on_short_name')
|
205
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("message_requests")[0m
|
206
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_message_requests_on_state')
|
207
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("message_templates")[0m
|
208
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_message_templates_on_status')
|
209
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("messages")[0m
|
210
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_parent_id')
|
211
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_messages_on_message_request_id')[0m
|
212
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_messages_on_receiver_id')
|
213
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_messages_on_sender_id')[0m
|
214
|
+
[1m[35m (0.0ms)[0m PRAGMA index_list("patron_types")
|
215
|
+
[1m[36m (0.1ms)[0m [1mPRAGMA index_list("patrons")[0m
|
216
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_full_name')
|
217
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_required_role_id')[0m
|
218
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_country_id')
|
219
|
+
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_patrons_on_language_id')[0m
|
220
|
+
[1m[35m (0.0ms)[0m PRAGMA index_info('index_patrons_on_user_id')
|
101
221
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("roles")[0m
|
102
222
|
[1m[35m (0.0ms)[0m PRAGMA index_list("user_groups")
|
103
223
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_list("user_has_roles")[0m
|
104
|
-
[1m[35m (0.
|
224
|
+
[1m[35m (0.1ms)[0m PRAGMA index_list("users")
|
105
225
|
[1m[36m (0.0ms)[0m [1mPRAGMA index_info('index_users_on_reset_password_token')[0m
|
106
226
|
[1m[35m (0.0ms)[0m PRAGMA index_info('index_users_on_email')
|
@@ -0,0 +1,20 @@
|
|
1
|
+
Migrating to CreatePatrons (1)
|
2
|
+
Migrating to CreateLibraryGroups (80)
|
3
|
+
Migrating to CreateMessageTemplates (149)
|
4
|
+
Migrating to CreateMessages (154)
|
5
|
+
Migrating to CreateMessageRequests (20080819181903)
|
6
|
+
Migrating to CreatePatronTypes (20080905191442)
|
7
|
+
Migrating to AddAdminNetworksToLibraryGroup (20100211105551)
|
8
|
+
Migrating to AddAllowBookmarkExternalUrlToLibraryGroup (20100222124420)
|
9
|
+
Migrating to CreateDelayedJobs (20100527113752)
|
10
|
+
Migrating to AddPositionToLibraryGroup (20110115022329)
|
11
|
+
Migrating to AddUrlToLibraryGroup (20110222073537)
|
12
|
+
Migrating to AddLftAndRgtToMessage (20110913115320)
|
13
|
+
Migrating to RemoveDsblFromLibraryGroup (20111020063828)
|
14
|
+
Migrating to CreateLanguages (20111201121636)
|
15
|
+
Migrating to CreateRoles (20111201121844)
|
16
|
+
Migrating to CreateUsers (20111201155456)
|
17
|
+
Migrating to AddDeviseToUsers (20111201155513)
|
18
|
+
Migrating to CreateUserGroups (20111201163342)
|
19
|
+
Migrating to CreateUserHasRoles (20111201163718)
|
20
|
+
Migrating to AddDepthToMessage (20120125050502)
|