cargo fmt
This commit is contained in:
parent
b0ea1138b4
commit
cecf4545cb
@ -88,9 +88,7 @@ pub async fn run_generate_command(
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
let filter_skip_tables = |table: &String| -> bool {
|
let filter_skip_tables = |table: &String| -> bool { !ignore_tables.contains(table) };
|
||||||
!ignore_tables.contains(table)
|
|
||||||
};
|
|
||||||
|
|
||||||
let database_name = if !is_sqlite {
|
let database_name = if !is_sqlite {
|
||||||
// The database name should be the first element of the path string
|
// The database name should be the first element of the path string
|
||||||
@ -503,6 +501,7 @@ mod tests {
|
|||||||
_ => unreachable!(),
|
_ => unreachable!(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn test_create_new_migration() {
|
fn test_create_new_migration() {
|
||||||
let migration_name = "test_name";
|
let migration_name = "test_name";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user