Fork of Pleroma with site-specific changes and feature branches https://git.pleroma.social/pleroma/pleroma
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

12 строки
328B

  1. defmodule Pleroma.Repo.Migrations.AddTagIndexToObjects do
  2. use Ecto.Migration
  3. def change do
  4. drop_if_exists(
  5. index(:activities, ["(data #> '{\"object\",\"tag\"}')"], using: :gin, name: :activities_tags)
  6. )
  7. create_if_not_exists(index(:objects, ["(data->'tag')"], using: :gin, name: :objects_tags))
  8. end
  9. end