diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj
index b10c609a..835acce1 100644
--- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj
+++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EShopOnAbp.IdentityService.EntityFrameworkCore.csproj
@@ -16,7 +16,7 @@
-
+
diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContextFactory.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContextFactory.cs
index 26113817..d6a1a616 100644
--- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContextFactory.cs
+++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceDbContextFactory.cs
@@ -15,7 +15,7 @@ namespace EShopOnAbp.IdentityService.EntityFrameworkCore
IdentityServiceEfCoreEntityExtensionMappings.Configure();
var builder = new DbContextOptionsBuilder()
- .UseSqlServer(GetConnectionStringFromConfiguration(), b =>
+ .UseNpgsql(GetConnectionStringFromConfiguration(), b =>
{
b.MigrationsHistoryTable("__IdentityService_Migrations");
});
diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceEntityFrameworkCoreModule.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceEntityFrameworkCoreModule.cs
index 8008c0f0..e5b0ac95 100644
--- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceEntityFrameworkCoreModule.cs
+++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/EntityFrameworkCore/IdentityServiceEntityFrameworkCoreModule.cs
@@ -1,6 +1,6 @@
using Microsoft.Extensions.DependencyInjection;
using Volo.Abp.EntityFrameworkCore;
-using Volo.Abp.EntityFrameworkCore.SqlServer;
+using Volo.Abp.EntityFrameworkCore.PostgreSql;
using Volo.Abp.Identity.EntityFrameworkCore;
using Volo.Abp.IdentityServer.EntityFrameworkCore;
using Volo.Abp.Modularity;
@@ -9,7 +9,7 @@ namespace EShopOnAbp.IdentityService.EntityFrameworkCore
{
[DependsOn(
typeof(IdentityServiceDomainModule),
- typeof(AbpEntityFrameworkCoreSqlServerModule),
+ typeof(AbpEntityFrameworkCorePostgreSqlModule),
typeof(AbpIdentityEntityFrameworkCoreModule),
typeof(AbpIdentityServerEntityFrameworkCoreModule)
)]
@@ -34,7 +34,7 @@ namespace EShopOnAbp.IdentityService.EntityFrameworkCore
{
options.Configure(c =>
{
- c.UseSqlServer(b => { b.MigrationsHistoryTable("__IdentityService_Migrations"); });
+ c.UseNpgsql(b => { b.MigrationsHistoryTable("__IdentityService_Migrations"); });
});
});
}
diff --git a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211006102143_Initial.Designer.cs b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211125125938_Initial.Designer.cs
similarity index 76%
rename from services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211006102143_Initial.Designer.cs
rename to services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211125125938_Initial.Designer.cs
index 14e60231..a07ea510 100644
--- a/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211006102143_Initial.Designer.cs
+++ b/services/identity/src/EShopOnAbp.IdentityService.EntityFrameworkCore/Migrations/20211125125938_Initial.Designer.cs
@@ -3,9 +3,9 @@ using System;
using EShopOnAbp.IdentityService.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
-using Microsoft.EntityFrameworkCore.Metadata;
using Microsoft.EntityFrameworkCore.Migrations;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
+using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Volo.Abp.EntityFrameworkCore;
#nullable disable
@@ -13,59 +13,59 @@ using Volo.Abp.EntityFrameworkCore;
namespace EShopOnAbp.IdentityService.Migrations
{
[DbContext(typeof(IdentityServiceDbContext))]
- [Migration("20211006102143_Initial")]
+ [Migration("20211125125938_Initial")]
partial class Initial
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
- .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "6.0.0-rc.1.21452.10")
- .HasAnnotation("Relational:MaxIdentifierLength", 128);
+ .HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql)
+ .HasAnnotation("ProductVersion", "6.0.0")
+ .HasAnnotation("Relational:MaxIdentifierLength", 63);
- SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1);
+ NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder);
modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("Description")
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsStatic")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("Name")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("Regex")
.HasMaxLength(512)
- .HasColumnType("nvarchar(512)");
+ .HasColumnType("character varying(512)");
b.Property("RegexDescription")
.HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
+ .HasColumnType("character varying(128)");
b.Property("Required")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("ValueType")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.HasKey("Id");
@@ -75,25 +75,24 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("SourceTenantId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("SourceUserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("TargetTenantId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("TargetUserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.HasKey("Id");
b.HasIndex("SourceUserId", "SourceTenantId", "TargetUserId", "TargetTenantId")
- .IsUnique()
- .HasFilter("[SourceTenantId] IS NOT NULL AND [TargetTenantId] IS NOT NULL");
+ .IsUnique();
b.ToTable("AbpLinkUsers", (string)null);
});
@@ -101,42 +100,42 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsDefault")
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasColumnName("IsDefault");
b.Property("IsPublic")
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasColumnName("IsPublic");
b.Property("IsStatic")
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasColumnName("IsStatic");
b.Property("Name")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("NormalizedName")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("Id");
@@ -149,22 +148,22 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityRoleClaim", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ClaimType")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("ClaimValue")
.HasMaxLength(1024)
- .HasColumnType("nvarchar(1024)");
+ .HasColumnType("character varying(1024)");
b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("Id");
@@ -177,63 +176,63 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Action")
.HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
+ .HasColumnType("character varying(96)");
b.Property("ApplicationName")
.HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
+ .HasColumnType("character varying(96)");
b.Property("BrowserInfo")
.HasMaxLength(512)
- .HasColumnType("nvarchar(512)");
+ .HasColumnType("character varying(512)");
b.Property("ClientId")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("ClientIpAddress")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CorrelationId")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("CreationTime")
- .HasColumnType("datetime2");
+ .HasColumnType("timestamp with time zone");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("Identity")
.HasMaxLength(96)
- .HasColumnType("nvarchar(96)");
+ .HasColumnType("character varying(96)");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.Property("TenantName")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("UserName")
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.HasKey("Id");
@@ -251,142 +250,142 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("AccessFailedCount")
.ValueGeneratedOnAdd()
- .HasColumnType("int")
+ .HasColumnType("integer")
.HasDefaultValue(0)
.HasColumnName("AccessFailedCount");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("DeletionTime");
b.Property("Email")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("Email");
b.Property("EmailConfirmed")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("EmailConfirmed");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsActive")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("IsExternal")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsExternal");
b.Property("LastModificationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("LastModifierId");
b.Property("LockoutEnabled")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("LockoutEnabled");
b.Property("LockoutEnd")
- .HasColumnType("datetimeoffset");
+ .HasColumnType("timestamp with time zone");
b.Property("Name")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
+ .HasColumnType("character varying(64)")
.HasColumnName("Name");
b.Property("NormalizedEmail")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("NormalizedEmail");
b.Property("NormalizedUserName")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("NormalizedUserName");
b.Property("PasswordHash")
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("PasswordHash");
b.Property("PhoneNumber")
.HasMaxLength(16)
- .HasColumnType("nvarchar(16)")
+ .HasColumnType("character varying(16)")
.HasColumnName("PhoneNumber");
b.Property("PhoneNumberConfirmed")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("PhoneNumberConfirmed");
b.Property("SecurityStamp")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("SecurityStamp");
b.Property("Surname")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)")
+ .HasColumnType("character varying(64)")
.HasColumnName("Surname");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.Property("TwoFactorEnabled")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("TwoFactorEnabled");
b.Property("UserName")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)")
+ .HasColumnType("character varying(256)")
.HasColumnName("UserName");
b.HasKey("Id");
@@ -405,23 +404,23 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserClaim", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ClaimType")
.IsRequired()
.HasMaxLength(256)
- .HasColumnType("nvarchar(256)");
+ .HasColumnType("character varying(256)");
b.Property("ClaimValue")
.HasMaxLength(1024)
- .HasColumnType("nvarchar(1024)");
+ .HasColumnType("character varying(1024)");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.HasKey("Id");
@@ -433,23 +432,23 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("LoginProvider")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("ProviderDisplayName")
.HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
+ .HasColumnType("character varying(128)");
b.Property("ProviderKey")
.IsRequired()
.HasMaxLength(196)
- .HasColumnType("nvarchar(196)");
+ .HasColumnType("character varying(196)");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("UserId", "LoginProvider");
@@ -462,21 +461,21 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserOrganizationUnit", b =>
{
b.Property("OrganizationUnitId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("OrganizationUnitId", "UserId");
@@ -489,13 +488,13 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserRole", b =>
{
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("UserId", "RoleId");
@@ -508,22 +507,22 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserToken", b =>
{
b.Property("UserId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("LoginProvider")
.HasMaxLength(64)
- .HasColumnType("nvarchar(64)");
+ .HasColumnType("character varying(64)");
b.Property("Name")
.HasMaxLength(128)
- .HasColumnType("nvarchar(128)");
+ .HasColumnType("character varying(128)");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.Property("Value")
- .HasColumnType("nvarchar(max)");
+ .HasColumnType("text");
b.HasKey("UserId", "LoginProvider", "Name");
@@ -533,65 +532,65 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Code")
.IsRequired()
.HasMaxLength(95)
- .HasColumnType("nvarchar(95)")
+ .HasColumnType("character varying(95)")
.HasColumnName("Code");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("DeletionTime");
b.Property("DisplayName")
.IsRequired()
.HasMaxLength(128)
- .HasColumnType("nvarchar(128)")
+ .HasColumnType("character varying(128)")
.HasColumnName("DisplayName");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("LastModifierId");
b.Property("ParentId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("Id");
@@ -606,21 +605,21 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnitRole", b =>
{
b.Property("OrganizationUnitId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("RoleId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("TenantId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("TenantId");
b.HasKey("OrganizationUnitId", "RoleId");
@@ -633,70 +632,70 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResource", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("AllowedAccessTokenSigningAlgorithms")
.HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
+ .HasColumnType("character varying(100)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("DeletionTime");
b.Property("Description")
.HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
+ .HasColumnType("character varying(1000)");
b.Property("DisplayName")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("Enabled")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ShowInDiscoveryDocument")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.HasKey("Id");
@@ -706,11 +705,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceClaim", b =>
{
b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Type")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("ApiResourceId", "Type");
@@ -720,15 +719,15 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceProperty", b =>
{
b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Key")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.HasKey("ApiResourceId", "Key", "Value");
@@ -738,11 +737,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceScope", b =>
{
b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Scope")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("ApiResourceId", "Scope");
@@ -752,22 +751,22 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiResources.ApiResourceSecret", b =>
{
b.Property("ApiResourceId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Type")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(4000)
- .HasColumnType("nvarchar(4000)");
+ .HasColumnType("character varying(4000)");
b.Property("Description")
.HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
+ .HasColumnType("character varying(1000)");
b.Property("Expiration")
- .HasColumnType("datetime2");
+ .HasColumnType("timestamp with time zone");
b.HasKey("ApiResourceId", "Type", "Value");
@@ -777,72 +776,72 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScope", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("DeletionTime");
b.Property("Description")
.HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
+ .HasColumnType("character varying(1000)");
b.Property("DisplayName")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("Emphasize")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("Enabled")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("LastModifierId");
b.Property("Name")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("Required")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("ShowInDiscoveryDocument")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.HasKey("Id");
@@ -852,11 +851,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeClaim", b =>
{
b.Property("ApiScopeId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Type")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("ApiScopeId", "Type");
@@ -866,15 +865,15 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.ApiScopes.ApiScopeProperty", b =>
{
b.Property("ApiScopeId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Key")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.HasKey("ApiScopeId", "Key", "Value");
@@ -884,178 +883,178 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.Client", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("AbsoluteRefreshTokenLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("AccessTokenLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("AccessTokenType")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("AllowAccessTokensViaBrowser")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AllowOfflineAccess")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AllowPlainTextPkce")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AllowRememberConsent")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AllowedIdentityTokenSigningAlgorithms")
.HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
+ .HasColumnType("character varying(100)");
b.Property("AlwaysIncludeUserClaimsInIdToken")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AlwaysSendClientClaims")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("AuthorizationCodeLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("BackChannelLogoutSessionRequired")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("BackChannelLogoutUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.Property("ClientClaimsPrefix")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ClientId")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ClientName")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ClientUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("ConsentLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("DeleterId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("DeleterId");
b.Property("DeletionTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("DeletionTime");
b.Property("Description")
.HasMaxLength(1000)
- .HasColumnType("nvarchar(1000)");
+ .HasColumnType("character varying(1000)");
b.Property("DeviceCodeLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("EnableLocalLogin")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("Enabled")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("FrontChannelLogoutSessionRequired")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("FrontChannelLogoutUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.Property("IdentityTokenLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("IncludeJwtId")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("IsDeleted")
.ValueGeneratedOnAdd()
- .HasColumnType("bit")
+ .HasColumnType("boolean")
.HasDefaultValue(false)
.HasColumnName("IsDeleted");
b.Property("LastModificationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("LastModificationTime");
b.Property("LastModifierId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("LastModifierId");
b.Property("LogoUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.Property("PairWiseSubjectSalt")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ProtocolType")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("RefreshTokenExpiration")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("RefreshTokenUsage")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("RequireClientSecret")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("RequireConsent")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("RequirePkce")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("RequireRequestObject")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("SlidingRefreshTokenLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.Property("UpdateAccessTokenClaimsOnRefresh")
- .HasColumnType("bit");
+ .HasColumnType("boolean");
b.Property("UserCodeType")
.HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
+ .HasColumnType("character varying(100)");
b.Property("UserSsoLifetime")
- .HasColumnType("int");
+ .HasColumnType("integer");
b.HasKey("Id");
@@ -1067,15 +1066,15 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientClaim", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Type")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.HasKey("ClientId", "Type", "Value");
@@ -1085,11 +1084,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientCorsOrigin", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Origin")
.HasMaxLength(150)
- .HasColumnType("nvarchar(150)");
+ .HasColumnType("character varying(150)");
b.HasKey("ClientId", "Origin");
@@ -1099,11 +1098,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientGrantType", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("GrantType")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.HasKey("ClientId", "GrantType");
@@ -1113,11 +1112,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientIdPRestriction", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Provider")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("ClientId", "Provider");
@@ -1127,11 +1126,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientPostLogoutRedirectUri", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("PostLogoutRedirectUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.HasKey("ClientId", "PostLogoutRedirectUri");
@@ -1141,15 +1140,15 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientProperty", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Key")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.HasKey("ClientId", "Key", "Value");
@@ -1159,11 +1158,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientRedirectUri", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("RedirectUri")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.HasKey("ClientId", "RedirectUri");
@@ -1173,11 +1172,11 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientScope", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Scope")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("ClientId", "Scope");
@@ -1187,22 +1186,22 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Clients.ClientSecret", b =>
{
b.Property("ClientId")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("Type")
.HasMaxLength(250)
- .HasColumnType("nvarchar(250)");
+ .HasColumnType("character varying(250)");
b.Property("Value")
.HasMaxLength(4000)
- .HasColumnType("nvarchar(4000)");
+ .HasColumnType("character varying(4000)");
b.Property("Description")
.HasMaxLength(2000)
- .HasColumnType("nvarchar(2000)");
+ .HasColumnType("character varying(2000)");
b.Property("Expiration")
- .HasColumnType("datetime2");
+ .HasColumnType("timestamp with time zone");
b.HasKey("ClientId", "Type", "Value");
@@ -1212,61 +1211,61 @@ namespace EShopOnAbp.IdentityService.Migrations
modelBuilder.Entity("Volo.Abp.IdentityServer.Devices.DeviceFlowCodes", b =>
{
b.Property("Id")
- .HasColumnType("uniqueidentifier");
+ .HasColumnType("uuid");
b.Property("ClientId")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property("CreationTime")
- .HasColumnType("datetime2")
+ .HasColumnType("timestamp with time zone")
.HasColumnName("CreationTime");
b.Property("CreatorId")
- .HasColumnType("uniqueidentifier")
+ .HasColumnType("uuid")
.HasColumnName("CreatorId");
b.Property("Data")
.IsRequired()
.HasMaxLength(50000)
- .HasColumnType("nvarchar(max)");
+ .HasColumnType("character varying(50000)");
b.Property("Description")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("DeviceCode")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("Expiration")
.IsRequired()
- .HasColumnType("datetime2");
+ .HasColumnType("timestamp with time zone");
b.Property("ExtraProperties")
- .HasColumnType("nvarchar(max)")
+ .HasColumnType("text")
.HasColumnName("ExtraProperties");
b.Property("SessionId")
.HasMaxLength(100)
- .HasColumnType("nvarchar(100)");
+ .HasColumnType("character varying(100)");
b.Property("SubjectId")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("UserCode")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.HasKey("Id");
@@ -1284,56 +1283,56 @@ namespace EShopOnAbp.IdentityService.Migrations
{
b.Property("Key")
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ClientId")
.IsRequired()
.HasMaxLength(200)
- .HasColumnType("nvarchar(200)");
+ .HasColumnType("character varying(200)");
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
.HasMaxLength(40)
- .HasColumnType("nvarchar(40)")
+ .HasColumnType("character varying(40)")
.HasColumnName("ConcurrencyStamp");
b.Property