ash-project / ash_postgres

The PostgreSQL data layer for Ash Framework
https://hexdocs.pm/ash_postgres
MIT License
140 stars 73 forks source link

Installer doesn't add `mix test` alias that sets up the DB and runs migrations. #391

Closed jimsynz closed 2 months ago

jimsynz commented 2 months ago

It needs to add the following alias into the mix.exs if it doesn't already exist.

def project do
  [
    # ...
    aliases: aliases(),
    # ...
  ]
end

def aliases do
  [
    test: ["ash.setup --quiet", "test"]
  ]
end
zachdaniel commented 2 months ago

CleanShot 2024-09-23 at 13 24 35

Okay, I've added tools for this in igniter. We now also remove some of the Ecto-specific stuff that it makes sense to remove :) Will be pushing this shortly.