kyoto7250
0ce8ee6a31
feat(sea-orm-cli): output log about generated file name. ( #735 )
...
* feat(sea-orm-cli): output lof about generated file name.
https://github.com/SeaQL/sea-orm/issues/722
* include column names in info
* cargo fmt
* Update sea-orm-cli/src/commands.rs
Avoid multiple initializations
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
* show info per column
* refactor: use write! macro
* Refactoring
Co-authored-by: Billy Chan <ccw.billy.123@gmail.com>
2022-06-12 20:30:49 +08:00
Chris Tsang
39b3726ebb
sea-orm-codegen 0.8.0
2022-05-10 00:03:59 +08:00
Chris Tsang
75d5c0f5ea
Restructure sea-orm-cli & sea-orm-migration
2022-05-09 12:30:58 +08:00
Billy Chan
498c0154ca
Restructure SeaORM migration
...
Bump codegen's sea-query version [cli]
Update CLI subcommand method
Move migration utility into sea-orm-migration
2022-05-09 12:30:55 +08:00
Chris Tsang
c32b07edb8
sea-orm-codegen 0.7.0
2022-03-26 18:29:26 +08:00
Billy Chan
73701fef9a
Codegen Unsigned Integer - 2 ( #397 )
...
* 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>
2022-03-14 12:40:02 +08:00
Chris Tsang
377205d6a5
sea-orm-codegen 0.6.0
2022-02-07 00:10:07 +08:00
Billy Chan
8eb095385d
Migration ( #335 )
...
* Refactor `ConnectionTrait`
* Refactoring
* Build index & foreign key statements
* Fix imports
* Fixup
* Rocket example with migration
* async-std compatible with the tokio 1.0 runtime
* Use reexported dependency
* Compile without selecting any db backend
* Updating sea-orm-cli dep
* sea-orm-cli migrate commands
* cargo fmt
* Test [cli]
* Refactoring
* Clap app name should be "sea-orm-cli"
* Correctly capture MIGRATION_DIR
* Rename README
* Add `sea-orm-cli migrate init` command
* Update README
* Try restructured sea-query dependency (SeaQL/sea-schema#41 )
* Set `DATABASE_URL` environment variable
2022-02-05 20:34:54 +08:00
Chris Tsang
82bad4a376
0.5.0
2022-01-01 16:05:36 +08:00
Chris Tsang
9beb572afb
sea-orm-codegen 0.5.0-rc.1
2021-12-26 02:27:44 +08:00
Billy Chan
f5f6a6774f
Codegen ActiveEnum & Create Enum From ActiveEnum ( #348 )
2021-12-15 00:52:50 +08:00
Chris Tsang
6767e8b834
sea-orm-codegen 0.4.2
2021-12-12 22:45:34 +08:00
Chris Tsang
f2273eac71
sea-orm-codegen 0.4.1
2021-12-05 00:13:03 +08:00
Chris Tsang
c78fa48fff
sea-orm-codegen 0.4.0
2021-11-19 23:03:48 +08:00
Carter Snook
058f6d5d2b
chore: update to Rust Edition 2021 ( #273 )
2021-10-26 17:27:53 +08:00
Chris Tsang
3cef4d5ebf
sea-orm-codegen 0.3.1
2021-10-23 16:00:02 +08:00
Chris Tsang
0789ee71bf
sea-orm-codegen 0.3.0
2021-10-16 01:41:06 +08:00
Chris Tsang
7c8e766e8b
sea-orm-codegen 0.2.6
2021-10-09 23:15:03 +08:00
Chris Tsang
a2767eb6fe
sea-orm-codegen 0.2.5
2021-10-06 18:43:43 +08:00
Chris Tsang
12affaf0c1
sea-orm-codegen 0.2.4
2021-09-26 16:44:55 +08:00
Chris Tsang
3c608ad9c3
Bump sea-query
2021-09-26 16:07:06 +08:00
Billy Chan
06a26ace2e
Codegen parse column unique key from index
2021-09-24 15:30:41 +08:00
Chris Tsang
995a9d0045
sea-orm-codegen 0.2.3
2021-09-22 17:37:34 +08:00
Chris Tsang
903fda0e87
sea-orm-codegen 0.2.2
2021-09-17 23:39:58 +08:00
Billy Chan
5cb1088fd9
Update sea-query dependency
2021-09-15 12:40:37 +08:00
Billy Chan
a6f117a908
sea-orm-cli with --expanded-format
& --compact-format
flags
2021-09-10 23:08:30 +08:00
Billy Chan
9c3aba8c0e
codegen of compact entity files
2021-09-10 22:28:08 +08:00
Chris Tsang
9483a5af8b
sea-orm-codegen 0.2.0
2021-09-04 01:46:35 +08:00
Chris Tsang
f722ce3336
sea-orm-codegen 0.1.3
2021-08-23 03:49:06 +08:00
Chris Tsang
af26afcf71
Upgrade sea-schema to 0.2.5
2021-08-21 23:01:24 +08:00
Billy Chan
2db5c5e8c9
Change manifest for SeaQL/sea-schema#14
2021-08-21 22:59:52 +08:00
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
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
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
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
a94224e0f2
Unit test sea-orm-codegen
2021-07-12 23:45:27 +08:00
Chris Tsang
de7524e502
Fix sea-orm-codegen
2021-07-01 21:55:00 +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