Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 747 Bytes

CONTRIBUTING.md

File metadata and controls

28 lines (19 loc) · 747 Bytes

Install Just Command Runner

cargo install just

Database Management

This application uses seaql/sea-orm for Database connections and conpsumption. You must install sea-orm-cli if you want to create new migrations.

Use the following command to install SeaORM CLI

cargo install sea-orm-cli

To run any migration or database related command, make sure DATABASE_URL environment variable is present, either inline via Terminal or via .env file.

cargo run --bin cli database migrate

To learn more about SeaORM you can read on their tests and examples, a recommended Migrations example is the Bakery Chain schema.