29 lines
737 B
C#
29 lines
737 B
C#
using Microsoft.EntityFrameworkCore.Migrations;
|
|
|
|
#nullable disable
|
|
|
|
namespace Modelo.Migrations
|
|
{
|
|
/// <inheritdoc />
|
|
public partial class RefactorNombre : Migration
|
|
{
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "CantOriginal",
|
|
table: "Lotes",
|
|
newName: "CantRecibida");
|
|
}
|
|
|
|
/// <inheritdoc />
|
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|
{
|
|
migrationBuilder.RenameColumn(
|
|
name: "CantRecibida",
|
|
table: "Lotes",
|
|
newName: "CantOriginal");
|
|
}
|
|
}
|
|
}
|