spec/fixtures/roles.yml in enju_message-0.3.4 vs spec/fixtures/roles.yml in enju_message-0.4.0.beta.1
- old
+ new
@@ -1,21 +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:
+ note:
+ position: 4
+
+# == Schema Information
+#
+# Table name: roles
+#
+# 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
+#