forgeplus/app/models/mark_file.rb

26 lines
650 B
Ruby

# == Schema Information
#
# Table name: mark_files
#
# id :integer not null, primary key
# pull_request_id :integer
# user_id :integer
# file_path_sha :string(255)
# file_path :string(255)
# mark_as_read :boolean default("0")
# updated_after_read :boolean default("0")
# created_at :datetime not null
# updated_at :datetime not null
#
# Indexes
#
# index_mark_files_on_file_path_sha (file_path_sha)
# index_mark_files_on_pull_request_id (pull_request_id)
#
class MarkFile < ApplicationRecord
belongs_to :pull_request
end