CHANGELOG

This commit is contained in:
Billy Chan 2023-05-29 20:39:44 +08:00
parent 33f3f9282d
commit 0f50f55ce4
No known key found for this signature in database
GPG Key ID: A2D690CAC7DF3CC7

View File

@ -316,6 +316,20 @@ CREATE TABLE users_saved_bills
); );
``` ```
* [sea-orm-cli] fixed entity generation includes partitioned tables https://github.com/SeaQL/sea-orm/issues/1582, https://github.com/SeaQL/sea-schema/pull/105 * [sea-orm-cli] fixed entity generation includes partitioned tables https://github.com/SeaQL/sea-orm/issues/1582, https://github.com/SeaQL/sea-schema/pull/105
* Fixed `ActiveEnum::db_type()` return type does not implement `ColumnTypeTrait` https://github.com/SeaQL/sea-orm/pull/1576
```rs
impl ColumnTrait for Column {
type EntityName = Entity;
fn def(&self) -> ColumnDef {
match self {
...
// `db_type()` returns `ColumnDef`; now it implements `ColumnTypeTrait`
Self::Thing => AnActiveEnumThing::db_type().def(),
...
}
}
}
```
### Breaking changes ### Breaking changes