20170901142658_create_join_table_preview_cards_statuses.rb 204 B

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