using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace VOL.Core.Migrations { public partial class init102 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "ActivitiesId", table: "Ai_FastJumpRopeData"); migrationBuilder.DropColumn( name: "Semester", table: "Ai_FastJumpRopeData"); migrationBuilder.DropColumn( name: "Year", table: "Ai_FastJumpRopeData"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "ActivitiesId", table: "Ai_FastJumpRopeData", type: "int", nullable: true, comment: "Ai赛场Id"); migrationBuilder.AddColumn( name: "Semester", table: "Ai_FastJumpRopeData", type: "int)", nullable: false, defaultValue: 0, comment: "学期"); migrationBuilder.AddColumn( name: "Year", table: "Ai_FastJumpRopeData", type: "int)", nullable: false, defaultValue: 0, comment: "当前年份"); } } }