about summary refs log tree commit diff
path: root/db/seeds/02_instance_actor.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/seeds/02_instance_actor.rb')
-rw-r--r--db/seeds/02_instance_actor.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/seeds/02_instance_actor.rb b/db/seeds/02_instance_actor.rb
new file mode 100644
index 000000000..39186b273
--- /dev/null
+++ b/db/seeds/02_instance_actor.rb
@@ -0,0 +1 @@
+Account.create_with(actor_type: 'Application', locked: true, username: ENV['LOCAL_DOMAIN'] || Rails.configuration.x.local_domain).find_or_create_by(id: -99)