Creates a new migration script.
New-Migration [-Name] <String[]> [-Path] <String> [<CommonParameters>]
Creates a migration script with a given name. The script is prefixed with the current timestamp (e.g. yyyyMMddHHmmss). The script is created in $Path\$Database\Migrations
.
Name | Type | Description | Required? | Pipeline Input | Default Value |
---|---|---|---|---|---|
Name | String[] | The name of the migration to create. |
true | false | |
Path | String | The path to the directory where the migration should be saved. |
true | false |