using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace CompanyManagment.EFCore.Migrations { /// public partial class FNameLNameaddedtorollcallemployee : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "FName", table: "RollCallEmployees", type: "nvarchar(50)", maxLength: 50, nullable: true); migrationBuilder.AddColumn( name: "HasChangedName", table: "RollCallEmployees", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "LName", table: "RollCallEmployees", type: "nvarchar(50)", maxLength: 50, nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "FName", table: "RollCallEmployees"); migrationBuilder.DropColumn( name: "HasChangedName", table: "RollCallEmployees"); migrationBuilder.DropColumn( name: "LName", table: "RollCallEmployees"); } } }