about summary refs log tree commit diff
path: root/app/models/inline_media_attachment.rb
blob: ac4388a6da7536bfd1d5b74e2bfffe7fdcdf71ff (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# frozen_string_literal: true
# == Schema Information
#
# Table name: inline_media_attachments
#
#  id                  :bigint(8)        not null, primary key
#  status_id           :bigint(8)
#  media_attachment_id :bigint(8)
#

class InlineMediaAttachment < ApplicationRecord
  belongs_to :status, inverse_of: :inlined_attachments
  belongs_to :media_attachment, inverse_of: :inlines
end