Packages

Automatically adds AshPostgres custom indexes for `belongs_to` relationships in Ash resources.

Current section

Files

Jump to

mix.exs

defmodule AshPostgresBelongsToIndex.MixProject do
use Mix.Project
def project do
[
app: :ash_postgres_belongs_to_index,
version: "0.3.0",
elixir: "~> 1.17",
consolidate_protocols: Mix.env() not in [:dev, :test],
start_permanent: Mix.env() == :prod,
deps: deps(),
description:
"Automatically adds AshPostgres custom indexes for `belongs_to` relationships in Ash resources.",
package: package(),
source_url: "https://github.com/devall-org/ash_postgres_belongs_to_index",
homepage_url: "https://github.com/devall-org/ash_postgres_belongs_to_index",
docs: [
main: "readme",
extras: ["README.md"]
]
]
end
# Run "mix help compile.app" to learn about applications.
def application do
[
extra_applications: [:logger]
]
end
# Run "mix help deps" to learn about dependencies.
defp deps do
[
{:ash, ">= 0.0.0"},
{:ash_postgres, ">= 0.0.0"},
{:spark, ">= 0.0.0"},
{:sourceror, ">= 0.0.0", only: [:dev, :test], optional: true},
{:ex_doc, "~> 0.29", only: :dev, runtime: false}
]
end
defp package do
[
name: "ash_postgres_belongs_to_index",
licenses: ["MIT"],
files: ~w(lib mix.exs README.md CHANGELOG.md LICENSE usage-rules.md .formatter.exs),
links: %{
"GitHub" => "https://github.com/devall-org/ash_postgres_belongs_to_index"
}
]
end
end