X-Git-Url: https://git.openstreetmap.org/rails.git/blobdiff_plain/b92c699a66fcf6433915ca7771206c61de205a67..ebaae09797d245ad05f1c00c2f8359c8868fe14d:/app/models/redaction.rb?ds=sidebyside

diff --git a/app/models/redaction.rb b/app/models/redaction.rb
index d9b2a5579..5e9e0decd 100644
--- a/app/models/redaction.rb
+++ b/app/models/redaction.rb
@@ -3,8 +3,8 @@
 # Table name: redactions
 #
 #  id                 :integer          not null, primary key
-#  title              :string
-#  description        :text
+#  title              :string           not null
+#  description        :text             not null
 #  created_at         :datetime
 #  updated_at         :datetime
 #  user_id            :bigint(8)        not null
@@ -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