Changelog

This commit is contained in:
Chris Tsang 2022-05-09 22:06:23 +08:00
parent 5a123b36aa
commit 2da0429f41
2 changed files with 3 additions and 2 deletions

View File

@ -11,8 +11,9 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
* [sea-orm-cli] `sea migrate generate` to generate a new, empty migration file https://github.com/SeaQL/sea-orm/pull/656
### Enhancements
* Add max_connections option to CLI https://github.com/SeaQL/sea-orm/pull/670
* Add `max_connections` option to CLI https://github.com/SeaQL/sea-orm/pull/670
* Derive `Eq`, `Clone` for `DbErr` https://github.com/SeaQL/sea-orm/pull/677
* Add `is_changed` to `ActiveModelTrait` https://github.com/SeaQL/sea-orm/pull/683
### Breaking changes
* Migration utilities are moved from sea-schema to sea-orm repo, under a new sub-crate `sea-orm-migration`. `sea_schema::migration::prelude` should be replaced by `sea_orm_migration::prelude` in all migration files

View File

@ -22,7 +22,7 @@ pub use chrono::NaiveDate as Date;
pub use chrono::NaiveTime as Time;
#[cfg(feature = "with-chrono")]
pub use chrono::NaiveDateTime as DateTime;
pub type DateTime = chrono::DateTime<chrono::Utc>;
/// Date time with fixed offset
#[cfg(feature = "with-chrono")]