Add event model
This commit is contained in:
5
app/models/event.rb
Normal file
5
app/models/event.rb
Normal file
@ -0,0 +1,5 @@
|
||||
class Event < ActiveRecord::Base
|
||||
belongs_to :user, polymorphic: true
|
||||
belongs_to :exercise
|
||||
belongs_to :file
|
||||
end
|
Reference in New Issue
Block a user