benluelo
b01d4887ca
Add max_connections option to CLI ( #670 )
...
Change max_connections option to default to 1
CLI generate entity with default max connection of 1
2022-04-26 22:55:24 +08:00
Alex
fe1877a49d
sea
as an alternative bin name to sea-orm-cli
(#558 )
...
* Simplify bin name from sea-orm-cli to sea
* -S
* fixed test
2022-03-26 18:06:14 +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
Tim Eggert
b6c5d71fe2
Introduce optional serde support for model code generation
...
This introduces several things to optionally support automatic derive attributes for `serde::{Deserialize, Serialize}` for the generated models:
- introduces a `WithSerde` enum to indicate if Serialize, Deserialize, or even both should be derived from,
- adds an optional cli argument `--with-serde [none: default, serialize, deserialize, both]`
- adds test harness for both compact and expanded generation
2021-10-11 14:55:00 +02:00
Jordy Ruiter
ba96917a18
Add tables option to CLI generate entity
2021-10-03 15:45:07 +09:00
Billy Chan
962d895249
Add CLI verbose option
2021-09-16 10:14:01 +08:00
Billy Chan
a6f117a908
sea-orm-cli with --expanded-format
& --compact-format
flags
2021-09-10 23:08:30 +08:00
Billy Chan
1765ac953b
Add "--include-hidden-tables" flag
2021-08-11 12:45:24 +08:00
Billy Chan
10d670e472
Update CLI generate entity schema argument behavior
2021-08-11 12:45:24 +08:00
Chris Tsang
1b47f896a7
Tweaks
2021-08-08 03:11:37 +08:00
Chris Tsang
d5f63a05c4
Tweaks
2021-07-29 23:18:37 +08:00
Billy Chan
0b10d30c64
Codegen not depends on sea-schema & sqlx
2021-07-27 21:48:41 +08:00
Billy Chan
47bb5b3ad7
sea-orm-cli showing help message when no sub-command provided
2021-07-02 10:42:56 +08:00
Billy Chan
fa30519f99
sea-orm-cli read config from .env, update command, rename binary to sea-orm-cli
2021-06-26 21:46:10 +08:00
Billy Chan
cab4b5a3f7
Codegen: Entity Generator ( #23 )
2021-06-19 19:47:59 +08:00