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