Event entity created
This commit is contained in:
parent
34e1580184
commit
a847501fd2
9 changed files with 75 additions and 3 deletions
17
app/models/event.rb
Normal file
17
app/models/event.rb
Normal file
|
@ -0,0 +1,17 @@
|
|||
class Event < ActiveRecord::Base
|
||||
belongs_to :project
|
||||
serialize :data
|
||||
end
|
||||
# == Schema Information
|
||||
#
|
||||
# Table name: events
|
||||
#
|
||||
# id :integer not null, primary key
|
||||
# data_type :string(255)
|
||||
# data_id :string(255)
|
||||
# title :string(255)
|
||||
# data :text
|
||||
# project_id :integer
|
||||
# created_at :datetime not null
|
||||
# updated_at :datetime not null
|
||||
#
|
Loading…
Add table
Add a link
Reference in a new issue