Create player table, track player updates, fix match processing tracking
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
defmodule LoLAnalytics.Repo.Migrations.Player do
|
||||
use Ecto.Migration
|
||||
|
||||
def change do
|
||||
create table("player") do
|
||||
add :puuid, :string
|
||||
add :region, :string
|
||||
add :last_processed_at, :utc_datetime
|
||||
timestamps()
|
||||
end
|
||||
|
||||
create index(:player, [:puuid])
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user