Packages

Live error monitoring to watch your Phoenix app going up in flames in real time! Open source version of error aggregation services. Hooks into Elixir's Logger to provide accurate error reporting all throughout your application.

Retired package: Release invalid

Current section

Files

Jump to
flames priv repo migrations 20161105014111_create_errors.exs
Raw

priv/repo/migrations/20161105014111_create_errors.exs

defmodule TestRepo.Migrations.AddFlames do
use Ecto.Migration
def change do
create table(:errors) do
add :message, :text
add :level, :string
add :timestamp, :utc_datetime
add :alive, :boolean
add :module, :string
add :function, :string
add :file, :string
add :line, :integer
add :count, :integer
add :hash, :string
add :incidents, :json
timestamps()
end
create index(:errors, [:hash])
create index(:errors, [:updated_at])
end
end