1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 05:09:38 +02:00
Maybe/db/migrate/20240520074309_add_admin_role_to_current_users.rb

6 lines
118 B
Ruby
Raw Permalink Normal View History

class AddAdminRoleToCurrentUsers < ActiveRecord::Migration[7.2]
def up
User.update_all(role: "admin")
end
end