using Microsoft.EntityFrameworkCore.Migrations; #nullable disable namespace backend.Migrations { public partial class ChangePropname : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "Username", table: "Users", newName: "Email"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "Email", table: "Users", newName: "Username"); } } }