From f0c9de10bcfdf40df0a3e1046237596e1d28b76c Mon Sep 17 00:00:00 2001 From: Ollie Date: Mon, 2 Nov 2026 16:24:04 +0100 Subject: [PATCH] Add `artisan db:seed` command to `make init` Bug: T443259 --- Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 6122789fa..b4669f9b8 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,12 @@ test: docker compose exec api bash -c 'LOG_CHANNEL=stderr LOG_LEVEL=debug vendor/bin/phpunit ${FILTER}' init: - docker compose exec api bash -c 'php artisan migrate:fresh && su -s /bin/sh www-data -c "php artisan passport:install --no-interaction" && php artisan key:generate' + docker compose exec api bash -c ' \ + php artisan migrate:fresh \ + && su -s /bin/sh www-data -c "php artisan passport:install --no-interaction" \ + && php artisan key:generate \ + && php artisan db:seed \ + ' test-fresh: init test