sea-orm-cli-0.10.4 has been yanked.
SeaORM CLI
Install and Usage:
> cargo
> sea-orm-cli
Or:
> cargo
> sea
Getting Help:
Running Entity Generator:
# MySQL (`--database-schema` option is ignored)
# SQLite (`--database-schema` option is ignored)
# PostgreSQL
Running Migration:
- Initialize migration directory
- Generate a new migration file
- Apply all pending migrations
- Apply first 10 pending migrations
- Rollback last applied migrations
- Rollback last 10 applied migrations
- Drop all tables from the database, then reapply all migrations
- Rollback all applied migrations, then reapply all migrations
- Rollback all applied migrations
- Check the status of all migrations