using System; using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace BlackRock.Reporting.API.Migrations { public partial class ChangedIdFromGuidToInt : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Id", table: "Users", type: "INTEGER", nullable: false, oldClrType: typeof(Guid), oldType: "TEXT") .Annotation("Sqlite:Autoincrement", true); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.AlterColumn( name: "Id", table: "Users", type: "TEXT", nullable: false, oldClrType: typeof(int), oldType: "INTEGER") .OldAnnotation("Sqlite:Autoincrement", true); } } }