Closed billy1624 closed 7 months ago
sea_query::extension::mysql::MySqlType
assert_eq!( Table::create() .table(BinaryType::Table) .col(ColumnDef::new(BinaryType::BinaryLen).binary(32)) .col(ColumnDef::new(BinaryType::Binary).custom(MySqlType::Blob)) .col(ColumnDef::new(BinaryType::TinyBlob).custom(MySqlType::TinyBlob)) .col(ColumnDef::new(BinaryType::MediumBlob).custom(MySqlType::MediumBlob)) .col(ColumnDef::new(BinaryType::LongBlob).custom(MySqlType::LongBlob)) .to_string(MysqlQueryBuilder), [ "CREATE TABLE `binary_type` (", "`binlen` binary(32),", "`bin` blob,", "`tb` tinyblob,", "`mb` mediumblob,", "`lb` longblob", ")", ] .join(" ") );
PR Info
Breaking Changes
sea_query::extension::mysql::MySqlType