e751c65424
* Added compound index for updated media item table for performance * Improved large number display on homepage * Improved UI around large numbers * Centered the content of homepage data cards * Renamed migration
9 lines
203 B
Elixir
9 lines
203 B
Elixir
defmodule Pinchflat.Repo.Migrations.ModifyUploadDateIndex do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
drop index("media_items", [:upload_date])
|
|
create index("media_items", [:uploaded_at])
|
|
end
|
|
end
|