Sha256: cff83df3c51506da06bc35da777e1ef0b1e9a192c9973dff068e65d4a348f197

Contents?: true

Size: 159 Bytes

Versions: 9

Compression:

Stored size: 159 Bytes

Contents

class AddAdminToUsers < ActiveRecord::Migration
  def up
    add_column :users, :admin, :boolean
  end
  
  def down
    remove_column :users, :admin
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
daily-0.0.10 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.9 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.8 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.7 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.6 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.5 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.4 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.3 db/migrate/20111115014959_add_admin_to_users.rb
daily-0.0.2 db/migrate/20111115014959_add_admin_to_users.rb