Skip to content

Commit 582bb71

Browse files
committed
fix(databases): reorder list columns to ID then NAME
1 parent c3d6cb2 commit 582bb71

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎src/databases.rs‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -381,12 +381,12 @@ pub fn list(workspace_id: &str, format: &str) {
381381
.iter()
382382
.map(|d| {
383383
vec![
384-
d.name.as_deref().unwrap_or("-").to_string(),
385384
d.id.clone(),
385+
d.name.as_deref().unwrap_or("-").to_string(),
386386
]
387387
})
388388
.collect();
389-
crate::table::print(&["NAME", "ID"], &rows);
389+
crate::table::print(&["ID", "NAME"], &rows);
390390
}
391391
}
392392
_ => unreachable!(),

0 commit comments

Comments
 (0)