6 lines
125 B
Ruby
6 lines
125 B
Ruby
|
class AddRoleToUser < ActiveRecord::Migration[5.0]
|
||
|
def change
|
||
|
add_column :users, :role, :integer, default: 0
|
||
|
end
|
||
|
end
|