Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions lib/error_tracker/migration/postgres/v04.ex
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ defmodule ErrorTracker.Migration.Postgres.V04 do

use Ecto.Migration

def up(_opts) do
alter table(:error_tracker_occurrences) do
def up(%{prefix: prefix}) do
alter table(:error_tracker_occurrences, prefix: prefix) do
add :breadcrumbs, {:array, :string}, default: [], null: false
end
end

def down(_opts) do
alter table(:error_tracker_occurrences) do
def down(%{prefix: prefix}) do
alter table(:error_tracker_occurrences, prefix: prefix) do
remove :breadcrumbs
end
end
Expand Down
Loading