BuildDB: Building an Authoring Database
The builddb command function rebuilds an authoring database instance to
match the repository indicated. The command line to build an authoring database that
mirrors a repository is as
follows:
ReqAdmin BuildDB [--v] <Path to repository> <Requirements Database connection string> <Schema Request Database connection string>This command connects directly to the target database, and that means you must enter a connect string. For details about connect strings see Database Connection Strings.
Once the command is run, the authoring web services reports the updated information (that matches the content in the local repository) to that which the command was run against.
| Argument | Definition |
|---|---|
| --RepositoryPath | Required. The path to the repository. |
| --RequirementsConnectionString | Required. The connection string to connect to the requirements database. |
| --v | Flag indicating to log verbose messages to the console. This value is false by default. |
| -?, -h, --help | Show help and usage information |
Attributes
The Name and SuppressDD attributes are automatically added when building the database. The values for each are retrieved from the phase file. If no values are supplied within the phase file, default values are provided: null for Name and 0 for SuppressDD.