Create table and repo for match
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user