mirror of
https://github.com/fly-apps/live_beats.git
synced 2024-09-27 14:00:06 +00:00
10 lines
196 B
Elixir
10 lines
196 B
Elixir
|
defmodule LiveBeats.Repo.Migrations.AddPositionToSongs do
|
||
|
use Ecto.Migration
|
||
|
|
||
|
def change do
|
||
|
alter table(:songs) do
|
||
|
add :position, :integer, null: false, default: 0
|
||
|
end
|
||
|
end
|
||
|
end
|