cargo run -- migrate fresh Rollback all applied migrations, then reapply all migrations cargo run -- migrate refresh Rollback all applied migrations cargo run -- migrate reset Check the status of all migrations cargo run -- migrate status...
cargo run -- migrate generate--migration-name NAME_OF_MIGRATION 44+ cargo run -- migrate generateMIGRATION_NAME 4545 ``` 4646 - Apply all pending migrations 4747 ```sh Original file line numberDiff line numberDiff line change @@ -1,5 +1,9 @@ ...
P.S Can't seaorm automatically generate migration files now? Except for the sea migrate init. Not supported at the moment. I think you want something like sea migrate new name_of_new_migration_file which create a new migration file?Contributor...
cargo run -- migrate fresh Rollback all applied migrations, then reapply all migrations cargo run -- migrate refresh Rollback all applied migrations cargo run -- migrate reset Check the status of all migrations cargo run -- migrate status...
cargo run -- migrate fresh Rollback all applied migrations, then reapply all migrations cargo run -- migrate refresh Rollback all applied migrations cargo run -- migrate reset Check the status of all migrations cargo run -- migrate status...
Projects Security Insights Additional navigation options Files master .github build-tools docs examples issues sea-orm-cli src template/migration Cargo.toml README.md sea-orm-codegen sea-orm-macros sea-orm-migration sea-orm-rocket src tests
cargo run -- migrate fresh Rollback all applied migrations, then reapply all migrations cargo run -- migrate refresh Rollback all applied migrations cargo run -- migrate reset Check the status of all migrations cargo run -- migrate status...