using System; using FindAndDrive.Domain.Models.Entities; using System.Diagnostics.Metrics; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace FindAndDrive.Persistence.Migrations { public partial class FindAndDriveId : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.Sql("ALTER TABLE ApplicantAuditLog ALTER COLUMN FindAndDriveId VARCHAR(10)"); migrationBuilder.AlterColumn( name: "FindAndDriveId", table: "ApplicantAuditLog", type: "uniqueidentifier", nullable: false, oldClrType: typeof(int), oldType: "int"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.Sql("ALTER TABLE ApplicantAuditLog ALTER COLUMN FindAndDriveId VARCHAR(10)"); migrationBuilder.AlterColumn( name: "FindAndDriveId", table: "ApplicantAuditLog", type: "int", nullable: false, oldClrType: typeof(Guid), oldType: "uniqueidentifier"); } } }