20240207035927_create_rich_media_card.exs (282B)
- defmodule Pleroma.Repo.Migrations.CreateRichMediaCard do
- use Ecto.Migration
- def change do
- create table(:rich_media_card) do
- add(:url_hash, :bytea)
- add(:fields, :map)
- timestamps()
- end
- create(unique_index(:rich_media_card, [:url_hash]))
- end
- end