...
This commit is contained in:
2090
Back/Migrations/20250125085346_invoicetb.Designer.cs
generated
Normal file
2090
Back/Migrations/20250125085346_invoicetb.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
32
Back/Migrations/20250125085346_invoicetb.cs
Normal file
32
Back/Migrations/20250125085346_invoicetb.cs
Normal file
@@ -0,0 +1,32 @@
|
||||
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");
|
||||
}
|
||||
}
|
||||
}
|
@@ -584,6 +584,7 @@ namespace Back.Migrations
|
||||
b.Property<decimal?>("_cfee")
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
|
||||
b.Property<decimal?>("am")
|
||||
.HasMaxLength(36)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
@@ -668,6 +669,10 @@ namespace Back.Migrations
|
||||
.HasMaxLength(18)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.Property<decimal?>("vra")
|
||||
.HasMaxLength(5)
|
||||
.HasColumnType("decimal(18,2)");
|
||||
|
||||
b.HasKey("ID");
|
||||
|
||||
b.HasIndex("CODID");
|
||||
|
Reference in New Issue
Block a user