diff --git a/app/models/issue_view_column.rb b/app/models/issue_view_column.rb index 148460c..8afb370 100644 --- a/app/models/issue_view_column.rb +++ b/app/models/issue_view_column.rb @@ -1,6 +1,6 @@ # frozen_string_literal: true -class IssueViewColumn < ActiveRecord::Base +class IssueViewColumn < Rails.version < '7.1' ? ActiveRecord::Base : ApplicationRecord belongs_to :project scope :sorted, -> { order :position }