|
|
@ -3,9 +3,9 @@ using System; |
|
|
using EShopOnAbp.AdministrationService.EntityFrameworkCore; |
|
|
using EShopOnAbp.AdministrationService.EntityFrameworkCore; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
using Microsoft.EntityFrameworkCore; |
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
using Microsoft.EntityFrameworkCore.Infrastructure; |
|
|
using Microsoft.EntityFrameworkCore.Metadata; |
|
|
|
|
|
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
using Microsoft.EntityFrameworkCore.Migrations; |
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
|
|
using Microsoft.EntityFrameworkCore.Storage.ValueConversion; |
|
|
|
|
|
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata; |
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
using Volo.Abp.EntityFrameworkCore; |
|
|
|
|
|
|
|
|
#nullable disable |
|
|
#nullable disable |
|
|
@ -13,115 +13,115 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
namespace EShopOnAbp.AdministrationService.Migrations |
|
|
namespace EShopOnAbp.AdministrationService.Migrations |
|
|
{ |
|
|
{ |
|
|
[DbContext(typeof(AdministrationServiceDbContext))] |
|
|
[DbContext(typeof(AdministrationServiceDbContext))] |
|
|
[Migration("20211006102113_Initial")] |
|
|
[Migration("20211125123421_Initial")] |
|
|
partial class Initial |
|
|
partial class Initial |
|
|
{ |
|
|
{ |
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
|
|
protected override void BuildTargetModel(ModelBuilder modelBuilder) |
|
|
{ |
|
|
{ |
|
|
#pragma warning disable 612, 618
|
|
|
#pragma warning disable 612, 618
|
|
|
modelBuilder |
|
|
modelBuilder |
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer) |
|
|
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.PostgreSql) |
|
|
.HasAnnotation("ProductVersion", "6.0.0-rc.1.21452.10") |
|
|
.HasAnnotation("ProductVersion", "6.0.0") |
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 128); |
|
|
.HasAnnotation("Relational:MaxIdentifierLength", 63); |
|
|
|
|
|
|
|
|
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder, 1L, 1); |
|
|
NpgsqlModelBuilderExtensions.UseIdentityByDefaultColumns(modelBuilder); |
|
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLog", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("ApplicationName") |
|
|
b.Property<string>("ApplicationName") |
|
|
.HasMaxLength(96) |
|
|
.HasMaxLength(96) |
|
|
.HasColumnType("nvarchar(96)") |
|
|
.HasColumnType("character varying(96)") |
|
|
.HasColumnName("ApplicationName"); |
|
|
.HasColumnName("ApplicationName"); |
|
|
|
|
|
|
|
|
b.Property<string>("BrowserInfo") |
|
|
b.Property<string>("BrowserInfo") |
|
|
.HasMaxLength(512) |
|
|
.HasMaxLength(512) |
|
|
.HasColumnType("nvarchar(512)") |
|
|
.HasColumnType("character varying(512)") |
|
|
.HasColumnName("BrowserInfo"); |
|
|
.HasColumnName("BrowserInfo"); |
|
|
|
|
|
|
|
|
b.Property<string>("ClientId") |
|
|
b.Property<string>("ClientId") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)") |
|
|
.HasColumnType("character varying(64)") |
|
|
.HasColumnName("ClientId"); |
|
|
.HasColumnName("ClientId"); |
|
|
|
|
|
|
|
|
b.Property<string>("ClientIpAddress") |
|
|
b.Property<string>("ClientIpAddress") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)") |
|
|
.HasColumnType("character varying(64)") |
|
|
.HasColumnName("ClientIpAddress"); |
|
|
.HasColumnName("ClientIpAddress"); |
|
|
|
|
|
|
|
|
b.Property<string>("ClientName") |
|
|
b.Property<string>("ClientName") |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)") |
|
|
.HasColumnType("character varying(128)") |
|
|
.HasColumnName("ClientName"); |
|
|
.HasColumnName("ClientName"); |
|
|
|
|
|
|
|
|
b.Property<string>("Comments") |
|
|
b.Property<string>("Comments") |
|
|
.HasMaxLength(256) |
|
|
.HasMaxLength(256) |
|
|
.HasColumnType("nvarchar(256)") |
|
|
.HasColumnType("character varying(256)") |
|
|
.HasColumnName("Comments"); |
|
|
.HasColumnName("Comments"); |
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
.IsConcurrencyToken() |
|
|
.IsConcurrencyToken() |
|
|
.HasMaxLength(40) |
|
|
.HasMaxLength(40) |
|
|
.HasColumnType("nvarchar(40)") |
|
|
.HasColumnType("character varying(40)") |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
b.Property<string>("CorrelationId") |
|
|
b.Property<string>("CorrelationId") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)") |
|
|
.HasColumnType("character varying(64)") |
|
|
.HasColumnName("CorrelationId"); |
|
|
.HasColumnName("CorrelationId"); |
|
|
|
|
|
|
|
|
b.Property<string>("Exceptions") |
|
|
b.Property<string>("Exceptions") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("text"); |
|
|
|
|
|
|
|
|
b.Property<int>("ExecutionDuration") |
|
|
b.Property<int>("ExecutionDuration") |
|
|
.HasColumnType("int") |
|
|
.HasColumnType("integer") |
|
|
.HasColumnName("ExecutionDuration"); |
|
|
.HasColumnName("ExecutionDuration"); |
|
|
|
|
|
|
|
|
b.Property<DateTime>("ExecutionTime") |
|
|
b.Property<DateTime>("ExecutionTime") |
|
|
.HasColumnType("datetime2"); |
|
|
.HasColumnType("timestamp with time zone"); |
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("text") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("HttpMethod") |
|
|
b.Property<string>("HttpMethod") |
|
|
.HasMaxLength(16) |
|
|
.HasMaxLength(16) |
|
|
.HasColumnType("nvarchar(16)") |
|
|
.HasColumnType("character varying(16)") |
|
|
.HasColumnName("HttpMethod"); |
|
|
.HasColumnName("HttpMethod"); |
|
|
|
|
|
|
|
|
b.Property<int?>("HttpStatusCode") |
|
|
b.Property<int?>("HttpStatusCode") |
|
|
.HasColumnType("int") |
|
|
.HasColumnType("integer") |
|
|
.HasColumnName("HttpStatusCode"); |
|
|
.HasColumnName("HttpStatusCode"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("ImpersonatorTenantId") |
|
|
b.Property<Guid?>("ImpersonatorTenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("ImpersonatorTenantId"); |
|
|
.HasColumnName("ImpersonatorTenantId"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("ImpersonatorUserId") |
|
|
b.Property<Guid?>("ImpersonatorUserId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("ImpersonatorUserId"); |
|
|
.HasColumnName("ImpersonatorUserId"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.Property<string>("TenantName") |
|
|
b.Property<string>("TenantName") |
|
|
.HasColumnType("nvarchar(max)"); |
|
|
.HasColumnType("text"); |
|
|
|
|
|
|
|
|
b.Property<string>("Url") |
|
|
b.Property<string>("Url") |
|
|
.HasMaxLength(256) |
|
|
.HasMaxLength(256) |
|
|
.HasColumnType("nvarchar(256)") |
|
|
.HasColumnType("character varying(256)") |
|
|
.HasColumnName("Url"); |
|
|
.HasColumnName("Url"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("UserId") |
|
|
b.Property<Guid?>("UserId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("UserId"); |
|
|
.HasColumnName("UserId"); |
|
|
|
|
|
|
|
|
b.Property<string>("UserName") |
|
|
b.Property<string>("UserName") |
|
|
.HasMaxLength(256) |
|
|
.HasMaxLength(256) |
|
|
.HasColumnType("nvarchar(256)") |
|
|
.HasColumnType("character varying(256)") |
|
|
.HasColumnName("UserName"); |
|
|
.HasColumnName("UserName"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -136,41 +136,41 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.AuditLogAction", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("AuditLogId") |
|
|
b.Property<Guid>("AuditLogId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("AuditLogId"); |
|
|
.HasColumnName("AuditLogId"); |
|
|
|
|
|
|
|
|
b.Property<int>("ExecutionDuration") |
|
|
b.Property<int>("ExecutionDuration") |
|
|
.HasColumnType("int") |
|
|
.HasColumnType("integer") |
|
|
.HasColumnName("ExecutionDuration"); |
|
|
.HasColumnName("ExecutionDuration"); |
|
|
|
|
|
|
|
|
b.Property<DateTime>("ExecutionTime") |
|
|
b.Property<DateTime>("ExecutionTime") |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnType("timestamp with time zone") |
|
|
.HasColumnName("ExecutionTime"); |
|
|
.HasColumnName("ExecutionTime"); |
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("text") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("MethodName") |
|
|
b.Property<string>("MethodName") |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)") |
|
|
.HasColumnType("character varying(128)") |
|
|
.HasColumnName("MethodName"); |
|
|
.HasColumnName("MethodName"); |
|
|
|
|
|
|
|
|
b.Property<string>("Parameters") |
|
|
b.Property<string>("Parameters") |
|
|
.HasMaxLength(2000) |
|
|
.HasMaxLength(2000) |
|
|
.HasColumnType("nvarchar(2000)") |
|
|
.HasColumnType("character varying(2000)") |
|
|
.HasColumnName("Parameters"); |
|
|
.HasColumnName("Parameters"); |
|
|
|
|
|
|
|
|
b.Property<string>("ServiceName") |
|
|
b.Property<string>("ServiceName") |
|
|
.HasMaxLength(256) |
|
|
.HasMaxLength(256) |
|
|
.HasColumnType("nvarchar(256)") |
|
|
.HasColumnType("character varying(256)") |
|
|
.HasColumnName("ServiceName"); |
|
|
.HasColumnName("ServiceName"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -185,41 +185,41 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityChange", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("AuditLogId") |
|
|
b.Property<Guid>("AuditLogId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("AuditLogId"); |
|
|
.HasColumnName("AuditLogId"); |
|
|
|
|
|
|
|
|
b.Property<DateTime>("ChangeTime") |
|
|
b.Property<DateTime>("ChangeTime") |
|
|
.HasColumnType("datetime2") |
|
|
.HasColumnType("timestamp with time zone") |
|
|
.HasColumnName("ChangeTime"); |
|
|
.HasColumnName("ChangeTime"); |
|
|
|
|
|
|
|
|
b.Property<byte>("ChangeType") |
|
|
b.Property<byte>("ChangeType") |
|
|
.HasColumnType("tinyint") |
|
|
.HasColumnType("smallint") |
|
|
.HasColumnName("ChangeType"); |
|
|
.HasColumnName("ChangeType"); |
|
|
|
|
|
|
|
|
b.Property<string>("EntityId") |
|
|
b.Property<string>("EntityId") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)") |
|
|
.HasColumnType("character varying(128)") |
|
|
.HasColumnName("EntityId"); |
|
|
.HasColumnName("EntityId"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("EntityTenantId") |
|
|
b.Property<Guid?>("EntityTenantId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("EntityTypeFullName") |
|
|
b.Property<string>("EntityTypeFullName") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)") |
|
|
.HasColumnType("character varying(128)") |
|
|
.HasColumnName("EntityTypeFullName"); |
|
|
.HasColumnName("EntityTypeFullName"); |
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("text") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -234,35 +234,35 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => |
|
|
modelBuilder.Entity("Volo.Abp.AuditLogging.EntityPropertyChange", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("EntityChangeId") |
|
|
b.Property<Guid>("EntityChangeId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("NewValue") |
|
|
b.Property<string>("NewValue") |
|
|
.HasMaxLength(512) |
|
|
.HasMaxLength(512) |
|
|
.HasColumnType("nvarchar(512)") |
|
|
.HasColumnType("character varying(512)") |
|
|
.HasColumnName("NewValue"); |
|
|
.HasColumnName("NewValue"); |
|
|
|
|
|
|
|
|
b.Property<string>("OriginalValue") |
|
|
b.Property<string>("OriginalValue") |
|
|
.HasMaxLength(512) |
|
|
.HasMaxLength(512) |
|
|
.HasColumnType("nvarchar(512)") |
|
|
.HasColumnType("character varying(512)") |
|
|
.HasColumnName("OriginalValue"); |
|
|
.HasColumnName("OriginalValue"); |
|
|
|
|
|
|
|
|
b.Property<string>("PropertyName") |
|
|
b.Property<string>("PropertyName") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)") |
|
|
.HasColumnType("character varying(128)") |
|
|
.HasColumnName("PropertyName"); |
|
|
.HasColumnName("PropertyName"); |
|
|
|
|
|
|
|
|
b.Property<string>("PropertyTypeFullName") |
|
|
b.Property<string>("PropertyTypeFullName") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)") |
|
|
.HasColumnType("character varying(64)") |
|
|
.HasColumnName("PropertyTypeFullName"); |
|
|
.HasColumnName("PropertyTypeFullName"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -275,32 +275,32 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b => |
|
|
modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlob", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
.IsConcurrencyToken() |
|
|
.IsConcurrencyToken() |
|
|
.HasMaxLength(40) |
|
|
.HasMaxLength(40) |
|
|
.HasColumnType("nvarchar(40)") |
|
|
.HasColumnType("character varying(40)") |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
b.Property<Guid>("ContainerId") |
|
|
b.Property<Guid>("ContainerId") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<byte[]>("Content") |
|
|
b.Property<byte[]>("Content") |
|
|
.HasMaxLength(2147483647) |
|
|
.HasMaxLength(2147483647) |
|
|
.HasColumnType("varbinary(max)"); |
|
|
.HasColumnType("bytea"); |
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("text") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
b.Property<string>("Name") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(256) |
|
|
.HasMaxLength(256) |
|
|
.HasColumnType("nvarchar(256)"); |
|
|
.HasColumnType("character varying(256)"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -315,25 +315,25 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlobContainer", b => |
|
|
modelBuilder.Entity("Volo.Abp.BlobStoring.Database.DatabaseBlobContainer", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
.IsConcurrencyToken() |
|
|
.IsConcurrencyToken() |
|
|
.HasMaxLength(40) |
|
|
.HasMaxLength(40) |
|
|
.HasColumnType("nvarchar(40)") |
|
|
.HasColumnType("character varying(40)") |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
b.Property<string>("ExtraProperties") |
|
|
.HasColumnType("nvarchar(max)") |
|
|
.HasColumnType("text") |
|
|
.HasColumnName("ExtraProperties"); |
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
b.Property<string>("Name") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)"); |
|
|
.HasColumnType("character varying(128)"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
@ -346,29 +346,30 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b => |
|
|
modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureValue", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
b.Property<string>("Name") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)"); |
|
|
.HasColumnType("character varying(128)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderKey") |
|
|
b.Property<string>("ProviderKey") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderName") |
|
|
b.Property<string>("ProviderName") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<string>("Value") |
|
|
b.Property<string>("Value") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)"); |
|
|
.HasColumnType("character varying(128)"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey") |
|
|
|
|
|
.IsUnique(); |
|
|
|
|
|
|
|
|
b.ToTable("AbpFeatureValues", (string)null); |
|
|
b.ToTable("AbpFeatureValues", (string)null); |
|
|
}); |
|
|
}); |
|
|
@ -376,30 +377,31 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b => |
|
|
modelBuilder.Entity("Volo.Abp.PermissionManagement.PermissionGrant", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
b.Property<string>("Name") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)"); |
|
|
.HasColumnType("character varying(128)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderKey") |
|
|
b.Property<string>("ProviderKey") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderName") |
|
|
b.Property<string>("ProviderName") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<Guid?>("TenantId") |
|
|
b.Property<Guid?>("TenantId") |
|
|
.HasColumnType("uniqueidentifier") |
|
|
.HasColumnType("uuid") |
|
|
.HasColumnName("TenantId"); |
|
|
.HasColumnName("TenantId"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
b.HasIndex("TenantId", "Name", "ProviderName", "ProviderKey") |
|
|
|
|
|
.IsUnique(); |
|
|
|
|
|
|
|
|
b.ToTable("AbpPermissionGrants", (string)null); |
|
|
b.ToTable("AbpPermissionGrants", (string)null); |
|
|
}); |
|
|
}); |
|
|
@ -407,29 +409,30 @@ namespace EShopOnAbp.AdministrationService.Migrations |
|
|
modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b => |
|
|
modelBuilder.Entity("Volo.Abp.SettingManagement.Setting", b => |
|
|
{ |
|
|
{ |
|
|
b.Property<Guid>("Id") |
|
|
b.Property<Guid>("Id") |
|
|
.HasColumnType("uniqueidentifier"); |
|
|
.HasColumnType("uuid"); |
|
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
b.Property<string>("Name") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(128) |
|
|
.HasMaxLength(128) |
|
|
.HasColumnType("nvarchar(128)"); |
|
|
.HasColumnType("character varying(128)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderKey") |
|
|
b.Property<string>("ProviderKey") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<string>("ProviderName") |
|
|
b.Property<string>("ProviderName") |
|
|
.HasMaxLength(64) |
|
|
.HasMaxLength(64) |
|
|
.HasColumnType("nvarchar(64)"); |
|
|
.HasColumnType("character varying(64)"); |
|
|
|
|
|
|
|
|
b.Property<string>("Value") |
|
|
b.Property<string>("Value") |
|
|
.IsRequired() |
|
|
.IsRequired() |
|
|
.HasMaxLength(2048) |
|
|
.HasMaxLength(2048) |
|
|
.HasColumnType("nvarchar(2048)"); |
|
|
.HasColumnType("character varying(2048)"); |
|
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey"); |
|
|
b.HasIndex("Name", "ProviderName", "ProviderKey") |
|
|
|
|
|
.IsUnique(); |
|
|
|
|
|
|
|
|
b.ToTable("AbpSettings", (string)null); |
|
|
b.ToTable("AbpSettings", (string)null); |
|
|
}); |
|
|
}); |