Browse Source

Update migrations.

pull/65/head
maliming 5 years ago
parent
commit
b70b02f58d
No known key found for this signature in database GPG Key ID: 96224957E51C89E
  1. 8
      services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20220119084149_Initial.Designer.cs
  2. 6
      services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20220119084149_Initial.cs
  3. 6
      services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/AdministrationServiceDbContextModelSnapshot.cs
  4. 58
      services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20220119084201_Initial.Designer.cs
  5. 56
      services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20220119084201_Initial.cs
  6. 56
      services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs
  7. 208
      services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/20220119084330_Npgsql_Time.Designer.cs
  8. 32
      services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/20220119084330_Npgsql_Time.cs
  9. 2
      services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/OrderingServiceDbContextModelSnapshot.cs
  10. 140
      services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/20220119084346_Npgsql_Time.Designer.cs
  11. 32
      services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/20220119084346_Npgsql_Time.cs
  12. 2
      services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/PaymentServiceDbContextModelSnapshot.cs

8
services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20211125123421_Initial.Designer.cs → services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20220119084149_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace EShopOnAbp.AdministrationService.Migrations namespace EShopOnAbp.AdministrationService.Migrations
{ {
[DbContext(typeof(AdministrationServiceDbContext))] [DbContext(typeof(AdministrationServiceDbContext))]
[Migration("20211125123421_Initial")] [Migration("20220119084149_Initial")]
partial class Initial partial class Initial
{ {
protected override void BuildTargetModel(ModelBuilder modelBuilder) protected override void BuildTargetModel(ModelBuilder modelBuilder)
@ -80,7 +80,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("ExecutionDuration"); .HasColumnName("ExecutionDuration");
b.Property<DateTime>("ExecutionTime") b.Property<DateTime>("ExecutionTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -147,7 +147,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("ExecutionDuration"); .HasColumnName("ExecutionDuration");
b.Property<DateTime>("ExecutionTime") b.Property<DateTime>("ExecutionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("ExecutionTime"); .HasColumnName("ExecutionTime");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -192,7 +192,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("AuditLogId"); .HasColumnName("AuditLogId");
b.Property<DateTime>("ChangeTime") b.Property<DateTime>("ChangeTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("ChangeTime"); .HasColumnName("ChangeTime");
b.Property<byte>("ChangeType") b.Property<byte>("ChangeType")

6
services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20211125123421_Initial.cs → services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/20220119084149_Initial.cs

@ -21,7 +21,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
TenantName = table.Column<string>(type: "text", nullable: true), TenantName = table.Column<string>(type: "text", nullable: true),
ImpersonatorUserId = table.Column<Guid>(type: "uuid", nullable: true), ImpersonatorUserId = table.Column<Guid>(type: "uuid", nullable: true),
ImpersonatorTenantId = table.Column<Guid>(type: "uuid", nullable: true), ImpersonatorTenantId = table.Column<Guid>(type: "uuid", nullable: true),
ExecutionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), ExecutionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
ExecutionDuration = table.Column<int>(type: "integer", nullable: false), ExecutionDuration = table.Column<int>(type: "integer", nullable: false),
ClientIpAddress = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true), ClientIpAddress = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true),
ClientName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: true), ClientName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: true),
@ -111,7 +111,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
ServiceName = table.Column<string>(type: "character varying(256)", maxLength: 256, nullable: true), ServiceName = table.Column<string>(type: "character varying(256)", maxLength: 256, nullable: true),
MethodName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: true), MethodName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: true),
Parameters = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: true), Parameters = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: true),
ExecutionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), ExecutionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
ExecutionDuration = table.Column<int>(type: "integer", nullable: false), ExecutionDuration = table.Column<int>(type: "integer", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true) ExtraProperties = table.Column<string>(type: "text", nullable: true)
}, },
@ -133,7 +133,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
Id = table.Column<Guid>(type: "uuid", nullable: false), Id = table.Column<Guid>(type: "uuid", nullable: false),
AuditLogId = table.Column<Guid>(type: "uuid", nullable: false), AuditLogId = table.Column<Guid>(type: "uuid", nullable: false),
TenantId = table.Column<Guid>(type: "uuid", nullable: true), TenantId = table.Column<Guid>(type: "uuid", nullable: true),
ChangeTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), ChangeTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
ChangeType = table.Column<byte>(type: "smallint", nullable: false), ChangeType = table.Column<byte>(type: "smallint", nullable: false),
EntityTenantId = table.Column<Guid>(type: "uuid", nullable: true), EntityTenantId = table.Column<Guid>(type: "uuid", nullable: true),
EntityId = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: false), EntityId = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: false),

6
services/administration/src/EShopOnAbp.AdministrationService.EntityFrameworkCore/Migrations/AdministrationServiceDbContextModelSnapshot.cs

@ -78,7 +78,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("ExecutionDuration"); .HasColumnName("ExecutionDuration");
b.Property<DateTime>("ExecutionTime") b.Property<DateTime>("ExecutionTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -145,7 +145,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("ExecutionDuration"); .HasColumnName("ExecutionDuration");
b.Property<DateTime>("ExecutionTime") b.Property<DateTime>("ExecutionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("ExecutionTime"); .HasColumnName("ExecutionTime");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
@ -190,7 +190,7 @@ namespace EShopOnAbp.AdministrationService.Migrations
.HasColumnName("AuditLogId"); .HasColumnName("AuditLogId");
b.Property<DateTime>("ChangeTime") b.Property<DateTime>("ChangeTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("ChangeTime"); .HasColumnName("ChangeTime");
b.Property<byte>("ChangeType") b.Property<byte>("ChangeType")

58
services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211125125938_Initial.Designer.cs → services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20220119084201_Initial.Designer.cs

@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace EShopOnAbp.IdentityService.Migrations namespace EShopOnAbp.IdentityService.Migrations
{ {
[DbContext(typeof(IdentityServiceDbContext))] [DbContext(typeof(IdentityServiceDbContext))]
[Migration("20211125125938_Initial")] [Migration("20220119084201_Initial")]
partial class Initial partial class Initial
{ {
protected override void BuildTargetModel(ModelBuilder modelBuilder) protected override void BuildTargetModel(ModelBuilder modelBuilder)
@ -209,7 +209,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(64)"); .HasColumnType("character varying(64)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -265,7 +265,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -277,7 +277,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Email") b.Property<string>("Email")
@ -312,7 +312,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsExternal"); .HasColumnName("IsExternal");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -467,7 +467,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("uuid"); .HasColumnType("uuid");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -547,7 +547,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -559,7 +559,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("DisplayName") b.Property<string>("DisplayName")
@ -579,7 +579,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -611,7 +611,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("uuid"); .HasColumnType("uuid");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -645,7 +645,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -657,7 +657,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -682,7 +682,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -766,7 +766,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(1000)"); .HasColumnType("character varying(1000)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.HasKey("ApiResourceId", "Type", "Value"); b.HasKey("ApiResourceId", "Type", "Value");
@ -785,7 +785,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -797,7 +797,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -825,7 +825,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -953,7 +953,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("integer"); .HasColumnType("integer");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -965,7 +965,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -1005,7 +1005,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -1201,7 +1201,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(2000)"); .HasColumnType("character varying(2000)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.HasKey("ClientId", "Type", "Value"); b.HasKey("ClientId", "Type", "Value");
@ -1225,7 +1225,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -1248,7 +1248,7 @@ namespace EShopOnAbp.IdentityService.Migrations
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.IsRequired() .IsRequired()
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -1297,10 +1297,10 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime?>("ConsumedTime") b.Property<DateTime?>("ConsumedTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("Data") b.Property<string>("Data")
.IsRequired() .IsRequired()
@ -1312,7 +1312,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(200)"); .HasColumnType("character varying(200)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -1357,7 +1357,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -1369,7 +1369,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -1397,7 +1397,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")

56
services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211125125938_Initial.cs → services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20220119084201_Initial.cs

@ -55,13 +55,13 @@ namespace EShopOnAbp.IdentityService.Migrations
DisplayName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: false), DisplayName = table.Column<string>(type: "character varying(128)", maxLength: 128, nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -108,7 +108,7 @@ namespace EShopOnAbp.IdentityService.Migrations
CorrelationId = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true), CorrelationId = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true),
ClientIpAddress = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true), ClientIpAddress = table.Column<string>(type: "character varying(64)", maxLength: 64, nullable: true),
BrowserInfo = table.Column<string>(type: "character varying(512)", maxLength: 512, nullable: true), BrowserInfo = table.Column<string>(type: "character varying(512)", maxLength: 512, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true) ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true)
}, },
@ -142,13 +142,13 @@ namespace EShopOnAbp.IdentityService.Migrations
AccessFailedCount = table.Column<int>(type: "integer", nullable: false, defaultValue: 0), AccessFailedCount = table.Column<int>(type: "integer", nullable: false, defaultValue: 0),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -168,13 +168,13 @@ namespace EShopOnAbp.IdentityService.Migrations
ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false), ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -195,13 +195,13 @@ namespace EShopOnAbp.IdentityService.Migrations
ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false), ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -254,13 +254,13 @@ namespace EShopOnAbp.IdentityService.Migrations
DeviceCodeLifetime = table.Column<int>(type: "integer", nullable: false), DeviceCodeLifetime = table.Column<int>(type: "integer", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -278,11 +278,11 @@ namespace EShopOnAbp.IdentityService.Migrations
SessionId = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: true), SessionId = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: true),
ClientId = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: false), ClientId = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: false),
Description = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true), Description = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true),
Expiration = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), Expiration = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
Data = table.Column<string>(type: "character varying(50000)", maxLength: 50000, nullable: false), Data = table.Column<string>(type: "character varying(50000)", maxLength: 50000, nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true) CreatorId = table.Column<Guid>(type: "uuid", nullable: true)
}, },
constraints: table => constraints: table =>
@ -304,13 +304,13 @@ namespace EShopOnAbp.IdentityService.Migrations
ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false), ShowInDiscoveryDocument = table.Column<bool>(type: "boolean", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true), ConcurrencyStamp = table.Column<string>(type: "character varying(40)", maxLength: 40, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true), CreatorId = table.Column<Guid>(type: "uuid", nullable: true),
LastModificationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), LastModificationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
LastModifierId = table.Column<Guid>(type: "uuid", nullable: true), LastModifierId = table.Column<Guid>(type: "uuid", nullable: true),
IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false), IsDeleted = table.Column<bool>(type: "boolean", nullable: false, defaultValue: false),
DeleterId = table.Column<Guid>(type: "uuid", nullable: true), DeleterId = table.Column<Guid>(type: "uuid", nullable: true),
DeletionTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) DeletionTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -327,9 +327,9 @@ namespace EShopOnAbp.IdentityService.Migrations
SessionId = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: true), SessionId = table.Column<string>(type: "character varying(100)", maxLength: 100, nullable: true),
ClientId = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: false), ClientId = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: false),
Description = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true), Description = table.Column<string>(type: "character varying(200)", maxLength: 200, nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
Expiration = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), Expiration = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
ConsumedTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: true), ConsumedTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: true),
Data = table.Column<string>(type: "character varying(50000)", maxLength: 50000, nullable: false), Data = table.Column<string>(type: "character varying(50000)", maxLength: 50000, nullable: false),
Id = table.Column<Guid>(type: "uuid", nullable: false), Id = table.Column<Guid>(type: "uuid", nullable: false),
ExtraProperties = table.Column<string>(type: "text", nullable: true), ExtraProperties = table.Column<string>(type: "text", nullable: true),
@ -347,7 +347,7 @@ namespace EShopOnAbp.IdentityService.Migrations
RoleId = table.Column<Guid>(type: "uuid", nullable: false), RoleId = table.Column<Guid>(type: "uuid", nullable: false),
OrganizationUnitId = table.Column<Guid>(type: "uuid", nullable: false), OrganizationUnitId = table.Column<Guid>(type: "uuid", nullable: false),
TenantId = table.Column<Guid>(type: "uuid", nullable: true), TenantId = table.Column<Guid>(type: "uuid", nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true) CreatorId = table.Column<Guid>(type: "uuid", nullable: true)
}, },
constraints: table => constraints: table =>
@ -437,7 +437,7 @@ namespace EShopOnAbp.IdentityService.Migrations
UserId = table.Column<Guid>(type: "uuid", nullable: false), UserId = table.Column<Guid>(type: "uuid", nullable: false),
OrganizationUnitId = table.Column<Guid>(type: "uuid", nullable: false), OrganizationUnitId = table.Column<Guid>(type: "uuid", nullable: false),
TenantId = table.Column<Guid>(type: "uuid", nullable: true), TenantId = table.Column<Guid>(type: "uuid", nullable: true),
CreationTime = table.Column<DateTime>(type: "timestamp with time zone", nullable: false), CreationTime = table.Column<DateTime>(type: "timestamp without time zone", nullable: false),
CreatorId = table.Column<Guid>(type: "uuid", nullable: true) CreatorId = table.Column<Guid>(type: "uuid", nullable: true)
}, },
constraints: table => constraints: table =>
@ -566,7 +566,7 @@ namespace EShopOnAbp.IdentityService.Migrations
Value = table.Column<string>(type: "character varying(4000)", maxLength: 4000, nullable: false), Value = table.Column<string>(type: "character varying(4000)", maxLength: 4000, nullable: false),
ApiResourceId = table.Column<Guid>(type: "uuid", nullable: false), ApiResourceId = table.Column<Guid>(type: "uuid", nullable: false),
Description = table.Column<string>(type: "character varying(1000)", maxLength: 1000, nullable: true), Description = table.Column<string>(type: "character varying(1000)", maxLength: 1000, nullable: true),
Expiration = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) Expiration = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {
@ -770,7 +770,7 @@ namespace EShopOnAbp.IdentityService.Migrations
Value = table.Column<string>(type: "character varying(4000)", maxLength: 4000, nullable: false), Value = table.Column<string>(type: "character varying(4000)", maxLength: 4000, nullable: false),
ClientId = table.Column<Guid>(type: "uuid", nullable: false), ClientId = table.Column<Guid>(type: "uuid", nullable: false),
Description = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: true), Description = table.Column<string>(type: "character varying(2000)", maxLength: 2000, nullable: true),
Expiration = table.Column<DateTime>(type: "timestamp with time zone", nullable: true) Expiration = table.Column<DateTime>(type: "timestamp without time zone", nullable: true)
}, },
constraints: table => constraints: table =>
{ {

56
services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/IdentityServiceDbContextModelSnapshot.cs

@ -207,7 +207,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(64)"); .HasColumnType("character varying(64)");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -263,7 +263,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -275,7 +275,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Email") b.Property<string>("Email")
@ -310,7 +310,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsExternal"); .HasColumnName("IsExternal");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -465,7 +465,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("uuid"); .HasColumnType("uuid");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -545,7 +545,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -557,7 +557,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("DisplayName") b.Property<string>("DisplayName")
@ -577,7 +577,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -609,7 +609,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("uuid"); .HasColumnType("uuid");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -643,7 +643,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -655,7 +655,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -680,7 +680,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -764,7 +764,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(1000)"); .HasColumnType("character varying(1000)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.HasKey("ApiResourceId", "Type", "Value"); b.HasKey("ApiResourceId", "Type", "Value");
@ -783,7 +783,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -795,7 +795,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -823,7 +823,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -951,7 +951,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("integer"); .HasColumnType("integer");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -963,7 +963,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -1003,7 +1003,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")
@ -1199,7 +1199,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(2000)"); .HasColumnType("character varying(2000)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.HasKey("ClientId", "Type", "Value"); b.HasKey("ClientId", "Type", "Value");
@ -1223,7 +1223,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -1246,7 +1246,7 @@ namespace EShopOnAbp.IdentityService.Migrations
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.IsRequired() .IsRequired()
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -1295,10 +1295,10 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime?>("ConsumedTime") b.Property<DateTime?>("ConsumedTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("Data") b.Property<string>("Data")
.IsRequired() .IsRequired()
@ -1310,7 +1310,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnType("character varying(200)"); .HasColumnType("character varying(200)");
b.Property<DateTime?>("Expiration") b.Property<DateTime?>("Expiration")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<string>("ExtraProperties") b.Property<string>("ExtraProperties")
.HasColumnType("text") .HasColumnType("text")
@ -1355,7 +1355,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")
@ -1367,7 +1367,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("DeleterId"); .HasColumnName("DeleterId");
b.Property<DateTime?>("DeletionTime") b.Property<DateTime?>("DeletionTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("DeletionTime"); .HasColumnName("DeletionTime");
b.Property<string>("Description") b.Property<string>("Description")
@ -1395,7 +1395,7 @@ namespace EShopOnAbp.IdentityService.Migrations
.HasColumnName("IsDeleted"); .HasColumnName("IsDeleted");
b.Property<DateTime?>("LastModificationTime") b.Property<DateTime?>("LastModificationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("LastModificationTime"); .HasColumnName("LastModificationTime");
b.Property<Guid?>("LastModifierId") b.Property<Guid?>("LastModifierId")

208
services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/20220119084330_Npgsql_Time.Designer.cs

@ -0,0 +1,208 @@
// <auto-generated />
using System;
using EShopOnAbp.OrderingService.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Volo.Abp.EntityFrameworkCore;
#nullable disable
namespace EShopOnAbp.OrderingService.Migrations
{
[DbContext(typeof(OrderingServiceDbContext))]
[Migration("20220119084330_Npgsql_Time")]
partial class Npgsql_Time
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql)
.HasAnnotation("ProductVersion", "6.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.Order", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property<string>("ExtraProperties")
.HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property<DateTime>("OrderDate")
.HasColumnType("timestamp without time zone");
b.Property<int>("OrderNo")
.HasColumnType("integer");
b.Property<string>("PaymentMethod")
.IsRequired()
.HasMaxLength(128)
.HasColumnType("character varying(128)");
b.Property<Guid?>("PaymentRequestId")
.HasColumnType("uuid");
b.Property<string>("PaymentStatus")
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property<int>("_orderStatusId")
.HasColumnType("integer")
.HasColumnName("OrderStatusId");
b.HasKey("Id");
b.HasIndex("_orderStatusId");
b.ToTable("Orders", (string)null);
});
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.OrderItem", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<decimal>("Discount")
.HasColumnType("numeric");
b.Property<Guid>("OrderId")
.HasColumnType("uuid");
b.Property<string>("PictureUrl")
.HasColumnType("text");
b.Property<string>("ProductCode")
.IsRequired()
.HasColumnType("text");
b.Property<Guid>("ProductId")
.HasColumnType("uuid");
b.Property<string>("ProductName")
.IsRequired()
.HasColumnType("text");
b.Property<decimal>("UnitPrice")
.HasColumnType("numeric");
b.Property<int>("Units")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("OrderId");
b.ToTable("OrderItems", (string)null);
});
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.OrderStatus", b =>
{
b.Property<int>("Id")
.HasColumnType("integer")
.HasDefaultValue(1);
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.HasKey("Id");
b.ToTable("OrderStatus", (string)null);
});
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.Order", b =>
{
b.HasOne("EShopOnAbp.OrderingService.Orders.OrderStatus", "OrderStatus")
.WithMany()
.HasForeignKey("_orderStatusId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
b.OwnsOne("EShopOnAbp.OrderingService.Orders.Address", "Address", b1 =>
{
b1.Property<Guid>("OrderId")
.HasColumnType("uuid");
b1.Property<string>("City")
.HasColumnType("text");
b1.Property<string>("Country")
.HasColumnType("text");
b1.Property<string>("Description")
.HasColumnType("text");
b1.Property<string>("Street")
.HasColumnType("text");
b1.Property<string>("ZipCode")
.HasColumnType("text");
b1.HasKey("OrderId");
b1.ToTable("Orders");
b1.WithOwner()
.HasForeignKey("OrderId");
});
b.OwnsOne("EShopOnAbp.OrderingService.Orders.Buyer", "Buyer", b1 =>
{
b1.Property<Guid>("OrderId")
.HasColumnType("uuid");
b1.Property<string>("Email")
.HasColumnType("text");
b1.Property<Guid?>("Id")
.HasColumnType("uuid");
b1.Property<string>("Name")
.HasColumnType("text");
b1.HasKey("OrderId");
b1.ToTable("Orders");
b1.WithOwner()
.HasForeignKey("OrderId");
});
b.Navigation("Address");
b.Navigation("Buyer");
b.Navigation("OrderStatus");
});
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.OrderItem", b =>
{
b.HasOne("EShopOnAbp.OrderingService.Orders.Order", null)
.WithMany("OrderItems")
.HasForeignKey("OrderId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("EShopOnAbp.OrderingService.Orders.Order", b =>
{
b.Navigation("OrderItems");
});
#pragma warning restore 612, 618
}
}
}

32
services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/20220119084330_Npgsql_Time.cs

@ -0,0 +1,32 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace EShopOnAbp.OrderingService.Migrations
{
public partial class Npgsql_Time : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "OrderDate",
table: "Orders",
type: "timestamp without time zone",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "timestamp with time zone");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "OrderDate",
table: "Orders",
type: "timestamp with time zone",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone");
}
}
}

2
services/ordering/src/EShopOnAbp.OrderingService.EntityFrameworkCore/Migrations/OrderingServiceDbContextModelSnapshot.cs

@ -40,7 +40,7 @@ namespace EShopOnAbp.OrderingService.Migrations
.HasColumnName("ExtraProperties"); .HasColumnName("ExtraProperties");
b.Property<DateTime>("OrderDate") b.Property<DateTime>("OrderDate")
.HasColumnType("timestamp with time zone"); .HasColumnType("timestamp without time zone");
b.Property<int>("OrderNo") b.Property<int>("OrderNo")
.HasColumnType("integer"); .HasColumnType("integer");

140
services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/20220119084346_Npgsql_Time.Designer.cs

@ -0,0 +1,140 @@
// <auto-generated />
using System;
using EShopOnAbp.PaymentService.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Volo.Abp.EntityFrameworkCore;
#nullable disable
namespace EShopOnAbp.PaymentService.Migrations
{
[DbContext(typeof(PaymentServiceDbContext))]
[Migration("20220119084346_Npgsql_Time")]
partial class Npgsql_Time
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql)
.HasAnnotation("ProductVersion", "6.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 63);
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("EShopOnAbp.PaymentService.PaymentRequests.PaymentRequest", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<string>("BuyerId")
.HasColumnType("text");
b.Property<string>("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
.HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId")
.HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property<string>("Currency")
.IsRequired()
.HasMaxLength(3)
.HasColumnType("character varying(3)");
b.Property<string>("ExtraProperties")
.HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property<string>("FailReason")
.HasColumnType("text");
b.Property<bool>("IsDeleted")
.ValueGeneratedOnAdd()
.HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property<string>("OrderId")
.IsRequired()
.HasMaxLength(36)
.HasColumnType("character varying(36)");
b.Property<int>("OrderNo")
.HasColumnType("integer");
b.Property<int>("State")
.HasColumnType("integer");
b.HasKey("Id");
b.HasIndex("OrderId");
b.ToTable("PaymentRequests");
});
modelBuilder.Entity("EShopOnAbp.PaymentService.PaymentRequests.PaymentRequestProduct", b =>
{
b.Property<Guid>("Id")
.HasColumnType("uuid");
b.Property<string>("Code")
.IsRequired()
.HasMaxLength(32)
.HasColumnType("character varying(32)");
b.Property<string>("Name")
.IsRequired()
.HasMaxLength(256)
.HasColumnType("character varying(256)");
b.Property<Guid>("PaymentRequestId")
.HasColumnType("uuid");
b.Property<int>("Quantity")
.HasColumnType("integer");
b.Property<string>("ReferenceId")
.HasColumnType("text");
b.Property<decimal>("TotalPrice")
.HasColumnType("numeric");
b.Property<decimal>("UnitPrice")
.HasColumnType("numeric");
b.HasKey("Id");
b.HasIndex("PaymentRequestId");
b.ToTable("PaymentRequestProduct");
});
modelBuilder.Entity("EShopOnAbp.PaymentService.PaymentRequests.PaymentRequestProduct", b =>
{
b.HasOne("EShopOnAbp.PaymentService.PaymentRequests.PaymentRequest", null)
.WithMany("Products")
.HasForeignKey("PaymentRequestId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
});
modelBuilder.Entity("EShopOnAbp.PaymentService.PaymentRequests.PaymentRequest", b =>
{
b.Navigation("Products");
});
#pragma warning restore 612, 618
}
}
}

32
services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/20220119084346_Npgsql_Time.cs

@ -0,0 +1,32 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace EShopOnAbp.PaymentService.Migrations
{
public partial class Npgsql_Time : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "CreationTime",
table: "PaymentRequests",
type: "timestamp without time zone",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "timestamp with time zone");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<DateTime>(
name: "CreationTime",
table: "PaymentRequests",
type: "timestamp with time zone",
nullable: false,
oldClrType: typeof(DateTime),
oldType: "timestamp without time zone");
}
}
}

2
services/payment/src/EShopOnAbp.PaymentService.EntityFrameworkCore/Migrations/PaymentServiceDbContextModelSnapshot.cs

@ -39,7 +39,7 @@ namespace EShopOnAbp.PaymentService.Migrations
.HasColumnName("ConcurrencyStamp"); .HasColumnName("ConcurrencyStamp");
b.Property<DateTime>("CreationTime") b.Property<DateTime>("CreationTime")
.HasColumnType("timestamp with time zone") .HasColumnType("timestamp without time zone")
.HasColumnName("CreationTime"); .HasColumnName("CreationTime");
b.Property<Guid?>("CreatorId") b.Property<Guid?>("CreatorId")

Loading…
Cancel
Save