Commit c31ad58
fix: skip phinx migration when env file is absent
Without /etc/csas-authorize/csas-authorize.env the DB_CONNECTION config
is empty, causing phinx to fail with "Unimplemented Database type".
Only run migrations when the env file exists (i.e. database is configured).
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 18a28ce commit c31ad58
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
| 9 | + | |
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| |||
0 commit comments