diff options
author | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2023-06-27 18:58:04 +0000 |
---|---|---|
committer | Haelwenn <contact+git.pleroma.social@hacktivis.me> | 2023-06-27 18:58:04 +0000 |
commit | 043a00991dec09f5804df1db1fdc1b1179843453 (patch) | |
tree | a4ca9c6f6eaa26a6d09b1d0cb4d4d001b5d8d6de /priv/repo/migrations/20230306112859_instances_add_metadata.exs | |
parent | ae0ca49451c8344e92221afe9378375bc3262d80 (diff) | |
parent | 9a2523a09a2d9ccf5db12ef648444c51a98ab113 (diff) | |
download | pleroma-develop.tar.gz pleroma-develop.zip |
Merge branch 'instance-nodeinfo-metadata' into 'develop'develop
instances: Store some metadata based on NodeInfo
See merge request pleroma/pleroma!3853
Diffstat (limited to 'priv/repo/migrations/20230306112859_instances_add_metadata.exs')
-rw-r--r-- | priv/repo/migrations/20230306112859_instances_add_metadata.exs | 14 |
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 |