2014 Commits

Author SHA1 Message Date
Billy Chan
671d79469a
Fixup 2022-10-17 17:25:35 +08:00
Billy Chan
b22db842e4
Run migrations on PostgreSQL schema (#1056)
* Run migrations on PostgreSQL schema

* fmt

* fmt & clippy

* clippy

* [cli] update helper text
2022-10-17 17:16:00 +08:00
Chris Tsang
cb3e69d9f9
Update CHANGELOG.md 2022-10-16 19:05:22 +08:00
Billy Chan
e76cbb9fe1
Add into_model & into_json for Cursor (#1112) 2022-10-16 19:02:48 +08:00
Billy Chan
18215871ba
[cli] make dotenvy and async-std optional dependencies (#1116) 2022-10-16 18:10:52 +08:00
Chris Tsang
8d7aff12ba sea-orm-rocket 0.5.1 2022-10-16 17:33:59 +08:00
Chris Tsang
5b1f796fa2 Changelog 2022-10-16 17:28:11 +08:00
Chris Tsang
ae0231d4a5 CI 2022-10-16 17:25:58 +08:00
Chris Tsang
1aa84589dc Refactor 2022-10-16 17:18:58 +08:00
Erick Pacheco Pedraza
2cdc065b21
feat: support to Rocket-Okapi (#1071)
* feat: support to okapi

* fix: fmt checks

* chore: rocket-okapi-example: add required schemas

* chore: rocket-okapi-example: add dto

* chore: rocket-okapi-example: add custom error

* chore: rocket-okapi-example: add api controllers

* chore: rocket-okapi-example: add notes in Readme

* chore: make rocket_okapi optional

* refactor: delete rocket example from rocket_example

* chore: rocket-okapi-example: add base files for okapi example

* chore: rocket-okapi-example: add controllers and dto

* chore: rocket-okapi-example: add docs
2022-10-16 17:45:56 +08:00
Billy Chan
0ca62ba145
Links to cookbook 2022-10-13 21:24:17 +08:00
Chris Tsang
1c2d19a634
Update CHANGELOG.md 2022-10-12 00:06:33 +08:00
wdcocq
880147c596
Blanket IntoActiveValue implementations so custom db types are supported (#833)
* Add blanket implementations of IntoActiveValue for optional values

* Add a compile test for DeriveIntoActiveModel
2022-10-11 23:47:17 +08:00
Matthew Bauer
0f8b4bd1fa
Update README.md (#1100)
Verbiage change, seems less jank.
2022-10-09 17:55:30 +08:00
Chris Tsang
9b670f8ca5
Update CHANGELOG.md 2022-10-07 00:33:04 +08:00
Chris Tsang
5d752e60b9
Merge pull request #1002 from SeaQL/better-errors
Better error system
2022-10-07 00:24:41 +08:00
Chris Tsang
a44017f679 Reorder variants 2022-10-07 00:15:36 +08:00
Chris Tsang
ae198e6d7c
Update CHANGELOG.md 2022-10-06 23:51:33 +08:00
Billy Chan
29deb0dfd1
Better compile error for entity without primary key (#1020) 2022-10-06 23:50:39 +08:00
Chris Tsang
3a2d5168a8
Update CHANGELOG.md 2022-10-06 23:48:32 +08:00
Chris Tsang
c9fb32e9f1
Update CHANGELOG.md 2022-10-06 23:45:52 +08:00
Billy Chan
3c19d7c3e4
Exclude test_cfg module from SeaORM (#1077) 2022-10-06 23:45:09 +08:00
Chris Tsang
7eaac3843d
Update CHANGELOG.md 2022-10-06 23:42:01 +08:00
Billy Chan
5f1670329d
Trim spaces when paginating raw SQL (#1094) 2022-10-06 23:38:45 +08:00
p0rtL6
78904dcc6a
Update COMMUNITY.md (#1095) 2022-10-06 23:25:17 +08:00
Billy Chan
0bf74a95fa
Add database tags to projects that built with SeaORM 2022-10-06 18:09:04 +08:00
Chris Tsang
4584099021
Update CHANGELOG.md 2022-10-05 23:41:05 +08:00
Chris Tsang
234d35902c
Update CHANGELOG.md 2022-10-05 23:39:42 +08:00
Horu
d9ac2f1509
fix(deps): dotenv -> dotenvy (#1085) 2022-10-05 23:19:48 +08:00
Horu
49c1a6d716
docs(readme): fix architecture link (#1086) 2022-10-03 12:12:39 +08:00
Nick Burrett
9eacecd364
FromJsonQueryResult: add missing module prefix to sea_query (#1081) 2022-09-29 10:47:08 +08:00
Chris Tsang
aecdeafeee
Update CHANGELOG.md 2022-09-28 00:15:19 +08:00
Tushar Dahiya
55f16ec7f3
Chore: docs grammar fix (#1050)
* Update DESIGN.md

* Update CONTRIBUTING.md

* Update COMMUNITY.md

* Update COMMUNITY.md

* Update CHANGELOG.md
2022-09-28 00:13:35 +08:00
Billy Chan
207e2df484
Should run this and cancel previous CI 2022-09-26 00:30:15 +08:00
Billy Chan
f3b7febc2e
Edit test case 2022-09-25 10:43:50 +08:00
Billy Chan
e29a11eb45
CHANGELOG (#902, #953, #947, #864, #991, #988) 2022-09-25 10:39:41 +08:00
Lingxiang "LinG" Wang
a349f13fd7
Struct / enum derive PartialEq should also derive Eq (#988)
* add Eq

* Fix clippy warnings

* Fix test cases

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-25 10:38:05 +08:00
Animesh Sahu
ad5e8c1264
[cli] Add -u, --universal-time option in generate to use Utc instead of Local (#947) 2022-09-25 10:33:50 +08:00
Horu
6816e86f4d
[cli] Add -l/--lib flag (#953)
* [cli] Add `-l`/`--lib` flag

* [cli] Change function name to reflect functionality
2022-09-25 10:31:26 +08:00
Billy Chan
4acdaacebc
Cont. "Delete all PostgreSQL types when calling fresh" (#991)
* Delete all PostgreSQL types when calling fresh (#765) (#864)

* Delete all PostgreSQL types when calling fresh (#765)

* Test create db enum migration

Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>

* Refactoring

Co-authored-by: Denis Gavrilyuk <karpa4o4@gmail.com>
2022-09-25 10:24:27 +08:00
Billy Chan
fbdd3ea421
CHANGELOG (#902) 2022-09-25 10:23:16 +08:00
kyoto7250
ba5a83d3a8
distinct support in sea-orm (#902)
* distinct support

* remove feature flag

* fix argument
2022-09-25 10:21:44 +08:00
Billy Chan
597f515c07
CHANGELOG (#1019) 2022-09-25 10:20:40 +08:00
Billy Chan
6ba8e1b9f1
DeriveRelation on empty Relation enum (#1019) 2022-09-25 10:17:39 +08:00
Daniel Porteous (dport)
d77cf24e06
Fix typos in ORM CLI help messages (#1060) 2022-09-23 15:36:10 +08:00
Billy Chan
9e57574de2
Run migration script defined in SeaQuery (#1063) 2022-09-23 15:32:18 +08:00
Billy Chan
75e2570811
Fix Rust 1.64 clippy (#1064) 2022-09-23 15:32:03 +08:00
Sanford Pun
5143307b3e
Demonstrate how to mock test SeaORM by separating core implementation from the web API (#890)
* Move core implementations to a standalone crate

* Set up integration test skeleton in `core`

* Demonstrate mock testing with query

* Move Rocket api code to a standalone crate

* Add mock execution

* Add MyDataMyConsent in COMMUNITY.md (#889)

* Add MyDataMyConsent in COMMUNITY.md

* Update MyDataMyConsent description in COMMUNITY.md

* Update COMMUNITY.md

Chronological order

* [cli] bump sea-schema to 0.9.3 (SeaQL/sea-orm#876)

* Update CHNAGELOG PR links

* 0.9.1 CHANGELOG

* Auto discover and run all issues & examples CI (#903)

* Auto discover and run all [issues] CI

* Auto discover and run all examples CI

* Fixup

* Testing

* Test [issues]

* Compile prepare_mock_db() conditionally based on "mock" feature

* Update workflow job to run mock test if `core` folder exists

* Update Actix3 example

* Fix merge conflict human error

* Update usize used in paginate to u64 (PR#789)

* Update sea-orm version in the Rocket example to 0.10.0

* Fix GitHub workflow to run mock test for core crates

* Increase the robustness of core crate check by verifying that the `core` folder is a crate

* Update Actix(4) example

* Update Axum example

* Update GraphQL example

* Update Jsonrpsee example

* Update Poem example

* Update Tonic example

* Cargo fmt

* Update Salvo example

* Update path of core/Cargo.toml in README.md

* Add mock test instruction in README.md

* Refactoring

* Fix Rocket examples

Co-authored-by: Amit Goyani <63532626+itsAmitGoyani@users.noreply.github.com>
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-09-23 12:57:43 +08:00
Billy Chan
77bddd85a5
Fixup 2022-09-22 15:07:37 +08:00
Chris Tsang
f3fb355647
Update CHANGELOG.md 2022-09-19 23:51:35 +08:00