| 123456789101112131415161718192021222324252627282930313233 |
- using Microsoft.EntityFrameworkCore.Migrations;
-
- #nullable disable
-
- namespace Diligent.WebAPI.Data.Migrations
- {
- public partial class ChangedNoteInitialValueToEmptyString : Migration
- {
- protected override void Up(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Note",
- table: "Files",
- type: "nvarchar(max)",
- nullable: false,
- defaultValue: "",
- oldClrType: typeof(string),
- oldType: "nvarchar(max)",
- oldNullable: true);
- }
-
- protected override void Down(MigrationBuilder migrationBuilder)
- {
- migrationBuilder.AlterColumn<string>(
- name: "Note",
- table: "Files",
- type: "nvarchar(max)",
- nullable: true,
- oldClrType: typeof(string),
- oldType: "nvarchar(max)");
- }
- }
- }
|