using Microsoft.EntityFrameworkCore.Migrations; namespace UnivateProperties_API.Migrations { public partial class SearchLogStuff : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "UserID", table: "SearchLogs"); migrationBuilder.DropColumn( name: "GCRecord", table: "Properties"); migrationBuilder.AddColumn( name: "Type", table: "SearchLogs", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "Type", table: "SearchLogs"); migrationBuilder.AddColumn( name: "UserID", table: "SearchLogs", nullable: true); migrationBuilder.AddColumn( name: "GCRecord", table: "Properties", nullable: true); } } }