This commit is contained in:
masoodafar-web
2025-11-24 22:55:14 +03:30
parent 56478c79c2
commit 6cd0a45336
14 changed files with 2957 additions and 7566 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,30 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace CMSMicroservice.Infrastructure.Persistence.Migrations
{
/// <inheritdoc />
public partial class u09 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "PaymentMethod",
schema: "CMS",
table: "UserOrders",
type: "int",
nullable: true);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "PaymentMethod",
schema: "CMS",
table: "UserOrders");
}
}
}

View File

@@ -912,6 +912,9 @@ namespace CMSMicroservice.Infrastructure.Persistence.Migrations
b.Property<DateTime?>("PaymentDate")
.HasColumnType("datetime2");
b.Property<int?>("PaymentMethod")
.HasColumnType("int");
b.Property<int>("PaymentStatus")
.HasColumnType("int");