Chatwoot/db/migrate/20170402124536_add_role_to_user.rb
Pranav Raj Sreepuram 2a34255e0b Initial Commit
Co-authored-by: Subin <subinthattaparambil@gmail.com>
Co-authored-by: Manoj <manojmj92@gmail.com>
Co-authored-by: Nithin <webofnithin@gmail.com>
2019-08-14 15:18:44 +05:30

5 lines
125 B
Ruby

class AddRoleToUser < ActiveRecord::Migration[5.0]
def change
add_column :users, :role, :integer, default: 0
end
end