pub async fn apply(db: &Db, dir: &Path) -> Result<Vec<String>>
Applies the pending migrations in dir, in order, and returns their names.
dir