diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.Designer.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.Designer.cs
similarity index 94%
rename from modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.Designer.cs
rename to modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.Designer.cs
index 34487a75a8..a946b38999 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.Designer.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.Designer.cs
@@ -13,7 +13,7 @@ using Volo.Abp.EntityFrameworkCore;
namespace OpenIddict.Demo.Server.Migrations
{
[DbContext(typeof(ServerDbContext))]
- [Migration("20230404033745_Initial")]
+ [Migration("20231116094249_Initial")]
partial class Initial
{
///
@@ -22,7 +22,7 @@ namespace OpenIddict.Demo.Server.Migrations
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "7.0.1")
+ .HasAnnotation("ProductVersion", "8.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@@ -157,6 +157,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -166,6 +167,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(256)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -231,6 +233,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -239,6 +242,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -331,6 +335,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -343,6 +348,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("datetime2");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -392,6 +398,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -428,6 +435,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -571,6 +579,33 @@ namespace OpenIddict.Demo.Server.Migrations
b.ToTable("AbpUserClaims", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("EndTime")
+ .HasColumnType("datetime2");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("StartTime")
+ .HasColumnType("datetime2");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpUserDelegations", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property("UserId")
@@ -685,6 +720,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -715,6 +751,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -793,6 +830,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -824,6 +862,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(max)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -881,6 +920,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -905,6 +945,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -955,6 +996,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -988,6 +1030,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(max)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -1036,6 +1079,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -1063,6 +1107,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("datetime2");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -1264,6 +1309,55 @@ namespace OpenIddict.Demo.Server.Migrations
b.ToTable("AbpSettings", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.SettingManagement.SettingDefinitionRecord", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("DefaultValue")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Description")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsEncrypted")
+ .HasColumnType("bit");
+
+ b.Property("IsInherited")
+ .HasColumnType("bit");
+
+ b.Property("IsVisibleToClients")
+ .HasColumnType("bit");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Providers")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name")
+ .IsUnique();
+
+ b.ToTable("AbpSettingDefinitions", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>
{
b.Property("Id")
@@ -1272,6 +1366,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -1296,6 +1391,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.cs
similarity index 93%
rename from modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.cs
rename to modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.cs
index 611109065a..89de930745 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20230404033745_Initial.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/20231116094249_Initial.cs
@@ -23,8 +23,8 @@ namespace OpenIddict.Demo.Server.Migrations
RegexDescription = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true),
Description = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true),
ValueType = table.Column(type: "int", nullable: false),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true)
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
},
constraints: table =>
{
@@ -107,8 +107,8 @@ namespace OpenIddict.Demo.Server.Migrations
Code = table.Column(type: "nvarchar(95)", maxLength: 95, nullable: false),
DisplayName = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false),
EntityVersion = table.Column(type: "int", nullable: false),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -188,8 +188,8 @@ namespace OpenIddict.Demo.Server.Migrations
IsStatic = table.Column(type: "bit", nullable: false),
IsPublic = table.Column(type: "bit", nullable: false),
EntityVersion = table.Column(type: "int", nullable: false),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true)
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
},
constraints: table =>
{
@@ -213,14 +213,34 @@ namespace OpenIddict.Demo.Server.Migrations
ClientIpAddress = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: true),
BrowserInfo = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true),
CreationTime = table.Column(type: "datetime2", nullable: false),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true)
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_AbpSecurityLogs", x => x.Id);
});
+ migrationBuilder.CreateTable(
+ name: "AbpSettingDefinitions",
+ columns: table => new
+ {
+ Id = table.Column(type: "uniqueidentifier", nullable: false),
+ Name = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: false),
+ DisplayName = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: false),
+ Description = table.Column(type: "nvarchar(512)", maxLength: 512, nullable: true),
+ DefaultValue = table.Column(type: "nvarchar(256)", maxLength: 256, nullable: true),
+ IsVisibleToClients = table.Column(type: "bit", nullable: false),
+ Providers = table.Column(type: "nvarchar(128)", maxLength: 128, nullable: true),
+ IsInherited = table.Column(type: "bit", nullable: false),
+ IsEncrypted = table.Column(type: "bit", nullable: false),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_AbpSettingDefinitions", x => x.Id);
+ });
+
migrationBuilder.CreateTable(
name: "AbpSettings",
columns: table => new
@@ -243,8 +263,8 @@ namespace OpenIddict.Demo.Server.Migrations
Id = table.Column(type: "uniqueidentifier", nullable: false),
Name = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false),
EntityVersion = table.Column(type: "int", nullable: false),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -258,6 +278,22 @@ namespace OpenIddict.Demo.Server.Migrations
table.PrimaryKey("PK_AbpTenants", x => x.Id);
});
+ migrationBuilder.CreateTable(
+ name: "AbpUserDelegations",
+ columns: table => new
+ {
+ Id = table.Column(type: "uniqueidentifier", nullable: false),
+ TenantId = table.Column(type: "uniqueidentifier", nullable: true),
+ SourceUserId = table.Column(type: "uniqueidentifier", nullable: false),
+ TargetUserId = table.Column(type: "uniqueidentifier", nullable: false),
+ StartTime = table.Column(type: "datetime2", nullable: false),
+ EndTime = table.Column(type: "datetime2", nullable: false)
+ },
+ constraints: table =>
+ {
+ table.PrimaryKey("PK_AbpUserDelegations", x => x.Id);
+ });
+
migrationBuilder.CreateTable(
name: "AbpUsers",
columns: table => new
@@ -284,8 +320,8 @@ namespace OpenIddict.Demo.Server.Migrations
ShouldChangePasswordOnNextLogin = table.Column(type: "bit", nullable: false),
EntityVersion = table.Column(type: "int", nullable: false),
LastPasswordChangeTime = table.Column(type: "datetimeoffset", nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -317,8 +353,8 @@ namespace OpenIddict.Demo.Server.Migrations
Type = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
ClientUri = table.Column(type: "nvarchar(max)", nullable: true),
LogoUri = table.Column(type: "nvarchar(max)", nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -344,8 +380,8 @@ namespace OpenIddict.Demo.Server.Migrations
Name = table.Column(type: "nvarchar(200)", maxLength: 200, nullable: true),
Properties = table.Column(type: "nvarchar(max)", nullable: true),
Resources = table.Column(type: "nvarchar(max)", nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -553,8 +589,8 @@ namespace OpenIddict.Demo.Server.Migrations
Status = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
Subject = table.Column(type: "nvarchar(400)", maxLength: 400, nullable: true),
Type = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -589,8 +625,8 @@ namespace OpenIddict.Demo.Server.Migrations
Status = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
Subject = table.Column(type: "nvarchar(400)", maxLength: 400, nullable: true),
Type = table.Column(type: "nvarchar(50)", maxLength: 50, nullable: true),
- ExtraProperties = table.Column(type: "nvarchar(max)", nullable: true),
- ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: true),
+ ExtraProperties = table.Column(type: "nvarchar(max)", nullable: false),
+ ConcurrencyStamp = table.Column(type: "nvarchar(40)", maxLength: 40, nullable: false),
CreationTime = table.Column(type: "datetime2", nullable: false),
CreatorId = table.Column(type: "uniqueidentifier", nullable: true),
LastModificationTime = table.Column(type: "datetime2", nullable: true),
@@ -714,6 +750,12 @@ namespace OpenIddict.Demo.Server.Migrations
table: "AbpSecurityLogs",
columns: new[] { "TenantId", "UserId" });
+ migrationBuilder.CreateIndex(
+ name: "IX_AbpSettingDefinitions_Name",
+ table: "AbpSettingDefinitions",
+ column: "Name",
+ unique: true);
+
migrationBuilder.CreateIndex(
name: "IX_AbpSettings_Name_ProviderName_ProviderKey",
table: "AbpSettings",
@@ -833,6 +875,9 @@ namespace OpenIddict.Demo.Server.Migrations
migrationBuilder.DropTable(
name: "AbpSecurityLogs");
+ migrationBuilder.DropTable(
+ name: "AbpSettingDefinitions");
+
migrationBuilder.DropTable(
name: "AbpSettings");
@@ -842,6 +887,9 @@ namespace OpenIddict.Demo.Server.Migrations
migrationBuilder.DropTable(
name: "AbpUserClaims");
+ migrationBuilder.DropTable(
+ name: "AbpUserDelegations");
+
migrationBuilder.DropTable(
name: "AbpUserLogins");
diff --git a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
index 6dcdccdd99..dcd97f6304 100644
--- a/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
+++ b/modules/openiddict/app/OpenIddict.Demo.Server/Migrations/ServerDbContextModelSnapshot.cs
@@ -19,7 +19,7 @@ namespace OpenIddict.Demo.Server.Migrations
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("_Abp_DatabaseProvider", EfCoreDatabaseProvider.SqlServer)
- .HasAnnotation("ProductVersion", "7.0.1")
+ .HasAnnotation("ProductVersion", "8.0.0")
.HasAnnotation("Relational:MaxIdentifierLength", 128);
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
@@ -154,6 +154,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -163,6 +164,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(256)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -228,6 +230,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -236,6 +239,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -328,6 +332,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -340,6 +345,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("datetime2");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -389,6 +395,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -425,6 +432,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -568,6 +576,33 @@ namespace OpenIddict.Demo.Server.Migrations
b.ToTable("AbpUserClaims", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.Identity.IdentityUserDelegation", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("EndTime")
+ .HasColumnType("datetime2");
+
+ b.Property("SourceUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("StartTime")
+ .HasColumnType("datetime2");
+
+ b.Property("TargetUserId")
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("TenantId")
+ .HasColumnType("uniqueidentifier")
+ .HasColumnName("TenantId");
+
+ b.HasKey("Id");
+
+ b.ToTable("AbpUserDelegations", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.Identity.IdentityUserLogin", b =>
{
b.Property("UserId")
@@ -682,6 +717,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -712,6 +748,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -790,6 +827,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -821,6 +859,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(max)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -878,6 +917,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -902,6 +942,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnName("DeletionTime");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -952,6 +993,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -985,6 +1027,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("nvarchar(max)");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -1033,6 +1076,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -1060,6 +1104,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("datetime2");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");
@@ -1261,6 +1306,55 @@ namespace OpenIddict.Demo.Server.Migrations
b.ToTable("AbpSettings", (string)null);
});
+ modelBuilder.Entity("Volo.Abp.SettingManagement.SettingDefinitionRecord", b =>
+ {
+ b.Property("Id")
+ .ValueGeneratedOnAdd()
+ .HasColumnType("uniqueidentifier");
+
+ b.Property("DefaultValue")
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("Description")
+ .HasMaxLength(512)
+ .HasColumnType("nvarchar(512)");
+
+ b.Property("DisplayName")
+ .IsRequired()
+ .HasMaxLength(256)
+ .HasColumnType("nvarchar(256)");
+
+ b.Property("ExtraProperties")
+ .HasColumnType("nvarchar(max)")
+ .HasColumnName("ExtraProperties");
+
+ b.Property("IsEncrypted")
+ .HasColumnType("bit");
+
+ b.Property("IsInherited")
+ .HasColumnType("bit");
+
+ b.Property("IsVisibleToClients")
+ .HasColumnType("bit");
+
+ b.Property("Name")
+ .IsRequired()
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.Property("Providers")
+ .HasMaxLength(128)
+ .HasColumnType("nvarchar(128)");
+
+ b.HasKey("Id");
+
+ b.HasIndex("Name")
+ .IsUnique();
+
+ b.ToTable("AbpSettingDefinitions", (string)null);
+ });
+
modelBuilder.Entity("Volo.Abp.TenantManagement.Tenant", b =>
{
b.Property("Id")
@@ -1269,6 +1363,7 @@ namespace OpenIddict.Demo.Server.Migrations
b.Property("ConcurrencyStamp")
.IsConcurrencyToken()
+ .IsRequired()
.HasMaxLength(40)
.HasColumnType("nvarchar(40)")
.HasColumnName("ConcurrencyStamp");
@@ -1293,6 +1388,7 @@ namespace OpenIddict.Demo.Server.Migrations
.HasColumnType("int");
b.Property("ExtraProperties")
+ .IsRequired()
.HasColumnType("nvarchar(max)")
.HasColumnName("ExtraProperties");