forked from Trustie/forgeplus
25 lines
507 B
Ruby
25 lines
507 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: project_actions
|
|
#
|
|
# id :integer not null, primary key
|
|
# project_id :integer
|
|
# type :string(255)
|
|
# user_id :integer
|
|
# event_extra :text(65535)
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_project_actions_on_project_id (project_id)
|
|
#
|
|
|
|
class ProjectAction < ApplicationRecord
|
|
|
|
belongs_to :project
|
|
belongs_to :user, optional: true
|
|
|
|
serialize :event_extra, Hash
|
|
end
|