mirror of
https://github.com/glitch-soc/mastodon.git
synced 2024-11-26 18:14:15 -05:00
17 lines
367 B
Ruby
17 lines
367 B
Ruby
# frozen_string_literal: true
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: preview_cards_statuses
|
|
#
|
|
# preview_card_id :bigint(8) not null
|
|
# status_id :bigint(8) not null
|
|
# url :string
|
|
#
|
|
class PreviewCardsStatus < ApplicationRecord
|
|
self.primary_key = [:preview_card_id, :status_id]
|
|
|
|
belongs_to :preview_card
|
|
belongs_to :status
|
|
end
|