improvement: advise operator this upgrade may take a minute

This commit is contained in:
Greg Heartsfield 2023-02-13 07:37:13 -06:00
parent 185f9e7abb
commit 15e2f097aa

View File

@ -662,7 +662,7 @@ PRAGMA user_version = 15;
fn mig_15_to_16(conn: &mut PooledConnection) -> Result<usize> { fn mig_15_to_16(conn: &mut PooledConnection) -> Result<usize> {
let count = db_event_count(conn)?; let count = db_event_count(conn)?;
info!("database schema needs update from 15->16"); info!("database schema needs update from 15->16 (this make take a few minutes)");
let upgrade_sql = r##" let upgrade_sql = r##"
DROP TABLE tag; DROP TABLE tag;
CREATE TABLE tag ( CREATE TABLE tag (