using System; using Microsoft.EntityFrameworkCore.Infrastructure; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace JobTrackerApi.Migrations { [DbContext(typeof(JobTrackerApi.Data.JobTrackerContext))] [Migration("20260311140000_AddJobImportFields")] public partial class AddJobImportFields : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AddColumn( name: "Description", table: "JobApplications", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "TranslatedDescription", table: "JobApplications", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "DescriptionLanguage", table: "JobApplications", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "Tags", table: "JobApplications", type: "TEXT", nullable: true); migrationBuilder.AddColumn( name: "Deadline", table: "JobApplications", type: "TEXT", nullable: true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn(name: "Description", table: "JobApplications"); migrationBuilder.DropColumn(name: "TranslatedDescription", table: "JobApplications"); migrationBuilder.DropColumn(name: "DescriptionLanguage", table: "JobApplications"); migrationBuilder.DropColumn(name: "Tags", table: "JobApplications"); migrationBuilder.DropColumn(name: "Deadline", table: "JobApplications"); } } }