Changelog

This commit is contained in:
Chris Tsang 2024-03-10 23:41:53 +00:00 committed by GitHub
parent 572311d0ff
commit d64b627ba2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -16,6 +16,17 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
### Enhancements
* [sea-orm-cli] Fix `migrate generate` on empty `mod.rs` files
* `DerivePartialModel` macro attribute `entity` now supports `syn::Type` https://github.com/SeaQL/sea-orm/pull/2137
```rust
#[derive(DerivePartialModel)]
#[sea_orm(entity = "<entity::Model as ModelTrait>::Entity")]
struct EntityNameNotAIdent {
#[sea_orm(from_col = "foo2")]
_foo: i32,
#[sea_orm(from_col = "bar2")]
_bar: String,
}
```
## 1.0.0-rc.1 - 2024-02-06