Commit 18be188
Auto-run database migrations in generated spec_helper
Generated apps no longer need a manual AMBER_ENV=test migration step
before running crystal spec — the spec helper now points Micrate at the
configured database and runs pending migrations automatically.
Carried forward from amberframework/amber#1382 by @renich (Renich Bon
Ciric), who identified and fixed this in the v1 bundled CLI; the bundled
CLI's templates moved here in V2, so the fix lands where new apps are
actually generated.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>1 parent 0b8ea04 commit 18be188
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
0 commit comments