]> git.openstreetmap.org Git - rails.git/blobdiff - app/models/redaction.rb
Merge remote-tracking branch 'upstream/pull/4566'
[rails.git] / app / models / redaction.rb
index d9b2a5579c5bf3b72831649b5d4d04cc5ca41326..5e9e0decde935a87b1514e3a8ffec16085026b79 100644 (file)
@@ -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