Sha256: e37916a62cc6e926380ebd486c838ce6d72e77cd77463cbc2a41f79c8c8dfe37

Contents?: true

Size: 213 Bytes

Versions: 31

Compression:

Stored size: 213 Bytes

Contents

class AddSuspendedToPlayerMigration < ActiveRecord::Migration
  def self.up
    add_column :players, :suspended, :boolean, :default => false
  end

  def self.down
    remove_column :players, :suspended
  end
end

Version data entries

31 entries across 31 versions & 6 rubygems

Version Path
rails_admin-0.6.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.5.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.9 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.8 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.7 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.6 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.5 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.4 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.3 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.2 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.1 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.4.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.3.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.2.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.1.2 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.1.1 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.1.0 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.0.5 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb
rails_admin-0.0.4 spec/dummy_app/db/migrate/00000000000011_add_suspended_to_player_migration.rb