mirror of
https://github.com/basecamp/once-campfire.git
synced 2026-09-17 14:02:09 +09:00
df76a227dc
First open source release of Campfire 🎉
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
|