This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
|
class AddInstanceActor < ActiveRecord::Migration[5.2]
|
|
def up
|
|
Account.create!(id: -99, actor_type: 'Application', locked: true, username: Rails.configuration.x.local_domain)
|
|
end
|
|
|
|
def down
|
|
Account.find_by(id: -99, actor_type: 'Application').destroy!
|
|
end
|
|
end
|