Run Database Schema Manager Using the Command Line Interface

Follow these steps to run the Cityworks installer in a Command Line Interface (CLI).

  1. Download the Cityworks 23.2 installer.
  1. Extract the zipped file by right-clicking the zipped file and clicking Extract All.
  2. Double-click the unzipped file to open it.
  3. Open the terminal of your choice, such as PowerShell or Command Prompt.
  4. Enter the location of the install files.

  1. Point to the CwDbSchemaManagerCLI.exe file and press Enter.

The available options and commands show and are listed in the table below.

Option

Description

--DbVersion Get the current database version
--Script Get database migration scripts
--Update Update database to the latest version
--Verify Verify database