429 B · text History a625083
defmodule GitGud.Repo.Migrations.AddPackageDescriptions do
  use Ecto.Migration

  # What the publisher says the package is, for formats whose artifacts
  # carry no such thing (an APK, a raw file, an image). Both nullable:
  # nil means "not stated", and the formats fall back to what they did
  # before.
  def change do
    alter table(:packages) do
      add :summary, :string
      add :description, :text
    end
  end
end