Current section

Files

Jump to
ash_geo config config.exs
Raw

config/config.exs

import Config
config :ash, :use_all_identities_in_manage_relationship?, false
if Mix.env() == :dev do
config :git_ops,
mix_project: Mix.Project.get!(),
changelog_file: "CHANGELOG.md",
repository_url: "https://github.com/bcksl/ash_geo",
manage_mix_version?: true,
manage_readme_version: ["README.md"],
version_tag_prefix: "v"
end
if Mix.env() == :test do
config :logger, level: :warn
config :geo_postgis, json_library: Jason
config :ash_geo, AshGeo.Test.Repo,
username: "ash_geo_test",
database: "ash_geo_test",
hostname: "localhost",
pool: Ecto.Adapters.SQL.Sandbox
# sobelow_skip ["Config.Secrets"]
config :ash_geo, AshGeo.Test.Repo, password: "Tw1nozXPN1QLZPJzRUMhg4V4g6FCUYmki09ejUlzxCpbflQK"
config :ash_geo,
ecto_repos: [AshGeo.Test.Repo],
ash_apis: [AshGeo.Test.Api]
config :ash_geo, AshGeo.Test.Repo, migration_primary_key: [name: :id, type: :binary_id]
config :ash_geo, ash_apis: [AshGeo.Test.Api]
# Ash: type shorthands
config :ash, :custom_types,
geometry: AshGeo.Geometry,
geo_json: AshGeo.GeoJson,
geo_wkt: AshGeo.GeoWkt,
geo_wkb: AshGeo.GeoWkb,
geo_any: AshGeo.GeoAny,
point26918: AshGeo.GeoAny
end