* Added escaping to ActiveEnum to allow for non-Unicode Standard Annex #31 characters, as well as addressing issues with ' ' and '_' causing potential identifier conflicts.
* Improved docstring for camel_case_with_escaped_non_xid.
* Moved underscore prepending to camel_case_with_escaped_non_xid.
* cargo fmt and code fixes to resolve CI failures.
* Added unittest to sea_orm_macros::util for new function.
* Fixed a typo in a doc code block.
* clippy
* Test cases
---------
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* Update heck dependency
* Fix formatter error
* Drop the use of `sea-strum` and depends on the original `strum` with a tailored `EnumIter` provided
* fmt
* Depends on `strum` 0.23
* Depends on `strum` 0.24
* Source code adapted from https://github.com/Peternator7/strum
* Update LICENSE
---------
Co-authored-by: Sergei Ivankov <sergeiivankov@pm.me>
Co-authored-by: Sergei Ivankov <96142843+sergeiivankov@users.noreply.github.com>
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* Support Vector of enum for Postgres
* Fix clippy
* Add tests for integer array
* Fix dependency
* Bump sea-query to 0.27.2
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* fix: Support deriving ActiveEnum without importing EnumIter, Iden, and ActiveEnum
* style: Fix format
* DeriveActiveEnum without depending on sea_query::Iden derive macros
* [issues] add tests
* Fix [issues] features
Co-authored-by: Naoki Ikeguchi <me@s6n.jp>
* Changelog
* Enable convert from ActiveModel to Model (#725)
* feat: enable convert from ActiveModel to Model
* feat: add tests for converting from ActiveModel to Model
* cargo fmt
* Refactoring
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* Fix clippy warnings
* Use error type
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
Co-authored-by: greenhandatsjtu <40566803+greenhandatsjtu@users.noreply.github.com>
* Bump version of sqlx, sea-query, sea-schema, time and uuid
* PostgreSQL `u32` was wrapped in `Oid` (launchbadge/sqlx#1602)
* Update test cases
* Fix clippy warnings
* cargo fmt
* Fix clippy warnings
* Bump sea-schema to ^0.9.2
* Update test cases
* Pin on sea-query minor version
* Override column name with the name of model field in `DeriveEntityModel` macros [issues]
* Fixup: trim prefix and tailing underscore
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
* feat: codegen unsigned integer
* feat: apply alias on `ColumnRef::SchemaTableColumn`
* Update SQLite test cases, quote identifier with double quotes
* Bump sea-query version to 0.22
* Add dummy line
* Tests [cli] and [issues]
* update sea-schema
Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
`ColumnDef` with default value
Cargo fmt
Update docs
Fixup
Support `DateTimeLocal`
Update docs
Codegen write db timestamp column as `DateTimeUtc` type
Update dependency
Merge branch 'sea-query/add-new-column-ref' into pr/429
feat: apply alias on `ColumnRef::SchemaTableColumn`