spec/fixtures/roles.yml in enju_leaf-1.3.6 vs spec/fixtures/roles.yml in enju_leaf-2.0.0.beta.1
- old
+ new
@@ -1,39 +1,38 @@
---
role_00001:
name: Guest
- display_name: Guest
+ display_name_translations: {"en": "Guest", "ja": "ゲスト"}
id: 1
note:
position: 1
role_00002:
name: User
- display_name: User
+ display_name_translations: {"en": "User", "ja": "一般利用者"}
id: 2
note:
position: 2
role_00003:
name: Librarian
- display_name: Librarian
+ display_name_translations: {"en": "Librarian", "ja": "図書館員"}
id: 3
note:
position: 3
role_00004:
name: Administrator
- display_name: Administrator
+ display_name_translations: {"en": "Administrator", "ja": "管理者"}
id: 4
note:
position: 4
# == Schema Information
#
# Table name: roles
#
-# id :integer not null, primary key
-# name :string not null
-# display_name :string
-# note :text
-# created_at :datetime
-# updated_at :datetime
-# score :integer default(0), not null
-# position :integer
+# id :bigint(8) not null, primary key
+# name :string not null
+# display_name_translations :jsonb not null
+# note :text
+# position :integer
+# created_at :datetime not null
+# updated_at :datetime not null
#