2023-11-13 20:58:28 +11:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
# == Schema Information
|
|
|
|
#
|
|
|
|
# Table name: preview_cards_statuses
|
|
|
|
#
|
2023-12-19 21:59:43 +11:00
|
|
|
# preview_card_id :bigint(8) not null, primary key
|
|
|
|
# status_id :bigint(8) not null, primary key
|
2023-11-13 20:58:28 +11:00
|
|
|
# url :string
|
|
|
|
#
|
|
|
|
class PreviewCardsStatus < ApplicationRecord
|
2023-12-08 01:49:05 +11:00
|
|
|
self.primary_key = [:preview_card_id, :status_id]
|
2023-11-13 20:58:28 +11:00
|
|
|
|
|
|
|
belongs_to :preview_card
|
|
|
|
belongs_to :status
|
|
|
|
end
|