This repository has been archived on 2024-07-31. You can view files and clone it, but cannot push or open issues or pull requests.
2023-11-13 04:58:28 -05: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 09:49:05 -05:00
|
|
|
self.primary_key = [:preview_card_id, :status_id]
|
2023-11-13 04:58:28 -05:00
|
|
|
|
|
|
|
belongs_to :preview_card
|
|
|
|
belongs_to :status
|
|
|
|
end
|