using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace CompanyManagment.EFCore.Migrations { /// public partial class addsettingsforemployeecomputeoptions : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "CreateCheckout", table: "EmployeeComputeOptions", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "CreateContract", table: "EmployeeComputeOptions", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "SignCheckout", table: "EmployeeComputeOptions", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "SignContract", table: "EmployeeComputeOptions", type: "bit", nullable: false, defaultValue: false); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "CreateCheckout", table: "EmployeeComputeOptions"); migrationBuilder.DropColumn( name: "CreateContract", table: "EmployeeComputeOptions"); migrationBuilder.DropColumn( name: "SignCheckout", table: "EmployeeComputeOptions"); migrationBuilder.DropColumn( name: "SignContract", table: "EmployeeComputeOptions"); } } }