user validation

This commit is contained in:
Karol Selak 2021-03-21 17:02:04 +01:00
parent 39a89ad564
commit ed6a5d69f6
7 changed files with 38 additions and 8 deletions

View file

@ -0,0 +1,5 @@
class AddRoleToUsers < ActiveRecord::Migration[6.1]
def change
add_column :users, :role, :integer
end
end