Skip to content

duck-nukem/ministry-of-petty-matters-forum

Repository files navigation

Database

Migrations

  1. Install cargo install sea-orm-cli --features sqlx-postgres (check Cargo.toml for the latest version).
  2. Set the connection string via export DATABASE_URL="postgresql://postgres:password@localhost:5432/postgres"
  3. sea-orm-cli migrate generate --name <migration_name> to create a new migration.
  4. sea-orm-cli migrate up to apply all pending migrations

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors