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