# 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
# 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