Sha256: 792415ccee0ab73be564e06ccc9735e3ebdf33dc373e26b193e425ece7d3372b

Contents?: true

Size: 184 Bytes

Versions: 35

Compression:

Stored size: 184 Bytes

Contents

class RemoveLeagueIdFromTeams < ActiveRecord::Migration
  def self.up
    remove_column :teams, :league_id
  end

  def self.down
    add_column :teams, :league_id, :integer
  end
end

Version data entries

35 entries across 35 versions & 6 rubygems

Version Path
rails_admin-0.1.1 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.1.0 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.0.5 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.0.4 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.0.3 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.0.2 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
upstream-rails_admin-1.0.2 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
rails_admin-0.0.1 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
obitum-rails_admin-0.0.5 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
drewda_rails_admin-0.0.1 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
obitum-rails_admin-0.0.4 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
obitum-rails_admin-0.0.3 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
obitum-rails_admin-0.0.2 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
obitum-rails_admin-0.0.1 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb
elucid-rails_admin-0.0.1 spec/dummy_app/db/migrate/20110329183136_remove_league_id_from_teams.rb