2023-11-13 18:58:28 +09:00
|
|
|
# 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
|
2023-12-07 23:49:05 +09:00
|
|
|
self.primary_key = [:preview_card_id, :status_id]
|
2023-11-13 18:58:28 +09:00
|
|
|
|
|
|
|
belongs_to :preview_card
|
|
|
|
belongs_to :status
|
|
|
|
end
|