Create table and repo for match

This commit is contained in:
2024-05-02 21:45:24 +02:00
parent f32418d294
commit f9271a5287
3 changed files with 56 additions and 0 deletions
@@ -0,0 +1,13 @@
defmodule LoLAnalytics.Repo.Migrations.Match do
use Ecto.Migration
def change do
create table("match", id: false) do
add :match_id, :string, primary_key: true
add :processed, :boolean
timestamps()
end
create index("match", [:processed])
end
end