1
0

preview_cards_status.rb 367 B

12345678910111213141516
  1. # frozen_string_literal: true
  2. # == Schema Information
  3. #
  4. # Table name: preview_cards_statuses
  5. #
  6. # preview_card_id :bigint(8) not null
  7. # status_id :bigint(8) not null
  8. # url :string
  9. #
  10. class PreviewCardsStatus < ApplicationRecord
  11. self.primary_key = [:preview_card_id, :status_id]
  12. belongs_to :preview_card
  13. belongs_to :status
  14. end