Skip to content

Commit

Permalink
blobs
Browse files Browse the repository at this point in the history
  • Loading branch information
tom-stytch committed Sep 10, 2024
1 parent eec1c1b commit 00dfa12
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion synth/src/datasource/mysql_datasource.rs
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ impl SqlxDataSource for MySqlDataSource {

fn decode_to_content(&self, column_info: &ColumnInfo) -> Result<Content> {
let content = match column_info.data_type.to_lowercase().as_str() {
"char" | "varchar" | "text" | "binary" | "varbinary" | "enum" | "set" | "mediumtext" => {
"char" | "varchar" | "text" | "binary" | "varbinary" | "enum" | "set" | "mediumtext" | "blob" => {
let pattern = "[a-zA-Z0-9]{0, {}}".replace(
"{}",
&format!("{}", column_info.character_maximum_length.unwrap_or(1)),
Expand Down

0 comments on commit 00dfa12

Please sign in to comment.