spec/fixtures/shelves.yml in enju_circulation-0.3.11 vs spec/fixtures/shelves.yml in enju_circulation-0.4.0.beta.1
- old
+ new
@@ -1,46 +1,47 @@
---
shelf_00001:
name: web
- display_name: Library bookmark
+ display_name_translations: {"en": "Library bookmark", "ja": "ブックマーク"}
id: 1
note:
library_id: 1
position: 1
shelf_00002:
name: first_shelf
- display_name: First shelf
+ display_name_translations: {"en": "First shelf", "ja": "最初の書棚"}
id: 2
note:
library_id: 2
position: 2
shelf_00003:
name: second_shelf
- display_name: Second shelf
+ display_name_translations: {"en": "Second shelf", "ja": "二つ目の書棚"}
id: 3
note:
library_id: 2
position: 3
shelf_00004:
name: third_shelf
- display_name: Third shelf
+ display_name_translations: {"en": "Third shelf", "ja": "三つ目の書棚"}
id: 4
note:
library_id: 3
position: 4
# == Schema Information
#
# Table name: shelves
#
-# id :integer not null, primary key
-# name :string(255) not null
-# display_name :text
-# note :text
-# library_id :integer default(1), not null
-# items_count :integer default(0), not null
-# position :integer
-# created_at :datetime
-# updated_at :datetime
-# deleted_at :datetime
+# id :integer not null, primary key
+# name :string not null
+# display_name :text
+# note :text
+# library_id :integer not null
+# items_count :integer default(0), not null
+# position :integer
+# created_at :datetime
+# updated_at :datetime
+# deleted_at :datetime
+# closed :boolean default(FALSE), not null
+# display_name_translations :jsonb not null
#
-