X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/a39c645602f9d27b7927500c93890f4d7d79620e..191d7f371031cec6a1b83157d3e9f17dee787075:/app/models/redaction.rb diff --git a/app/models/redaction.rb b/app/models/redaction.rb index e6d748706..f4eedde0a 100644 --- a/app/models/redaction.rb +++ b/app/models/redaction.rb @@ -7,7 +7,7 @@ # description :text # created_at :datetime # updated_at :datetime -# user_id :integer not null +# user_id :bigint(8) not null # description_format :enum default("markdown"), not null # # Foreign Keys @@ -24,7 +24,7 @@ # record's title and description fields, which can be # displayed linked from the redacted records. # -class Redaction < ActiveRecord::Base +class Redaction < ApplicationRecord belongs_to :user has_many :old_nodes