mirror of
https://github.com/bonfire-networks/bonfire-app.git
synced 2024-05-14 07:02:38 +00:00
12 lines
205 B
Elixir
12 lines
205 B
Elixir
|
defmodule Rauversion.Repo.Migrations.AddStateToTrack do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
alter table(:tracks) do
|
||
|
add(:state, :string)
|
||
|
end
|
||
|
|
||
|
create(index(:tracks, [:state]))
|
||
|
end
|
||
|
end
|