porkchopclub/porkchop

View on GitHub
db/migrate/20160705060746_change_my_mind_about_table_on_seasons.rb

Summary

Maintainability
A
0 mins
Test Coverage
class ChangeMyMindAboutTableOnSeasons < ActiveRecord::Migration[5.0]
  def up
    remove_column :seasons, :table_id
  end

  def down
    raise ActiveRecord::IrreversibleMigration, "Yeah no that's not going to work."
  end
end