mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-10-21 21:56:31 +09:00
7 lines
177 B
Ruby
7 lines
177 B
Ruby
class RemoveOwnerRole < ActiveRecord::Migration[7.2]
|
|
def change
|
|
# Migrate existing owner to administrator
|
|
execute "update users set role = 1 where role = 2"
|
|
end
|
|
end
|