diff options
| author | Nathan Perry <np@nathanperry.dev> | 2022-11-28 13:13:56 -0500 |
|---|---|---|
| committer | Nathan Perry <np@nathanperry.dev> | 2022-11-28 13:13:56 -0500 |
| commit | 14a9ad0c85b0ee6f190323a8903d1239b8968d22 (patch) | |
| tree | f2747f9814ea12081f4850a8970e6d800ece3902 /src/db | |
| parent | 22cdf56ffccaefd0c9a4cb67cac87c7620d2d3f3 (diff) | |
nix: write nixos test configuration
- filter rust sources to avoid spurious rebuilds
- fix accidental circular reference in nix flake
- fix postgres startup scripts and behavior
- thulani logger doesn't log to file by default
Diffstat (limited to 'src/db')
| -rw-r--r-- | src/db/mod.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/db/mod.rs b/src/db/mod.rs index 483665e..476d9d9 100644 --- a/src/db/mod.rs +++ b/src/db/mod.rs @@ -54,6 +54,7 @@ pub fn connection() -> Result<PgConnection> { MIGRATE.call_once(|| { log::info!("running migrations"); conn.run_pending_migrations(MIGRATIONS).expect("failed running migrations"); + log::info!("migrations complete"); }); conn |
