merge migrations

This commit is contained in:
Álvaro 2024-05-05 03:39:56 +02:00
parent 2f444e4218
commit 987339f517
3 changed files with 2 additions and 13 deletions

View File

@ -5,6 +5,7 @@ defmodule LoLAnalytics.Repo.Migrations.Match do
create table("match", id: false) do
add :match_id, :string, primary_key: true
add :processed, :boolean
add :status, :string, default: "queued"
timestamps()
end

View File

@ -6,6 +6,7 @@ defmodule LoLAnalytics.Repo.Migrations.Player do
add :puuid, :string, primary_key: true
add :region, :string
add :last_processed_at, :utc_datetime
add :status, :string, default: "queued"
timestamps()
end

View File

@ -1,13 +0,0 @@
defmodule LoLAnalytics.Repo.Migrations.MatchAndPlayerStatus do
use Ecto.Migration
def change do
alter table("match") do
add :status, :string, default: "processed"
end
alter table("player") do
add :status, :string, default: "processed"
end
end
end