using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace IoTSharp.Data.SqlServer.Migrations { public partial class AddAssetName : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Description", table: "AssetRelations", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "Name", table: "AssetRelations", type: "nvarchar(max)", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Description", table: "AssetRelations"); migrationBuilder.DropColumn( name: "Name", table: "AssetRelations"); } } }