using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace Api.Migrations { /// public partial class init2 : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "FullName", table: "Users", newName: "Email"); migrationBuilder.AddColumn( name: "UnikId", table: "Devices", type: "TEXT", nullable: true); } /// protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.DropColumn( name: "UnikId", table: "Devices"); migrationBuilder.RenameColumn( name: "Email", table: "Users", newName: "FullName"); } } }