31 Commits

Author SHA1 Message Date
Billy Chan
ba226a2b62
Generate arbitrary named entity (#70)
* Generate arbitrary named entity (#69)

* Bump cli & codegen version

* CI tests no caching

* Remove local dependency path
2021-08-10 16:35:10 +08:00
Billy Chan
b1d28db5ad
Fix clippy warnings 2021-08-10 11:03:41 +08:00
Chris Tsang
c1ac7baae9 cargo fmt 2021-08-08 16:13:27 +08:00
Chris Tsang
b9a537db3b Support sea-query 0.12.9 2021-08-08 15:42:53 +08:00
Chris Tsang
1ccdec16e1 Publish sea-orm-codegen 2021-08-07 23:53:21 +08:00
Chris Tsang
fbb09e17a7 Remove files 2021-08-07 23:19:21 +08:00
Chris Tsang
478d2a9b37 Improve codegen column to Rust type mapping 2021-08-07 21:43:32 +08:00
Chris Tsang
18f494109b Cargo 2021-08-07 21:02:15 +08:00
Billy Chan
3701c86637
CLI Generate Entity for Postgres (#61)
* cli generate entity for Postgres

* Fixup
2021-08-07 18:23:52 +08:00
Billy Chan
0b10d30c64 Codegen not depends on sea-schema & sqlx 2021-07-27 21:48:41 +08:00
Sam Samai
b205fc48aa Add Uuid to col_type for codegen 2021-07-25 21:45:08 +10:00
Sam Samai
ef27c2bd57 Set sea-query to ~0.12.8 2021-07-25 21:45:08 +10:00
Billy Chan
1cdbcceddb
Testing different db on various async runtime (#53)
* Testing different db on various async runtime

* Test on various runtime

* No explicit cargo build step

* Cargo build with features

* Hotfix

* With actix_rt

* Only tests "runtime-async-std-native-tls" for now
2021-07-22 19:23:21 +08:00
Billy Chan
f75fcd8fdf Update unit test 2021-07-22 19:08:42 +08:00
Billy Chan
daa0ed947d Handle conjunction table 2021-07-22 19:08:42 +08:00
Chris Tsang
80976116de Fix clippy warning 2021-07-18 00:02:40 +08:00
Chris Tsang
9334d4ff5d DbBackend alias 2021-07-17 22:03:41 +08:00
Billy Chan
e83cc63e3a Replacing Syntax & *BuilderBackend with DatabaseBackend 2021-07-16 00:28:03 +08:00
Billy Chan
d59ee1e298 Mock any database 2021-07-14 21:31:59 +08:00
Billy Chan
b4abf15169
Hotfix - doc test fail, Ignore fmt entity files under codegen/tests 2021-07-14 10:27:12 +08:00
Chris Tsang
bcd221a915 Add Syntax to Statement 2021-07-13 22:39:29 +08:00
Billy Chan
a94224e0f2 Unit test sea-orm-codegen 2021-07-12 23:45:27 +08:00
Chris Tsang
6ff5a32b7a cargo fmt 2021-07-11 22:08:37 +08:00
Chris Tsang
de7524e502 Fix sea-orm-codegen 2021-07-01 21:55:00 +08:00
Billy Chan
dd8d8c3431
Codegen without find_* helper fn 2021-06-30 23:01:23 +08:00
Billy Chan
f8f3d128fd
Fix clippy warming 2021-06-30 22:50:01 +08:00
Billy Chan
9a25bb9c36
Use belongs_to, has_one and has_many 2021-06-22 23:42:10 +08:00
Billy Chan
83e4859776
codegen ColumnDef null() and unique() 2021-06-22 22:40:43 +08:00
Chris Tsang
72408eedfc Fix GitHub Action 2021-06-20 23:22:15 +08:00
Chris Tsang
91023d06c5 Codegen: update ColumnDef 2021-06-19 20:53:08 +08:00
Billy Chan
cab4b5a3f7
Codegen: Entity Generator (#23) 2021-06-19 19:47:59 +08:00