arreglado tema de que fallaba poner varios detalles
This commit is contained in:
28
Modelo/Migrations/20241016232600_RefactorNombre.cs
Normal file
28
Modelo/Migrations/20241016232600_RefactorNombre.cs
Normal file
@@ -0,0 +1,28 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user