forgeplus/app/models/commit.rb

4 lines
85 B
Ruby
Raw Permalink Normal View History

2020-03-09 00:40:16 +08:00
class Commit < ApplicationRecord
belongs_to :project, foreign_key: :project_id
end