RelayCLIdatabase

database

💡

All database commands require a connection to a Relay database.

This must be configured when running these commands.

update

Update the Relay Database to the latest migration.

This command uses the Relay binary to run database migrations on the configured Relay Database.

⚠️

This command will only update the database structure to the latest migration for this release.

More complicated migration scenarios (such as rollbacks to specific versions) should be performed with the Entity Framework Core tooling.

It is expected the Production need for this will be extremely rare.

Command

  • update : Update the Relay Database to the latest migration

Usage Scenarios

Update the Relay Database to the latest migration

Command
database update
Output
── Update Database ──────────────
The Relay Database is up to date!