# frozen_string_literal: true # == Schema Information # # Table name: post_processing_logs # # id :bigint not null, primary key # begin_time :datetime # end_time :datetime # text :text # post_id :bigint # # Indexes # # index_post_processing_logs_on_post_id (post_id) # class Post::ProcessingLog < ApplicationRecord belongs_to :post validates :text, presence: true end