20170901142658_create_join_table_preview_cards_statuses.rb 235 B

123456789
  1. # frozen_string_literal: true
  2. class CreateJoinTablePreviewCardsStatuses < ActiveRecord::Migration[5.1]
  3. def change
  4. create_join_table :preview_cards, :statuses do |t|
  5. t.index [:status_id, :preview_card_id]
  6. end
  7. end
  8. end