413 B · text History bbb2a48
defmodule Vigil.Repo.Migrations.AddOrgRetention do
  use Ecto.Migration

  # Slice 11 (ROADMAP.md): an organization may keep its data for less than
  # the instance does (nil: the instance's default, Vigil.Retention).
  def change do
    alter table(:organizations) do
      add :event_retention_days, :integer
      add :log_retention_days, :integer
      add :release_retention_days, :integer
    end
  end
end