Skip to content

Commit

Permalink
CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
billy1624 committed Jan 30, 2024
1 parent df16881 commit 750c7d5
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,29 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Breaking Changes

* Rework SQLite type mapping https://github.com/SeaQL/sea-query/pull/735
* MySQL blob types moved to `sea_query::extension::mysql::MySqlType`
```rust
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(" ")
);
```

## 0.30.8 - Pending

Expand Down

0 comments on commit 750c7d5

Please sign in to comment.