server/priv/repo/migrations/20231204141656_create_coach...

18 lines
485 B
Elixir
Raw Normal View History

2023-12-04 14:15:25 +00:00
defmodule BoardWise.Repo.Migrations.CreateCoaches do
use Ecto.Migration
# We are not responsible for generating this table in production. This
# migration exists for testing purposes
def change do
execute "CREATE SCHEMA IF NOT EXISTS coach_scraper"
create_if_not_exists table(:export, prefix: "coach_scraper") do
add :site, :string
add :username, :string
add :rapid, :integer
add :blitz, :integer
add :bullet, :integer
end
end
end