Initialize-LimnDatabase
Initializes a Limn Hive database by applying its pending migrations.
SYNOPSIS
Initializes a Limn Hive database by applying its pending migrations.
SYNTAX
Initialize-LimnDatabase -Provider <LimnHiveDatabaseProvider> -ConnectionString <String> [<CommonParameters>]
DESCRIPTION
Creates or updates the separate Limn Hive database using the selected provider.
Supported providers are Sqlite, SqlServer, and Postgres. Use -Verbose
to list migrations applied by the command.
EXAMPLES
Example 1
PS C:\> Initialize-LimnDatabase -Provider Sqlite -ConnectionString "Data Source=C:\Data\Limn.Hive.db" -Verbose
Initializes a local SQLite Limn Hive database.
PARAMETERS
-Provider
Database provider for the Limn Hive.
Type: LimnHiveDatabaseProvider
Parameter Sets: (All)
Aliases: None
Accepted values: Sqlite, SqlServer, Postgres
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-ConnectionString
Connection string for the Limn Hive database.
Type: String
Parameter Sets: (All)
Aliases: None
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
INPUTS
None
OUTPUTS
System.Void
NOTES
The Limn Hive database is separate from the Limn Hub database.