priv/repo/migrations/20260517000000_add_parapet_system_events.exs
defmodule Parapet.Repo.Migrations.AddParapetSystemEvents do
use Ecto.Migration
def change do
create table(:parapet_system_events, primary_key: false) do
add :id, :binary_id, primary_key: true
add :type, :string, null: false
add :payload, :map, default: %{}
timestamps()
end
create index(:parapet_system_events, [:inserted_at])
end
end