summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-06-27 18:58:04 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2023-06-27 18:58:04 +0000
commit043a00991dec09f5804df1db1fdc1b1179843453 (patch)
treea4ca9c6f6eaa26a6d09b1d0cb4d4d001b5d8d6de /priv
parentae0ca49451c8344e92221afe9378375bc3262d80 (diff)
parent9a2523a09a2d9ccf5db12ef648444c51a98ab113 (diff)
Merge branch 'instance-nodeinfo-metadata' into 'develop'
instances: Store some metadata based on NodeInfo See merge request pleroma/pleroma!3853
Diffstat (limited to 'priv')
-rw-r--r--priv/repo/migrations/20230306112859_instances_add_metadata.exs14
1 files changed, 14 insertions, 0 deletions
diff --git a/priv/repo/migrations/20230306112859_instances_add_metadata.exs b/priv/repo/migrations/20230306112859_instances_add_metadata.exs
new file mode 100644
index 000000000..898f5220e
--- /dev/null
+++ b/priv/repo/migrations/20230306112859_instances_add_metadata.exs
@@ -0,0 +1,14 @@
+# Pleroma: A lightweight social networking server
+# Copyright © 2017-2023 Pleroma Authors <https://pleroma.social/>
+# SPDX-License-Identifier: AGPL-3.0-only
+
+defmodule Pleroma.Repo.Migrations.InstancesAddMetadata do
+ use Ecto.Migration
+
+ def change do
+ alter table(:instances) do
+ add(:metadata, :map)
+ add(:metadata_updated_at, :utc_datetime)
+ end
+ end
+end