15 lines
329 B
Elixir
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
|