Class: AddRoleToUsers

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/generators/cargo_wiki/templates/add_role_to_users.rb

Instance Method Summary collapse

Instance Method Details

#changeObject



2
3
4
# File 'lib/generators/cargo_wiki/templates/add_role_to_users.rb', line 2

def change
  add_column :cargo_wiki_users, :role, :string
end