spec/fixtures/items.yml in enju_oai-0.1.0.pre13 vs spec/fixtures/items.yml in enju_oai-0.1.0.pre14
- old
+ new
@@ -1,209 +1,283 @@
---
item_00001:
updated_at: 2007-08-24 23:46:00.484813 +09:00
item_identifier: '00001'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 1
include_supplements: false
created_at: 2007-08-24 23:46:00.484813 +09:00
item_00002:
updated_at: 2007-08-24 23:46:01.641413 +09:00
item_identifier: '00002'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 2
include_supplements: false
created_at: 2007-08-24 23:46:01.641413 +09:00
item_00003:
updated_at: 2007-08-24 23:46:02.502569 +09:00
item_identifier: '00003'
+ circulation_status_id: 2
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 3
id: 3
include_supplements: false
created_at: 2007-08-24 23:46:02.502569 +09:00
item_00004:
updated_at: 2007-08-24 23:46:03.520781 +09:00
item_identifier: '00004'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 4
include_supplements: true
created_at: 2007-08-24 23:46:03.520781 +09:00
item_00005:
updated_at: 2007-08-24 23:46:04.538073 +09:00
item_identifier: '00005'
+ circulation_status_id: 2
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 5
include_supplements: false
created_at: 2007-08-24 23:46:04.538073 +09:00
item_00006:
updated_at: 2007-08-24 23:46:05.555353 +09:00
item_identifier: '00006'
+ circulation_status_id: 2
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 3
id: 6
include_supplements: true
created_at: 2007-08-24 23:46:05.555353 +09:00
item_00007:
updated_at: 2007-08-24 23:46:06.572631 +09:00
item_identifier: '00007'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 7
include_supplements: false
created_at: 2007-08-24 23:46:06.572631 +09:00
item_00008:
updated_at: 2007-08-24 23:46:07.589909 +09:00
item_identifier: '00008'
+ circulation_status_id: 2
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 8
include_supplements: true
created_at: 2007-08-24 23:46:07.589909 +09:00
item_00009:
updated_at: 2007-08-24 23:46:08.607081 +09:00
item_identifier: '00009'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 4
call_number:
+ manifestation_id: 3
id: 9
include_supplements: false
created_at: 2007-08-24 23:46:08.607081 +09:00
item_00010:
updated_at: 2007-08-24 23:46:09.624281 +09:00
item_identifier: '00010'
+ circulation_status_id: 2
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 10
include_supplements: false
created_at: 2007-08-24 23:46:09.624281 +09:00
item_00011:
updated_at: 2007-08-24 23:46:10.484813 +09:00
item_identifier: '00011'
+ circulation_status_id: 2
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 11
include_supplements: false
created_at: 2007-08-24 23:46:10.484813 +09:00
item_00012:
updated_at: 2007-08-24 23:46:11.484813 +09:00
item_identifier: '00012'
+ circulation_status_id: 3
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 12
include_supplements: false
created_at: 2007-08-24 23:46:11.484813 +09:00
item_00013:
updated_at: 2007-08-24 23:46:12.484813 +09:00
item_identifier: '00013'
+ circulation_status_id: 10
+ checkout_type_id: 1
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 13
include_supplements: false
created_at: 2007-08-24 23:46:12.484813 +09:00
item_00014:
updated_at: 2007-08-24 23:46:13.484813 +09:00
item_identifier: '00014'
+ circulation_status_id: 10
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 14
include_supplements: false
created_at: 2007-08-24 23:46:13.484813 +09:00
item_00015:
updated_at: 2007-08-24 23:46:14.484813 +09:00
item_identifier: '00015'
+ circulation_status_id: 10
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 2
id: 15
include_supplements: false
created_at: 2007-08-24 23:46:14.484813 +09:00
item_00016:
updated_at: 2007-08-24 23:46:15.484813 +09:00
item_identifier: '00016'
+ circulation_status_id: 10
+ checkout_type_id: 2
shelf_id: 1
call_number:
+ manifestation_id: 3
id: 16
include_supplements: true
created_at: 2007-08-24 23:46:15.484813 +09:00
item_00017:
updated_at: 2007-08-24 23:46:16.484813 +09:00
item_identifier: '00017'
+ circulation_status_id: 10
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 3
id: 17
include_supplements: false
created_at: 2007-08-24 23:46:16.484813 +09:00
item_00018:
updated_at: 2007-08-24 23:46:17.484813 +09:00
item_identifier: '00018'
+ circulation_status_id: 10
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 18
include_supplements: false
created_at: 2007-08-24 23:46:17.484813 +09:00
item_00019:
updated_at: 2007-08-24 23:46:18.484813 +09:00
item_identifier: '00019'
+ circulation_status_id: 2
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 19
include_supplements: false
created_at: 2007-08-24 23:46:18.484813 +09:00
item_00020:
updated_at: 2007-08-24 23:46:19.484813 +09:00
item_identifier: '00020'
+ circulation_status_id: 13
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 1
id: 20
include_supplements: false
created_at: 2007-08-24 23:46:19.484813 +09:00
item_00021:
updated_at: 2007-08-24 23:46:20.484813 +09:00
item_identifier: '00021'
+ circulation_status_id: 2
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 11
id: 21
include_supplements: false
created_at: 2007-08-24 23:46:20.484813 +09:00
item_00022:
updated_at: 2007-08-24 23:46:20.484813 +09:00
item_identifier: '00022'
+ circulation_status_id: 2
+ checkout_type_id: 3
shelf_id: 1
call_number:
+ manifestation_id: 11
id: 22
include_supplements: false
created_at: 2007-08-24 23:46:20.484813 +09:00
item_00023:
updated_at: 2007-08-24 23:46:20.484813 +09:00
item_identifier: '00023'
+ circulation_status_id: 15
+ checkout_type_id: 3
shelf_id: 2
call_number:
+ manifestation_id: 11
id: 23
include_supplements: false
created_at: 2007-08-24 23:46:20.484813 +09:00
+
# == Schema Information
#
# Table name: items
#
-# id :integer not null, primary key
-# call_number :string(255)
-# item_identifier :string(255)
-# created_at :datetime not null
-# updated_at :datetime not null
-# deleted_at :datetime
-# shelf_id :integer default(1), not null
-# include_supplements :boolean default(FALSE), not null
-# note :text
-# url :string(255)
-# price :integer
-# lock_version :integer default(0), not null
-# required_role_id :integer default(1), not null
-# state :string(255)
-# required_score :integer default(0), not null
-# acquired_at :datetime
-# bookstore_id :integer
-# budget_type_id :integer
+# id :integer not null, primary key
+# call_number :string(255)
+# item_identifier :string(255)
+# created_at :datetime not null
+# updated_at :datetime not null
+# deleted_at :datetime
+# shelf_id :integer default(1), not null
+# include_supplements :boolean default(FALSE), not null
+# note :text
+# url :string(255)
+# price :integer
+# lock_version :integer default(0), not null
+# required_role_id :integer default(1), not null
+# required_score :integer default(0), not null
+# acquired_at :datetime
+# bookstore_id :integer
+# budget_type_id :integer
+# circulation_status_id :integer default(5), not null
+# checkout_type_id :integer default(1), not null
+# binding_item_identifier :string(255)
+# binding_call_number :string(255)
+# binded_at :datetime
+# manifestation_id :integer
#
-