using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Rmsys.Infrastructure.Migrations { /// public partial class AddPadOwnerAndUserScope : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "DataScope", table: "sysusers", type: "varchar(32)", maxLength: 32, nullable: true) .Annotation("MySql:CharSet", "utf8mb4"); migrationBuilder.AddColumn( name: "OwnerLabel", table: "paddevices", type: "varchar(32)", maxLength: 32, nullable: true) .Annotation("MySql:CharSet", "utf8mb4"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "DataScope", table: "sysusers"); migrationBuilder.DropColumn( name: "OwnerLabel", table: "paddevices"); } } }