Initialize-EdFiDatabaseWithDbDeploy
Description
Initialize a database and apply migrations
Syntax
Initialize-EdFiDatabaseWithDbDeploy [[-engine] <String>] [-database] <String> [-csb] <DbConnectionStringBuilder> [-filePaths] <String[]> [[-subTypeNames] <String[]>] [-dropDatabase] [[-createByRestoringBackup] <String>] [[-msSqlBackupPath] <String>] [[-databaseTimeoutInSeconds] <Int32>] [<CommonParameters>]
Parameters
Name | Alias | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
engine | false | false | SQLServer | ||
database | The database type to use when loading | true | false | ||
csb | A Connection String Builder object for the database to build | true | false | ||
filePaths | Array of paths to sql scripts and extension directories | true | false | ||
subTypeNames | Scripts with these SubType names should be included. These should be | false | false | ||
dropDatabase | transient | The database is "transient" - that is, it's dropped if it already exists, and | false | false | False |
createByRestoringBackup | Instead of creating the database from scratch, use this backup file. After the | false | false | ||
msSqlBackupPath | A location to store backups of databases before they are dropped or migrated. | false | false | ||
databaseTimeoutInSeconds | false | false | 60 |