Skip to content

Migrate

Runs migrations against Didact's metadata database.

bash
didact migrate [--provider "<DB_PROVDER_KEY>" --connection-string "<DB_CONNECTION_STRING>"]

Options

  • --provider (string): The database provider key for your database provider of choice.
  • --connection-string (string): The connection string for the database.

If the --provider and --connection-string are specified in didact config, then they are not necessary here.

Examples

Run migrations against a SQL Server database.

bash
didact migrate --provider "SQLServer" --connection-string "localhost"

Proudly powered by VitePress