akkoma/priv/repo/migrations/20230306112859_instances_add_metadata.exs
2023-03-16 09:02:20 +01:00

14 lines
378 B
Elixir

# 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