Billy Chan
94403b5659
migration: schema helper ( #2099 )
...
* Adapted loco-rs/schema.rs
* avoid `&mut ColumnDef` after upgraded to sea-query 0.31.0
* refactoring
* rewrite schema.rs
* revert
* fmt
* fix
* loco_example: pin loco-rs version
* refactor
2024-02-06 14:10:36 +08:00
Chris Tsang
ae899d6744
Remove sea-query's Iden macro
2023-07-13 10:36:56 +01: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
Billy Chan
8faabf4076
examples: Fix table identifier ( #812 )
2022-06-22 16:21:23 +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
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
f418c4e580
Examples with migration ( #509 )
...
* Update examples sea-orm version
* Update example sea-schema version
* Update [cli] sea-schema version
* Fix [cli] cargo publish failed
* Update CHANGELOG
* Edit rocket example
* Poem example with migration
* Axum example with migration
* Refactoring
* Actix4 example with migration
* Actix example with migration
* Use sea_schema::migration::prelude
2022-02-09 11:45:04 +08:00