user validation
This commit is contained in:
parent
39a89ad564
commit
ed6a5d69f6
7 changed files with 38 additions and 8 deletions
5
db/migrate/20210321135711_add_role_to_users.rb
Normal file
5
db/migrate/20210321135711_add_role_to_users.rb
Normal file
|
@ -0,0 +1,5 @@
|
|||
class AddRoleToUsers < ActiveRecord::Migration[6.1]
|
||||
def change
|
||||
add_column :users, :role, :integer
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue