instances: Store some metadata based on NodeInfo

This commit is contained in:
Haelwenn (lanodan) Monnier 2023-03-06 21:16:34 +01:00
commit 9a2523a09a
7 changed files with 177 additions and 1 deletions

View file

@ -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