X-Git-Url: http://git.squeep.com/?a=blobdiff_plain;f=priv%2Frepo%2Fmigrations%2F20170620095947_remove_activities_index.exs;h=ea3d4a5091e064c5431f694d55e2251c5b765ad4;hb=9cf4c4fa73e68f03791c5cc70505b710be39b677;hp=85feabeebf6886b582bbfe56df1180598706cd81;hpb=3d714f85a86010348a0cbfc76e399b44bb5d8499;p=akkoma diff --git a/priv/repo/migrations/20170620095947_remove_activities_index.exs b/priv/repo/migrations/20170620095947_remove_activities_index.exs index 85feabeeb..ea3d4a509 100644 --- a/priv/repo/migrations/20170620095947_remove_activities_index.exs +++ b/priv/repo/migrations/20170620095947_remove_activities_index.exs @@ -2,6 +2,6 @@ defmodule Pleroma.Repo.Migrations.RemoveActivitiesIndex do use Ecto.Migration def change do - drop index(:activities, [:data]) + drop_if_exists(index(:activities, [:data])) end end