We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d74aea commit 6b33766Copy full SHA for 6b33766
sqlx-cli/tests/add.rs
@@ -17,7 +17,7 @@ fn add_migration_ambiguous() -> anyhow::Result<()> {
17
18
#[derive(Debug, PartialEq, Eq)]
19
struct FileName {
20
- id: usize,
+ id: u64,
21
description: String,
22
suffix: String,
23
}
@@ -50,7 +50,7 @@ impl From<PathBuf> for FileName {
50
fn from(path: PathBuf) -> Self {
51
let filename = path.file_name().unwrap().to_string_lossy();
52
let (id, rest) = filename.split_once("_").unwrap();
53
- let id: usize = id.parse().unwrap();
+ let id: u64 = id.parse().unwrap();
54
let (description, suffix) = rest.split_once(".").unwrap();
55
Self {
56
id,
0 commit comments