lol-analytics/apps/lol_analytics/priv/repo/migrations/20240502191221_match.exs
2024-05-05 03:39:56 +02:00

15 lines
329 B
Elixir

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
add :status, :string, default: "queued"
timestamps()
end
create index("match", [:processed])
end
end