|
|
|
@ -12,8 +12,8 @@ using Volo.Abp.EntityFrameworkCore; |
|
|
|
|
|
|
|
namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
{ |
|
|
|
[DbContext(typeof(AuthServerDbContext))] |
|
|
|
[Migration("20230324070230_Initial")] |
|
|
|
[DbContext(typeof(MyProjectNameDbContext))] |
|
|
|
[Migration("20230627074919_Initial")] |
|
|
|
partial class Initial |
|
|
|
{ |
|
|
|
/// <inheritdoc />
|
|
|
|
@ -289,6 +289,64 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
b.ToTable("AbpEntityPropertyChanges", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.BackgroundJobs.BackgroundJobRecord", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
.IsConcurrencyToken() |
|
|
|
.HasMaxLength(40) |
|
|
|
.HasColumnType("nvarchar(40)") |
|
|
|
.HasColumnName("ConcurrencyStamp"); |
|
|
|
|
|
|
|
b.Property<DateTime>("CreationTime") |
|
|
|
.HasColumnType("datetime2") |
|
|
|
.HasColumnName("CreationTime"); |
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
b.Property<bool>("IsAbandoned") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("bit") |
|
|
|
.HasDefaultValue(false); |
|
|
|
|
|
|
|
b.Property<string>("JobArgs") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(1048576) |
|
|
|
.HasColumnType("nvarchar(max)"); |
|
|
|
|
|
|
|
b.Property<string>("JobName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(128) |
|
|
|
.HasColumnType("nvarchar(128)"); |
|
|
|
|
|
|
|
b.Property<DateTime?>("LastTryTime") |
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
b.Property<DateTime>("NextTryTime") |
|
|
|
.HasColumnType("datetime2"); |
|
|
|
|
|
|
|
b.Property<byte>("Priority") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("tinyint") |
|
|
|
.HasDefaultValue((byte)15); |
|
|
|
|
|
|
|
b.Property<short>("TryCount") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("smallint") |
|
|
|
.HasDefaultValue((short)0); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("IsAbandoned", "NextTryTime"); |
|
|
|
|
|
|
|
b.ToTable("AbpBackgroundJobs", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.FeatureManagement.FeatureDefinitionRecord", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
@ -414,7 +472,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityClaimType", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
@ -461,7 +518,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityLinkUser", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<Guid?>("SourceTenantId") |
|
|
|
@ -488,7 +544,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityRole", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
@ -568,7 +623,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentitySecurityLog", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("Action") |
|
|
|
@ -643,7 +697,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUser", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<int>("AccessFailedCount") |
|
|
|
@ -836,7 +889,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<DateTime>("EndTime") |
|
|
|
@ -963,7 +1015,6 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
modelBuilder.Entity("Volo.Abp.Identity.OrganizationUnit", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("Code") |
|
|
|
@ -1553,12 +1604,60 @@ namespace MyCompanyName.MyProjectName.Migrations |
|
|
|
b.ToTable("AbpSettings", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => |
|
|
|
modelBuilder.Entity("Volo.Abp.SettingManagement.SettingDefinitionRecord", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.ValueGeneratedOnAdd() |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("DefaultValue") |
|
|
|
.HasMaxLength(256) |
|
|
|
.HasColumnType("nvarchar(256)"); |
|
|
|
|
|
|
|
b.Property<string>("Description") |
|
|
|
.HasMaxLength(512) |
|
|
|
.HasColumnType("nvarchar(512)"); |
|
|
|
|
|
|
|
b.Property<string>("DisplayName") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(256) |
|
|
|
.HasColumnType("nvarchar(256)"); |
|
|
|
|
|
|
|
b.Property<string>("ExtraProperties") |
|
|
|
.HasColumnType("nvarchar(max)") |
|
|
|
.HasColumnName("ExtraProperties"); |
|
|
|
|
|
|
|
b.Property<bool>("IsEncrypted") |
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
b.Property<bool>("IsInherited") |
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
b.Property<bool>("IsVisibleToClients") |
|
|
|
.HasColumnType("bit"); |
|
|
|
|
|
|
|
b.Property<string>("Name") |
|
|
|
.IsRequired() |
|
|
|
.HasMaxLength(128) |
|
|
|
.HasColumnType("nvarchar(128)"); |
|
|
|
|
|
|
|
b.Property<string>("Providers") |
|
|
|
.HasMaxLength(128) |
|
|
|
.HasColumnType("nvarchar(128)"); |
|
|
|
|
|
|
|
b.HasKey("Id"); |
|
|
|
|
|
|
|
b.HasIndex("Name") |
|
|
|
.IsUnique(); |
|
|
|
|
|
|
|
b.ToTable("AbpSettingDefinitionRecords", (string)null); |
|
|
|
}); |
|
|
|
|
|
|
|
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b => |
|
|
|
{ |
|
|
|
b.Property<Guid>("Id") |
|
|
|
.HasColumnType("uniqueidentifier"); |
|
|
|
|
|
|
|
b.Property<string>("ConcurrencyStamp") |
|
|
|
.IsConcurrencyToken() |
|
|
|
.HasMaxLength(40) |