Sha256: 436f82b3b937333c9c8f63ba4d060229b2d3159cded940a6a9e61d4fba48173b

Contents?: true

Size: 138 Bytes

Versions: 19

Compression:

Stored size: 138 Bytes

Contents

class AddBooleanFieldToUser < ActiveRecord::Migration[4.2]
  def change
    add_column :users, :active, :boolean, default: true
  end
end

Version data entries

19 entries across 19 versions & 2 rubygems

Version Path
rails_db-2.4.4 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.4.3 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.4.2 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.4.1 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.4.0 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.3.1 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.3.0 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.2.1 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.2.0 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.1.1 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.1.0 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.6 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.5 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.4 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
xplore-0.0.1.alpha test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.3 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.2 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.1 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb
rails_db-2.0.0 test/dummy/db/migrate/20151121125538_add_boolean_field_to_user.rb