using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class init017 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Weight", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Standing", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Speedeight", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Speed", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Situp", table: "I_SportsTestData", type: "int", nullable: true, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "Rope", table: "I_SportsTestData", type: "int", nullable: true, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "Pulmonary", table: "I_SportsTestData", type: "int", nullable: true, oldClrType: typeof(int), oldType: "int"); migrationBuilder.AlterColumn( name: "Pliable", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Kilometer", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Height", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Hectometer", table: "I_SportsTestData", type: "float", nullable: true, oldClrType: typeof(double), oldType: "float"); migrationBuilder.AlterColumn( name: "Chinning", table: "I_SportsTestData", type: "int", nullable: true, oldClrType: typeof(int), oldType: "int"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Weight", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Standing", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Speedeight", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Speed", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Situp", table: "I_SportsTestData", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(int), oldType: "int", oldNullable: true); migrationBuilder.AlterColumn( name: "Rope", table: "I_SportsTestData", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(int), oldType: "int", oldNullable: true); migrationBuilder.AlterColumn( name: "Pulmonary", table: "I_SportsTestData", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(int), oldType: "int", oldNullable: true); migrationBuilder.AlterColumn( name: "Pliable", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Kilometer", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Height", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Hectometer", table: "I_SportsTestData", type: "float", nullable: false, defaultValue: 0.0, oldClrType: typeof(double), oldType: "float", oldNullable: true); migrationBuilder.AlterColumn( name: "Chinning", table: "I_SportsTestData", type: "int", nullable: false, defaultValue: 0, oldClrType: typeof(int), oldType: "int", oldNullable: true); } } }