-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Producing migration script ensures directory exists before writing to…
- Loading branch information
1 parent
66e1977
commit 53e27b8
Showing
4 changed files
with
43 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
...crosoft.EntityFrameworkCore.Tools.Cli.FunctionalTests/Utilities/MigrationScriptCommand.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
// Copyright (c) .NET Foundation and contributors. All rights reserved. | ||
// Licensed under the MIT license. See LICENSE file in the project root for full license information. | ||
|
||
using Xunit.Abstractions; | ||
|
||
namespace Microsoft.EntityFrameworkCore.Tools.Cli.FunctionalTests | ||
{ | ||
public class MigrationScriptCommand : EfCommand | ||
{ | ||
public MigrationScriptCommand(string targetProject, ITestOutputHelper output, string startupProject = null) | ||
: base(targetProject, output, startupProject) | ||
{ | ||
} | ||
|
||
protected override string BuildArgs() | ||
=> "migrations script "; | ||
} | ||
} |