11 lines
264 B
Elixir
11 lines
264 B
Elixir
|
defmodule BdfrBrowser.Repo.Migrations.AddIndicesToMultipleTables do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
create index("posts", :author)
|
||
|
create index("posts", :posted_at)
|
||
|
create index("comments", :author)
|
||
|
create index("chats", :accounts)
|
||
|
end
|
||
|
end
|