using Microsoft.EntityFrameworkCore.Migrations; namespace wispro.sp.api.Migrations { public partial class _20211026 : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "IsOnJob", table: "Staff", type: "bit", nullable: false, defaultValue: false); migrationBuilder.AddColumn( name: "Mobile", table: "Staff", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "Sex", table: "Staff", type: "nvarchar(max)", nullable: true); migrationBuilder.AddColumn( name: "Tel", table: "Staff", type: "nvarchar(max)", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "IsOnJob", table: "Staff"); migrationBuilder.DropColumn( name: "Mobile", table: "Staff"); migrationBuilder.DropColumn( name: "Sex", table: "Staff"); migrationBuilder.DropColumn( name: "Tel", table: "Staff"); } } }