mirror of
https://gitlink.org.cn/Gitlink/forgeplus.git
synced 2026-05-11 15:25:56 +08:00
init project
This commit is contained in:
6
app/models/member_role.rb
Normal file
6
app/models/member_role.rb
Normal file
@@ -0,0 +1,6 @@
|
||||
class MemberRole < ApplicationRecord
|
||||
belongs_to :role
|
||||
belongs_to :member
|
||||
|
||||
validates :member_id, :role_id, presence: true
|
||||
end
|
||||
Reference in New Issue
Block a user