33 lines
762 B
C#
33 lines
762 B
C#
![]() |
using Microsoft.EntityFrameworkCore.Migrations;
|
|||
|
|
|||
|
#nullable disable
|
|||
|
|
|||
|
namespace Back.Migrations
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
public partial class invoicetb : Migration
|
|||
|
{
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
|
|||
|
migrationBuilder.AddColumn<decimal>(
|
|||
|
name: "vra",
|
|||
|
table: "InvoiceItems",
|
|||
|
type: "decimal(18,2)",
|
|||
|
maxLength: 5,
|
|||
|
nullable: true);
|
|||
|
}
|
|||
|
|
|||
|
/// <inheritdoc />
|
|||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
|||
|
{
|
|||
|
|
|||
|
|
|||
|
migrationBuilder.DropColumn(
|
|||
|
name: "vra",
|
|||
|
table: "InvoiceItems");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|