Sha256: d9b65a994244290103e1d3d640c794f1151a2e42a703263c3edffddde2321999

Contents?: true

Size: 182 Bytes

Versions: 35

Compression:

Stored size: 182 Bytes

Contents

  class AddRolesToUser < ActiveRecord::Migration
    def self.up
      add_column :users, :roles, :string
    end

    def self.down
      remove_column :users, :roles
    end
  end

Version data entries

35 entries across 35 versions & 6 rubygems

Version Path
rails_admin-0.6.4 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.6.3 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.6.2 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.6.1 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.6.0 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.5.0 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.9 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.8 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.7 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.6 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.5 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.4 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-lbgraham-0.4.2 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.3 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.2 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.1 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.4.0 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.3.0 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.2.0 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb
rails_admin-0.1.2 spec/dummy_app/db/migrate/00000000000013_add_roles_to_user.rb