using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace DiunaBI.Infrastructure.Migrations { /// public partial class RecordValues : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Value", table: "Records"); migrationBuilder.AddColumn( name: "Value1", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value10", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value11", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value12", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value13", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value14", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value15", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value16", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value17", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value18", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value19", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value2", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value20", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value21", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value22", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value23", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value24", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value25", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value26", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value27", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value28", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value29", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value3", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value30", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value31", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value4", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value5", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value6", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value7", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value8", table: "Records", type: "real", nullable: true); migrationBuilder.AddColumn( name: "Value9", table: "Records", type: "real", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Value1", table: "Records"); migrationBuilder.DropColumn( name: "Value10", table: "Records"); migrationBuilder.DropColumn( name: "Value11", table: "Records"); migrationBuilder.DropColumn( name: "Value12", table: "Records"); migrationBuilder.DropColumn( name: "Value13", table: "Records"); migrationBuilder.DropColumn( name: "Value14", table: "Records"); migrationBuilder.DropColumn( name: "Value15", table: "Records"); migrationBuilder.DropColumn( name: "Value16", table: "Records"); migrationBuilder.DropColumn( name: "Value17", table: "Records"); migrationBuilder.DropColumn( name: "Value18", table: "Records"); migrationBuilder.DropColumn( name: "Value19", table: "Records"); migrationBuilder.DropColumn( name: "Value2", table: "Records"); migrationBuilder.DropColumn( name: "Value20", table: "Records"); migrationBuilder.DropColumn( name: "Value21", table: "Records"); migrationBuilder.DropColumn( name: "Value22", table: "Records"); migrationBuilder.DropColumn( name: "Value23", table: "Records"); migrationBuilder.DropColumn( name: "Value24", table: "Records"); migrationBuilder.DropColumn( name: "Value25", table: "Records"); migrationBuilder.DropColumn( name: "Value26", table: "Records"); migrationBuilder.DropColumn( name: "Value27", table: "Records"); migrationBuilder.DropColumn( name: "Value28", table: "Records"); migrationBuilder.DropColumn( name: "Value29", table: "Records"); migrationBuilder.DropColumn( name: "Value3", table: "Records"); migrationBuilder.DropColumn( name: "Value30", table: "Records"); migrationBuilder.DropColumn( name: "Value31", table: "Records"); migrationBuilder.DropColumn( name: "Value4", table: "Records"); migrationBuilder.DropColumn( name: "Value5", table: "Records"); migrationBuilder.DropColumn( name: "Value6", table: "Records"); migrationBuilder.DropColumn( name: "Value7", table: "Records"); migrationBuilder.DropColumn( name: "Value8", table: "Records"); migrationBuilder.DropColumn( name: "Value9", table: "Records"); migrationBuilder.AddColumn( name: "Value", table: "Records", type: "real", nullable: false, defaultValue: 0f); } } }