You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
272 B
10 lines
272 B
6 years ago
|
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
|