File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ pub fn run(_opts: Opts) -> Result<(), Error> {
23
23
// TODO: Check `any_pending_migrations()` with a read-only connection and error if true.
24
24
// It looks like this requires changes upstream to make this pub in `migration_macros`.
25
25
26
- println ! ( "==> Skipping migrations and category sync (read-only mode)" ) ;
26
+ warn ! ( "Skipping migrations and category sync (read-only mode)" ) ;
27
27
28
28
// The service is undergoing maintenance or mitigating an outage.
29
29
// Exit with success to ensure configuration changes can be made.
@@ -34,10 +34,10 @@ pub fn run(_opts: Opts) -> Result<(), Error> {
34
34
// The primary is online, access directly via `DATABASE_URL`.
35
35
let conn = crate :: db:: oneoff_connection_with_config ( & config) ?;
36
36
37
- println ! ( "==> migrating the database" ) ;
37
+ info ! ( "Migrating the database" ) ;
38
38
embedded_migrations:: run_with_output ( & conn, & mut std:: io:: stdout ( ) ) ?;
39
39
40
- println ! ( "==> synchronizing crate categories" ) ;
40
+ info ! ( "Synchronizing crate categories" ) ;
41
41
crate :: boot:: categories:: sync_with_connection ( CATEGORIES_TOML , & conn) . unwrap ( ) ;
42
42
43
43
Ok ( ( ) )
You can’t perform that action at this time.
0 commit comments