forked from Trustie/forgeplus
30 lines
694 B
Ruby
30 lines
694 B
Ruby
# == Schema Information
|
|
#
|
|
# Table name: commit_logs
|
|
#
|
|
# id :integer not null, primary key
|
|
# user_id :integer
|
|
# project_id :integer
|
|
# repository_id :integer
|
|
# name :string(255)
|
|
# full_name :string(255)
|
|
# commit_id :string(255)
|
|
# ref :string(255)
|
|
# message :string(255)
|
|
# created_at :datetime not null
|
|
# updated_at :datetime not null
|
|
#
|
|
# Indexes
|
|
#
|
|
# index_commit_logs_on_commit_id (commit_id)
|
|
# index_commit_logs_on_project_id (project_id)
|
|
# index_commit_logs_on_user_id (user_id)
|
|
#
|
|
|
|
class CommitLog < ApplicationRecord
|
|
belongs_to :user
|
|
belongs_to :project
|
|
belongs_to :repository
|
|
|
|
end
|