Files
andros bdd181425b Initial commit: Django LiveView vs Phoenix LiveView benchmark
Docker Compose project with automated Playwright benchmarks comparing
django-liveview 2.2.0 against Phoenix LiveView 1.0 across 6 scenarios.
2026-05-15 15:46:50 +02:00

15 lines
365 B
Elixir

defmodule Benchmark.Repo.Migrations.CreateAlerts do
use Ecto.Migration
def change do
create table(:alerts) do
add :alert_type, :string, null: false, default: "INFO"
add :description, :string, null: false
timestamps(type: :utc_datetime)
end
create index(:alerts, [:alert_type])
create index(:alerts, [:inserted_at])
end
end