using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace UniversityDataBaseImplemet.Migrations { /// public partial class fix : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Id", table: "StudentStreams"); migrationBuilder.DropColumn( name: "Id", table: "StudentDocuments"); migrationBuilder.DropColumn( name: "Id", table: "EducationGroupsStreams"); migrationBuilder.DropColumn( name: "Id", table: "EducationGroupsDocuments"); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Id", table: "StudentStreams", type: "integer", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "Id", table: "StudentDocuments", type: "integer", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "Id", table: "EducationGroupsStreams", type: "integer", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "Id", table: "EducationGroupsDocuments", type: "integer", nullable: false, defaultValue: 0); } } }