using Microsoft.EntityFrameworkCore.Migrations; namespace ProRestaurant.Migrations { public partial class colRename : Migration { protected override void Up(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "RestaurantUserId", table: "RestaurantUserRestaurantRoles", newName: "UserId"); } protected override void Down(MigrationBuilder migrationBuilder) { migrationBuilder.RenameColumn( name: "UserId", table: "RestaurantUserRestaurantRoles", newName: "RestaurantUserId"); } } }