Sha256: 9976a8ddab27920cbc46c74db658bdfdf5bc9c27b64e73bc39641244603dc763

Contents?: true

Size: 164 Bytes

Versions: 56

Compression:

Stored size: 164 Bytes

Contents

class AddActiveToUsers < ActiveRecord::Migration[5.0]
  def change
    add_column :users, :active, :boolean, after: 'email'
    add_index :users, :active
  end
end

Version data entries

56 entries across 56 versions & 1 rubygems

Version Path
udongo-6.3.1 db/migrate/20170215132531_add_active_to_users.rb
udongo-6.3.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-6.2.1 db/migrate/20170215132531_add_active_to_users.rb
udongo-6.2.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-6.1.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-6.0.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.9.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.8.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.7.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.6.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.5.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.4.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.3.1 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.3.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.2.0 db/migrate/20170215132531_add_active_to_users.rb
udongo-5.1.0 db/migrate/20170215132531_add_active_to_users.rb