migration
This commit is contained in:
@@ -12,7 +12,7 @@ using Webshop.Infrastructure.Data;
|
||||
namespace Webshop.Infrastructure.Migrations
|
||||
{
|
||||
[DbContext(typeof(ApplicationDbContext))]
|
||||
[Migration("20250729160557_InitialCreate")]
|
||||
[Migration("20250729184055_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
/// <inheritdoc />
|
||||
@@ -521,6 +521,9 @@ namespace Webshop.Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<string>("Configuration")
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
@@ -533,10 +536,8 @@ namespace Webshop.Infrastructure.Migrations
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("character varying(100)");
|
||||
|
||||
b.Property<string>("PaymentGatewayType")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
.HasColumnType("character varying(50)");
|
||||
b.Property<int>("PaymentGatewayType")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<decimal?>("ProcessingFee")
|
||||
.HasPrecision(18, 2)
|
||||
@@ -67,7 +67,8 @@ namespace Webshop.Infrastructure.Migrations
|
||||
Name = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: false),
|
||||
Description = table.Column<string>(type: "character varying(500)", maxLength: 500, nullable: true),
|
||||
IsActive = table.Column<bool>(type: "boolean", nullable: false),
|
||||
PaymentGatewayType = table.Column<string>(type: "character varying(50)", maxLength: 50, nullable: false),
|
||||
PaymentGatewayType = table.Column<int>(type: "integer", nullable: false),
|
||||
Configuration = table.Column<string>(type: "jsonb", nullable: true),
|
||||
ProcessingFee = table.Column<decimal>(type: "numeric(18,2)", precision: 18, scale: 2, nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
@@ -518,6 +518,9 @@ namespace Webshop.Infrastructure.Migrations
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<string>("Configuration")
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<string>("Description")
|
||||
.HasMaxLength(500)
|
||||
.HasColumnType("character varying(500)");
|
||||
@@ -530,10 +533,8 @@ namespace Webshop.Infrastructure.Migrations
|
||||
.HasMaxLength(100)
|
||||
.HasColumnType("character varying(100)");
|
||||
|
||||
b.Property<string>("PaymentGatewayType")
|
||||
.IsRequired()
|
||||
.HasMaxLength(50)
|
||||
.HasColumnType("character varying(50)");
|
||||
b.Property<int>("PaymentGatewayType")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<decimal?>("ProcessingFee")
|
||||
.HasPrecision(18, 2)
|
||||
|
||||
Reference in New Issue
Block a user