enju_flower 0.1.0.pre13 → 0.1.0.pre14
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +2 -2
- data/app/views/manifestations/_show_detail_librarian.html.erb +3 -3
- data/app/views/manifestations/_show_detail_user.html.erb +2 -0
- data/app/views/manifestations/_show_holding.html.erb +3 -0
- data/app/views/manifestations/_show_reservation.html.erb +27 -0
- data/app/views/manifestations/_show_series_detail.html.erb +12 -0
- data/app/views/manifestations/index.mobile.erb +1 -1
- data/app/views/page/_footer.html.erb +3 -3
- data/lib/enju_flower/version.rb +1 -1
- data/spec/dummy/config/initializers/devise.rb +2 -0
- data/spec/dummy/db/migrate/20100211105551_add_admin_networks_to_library_group.rb +9 -0
- data/spec/dummy/db/schema.rb +184 -188
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/solr/conf/schema.xml +4 -0
- data/spec/dummy/solr/conf/solrconfig.xml +588 -855
- data/spec/dummy/solr/default/data/index/_xg.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xg.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xg.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xg.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xg.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xg.si +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xg_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xh.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xh.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xh.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xh.si +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xh_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fdt +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fdx +0 -0
- data/spec/dummy/solr/default/data/index/_xi.fnm +0 -0
- data/spec/dummy/solr/default/data/index/_xi.nvd +0 -0
- data/spec/dummy/solr/default/data/index/_xi.nvm +0 -0
- data/spec/dummy/solr/default/data/index/_xi.si +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.doc +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.pos +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.tim +0 -0
- data/spec/dummy/solr/default/data/index/_xi_Lucene41_0.tip +0 -0
- data/spec/dummy/solr/default/data/index/segments.gen +0 -0
- data/spec/dummy/solr/default/data/index/segments_178 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001552 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001553 +0 -0
- data/spec/dummy/solr/default/data/tlog/tlog.0000000000000001554 +0 -0
- data/spec/dummy/solr/{data/test/spellchecker → development/data/index}/segments.gen +0 -0
- data/spec/dummy/solr/development/data/index/segments_1 +0 -0
- data/spec/dummy/solr/solr.xml +8 -0
- data/spec/dummy/solr/test/data/index/segments.gen +0 -0
- data/spec/dummy/solr/test/data/index/segments_1 +0 -0
- data/spec/dummy/tmp/cache/4F7/F90/default_role +0 -0
- data/spec/dummy/tmp/cache/6E4/420/search_engine_all +0 -0
- data/spec/factories/user.rb +1 -1
- data/spec/fixtures/user_groups.yml +1 -1
- metadata +130 -137
- data/app/controllers/manifestations_controller.rb +0 -771
- data/app/views/layouts/agents.html.erb +0 -26
- data/app/views/layouts/agents.mobile.erb +0 -18
- data/app/views/layouts/manifestations.html.erb +0 -32
- data/app/views/layouts/manifestations.mobile.erb +0 -18
- data/app/views/page/add_on.html.erb +0 -13
- data/app/views/page/msie_acceralator.builder +0 -15
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/migrate/20110627034940_create_series_statement_merge_lists.rb +0 -9
- data/spec/dummy/db/migrate/20110627035057_create_series_statement_merges.rb +0 -12
- data/spec/dummy/db/migrate/20130303104849_add_state_index_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130303124821_add_retained_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130304015019_add_postponed_at_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065638_add_lock_version_to_reserve.rb +0 -5
- data/spec/dummy/db/migrate/20130519065837_add_lock_version_to_checkin.rb +0 -5
- data/spec/dummy/solr/data/test/index/_20.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_20.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_20.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_20.frq +0 -0
- data/spec/dummy/solr/data/test/index/_20.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_20.prx +0 -0
- data/spec/dummy/solr/data/test/index/_20.tii +0 -0
- data/spec/dummy/solr/data/test/index/_20.tis +0 -0
- data/spec/dummy/solr/data/test/index/_21.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_21.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_21.fnm +0 -7
- data/spec/dummy/solr/data/test/index/_21.frq +0 -0
- data/spec/dummy/solr/data/test/index/_21.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_21.prx +0 -0
- data/spec/dummy/solr/data/test/index/_21.tii +0 -0
- data/spec/dummy/solr/data/test/index/_21.tis +0 -0
- data/spec/dummy/solr/data/test/index/_22.fdt +0 -0
- data/spec/dummy/solr/data/test/index/_22.fdx +0 -0
- data/spec/dummy/solr/data/test/index/_22.fnm +0 -8
- data/spec/dummy/solr/data/test/index/_22.frq +0 -0
- data/spec/dummy/solr/data/test/index/_22.nrm +0 -1
- data/spec/dummy/solr/data/test/index/_22.prx +0 -0
- data/spec/dummy/solr/data/test/index/_22.tii +0 -0
- data/spec/dummy/solr/data/test/index/_22.tis +0 -0
- data/spec/dummy/solr/data/test/index/segments.gen +0 -0
- data/spec/dummy/solr/data/test/index/segments_2s +0 -0
- data/spec/dummy/solr/data/test/spellchecker/segments_1 +0 -0
- data/spec/fixtures/agent_import_files.yml +0 -47
- data/spec/fixtures/agent_import_results.yml +0 -29
- data/spec/fixtures/circulation_statuses.yml +0 -136
- data/spec/fixtures/event_categories.yml +0 -55
- data/spec/fixtures/events.yml +0 -142
- data/spec/fixtures/item_has_use_restrictions.yml +0 -61
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 => 20130519065837) do
|
15
15
|
|
16
16
|
create_table "agent_import_files", :force => true do |t|
|
17
17
|
t.integer "parent_id"
|
@@ -25,8 +25,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
25
25
|
t.string "agent_import_content_type"
|
26
26
|
t.integer "agent_import_file_size"
|
27
27
|
t.datetime "agent_import_updated_at"
|
28
|
-
t.datetime "created_at"
|
29
|
-
t.datetime "updated_at"
|
28
|
+
t.datetime "created_at"
|
29
|
+
t.datetime "updated_at"
|
30
30
|
t.string "agent_import_fingerprint"
|
31
31
|
t.text "error_message"
|
32
32
|
t.string "edit_mode"
|
@@ -41,8 +41,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
41
41
|
t.integer "agent_id"
|
42
42
|
t.integer "user_id"
|
43
43
|
t.text "body"
|
44
|
-
t.datetime "created_at"
|
45
|
-
t.datetime "updated_at"
|
44
|
+
t.datetime "created_at"
|
45
|
+
t.datetime "updated_at"
|
46
46
|
end
|
47
47
|
|
48
48
|
create_table "agent_relationship_types", :force => true do |t|
|
@@ -50,16 +50,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
50
50
|
t.text "display_name"
|
51
51
|
t.text "note"
|
52
52
|
t.integer "position"
|
53
|
-
t.datetime "created_at"
|
54
|
-
t.datetime "updated_at"
|
53
|
+
t.datetime "created_at"
|
54
|
+
t.datetime "updated_at"
|
55
55
|
end
|
56
56
|
|
57
57
|
create_table "agent_relationships", :force => true do |t|
|
58
58
|
t.integer "parent_id"
|
59
59
|
t.integer "child_id"
|
60
60
|
t.integer "agent_relationship_type_id"
|
61
|
-
t.datetime "created_at"
|
62
|
-
t.datetime "updated_at"
|
61
|
+
t.datetime "created_at"
|
62
|
+
t.datetime "updated_at"
|
63
63
|
t.integer "position"
|
64
64
|
end
|
65
65
|
|
@@ -71,8 +71,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
71
71
|
t.text "display_name"
|
72
72
|
t.text "note"
|
73
73
|
t.integer "position"
|
74
|
-
t.datetime "created_at"
|
75
|
-
t.datetime "updated_at"
|
74
|
+
t.datetime "created_at"
|
75
|
+
t.datetime "updated_at"
|
76
76
|
end
|
77
77
|
|
78
78
|
create_table "agents", :force => true do |t|
|
@@ -88,8 +88,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
88
88
|
t.string "full_name"
|
89
89
|
t.text "full_name_transcription"
|
90
90
|
t.text "full_name_alternative"
|
91
|
-
t.datetime "created_at"
|
92
|
-
t.datetime "updated_at"
|
91
|
+
t.datetime "created_at"
|
92
|
+
t.datetime "updated_at"
|
93
93
|
t.datetime "deleted_at"
|
94
94
|
t.string "zip_code_1"
|
95
95
|
t.string "zip_code_2"
|
@@ -136,8 +136,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
136
136
|
t.integer "user_id"
|
137
137
|
t.text "note"
|
138
138
|
t.integer "lock_version", :default => 0, :null => false
|
139
|
-
t.datetime "created_at"
|
140
|
-
t.datetime "updated_at"
|
139
|
+
t.datetime "created_at"
|
140
|
+
t.datetime "updated_at"
|
141
141
|
end
|
142
142
|
|
143
143
|
add_index "baskets", ["user_id"], :name => "index_baskets_on_user_id"
|
@@ -146,8 +146,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
146
146
|
t.integer "bookmark_stat_id", :null => false
|
147
147
|
t.integer "manifestation_id", :null => false
|
148
148
|
t.integer "bookmarks_count"
|
149
|
-
t.datetime "created_at"
|
150
|
-
t.datetime "updated_at"
|
149
|
+
t.datetime "created_at"
|
150
|
+
t.datetime "updated_at"
|
151
151
|
end
|
152
152
|
|
153
153
|
add_index "bookmark_stat_has_manifestations", ["bookmark_stat_id"], :name => "index_bookmark_stat_has_manifestations_on_bookmark_stat_id"
|
@@ -160,8 +160,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
160
160
|
t.datetime "completed_at"
|
161
161
|
t.text "note"
|
162
162
|
t.string "state"
|
163
|
-
t.datetime "created_at"
|
164
|
-
t.datetime "updated_at"
|
163
|
+
t.datetime "created_at"
|
164
|
+
t.datetime "updated_at"
|
165
165
|
end
|
166
166
|
|
167
167
|
add_index "bookmark_stats", ["state"], :name => "index_bookmark_stats_on_state"
|
@@ -173,8 +173,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
173
173
|
t.string "url"
|
174
174
|
t.text "note"
|
175
175
|
t.boolean "shared"
|
176
|
-
t.datetime "created_at"
|
177
|
-
t.datetime "updated_at"
|
176
|
+
t.datetime "created_at"
|
177
|
+
t.datetime "updated_at"
|
178
178
|
end
|
179
179
|
|
180
180
|
add_index "bookmarks", ["manifestation_id"], :name => "index_bookmarks_on_manifestation_id"
|
@@ -191,8 +191,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
191
191
|
t.string "url"
|
192
192
|
t.integer "position"
|
193
193
|
t.datetime "deleted_at"
|
194
|
-
t.datetime "created_at"
|
195
|
-
t.datetime "updated_at"
|
194
|
+
t.datetime "created_at"
|
195
|
+
t.datetime "updated_at"
|
196
196
|
end
|
197
197
|
|
198
198
|
create_table "budget_types", :force => true do |t|
|
@@ -200,8 +200,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
200
200
|
t.text "display_name"
|
201
201
|
t.text "note"
|
202
202
|
t.integer "position"
|
203
|
-
t.datetime "created_at"
|
204
|
-
t.datetime "updated_at"
|
203
|
+
t.datetime "created_at"
|
204
|
+
t.datetime "updated_at"
|
205
205
|
end
|
206
206
|
|
207
207
|
create_table "carrier_type_has_checkout_types", :force => true do |t|
|
@@ -209,8 +209,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
209
209
|
t.integer "checkout_type_id", :null => false
|
210
210
|
t.text "note"
|
211
211
|
t.integer "position"
|
212
|
-
t.datetime "created_at"
|
213
|
-
t.datetime "updated_at"
|
212
|
+
t.datetime "created_at"
|
213
|
+
t.datetime "updated_at"
|
214
214
|
end
|
215
215
|
|
216
216
|
add_index "carrier_type_has_checkout_types", ["carrier_type_id"], :name => "index_carrier_type_has_checkout_types_on_m_form_id"
|
@@ -221,16 +221,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
221
221
|
t.text "display_name"
|
222
222
|
t.text "note"
|
223
223
|
t.integer "position"
|
224
|
-
t.datetime "created_at"
|
225
|
-
t.datetime "updated_at"
|
224
|
+
t.datetime "created_at"
|
225
|
+
t.datetime "updated_at"
|
226
226
|
end
|
227
227
|
|
228
228
|
create_table "checked_items", :force => true do |t|
|
229
229
|
t.integer "item_id", :null => false
|
230
230
|
t.integer "basket_id", :null => false
|
231
231
|
t.datetime "due_date", :null => false
|
232
|
-
t.datetime "created_at"
|
233
|
-
t.datetime "updated_at"
|
232
|
+
t.datetime "created_at"
|
233
|
+
t.datetime "updated_at"
|
234
234
|
t.integer "librarian_id"
|
235
235
|
end
|
236
236
|
|
@@ -238,11 +238,12 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
238
238
|
add_index "checked_items", ["item_id"], :name => "index_checked_items_on_item_id"
|
239
239
|
|
240
240
|
create_table "checkins", :force => true do |t|
|
241
|
-
t.integer "item_id",
|
241
|
+
t.integer "item_id", :null => false
|
242
242
|
t.integer "librarian_id"
|
243
243
|
t.integer "basket_id"
|
244
|
-
t.datetime "created_at"
|
245
|
-
t.datetime "updated_at"
|
244
|
+
t.datetime "created_at"
|
245
|
+
t.datetime "updated_at"
|
246
|
+
t.integer "lock_version", :default => 0, :null => false
|
246
247
|
end
|
247
248
|
|
248
249
|
add_index "checkins", ["basket_id"], :name => "index_checkins_on_basket_id"
|
@@ -253,8 +254,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
253
254
|
t.integer "manifestation_checkout_stat_id", :null => false
|
254
255
|
t.integer "manifestation_id", :null => false
|
255
256
|
t.integer "checkouts_count"
|
256
|
-
t.datetime "created_at"
|
257
|
-
t.datetime "updated_at"
|
257
|
+
t.datetime "created_at"
|
258
|
+
t.datetime "updated_at"
|
258
259
|
end
|
259
260
|
|
260
261
|
add_index "checkout_stat_has_manifestations", ["manifestation_checkout_stat_id"], :name => "index_checkout_stat_has_manifestations_on_checkout_stat_id"
|
@@ -264,8 +265,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
264
265
|
t.integer "user_checkout_stat_id", :null => false
|
265
266
|
t.integer "user_id", :null => false
|
266
267
|
t.integer "checkouts_count", :default => 0, :null => false
|
267
|
-
t.datetime "created_at"
|
268
|
-
t.datetime "updated_at"
|
268
|
+
t.datetime "created_at"
|
269
|
+
t.datetime "updated_at"
|
269
270
|
end
|
270
271
|
|
271
272
|
add_index "checkout_stat_has_users", ["user_checkout_stat_id"], :name => "index_checkout_stat_has_users_on_user_checkout_stat_id"
|
@@ -276,8 +277,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
276
277
|
t.text "display_name"
|
277
278
|
t.text "note"
|
278
279
|
t.integer "position"
|
279
|
-
t.datetime "created_at"
|
280
|
-
t.datetime "updated_at"
|
280
|
+
t.datetime "created_at"
|
281
|
+
t.datetime "updated_at"
|
281
282
|
end
|
282
283
|
|
283
284
|
add_index "checkout_types", ["name"], :name => "index_checkout_types_on_name"
|
@@ -291,8 +292,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
291
292
|
t.datetime "due_date"
|
292
293
|
t.integer "checkout_renewal_count", :default => 0, :null => false
|
293
294
|
t.integer "lock_version", :default => 0, :null => false
|
294
|
-
t.datetime "created_at"
|
295
|
-
t.datetime "updated_at"
|
295
|
+
t.datetime "created_at"
|
296
|
+
t.datetime "updated_at"
|
296
297
|
end
|
297
298
|
|
298
299
|
add_index "checkouts", ["basket_id"], :name => "index_checkouts_on_basket_id"
|
@@ -307,8 +308,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
307
308
|
t.text "display_name"
|
308
309
|
t.text "note"
|
309
310
|
t.integer "position"
|
310
|
-
t.datetime "created_at"
|
311
|
-
t.datetime "updated_at"
|
311
|
+
t.datetime "created_at"
|
312
|
+
t.datetime "updated_at"
|
312
313
|
end
|
313
314
|
|
314
315
|
create_table "content_types", :force => true do |t|
|
@@ -316,8 +317,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
316
317
|
t.text "display_name"
|
317
318
|
t.text "note"
|
318
319
|
t.integer "position"
|
319
|
-
t.datetime "created_at"
|
320
|
-
t.datetime "updated_at"
|
320
|
+
t.datetime "created_at"
|
321
|
+
t.datetime "updated_at"
|
321
322
|
end
|
322
323
|
|
323
324
|
create_table "countries", :force => true do |t|
|
@@ -340,16 +341,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
340
341
|
t.text "display_name"
|
341
342
|
t.text "note"
|
342
343
|
t.integer "position"
|
343
|
-
t.datetime "created_at"
|
344
|
-
t.datetime "updated_at"
|
344
|
+
t.datetime "created_at"
|
345
|
+
t.datetime "updated_at"
|
345
346
|
end
|
346
347
|
|
347
348
|
create_table "creates", :force => true do |t|
|
348
349
|
t.integer "agent_id", :null => false
|
349
350
|
t.integer "work_id", :null => false
|
350
351
|
t.integer "position"
|
351
|
-
t.datetime "created_at"
|
352
|
-
t.datetime "updated_at"
|
352
|
+
t.datetime "created_at"
|
353
|
+
t.datetime "updated_at"
|
353
354
|
t.integer "create_type_id"
|
354
355
|
end
|
355
356
|
|
@@ -365,8 +366,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
365
366
|
t.datetime "locked_at"
|
366
367
|
t.datetime "failed_at"
|
367
368
|
t.string "locked_by"
|
368
|
-
t.datetime "created_at"
|
369
|
-
t.datetime "updated_at"
|
369
|
+
t.datetime "created_at"
|
370
|
+
t.datetime "updated_at"
|
370
371
|
t.string "queue"
|
371
372
|
end
|
372
373
|
|
@@ -375,8 +376,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
375
376
|
create_table "donates", :force => true do |t|
|
376
377
|
t.integer "agent_id", :null => false
|
377
378
|
t.integer "item_id", :null => false
|
378
|
-
t.datetime "created_at"
|
379
|
-
t.datetime "updated_at"
|
379
|
+
t.datetime "created_at"
|
380
|
+
t.datetime "updated_at"
|
380
381
|
end
|
381
382
|
|
382
383
|
add_index "donates", ["agent_id"], :name => "index_donates_on_agent_id"
|
@@ -387,8 +388,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
387
388
|
t.text "display_name"
|
388
389
|
t.text "note"
|
389
390
|
t.integer "position"
|
390
|
-
t.datetime "created_at"
|
391
|
-
t.datetime "updated_at"
|
391
|
+
t.datetime "created_at"
|
392
|
+
t.datetime "updated_at"
|
392
393
|
end
|
393
394
|
|
394
395
|
create_table "event_import_files", :force => true do |t|
|
@@ -404,8 +405,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
404
405
|
t.integer "event_import_file_size"
|
405
406
|
t.datetime "event_import_updated_at"
|
406
407
|
t.string "edit_mode"
|
407
|
-
t.datetime "created_at"
|
408
|
-
t.datetime "updated_at"
|
408
|
+
t.datetime "created_at"
|
409
|
+
t.datetime "updated_at"
|
409
410
|
t.string "event_import_fingerprint"
|
410
411
|
t.text "error_message"
|
411
412
|
end
|
@@ -418,8 +419,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
418
419
|
t.integer "event_import_file_id"
|
419
420
|
t.integer "event_id"
|
420
421
|
t.text "body"
|
421
|
-
t.datetime "created_at"
|
422
|
-
t.datetime "updated_at"
|
422
|
+
t.datetime "created_at"
|
423
|
+
t.datetime "updated_at"
|
423
424
|
end
|
424
425
|
|
425
426
|
create_table "events", :force => true do |t|
|
@@ -432,8 +433,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
432
433
|
t.boolean "all_day", :default => false, :null => false
|
433
434
|
t.datetime "deleted_at"
|
434
435
|
t.text "display_name"
|
435
|
-
t.datetime "created_at"
|
436
|
-
t.datetime "updated_at"
|
436
|
+
t.datetime "created_at"
|
437
|
+
t.datetime "updated_at"
|
437
438
|
end
|
438
439
|
|
439
440
|
add_index "events", ["event_category_id"], :name => "index_events_on_event_category_id"
|
@@ -443,8 +444,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
443
444
|
t.integer "manifestation_id", :null => false
|
444
445
|
t.integer "item_id", :null => false
|
445
446
|
t.integer "position"
|
446
|
-
t.datetime "created_at"
|
447
|
-
t.datetime "updated_at"
|
447
|
+
t.datetime "created_at"
|
448
|
+
t.datetime "updated_at"
|
448
449
|
end
|
449
450
|
|
450
451
|
add_index "exemplifies", ["item_id"], :name => "index_exemplifies_on_item_id", :unique => true
|
@@ -455,8 +456,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
455
456
|
t.text "display_name"
|
456
457
|
t.text "note"
|
457
458
|
t.integer "position"
|
458
|
-
t.datetime "created_at"
|
459
|
-
t.datetime "updated_at"
|
459
|
+
t.datetime "created_at"
|
460
|
+
t.datetime "updated_at"
|
460
461
|
end
|
461
462
|
|
462
463
|
create_table "form_of_works", :force => true do |t|
|
@@ -464,8 +465,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
464
465
|
t.text "display_name"
|
465
466
|
t.text "note"
|
466
467
|
t.integer "position"
|
467
|
-
t.datetime "created_at"
|
468
|
-
t.datetime "updated_at"
|
468
|
+
t.datetime "created_at"
|
469
|
+
t.datetime "updated_at"
|
469
470
|
end
|
470
471
|
|
471
472
|
create_table "frequencies", :force => true do |t|
|
@@ -473,8 +474,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
473
474
|
t.text "display_name"
|
474
475
|
t.text "note"
|
475
476
|
t.integer "position"
|
476
|
-
t.datetime "created_at"
|
477
|
-
t.datetime "updated_at"
|
477
|
+
t.datetime "created_at"
|
478
|
+
t.datetime "updated_at"
|
478
479
|
end
|
479
480
|
|
480
481
|
create_table "identifier_types", :force => true do |t|
|
@@ -482,8 +483,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
482
483
|
t.text "display_name"
|
483
484
|
t.text "note"
|
484
485
|
t.integer "position"
|
485
|
-
t.datetime "created_at"
|
486
|
-
t.datetime "updated_at"
|
486
|
+
t.datetime "created_at"
|
487
|
+
t.datetime "updated_at"
|
487
488
|
end
|
488
489
|
|
489
490
|
create_table "identifiers", :force => true do |t|
|
@@ -492,8 +493,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
492
493
|
t.integer "manifestation_id"
|
493
494
|
t.boolean "primary"
|
494
495
|
t.integer "position"
|
495
|
-
t.datetime "created_at"
|
496
|
-
t.datetime "updated_at"
|
496
|
+
t.datetime "created_at"
|
497
|
+
t.datetime "updated_at"
|
497
498
|
end
|
498
499
|
|
499
500
|
add_index "identifiers", ["body", "identifier_type_id"], :name => "index_identifiers_on_body_and_identifier_type_id"
|
@@ -504,8 +505,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
504
505
|
t.string "state"
|
505
506
|
t.integer "manifestation_id"
|
506
507
|
t.integer "user_id"
|
507
|
-
t.datetime "created_at"
|
508
|
-
t.datetime "updated_at"
|
508
|
+
t.datetime "created_at"
|
509
|
+
t.datetime "updated_at"
|
509
510
|
end
|
510
511
|
|
511
512
|
add_index "import_requests", ["isbn"], :name => "index_import_requests_on_isbn"
|
@@ -516,8 +517,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
516
517
|
t.integer "item_id"
|
517
518
|
t.integer "inventory_file_id"
|
518
519
|
t.text "note"
|
519
|
-
t.datetime "created_at"
|
520
|
-
t.datetime "updated_at"
|
520
|
+
t.datetime "created_at"
|
521
|
+
t.datetime "updated_at"
|
521
522
|
end
|
522
523
|
|
523
524
|
add_index "inventories", ["inventory_file_id"], :name => "index_inventories_on_inventory_file_id"
|
@@ -529,8 +530,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
529
530
|
t.integer "size"
|
530
531
|
t.integer "user_id"
|
531
532
|
t.text "note"
|
532
|
-
t.datetime "created_at"
|
533
|
-
t.datetime "updated_at"
|
533
|
+
t.datetime "created_at"
|
534
|
+
t.datetime "updated_at"
|
534
535
|
t.string "inventory_file_name"
|
535
536
|
t.string "inventory_content_type"
|
536
537
|
t.integer "inventory_file_size"
|
@@ -543,35 +544,41 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
543
544
|
create_table "item_has_use_restrictions", :force => true do |t|
|
544
545
|
t.integer "item_id", :null => false
|
545
546
|
t.integer "use_restriction_id", :null => false
|
546
|
-
t.datetime "created_at"
|
547
|
-
t.datetime "updated_at"
|
547
|
+
t.datetime "created_at"
|
548
|
+
t.datetime "updated_at"
|
548
549
|
end
|
549
550
|
|
550
551
|
add_index "item_has_use_restrictions", ["item_id"], :name => "index_item_has_use_restrictions_on_item_id"
|
551
552
|
add_index "item_has_use_restrictions", ["use_restriction_id"], :name => "index_item_has_use_restrictions_on_use_restriction_id"
|
552
553
|
|
553
554
|
create_table "items", :force => true do |t|
|
555
|
+
t.integer "manifestation_id"
|
554
556
|
t.string "call_number"
|
555
557
|
t.string "item_identifier"
|
556
|
-
t.datetime "created_at"
|
557
|
-
t.datetime "updated_at"
|
558
|
+
t.datetime "created_at"
|
559
|
+
t.datetime "updated_at"
|
558
560
|
t.datetime "deleted_at"
|
559
|
-
t.integer "shelf_id",
|
560
|
-
t.boolean "include_supplements",
|
561
|
+
t.integer "shelf_id", :default => 1, :null => false
|
562
|
+
t.boolean "include_supplements", :default => false, :null => false
|
561
563
|
t.text "note"
|
562
564
|
t.string "url"
|
563
565
|
t.integer "price"
|
564
|
-
t.integer "lock_version",
|
565
|
-
t.integer "required_role_id",
|
566
|
+
t.integer "lock_version", :default => 0, :null => false
|
567
|
+
t.integer "required_role_id", :default => 1, :null => false
|
566
568
|
t.string "state"
|
567
|
-
t.integer "required_score",
|
569
|
+
t.integer "required_score", :default => 0, :null => false
|
568
570
|
t.datetime "acquired_at"
|
569
571
|
t.integer "bookstore_id"
|
570
572
|
t.integer "budget_type_id"
|
573
|
+
t.integer "circulation_status_id", :default => 5, :null => false
|
574
|
+
t.integer "checkout_type_id", :default => 1, :null => false
|
571
575
|
end
|
572
576
|
|
573
577
|
add_index "items", ["bookstore_id"], :name => "index_items_on_bookstore_id"
|
578
|
+
add_index "items", ["checkout_type_id"], :name => "index_items_on_checkout_type_id"
|
579
|
+
add_index "items", ["circulation_status_id"], :name => "index_items_on_circulation_status_id"
|
574
580
|
add_index "items", ["item_identifier"], :name => "index_items_on_item_identifier"
|
581
|
+
add_index "items", ["manifestation_id"], :name => "index_items_on_manifestation_id"
|
575
582
|
add_index "items", ["required_role_id"], :name => "index_items_on_required_role_id"
|
576
583
|
add_index "items", ["shelf_id"], :name => "index_items_on_shelf_id"
|
577
584
|
|
@@ -600,8 +607,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
600
607
|
t.integer "fine", :default => 0, :null => false
|
601
608
|
t.text "note"
|
602
609
|
t.integer "position"
|
603
|
-
t.datetime "created_at"
|
604
|
-
t.datetime "updated_at"
|
610
|
+
t.datetime "created_at"
|
611
|
+
t.datetime "updated_at"
|
605
612
|
end
|
606
613
|
|
607
614
|
add_index "lending_policies", ["item_id", "user_group_id"], :name => "index_lending_policies_on_item_id_and_user_group_id", :unique => true
|
@@ -624,8 +631,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
624
631
|
t.integer "users_count", :default => 0, :null => false
|
625
632
|
t.integer "position"
|
626
633
|
t.integer "country_id"
|
627
|
-
t.datetime "created_at"
|
628
|
-
t.datetime "updated_at"
|
634
|
+
t.datetime "created_at"
|
635
|
+
t.datetime "updated_at"
|
629
636
|
t.datetime "deleted_at"
|
630
637
|
t.string "isil"
|
631
638
|
end
|
@@ -644,8 +651,9 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
644
651
|
t.text "login_banner"
|
645
652
|
t.text "note"
|
646
653
|
t.integer "country_id"
|
647
|
-
t.datetime "created_at"
|
648
|
-
t.datetime "updated_at"
|
654
|
+
t.datetime "created_at"
|
655
|
+
t.datetime "updated_at"
|
656
|
+
t.text "admin_networks"
|
649
657
|
t.boolean "allow_bookmark_external_url", :default => false, :null => false
|
650
658
|
t.string "url", :default => "http://localhost:3000/"
|
651
659
|
end
|
@@ -657,8 +665,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
657
665
|
t.string "display_name"
|
658
666
|
t.text "note"
|
659
667
|
t.integer "position"
|
660
|
-
t.datetime "created_at"
|
661
|
-
t.datetime "updated_at"
|
668
|
+
t.datetime "created_at"
|
669
|
+
t.datetime "updated_at"
|
662
670
|
end
|
663
671
|
|
664
672
|
create_table "manifestation_checkout_stats", :force => true do |t|
|
@@ -666,8 +674,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
666
674
|
t.datetime "end_date"
|
667
675
|
t.text "note"
|
668
676
|
t.string "state"
|
669
|
-
t.datetime "created_at"
|
670
|
-
t.datetime "updated_at"
|
677
|
+
t.datetime "created_at"
|
678
|
+
t.datetime "updated_at"
|
671
679
|
t.datetime "started_at"
|
672
680
|
t.datetime "completed_at"
|
673
681
|
end
|
@@ -679,16 +687,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
679
687
|
t.text "display_name"
|
680
688
|
t.text "note"
|
681
689
|
t.integer "position"
|
682
|
-
t.datetime "created_at"
|
683
|
-
t.datetime "updated_at"
|
690
|
+
t.datetime "created_at"
|
691
|
+
t.datetime "updated_at"
|
684
692
|
end
|
685
693
|
|
686
694
|
create_table "manifestation_relationships", :force => true do |t|
|
687
695
|
t.integer "parent_id"
|
688
696
|
t.integer "child_id"
|
689
697
|
t.integer "manifestation_relationship_type_id"
|
690
|
-
t.datetime "created_at"
|
691
|
-
t.datetime "updated_at"
|
698
|
+
t.datetime "created_at"
|
699
|
+
t.datetime "updated_at"
|
692
700
|
t.integer "position"
|
693
701
|
end
|
694
702
|
|
@@ -700,8 +708,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
700
708
|
t.datetime "end_date"
|
701
709
|
t.text "note"
|
702
710
|
t.string "state"
|
703
|
-
t.datetime "created_at"
|
704
|
-
t.datetime "updated_at"
|
711
|
+
t.datetime "created_at"
|
712
|
+
t.datetime "updated_at"
|
705
713
|
t.datetime "started_at"
|
706
714
|
t.datetime "completed_at"
|
707
715
|
end
|
@@ -716,8 +724,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
716
724
|
t.string "manifestation_identifier"
|
717
725
|
t.datetime "date_of_publication"
|
718
726
|
t.datetime "date_copyrighted"
|
719
|
-
t.datetime "created_at"
|
720
|
-
t.datetime "updated_at"
|
727
|
+
t.datetime "created_at"
|
728
|
+
t.datetime "updated_at"
|
721
729
|
t.datetime "deleted_at"
|
722
730
|
t.string "access_address"
|
723
731
|
t.integer "language_id", :default => 1, :null => false
|
@@ -792,8 +800,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
792
800
|
t.text "display_name"
|
793
801
|
t.text "note"
|
794
802
|
t.integer "position"
|
795
|
-
t.datetime "created_at"
|
796
|
-
t.datetime "updated_at"
|
803
|
+
t.datetime "created_at"
|
804
|
+
t.datetime "updated_at"
|
797
805
|
end
|
798
806
|
|
799
807
|
create_table "message_requests", :force => true do |t|
|
@@ -804,8 +812,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
804
812
|
t.datetime "deleted_at"
|
805
813
|
t.text "body"
|
806
814
|
t.string "state"
|
807
|
-
t.datetime "created_at"
|
808
|
-
t.datetime "updated_at"
|
815
|
+
t.datetime "created_at"
|
816
|
+
t.datetime "updated_at"
|
809
817
|
end
|
810
818
|
|
811
819
|
add_index "message_requests", ["state"], :name => "index_message_requests_on_state"
|
@@ -816,8 +824,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
816
824
|
t.text "body", :null => false
|
817
825
|
t.integer "position"
|
818
826
|
t.string "locale", :default => "ja"
|
819
|
-
t.datetime "created_at"
|
820
|
-
t.datetime "updated_at"
|
827
|
+
t.datetime "created_at"
|
828
|
+
t.datetime "updated_at"
|
821
829
|
end
|
822
830
|
|
823
831
|
add_index "message_templates", ["status"], :name => "index_message_templates_on_status", :unique => true
|
@@ -831,8 +839,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
831
839
|
t.integer "message_request_id"
|
832
840
|
t.string "state"
|
833
841
|
t.integer "parent_id"
|
834
|
-
t.datetime "created_at"
|
835
|
-
t.datetime "updated_at"
|
842
|
+
t.datetime "created_at"
|
843
|
+
t.datetime "updated_at"
|
836
844
|
t.integer "lft"
|
837
845
|
t.integer "rgt"
|
838
846
|
t.integer "depth"
|
@@ -847,8 +855,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
847
855
|
t.integer "agent_id", :null => false
|
848
856
|
t.integer "item_id", :null => false
|
849
857
|
t.integer "position"
|
850
|
-
t.datetime "created_at"
|
851
|
-
t.datetime "updated_at"
|
858
|
+
t.datetime "created_at"
|
859
|
+
t.datetime "updated_at"
|
852
860
|
end
|
853
861
|
|
854
862
|
add_index "owns", ["agent_id"], :name => "index_owns_on_agent_id"
|
@@ -858,8 +866,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
858
866
|
t.integer "agent_id", :null => false
|
859
867
|
t.integer "event_id", :null => false
|
860
868
|
t.integer "position"
|
861
|
-
t.datetime "created_at"
|
862
|
-
t.datetime "updated_at"
|
869
|
+
t.datetime "created_at"
|
870
|
+
t.datetime "updated_at"
|
863
871
|
end
|
864
872
|
|
865
873
|
add_index "participates", ["agent_id"], :name => "index_participates_on_agent_id"
|
@@ -872,8 +880,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
872
880
|
t.text "title"
|
873
881
|
t.string "thumbnail"
|
874
882
|
t.integer "position"
|
875
|
-
t.datetime "created_at"
|
876
|
-
t.datetime "updated_at"
|
883
|
+
t.datetime "created_at"
|
884
|
+
t.datetime "updated_at"
|
877
885
|
t.string "picture_file_name"
|
878
886
|
t.string "picture_content_type"
|
879
887
|
t.integer "picture_file_size"
|
@@ -889,16 +897,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
889
897
|
t.text "display_name"
|
890
898
|
t.text "note"
|
891
899
|
t.integer "position"
|
892
|
-
t.datetime "created_at"
|
893
|
-
t.datetime "updated_at"
|
900
|
+
t.datetime "created_at"
|
901
|
+
t.datetime "updated_at"
|
894
902
|
end
|
895
903
|
|
896
904
|
create_table "produces", :force => true do |t|
|
897
905
|
t.integer "agent_id", :null => false
|
898
906
|
t.integer "manifestation_id", :null => false
|
899
907
|
t.integer "position"
|
900
|
-
t.datetime "created_at"
|
901
|
-
t.datetime "updated_at"
|
908
|
+
t.datetime "created_at"
|
909
|
+
t.datetime "updated_at"
|
902
910
|
t.integer "produce_type_id"
|
903
911
|
end
|
904
912
|
|
@@ -910,16 +918,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
910
918
|
t.text "display_name"
|
911
919
|
t.text "note"
|
912
920
|
t.integer "position"
|
913
|
-
t.datetime "created_at"
|
914
|
-
t.datetime "updated_at"
|
921
|
+
t.datetime "created_at"
|
922
|
+
t.datetime "updated_at"
|
915
923
|
end
|
916
924
|
|
917
925
|
create_table "realizes", :force => true do |t|
|
918
926
|
t.integer "agent_id", :null => false
|
919
927
|
t.integer "expression_id", :null => false
|
920
928
|
t.integer "position"
|
921
|
-
t.datetime "created_at"
|
922
|
-
t.datetime "updated_at"
|
929
|
+
t.datetime "created_at"
|
930
|
+
t.datetime "updated_at"
|
923
931
|
t.integer "realize_type_id"
|
924
932
|
end
|
925
933
|
|
@@ -931,8 +939,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
931
939
|
t.text "display_name"
|
932
940
|
t.text "note"
|
933
941
|
t.integer "position"
|
934
|
-
t.datetime "created_at"
|
935
|
-
t.datetime "updated_at"
|
942
|
+
t.datetime "created_at"
|
943
|
+
t.datetime "updated_at"
|
936
944
|
end
|
937
945
|
|
938
946
|
create_table "request_types", :force => true do |t|
|
@@ -940,16 +948,16 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
940
948
|
t.text "display_name"
|
941
949
|
t.text "note"
|
942
950
|
t.integer "position"
|
943
|
-
t.datetime "created_at"
|
944
|
-
t.datetime "updated_at"
|
951
|
+
t.datetime "created_at"
|
952
|
+
t.datetime "updated_at"
|
945
953
|
end
|
946
954
|
|
947
955
|
create_table "reserve_stat_has_manifestations", :force => true do |t|
|
948
956
|
t.integer "manifestation_reserve_stat_id", :null => false
|
949
957
|
t.integer "manifestation_id", :null => false
|
950
958
|
t.integer "reserves_count"
|
951
|
-
t.datetime "created_at"
|
952
|
-
t.datetime "updated_at"
|
959
|
+
t.datetime "created_at"
|
960
|
+
t.datetime "updated_at"
|
953
961
|
end
|
954
962
|
|
955
963
|
add_index "reserve_stat_has_manifestations", ["manifestation_id"], :name => "index_reserve_stat_has_manifestations_on_manifestation_id"
|
@@ -959,8 +967,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
959
967
|
t.integer "user_reserve_stat_id", :null => false
|
960
968
|
t.integer "user_id", :null => false
|
961
969
|
t.integer "reserves_count"
|
962
|
-
t.datetime "created_at"
|
963
|
-
t.datetime "updated_at"
|
970
|
+
t.datetime "created_at"
|
971
|
+
t.datetime "updated_at"
|
964
972
|
end
|
965
973
|
|
966
974
|
add_index "reserve_stat_has_users", ["user_id"], :name => "index_reserve_stat_has_users_on_user_id"
|
@@ -972,19 +980,23 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
972
980
|
t.integer "item_id"
|
973
981
|
t.integer "request_status_type_id", :null => false
|
974
982
|
t.datetime "checked_out_at"
|
975
|
-
t.datetime "created_at"
|
976
|
-
t.datetime "updated_at"
|
983
|
+
t.datetime "created_at"
|
984
|
+
t.datetime "updated_at"
|
977
985
|
t.datetime "canceled_at"
|
978
986
|
t.datetime "expired_at"
|
979
987
|
t.datetime "deleted_at"
|
980
988
|
t.string "state"
|
981
989
|
t.boolean "expiration_notice_to_agent", :default => false
|
982
990
|
t.boolean "expiration_notice_to_library", :default => false
|
991
|
+
t.datetime "retained_at"
|
992
|
+
t.datetime "postponed_at"
|
993
|
+
t.integer "lock_version", :default => 0, :null => false
|
983
994
|
end
|
984
995
|
|
985
996
|
add_index "reserves", ["item_id"], :name => "index_reserves_on_item_id"
|
986
997
|
add_index "reserves", ["manifestation_id"], :name => "index_reserves_on_manifestation_id"
|
987
998
|
add_index "reserves", ["request_status_type_id"], :name => "index_reserves_on_request_status_type_id"
|
999
|
+
add_index "reserves", ["state"], :name => "index_reserves_on_state"
|
988
1000
|
add_index "reserves", ["user_id"], :name => "index_reserves_on_user_id"
|
989
1001
|
|
990
1002
|
create_table "resource_import_files", :force => true do |t|
|
@@ -999,8 +1011,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
999
1011
|
t.string "resource_import_content_type"
|
1000
1012
|
t.integer "resource_import_file_size"
|
1001
1013
|
t.datetime "resource_import_updated_at"
|
1002
|
-
t.datetime "created_at"
|
1003
|
-
t.datetime "updated_at"
|
1014
|
+
t.datetime "created_at"
|
1015
|
+
t.datetime "updated_at"
|
1004
1016
|
t.string "edit_mode"
|
1005
1017
|
t.string "resource_import_fingerprint"
|
1006
1018
|
t.text "error_message"
|
@@ -1015,8 +1027,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1015
1027
|
t.integer "manifestation_id"
|
1016
1028
|
t.integer "item_id"
|
1017
1029
|
t.text "body"
|
1018
|
-
t.datetime "created_at"
|
1019
|
-
t.datetime "updated_at"
|
1030
|
+
t.datetime "created_at"
|
1031
|
+
t.datetime "updated_at"
|
1020
1032
|
end
|
1021
1033
|
|
1022
1034
|
add_index "resource_import_results", ["item_id"], :name => "index_resource_import_results_on_item_id"
|
@@ -1028,8 +1040,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1028
1040
|
t.text "display_name"
|
1029
1041
|
t.text "note"
|
1030
1042
|
t.integer "position"
|
1031
|
-
t.datetime "created_at"
|
1032
|
-
t.datetime "updated_at"
|
1043
|
+
t.datetime "created_at"
|
1044
|
+
t.datetime "updated_at"
|
1033
1045
|
end
|
1034
1046
|
|
1035
1047
|
create_table "search_engines", :force => true do |t|
|
@@ -1042,43 +1054,27 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1042
1054
|
t.text "additional_param"
|
1043
1055
|
t.text "note"
|
1044
1056
|
t.integer "position"
|
1045
|
-
t.datetime "created_at"
|
1046
|
-
t.datetime "updated_at"
|
1057
|
+
t.datetime "created_at"
|
1058
|
+
t.datetime "updated_at"
|
1047
1059
|
end
|
1048
1060
|
|
1049
1061
|
create_table "series_has_manifestations", :force => true do |t|
|
1050
1062
|
t.integer "series_statement_id"
|
1051
1063
|
t.integer "manifestation_id"
|
1052
1064
|
t.integer "position"
|
1053
|
-
t.datetime "created_at"
|
1054
|
-
t.datetime "updated_at"
|
1065
|
+
t.datetime "created_at"
|
1066
|
+
t.datetime "updated_at"
|
1055
1067
|
end
|
1056
1068
|
|
1057
1069
|
add_index "series_has_manifestations", ["manifestation_id"], :name => "index_series_has_manifestations_on_manifestation_id"
|
1058
1070
|
add_index "series_has_manifestations", ["series_statement_id"], :name => "index_series_has_manifestations_on_series_statement_id"
|
1059
1071
|
|
1060
|
-
create_table "series_statement_merge_lists", :force => true do |t|
|
1061
|
-
t.string "title"
|
1062
|
-
t.datetime "created_at", :null => false
|
1063
|
-
t.datetime "updated_at", :null => false
|
1064
|
-
end
|
1065
|
-
|
1066
|
-
create_table "series_statement_merges", :force => true do |t|
|
1067
|
-
t.integer "series_statement_id", :null => false
|
1068
|
-
t.integer "series_statement_merge_list_id", :null => false
|
1069
|
-
t.datetime "created_at", :null => false
|
1070
|
-
t.datetime "updated_at", :null => false
|
1071
|
-
end
|
1072
|
-
|
1073
|
-
add_index "series_statement_merges", ["series_statement_id"], :name => "index_series_statement_merges_on_series_statement_id"
|
1074
|
-
add_index "series_statement_merges", ["series_statement_merge_list_id"], :name => "index_series_statement_merges_on_series_statement_merge_list_id"
|
1075
|
-
|
1076
1072
|
create_table "series_statement_relationships", :force => true do |t|
|
1077
1073
|
t.integer "parent_id"
|
1078
1074
|
t.integer "child_id"
|
1079
1075
|
t.integer "position"
|
1080
|
-
t.datetime "created_at"
|
1081
|
-
t.datetime "updated_at"
|
1076
|
+
t.datetime "created_at"
|
1077
|
+
t.datetime "updated_at"
|
1082
1078
|
end
|
1083
1079
|
|
1084
1080
|
create_table "series_statements", :force => true do |t|
|
@@ -1087,8 +1083,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1087
1083
|
t.text "title_subseries"
|
1088
1084
|
t.text "numbering_subseries"
|
1089
1085
|
t.integer "position"
|
1090
|
-
t.datetime "created_at"
|
1091
|
-
t.datetime "updated_at"
|
1086
|
+
t.datetime "created_at"
|
1087
|
+
t.datetime "updated_at"
|
1092
1088
|
t.text "title_transcription"
|
1093
1089
|
t.text "title_alternative"
|
1094
1090
|
t.string "series_statement_identifier"
|
@@ -1115,8 +1111,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1115
1111
|
t.integer "library_id", :default => 1, :null => false
|
1116
1112
|
t.integer "items_count", :default => 0, :null => false
|
1117
1113
|
t.integer "position"
|
1118
|
-
t.datetime "created_at"
|
1119
|
-
t.datetime "updated_at"
|
1114
|
+
t.datetime "created_at"
|
1115
|
+
t.datetime "updated_at"
|
1120
1116
|
t.datetime "deleted_at"
|
1121
1117
|
t.boolean "closed", :default => false, :null => false
|
1122
1118
|
end
|
@@ -1139,8 +1135,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1139
1135
|
create_table "tags", :force => true do |t|
|
1140
1136
|
t.string "name"
|
1141
1137
|
t.string "name_transcription"
|
1142
|
-
t.datetime "created_at"
|
1143
|
-
t.datetime "updated_at"
|
1138
|
+
t.datetime "created_at"
|
1139
|
+
t.datetime "updated_at"
|
1144
1140
|
end
|
1145
1141
|
|
1146
1142
|
create_table "use_restrictions", :force => true do |t|
|
@@ -1148,8 +1144,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1148
1144
|
t.text "display_name"
|
1149
1145
|
t.text "note"
|
1150
1146
|
t.integer "position"
|
1151
|
-
t.datetime "created_at"
|
1152
|
-
t.datetime "updated_at"
|
1147
|
+
t.datetime "created_at"
|
1148
|
+
t.datetime "updated_at"
|
1153
1149
|
end
|
1154
1150
|
|
1155
1151
|
create_table "user_checkout_stats", :force => true do |t|
|
@@ -1157,8 +1153,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1157
1153
|
t.datetime "end_date"
|
1158
1154
|
t.text "note"
|
1159
1155
|
t.string "state"
|
1160
|
-
t.datetime "created_at"
|
1161
|
-
t.datetime "updated_at"
|
1156
|
+
t.datetime "created_at"
|
1157
|
+
t.datetime "updated_at"
|
1162
1158
|
t.datetime "started_at"
|
1163
1159
|
t.datetime "completed_at"
|
1164
1160
|
end
|
@@ -1177,8 +1173,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1177
1173
|
t.datetime "fixed_due_date"
|
1178
1174
|
t.text "note"
|
1179
1175
|
t.integer "position"
|
1180
|
-
t.datetime "created_at"
|
1181
|
-
t.datetime "updated_at"
|
1176
|
+
t.datetime "created_at"
|
1177
|
+
t.datetime "updated_at"
|
1182
1178
|
t.integer "current_checkout_count"
|
1183
1179
|
end
|
1184
1180
|
|
@@ -1187,12 +1183,12 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1187
1183
|
|
1188
1184
|
create_table "user_groups", :force => true do |t|
|
1189
1185
|
t.string "name"
|
1190
|
-
t.
|
1186
|
+
t.text "string"
|
1191
1187
|
t.text "display_name"
|
1192
1188
|
t.text "note"
|
1193
1189
|
t.integer "position"
|
1194
|
-
t.datetime "created_at"
|
1195
|
-
t.datetime "updated_at"
|
1190
|
+
t.datetime "created_at"
|
1191
|
+
t.datetime "updated_at"
|
1196
1192
|
t.datetime "deleted_at"
|
1197
1193
|
t.integer "valid_period_for_new_user", :default => 0, :null => false
|
1198
1194
|
t.datetime "expired_at"
|
@@ -1204,8 +1200,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1204
1200
|
create_table "user_has_roles", :force => true do |t|
|
1205
1201
|
t.integer "user_id"
|
1206
1202
|
t.integer "role_id"
|
1207
|
-
t.datetime "created_at"
|
1208
|
-
t.datetime "updated_at"
|
1203
|
+
t.datetime "created_at"
|
1204
|
+
t.datetime "updated_at"
|
1209
1205
|
end
|
1210
1206
|
|
1211
1207
|
create_table "user_reserve_stats", :force => true do |t|
|
@@ -1213,8 +1209,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1213
1209
|
t.datetime "end_date"
|
1214
1210
|
t.text "note"
|
1215
1211
|
t.string "state"
|
1216
|
-
t.datetime "created_at"
|
1217
|
-
t.datetime "updated_at"
|
1212
|
+
t.datetime "created_at"
|
1213
|
+
t.datetime "updated_at"
|
1218
1214
|
t.datetime "started_at"
|
1219
1215
|
t.datetime "completed_at"
|
1220
1216
|
end
|
@@ -1222,8 +1218,8 @@ ActiveRecord::Schema.define(:version => 20130509185724) do
|
|
1222
1218
|
add_index "user_reserve_stats", ["state"], :name => "index_user_reserve_stats_on_state"
|
1223
1219
|
|
1224
1220
|
create_table "users", :force => true do |t|
|
1225
|
-
t.datetime "created_at"
|
1226
|
-
t.datetime "updated_at"
|
1221
|
+
t.datetime "created_at"
|
1222
|
+
t.datetime "updated_at"
|
1227
1223
|
t.string "email", :default => "", :null => false
|
1228
1224
|
t.string "encrypted_password", :default => "", :null => false
|
1229
1225
|
t.string "reset_password_token"
|