using Microsoft.EntityFrameworkCore.Migrations; namespace ProductionLineMonitor.Web.Migrations { public partial class _202210281348 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "PowerConsumption", table: "MachineOutPutPerHours", type: "REAL", nullable: true); migrationBuilder.AddColumn( name: "IsConnected", table: "Cims", type: "INTEGER", nullable: false, defaultValue: false); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "PowerConsumption", table: "MachineOutPutPerHours"); migrationBuilder.DropColumn( name: "IsConnected", table: "Cims"); } } }