about summary refs log tree commit diff
path: root/db/migrate/20170901142658_create_join_table_preview_cards_statuses.rb
blob: be7f533b509238784c800a6890db5c8643344df1 (plain) (blame)
1
2
3
4
5
6
7
class CreateJoinTablePreviewCardsStatuses < ActiveRecord::Migration[5.1]
  def change
    create_join_table :preview_cards, :statuses do |t|
      t.index [:status_id, :preview_card_id]
    end
  end
end