Much work.
This commit is contained in:
5
db/migrate/20251103225251_add_role_to_users.rb
Normal file
5
db/migrate/20251103225251_add_role_to_users.rb
Normal file
@@ -0,0 +1,5 @@
|
||||
class AddRoleToUsers < ActiveRecord::Migration[8.1]
|
||||
def change
|
||||
add_column :users, :role, :integer, default: 1, null: false
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user