Fix SQLite NOT NULL constraint failures: use migrate:fresh to recreate tables each CI run
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m17s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-06-21 21:42:46 -04:00
parent 5f3d8eb5df
commit d0fd9f2d8e
+1 -1
View File
@@ -156,7 +156,7 @@ jobs:
php artisan view:clear php artisan view:clear
- name: Run database migrations - name: Run database migrations
run: php artisan migrate --force run: php artisan migrate:fresh --force
- name: Run Unit tests - name: Run Unit tests
run: php artisan test --testsuite=Unit --log-junit reports/phpunit-unit.xml run: php artisan test --testsuite=Unit --log-junit reports/phpunit-unit.xml