logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://anongit.hacktivis.me/git/pleroma.git/

20240207035927_create_rich_media_card.exs (282B)


  1. defmodule Pleroma.Repo.Migrations.CreateRichMediaCard do
  2. use Ecto.Migration
  3. def change do
  4. create table(:rich_media_card) do
  5. add(:url_hash, :bytea)
  6. add(:fields, :map)
  7. timestamps()
  8. end
  9. create(unique_index(:rich_media_card, [:url_hash]))
  10. end
  11. end