using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Shentun.Peis.Migrations { public partial class init20240502001 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "barcode_mode", table: "asbitem", type: "character(1)", maxLength: 1, nullable: false, defaultValueSql: "'0'", comment: "条码模式"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "barcode_mode", table: "asbitem"); } } }