Display picked items by champion
ci / docker (push) Waiting to run

This commit is contained in:
2024-06-14 01:08:23 +02:00
parent bd8148f3e2
commit aafb805194
16 changed files with 147 additions and 22 deletions
@@ -0,0 +1,9 @@
defmodule LoLAnalytics.Repo.Migrations.ItemMetadata do
use Ecto.Migration
def change do
alter table("dim_item") do
add :metadata, :map
end
end
end
@@ -0,0 +1,11 @@
defmodule LoLAnalytics.Repo.Migrations.ItemMetadataIndex do
use Ecto.Migration
def up do
execute("CREATE INDEX dim_item_metadata ON dim_item USING GIN(metadata)")
end
def down do
execute("DROP INDEX dim_item_metadata")
end
end