-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6d39420
commit f2e04a9
Showing
8 changed files
with
2,053 additions
and
17 deletions.
There are no files selected for viewing
2,002 changes: 2,002 additions & 0 deletions
2,002
...demies.Academisation.Data/Migrations/20240412110945_nullableIncomingTrustName.Designer.cs
Large diffs are not rendered by default.
Oops, something went wrong.
38 changes: 38 additions & 0 deletions
38
Dfe.Academies.Academisation.Data/Migrations/20240412110945_nullableIncomingTrustName.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,38 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Dfe.Academies.Academisation.Data.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class nullableIncomingTrustName : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "IncomingTrustName", | ||
schema: "academisation", | ||
table: "TransferringAcademy", | ||
type: "nvarchar(max)", | ||
nullable: true, | ||
oldClrType: typeof(string), | ||
oldType: "nvarchar(max)"); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<string>( | ||
name: "IncomingTrustName", | ||
schema: "academisation", | ||
table: "TransferringAcademy", | ||
type: "nvarchar(max)", | ||
nullable: false, | ||
defaultValue: "", | ||
oldClrType: typeof(string), | ||
oldType: "nvarchar(max)", | ||
oldNullable: true); | ||
} | ||
} | ||
} |
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
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