An open API service indexing awesome lists of open source software.

https://github.com/abdelilahou/tenasher

run sea-orm-migrations programmatically
https://github.com/abdelilahou/tenasher

rust sea-orm-migrations

Last synced: 2 months ago
JSON representation

run sea-orm-migrations programmatically

Awesome Lists containing this project

README

        

# Tenasher

## sea-orm migrations example cli

### how to use

I have defined my custome commands in the src/main.rs you can edit as you wish

- Apply all pending migrations
```sh
cargo run up
```
- Rollback all applied migrations
```sh
cargo run down
```
- Drop all tables from the database, then reapply all migrations
```sh
cargo run fresh
```