mirror of
https://github.com/launchbadge/sqlx.git
synced 2026-03-23 18:40:24 +00:00
fix(mysql): str should produce VARCHAR not BLOB
This commit is contained in:
@@ -9,8 +9,8 @@ use crate::types::Type;
|
||||
impl Type<MySql> for str {
|
||||
fn type_info() -> MySqlTypeInfo {
|
||||
MySqlTypeInfo {
|
||||
r#type: ColumnType::Blob, // TEXT
|
||||
char_set: 224, // utf8mb4_unicode_ci
|
||||
r#type: ColumnType::VarString, // VARCHAR
|
||||
char_set: 224, // utf8mb4_unicode_ci
|
||||
flags: ColumnFlags::empty(),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user