chore: add regen_migrations script and seed-database to Justfile

This commit is contained in:
Moritz 2025-05-22 01:57:01 +02:00
parent c4bd424163
commit c91f65d04c
Signed by: moritz
GPG key ID: 1020A035E5DD0824
2 changed files with 24 additions and 2 deletions

View file

@ -1,4 +1,4 @@
run: install-dependencies start-database migrate-database
run: install-dependencies start-database migrate-database seed-database
mix phx.server
install-dependencies:
@ -10,6 +10,9 @@ migrate-database:
reset-database:
mix ash.reset
seed-database:
mix run priv/repo/seeds.exs
start-database:
docker compose up -d
@ -29,4 +32,4 @@ test:
mix test
format:
mix format
mix format