diff --git a/priv/repo/migrations/20240519083033_add_index_on_asciicasts_visibility.exs b/priv/repo/migrations/20240519083033_add_index_on_asciicasts_visibility.exs new file mode 100644 index 000000000..07f1a28b2 --- /dev/null +++ b/priv/repo/migrations/20240519083033_add_index_on_asciicasts_visibility.exs @@ -0,0 +1,7 @@ +defmodule Asciinema.Repo.Migrations.AddIndexOnAsciicastsVisibility do + use Ecto.Migration + + def change do + create index(:asciicasts, [:visibility]) + end +end