mirror of
https://git.bsd.gay/fef/nyastodon.git
synced 2024-12-27 07:13:44 +01:00
b5ac61b2c5
Co-authored-by: Claire <claire.github-309c@sitedethib.com>
16 lines
393 B
Ruby
16 lines
393 B
Ruby
# frozen_string_literal: true
|
|
|
|
# == Schema Information
|
|
#
|
|
# Table name: preview_cards_statuses
|
|
#
|
|
# preview_card_id :bigint(8) not null, primary key
|
|
# status_id :bigint(8) not null, primary key
|
|
# url :string
|
|
#
|
|
class PreviewCardsStatus < ApplicationRecord
|
|
self.primary_key = [:preview_card_id, :status_id]
|
|
|
|
belongs_to :preview_card
|
|
belongs_to :status
|
|
end
|