using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace IRaCIS.Core.Infra.EFCore.Migrations { /// public partial class systemQuestion : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ExportIdentification", table: "ReadingTableQuestionSystem"); migrationBuilder.DropColumn( name: "ExportIdentification", table: "ReadingQuestionSystem"); migrationBuilder.AddColumn( name: "DefaultValue", table: "ReadingTableQuestionSystem", type: "nvarchar(400)", maxLength: 400, nullable: false, defaultValue: "", comment: "默认值"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "DefaultValue", table: "ReadingTableQuestionSystem"); migrationBuilder.AddColumn( name: "ExportIdentification", table: "ReadingTableQuestionSystem", type: "int", nullable: true, comment: "导出标识"); migrationBuilder.AddColumn( name: "ExportIdentification", table: "ReadingQuestionSystem", type: "int", nullable: true, comment: "导出标识"); } } }