aboutsummaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorHakaba Hitoyo <hakabahitoyo@yahoo.co.jp>2019-12-10 13:19:26 +0000
committerlain <lain@soykaf.club>2019-12-10 13:19:26 +0000
commit701815e64c35160d29e418724c29cbe2d8b4024d (patch)
tree5772b66eb90fc3f9d1cd7a2d6a3a9896c382d40b /priv/repo/migrations
parent99623b4eca8ad4af0b8e7adc9dd4765ba2922c8b (diff)
downloadpleroma-701815e64c35160d29e418724c29cbe2d8b4024d.tar.gz
[ActivityPub] Configurable ActivityPub actor type
Diffstat (limited to 'priv/repo/migrations')
-rw-r--r--priv/repo/migrations/20191123030554_add_activitypub_actor_type.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20191123030554_add_activitypub_actor_type.exs b/priv/repo/migrations/20191123030554_add_activitypub_actor_type.exs
new file mode 100644
index 000000000..76d3b32c4
--- /dev/null
+++ b/priv/repo/migrations/20191123030554_add_activitypub_actor_type.exs
@@ -0,0 +1,9 @@
+defmodule Pleroma.Repo.Migrations.AddActivitypubActorType do
+ use Ecto.Migration
+
+ def change do
+ alter table("users") do
+ add(:actor_type, :string, null: false, default: "Person")
+ end
+ end
+end