4 Commits

Author SHA1 Message Date
Billy Chan
f3967fdaca
Upstream Changes - 1 (#2145)
* upstream changes

* universal `#[sea_orm_macros::test]`

* fix

* fix

* `ColumnTrait::into_returning_expr`

* fix

* fix

* Do not pub sqlx_common

---------

Co-authored-by: Chris Tsang <chris.2y3@outlook.com>
2024-03-10 18:14:46 +00:00
Dmitrii Aleksandrov
1abc47b5f1
Cast enums in is_in and is_not_in (#1527) (#2002)
* Cast enums in `is_in` and `is_not_in` (#1527)

* Restore original tests, add tests for generated SQL
2023-12-15 03:41:05 +08:00
Billy Chan
4e3a45c2f7
Fix clippy warnings (#1436) 2023-01-31 15:52:57 +08:00
Billy Chan
a6bd91a78b
Use ActiveEnum field as composite primary key (#1414)
* Use ActiveEnum field as part of composite primary key

* Try unique constraint failed
2023-01-30 21:47:49 +08:00