using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace CompanyManagment.EFCore.Migrations { /// public partial class AddLawIdtoinstitutionContract : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Version", table: "Law", type: "int", nullable: false, defaultValue: 0); migrationBuilder.AddColumn( name: "LawId", table: "InstitutionContracts", type: "bigint", nullable: false, defaultValue: 0L); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Version", table: "Law"); migrationBuilder.DropColumn( name: "LawId", table: "InstitutionContracts"); } } }