Billy Chan
b2185af559
Cleaning up dependency ( #1300 )
...
* Dependency version cleanup
* Update build tool
* Disable default features
* [cli] disable default features
2022-12-16 15:52:00 +08:00
Jinwoo Park
cf124014e8
Simple spelling issues on sea-orm-cli's toml source. ( #918 )
2022-07-27 17:39:09 +08:00
Billy Chan
0a55d3ea67
Edit CLI docs
2022-07-14 17:45:36 +08:00
Billy Chan
1054d6451c
Use file!()
macro to avoid manually defining the name of migration ( #736 )
...
* Add `DeriveMigrationName`
* CLI migrate generate without replacing migration name
* Update migrations
* Fixup
2022-06-29 00:42:59 +08:00
Chris Tsang
4301383b40
Tweaks
2022-06-12 22:30:34 +08:00
Billy Chan
9b41f1c1b1
Migration shouldn't depends on symbol provided by entity crate ( #785 )
...
* Migration shouldn't depends on symbol provided by entity crate
* Add docs
2022-06-12 22:25:32 +08:00
Billy Chan
9d2cae44b3
Migrator CLI Fixup ( #708 )
...
* CI compile migrator CLI
* sea-orm-migration's CLI with only migration subcommand
* Fix clippy warnings
* Fixup
* `sea-orm-cli migrate init`: write sea-orm-migration version based on CLI version
2022-05-10 23:24:23 +08:00
Billy Chan
cdd6c29845
Fixup
2022-05-10 12:06:49 +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
Billy Chan
2d5967df08
Update CLI migrate init template
2022-03-27 17:43:02 +08:00
Chris Tsang
e9a460b47d
Fix build error
2022-02-07 21:40:05 +08:00
Chris Tsang
54b1f4a226
Use caret requirements
2022-02-07 21:32:35 +08:00
Chris Tsang
ea0342af06
use sea_schema::migration::prelude
2022-02-07 21:28:06 +08:00
Chris Tsang
f8ab11d36a
Use sea-schema 0.5.1
2022-02-07 21:27:22 +08:00
Billy Chan
0a06892aac
Fix [cli] cargo publish failed
2022-02-07 20:55:16 +08:00
Billy Chan
cd98137ad0
Update examples sea-orm version
...
Update example sea-schema version
Update [cli] sea-schema version
2022-02-07 20:55:15 +08:00
Chris Tsang
3cde517d2a
Fix sea-schema dependency
2022-02-05 20:58:22 +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