Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-stytch committed Sep 9, 2024
1 parent 0e36fed commit 03252bb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions synth/src/datasource/mysql_datasource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,6 @@ impl SqlxDataSource for MySqlDataSource {
RegexContent::pattern(pattern).context("pattern will always compile")?,
))
}
// "tinyint" => Value::Number(Number::from(row.try_get::<i8, &str>(column.name())?)),
// "smallint" => Value::Number(Number::from(row.try_get::<i16, &str>(column.name())?)),
// "mediumint" | "int" | "integer" => {
// Value::Number(Number::from(row.try_get::<i32, &str>(column.name())?))
// }
// "bigint" => Value::Number(Number::from(row.try_get::<i64, &str>(column.name())?)),
"int" | "integer" | "mediumint" => {
Content::Number(NumberContent::I32(I32::Range(RangeStep::default())))
}
Expand Down

0 comments on commit 03252bb

Please sign in to comment.