diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-03-06 21:16:34 +0100 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2023-03-16 09:02:20 +0100 |
commit | 9a2523a09a2d9ccf5db12ef648444c51a98ab113 (patch) | |
tree | 466825a56d7e20bb56d310b13a0264904252f8bb /priv | |
parent | 714bf0cb2332050a3a64c6197dae729cf7de1b95 (diff) | |
download | pleroma-9a2523a09a2d9ccf5db12ef648444c51a98ab113.tar.gz pleroma-9a2523a09a2d9ccf5db12ef648444c51a98ab113.zip |
instances: Store some metadata based on NodeInfo
Diffstat (limited to 'priv')
-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 |