mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
9 lines
266 B
Elixir
9 lines
266 B
Elixir
|
defmodule Mobilizon.Storage.Repo.Migrations.AddIndexesToActivities do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create(index(:activities, [:group_id], name: "activity_group_id"))
|
||
|
create(index(:activities, [:author_id, :type], name: "activity_filter"))
|
||
|
end
|
||
|
end
|