Files
adamantium/app/relations/reactions.rb

16 lines
271 B
Ruby

# frozen_string_literal: true
module Adamantium
module Relations
class Reactions < Adamantium::DB::Relation
schema :reactions, infer: true do
associations do
belongs_to :post
end
end
auto_struct(true)
end
end
end