--- title: "Execute Database Change Scripts" ---
This is generated from the built in components of BuildMaster 2024.0, and may be different than what you have installed (especially if you have extensions); go to [Gear Icon] -> Administration -> Operations within your BuildMaster instance to see exactly what operations are available.

Executes change scripts associated with the current release and any change scripts from prior releases that have not been run against the database to date.

Script usage:

Execute-ChangeScripts(
	Connection: <text>,
	[InitializeDatabase: <true/false>],
	[Group: <text>]
);

This operation may be prefixed with Core::, although this is a built-in namespace and isn't really necessary.

Arguments:

NameFormatScript UsageUsage Notes
Database connection
text
Connection
This argument is required.
Initialize database
true/false
InitializeDatabase
Group
text
Group

Note: When initialize database is true, the database will be initialized (i.e. a metadata table will be created too track change scripts) if it is required.