f0b6465069
* streaming responses compile, still small TODOs & cleanup * refactor to allow short curcuits on uncacheable requests (#220) * refactor to allow short curcuits on uncacheable requests * handle error inside an Arc from moka * arc instead of box * lint * more lint * add bonus rate limits and keep all semaphores after rate limits (#221) * add bonus rate limits and keep all semaphores after rate limits * remove stale todos * better function names * cargo upgrade and update * make some panics warn. more todo * pass request_metadata through so streaming responses include their final size * remove stale TODO * remove more stale todos * add file i missed * make to_json_string work well enough * check config for free_subscriptions --------- Co-authored-by: Rory Neithinger <rory@llamanodes.com> |
||
---|---|---|
.. | ||
src | ||
Cargo.toml | ||
README.md |
Running Migrator CLI
- Generate a new migration file
cargo run -- generate MIGRATION_NAME
- Apply all pending migrations
cargo run
cargo run -- up
- Apply first 10 pending migrations
cargo run -- up -n 10
- Rollback last applied migrations
cargo run -- down
- Rollback last 10 applied migrations
cargo run -- down -n 10
- Drop all tables from the database, then reapply all migrations
cargo run -- fresh
- Rollback all applied migrations, then reapply all migrations
cargo run -- refresh
- Rollback all applied migrations
cargo run -- reset
- Check the status of all migrations
cargo run -- status