changes: initial Setup
- Removed old migrations - Added Postgres EF provider - Updated initial seed - Create first migration
This commit is contained in:
@@ -8,12 +8,6 @@
|
||||
<GenerateRuntimeConfigurationFiles>true</GenerateRuntimeConfigurationFiles>
|
||||
</PropertyGroup>
|
||||
<ItemGroup>
|
||||
<Compile Remove="Migrations\20180726102624_Upgrade_ABP_380.cs" />
|
||||
<Compile Remove="Migrations\20180927062408_test.cs" />
|
||||
<Compile Remove="Migrations\20190111071724_Upgraded_To_Abp_v4_1_0.cs" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.5" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.5">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
|
||||
@@ -22,6 +16,7 @@
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Npgsql.EntityFrameworkCore.PostgreSQL" Version="9.0.4" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\ASPBaseOIDC.Core\ASPBaseOIDC.Core.csproj" />
|
||||
|
||||
@@ -3,6 +3,8 @@ using ASPBaseOIDC.Authorization.Roles;
|
||||
using ASPBaseOIDC.Authorization.Users;
|
||||
using ASPBaseOIDC.MultiTenancy;
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.EntityFrameworkCore;
|
||||
|
||||
@@ -14,6 +16,31 @@ public class ASPBaseOIDCDbContext : AbpZeroDbContext<Tenant, Role, User, ASPBase
|
||||
: base(options)
|
||||
{
|
||||
}
|
||||
protected override void OnModelCreating(ModelBuilder modelBuilder)
|
||||
{
|
||||
base.OnModelCreating(modelBuilder);
|
||||
|
||||
foreach (var entityType in modelBuilder.Model.GetEntityTypes())
|
||||
{
|
||||
foreach (var property in entityType.GetProperties())
|
||||
{
|
||||
if (property.ClrType == typeof(DateTime) || property.ClrType == typeof(DateTime?))
|
||||
{
|
||||
// PostgreSQL automáticamente usa 'timestamp with time zone'
|
||||
// cuando detecta conversión UTC
|
||||
property.SetValueConverter(new ValueConverter<DateTime, DateTime>(
|
||||
v => v.ToUniversalTime(), // Al guardar: siempre UTC
|
||||
v => DateTime.SpecifyKind(v, DateTimeKind.Utc) // Al leer: marcar como UTC
|
||||
));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Automatically apply all configurations from current assembly
|
||||
//modelBuilder.ApplyConfigurationsFromAssembly(typeof(IsaSolutions_PJ0001DbContext).Assembly);
|
||||
|
||||
//ConfigureOrderEntities(modelBuilder);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
using Microsoft.EntityFrameworkCore;
|
||||
using Npgsql;
|
||||
using System.Data.Common;
|
||||
|
||||
namespace ASPBaseOIDC.EntityFrameworkCore;
|
||||
@@ -7,12 +8,16 @@ public static class ASPBaseOIDCDbContextConfigurer
|
||||
{
|
||||
public static void Configure(DbContextOptionsBuilder<ASPBaseOIDCDbContext> builder, string connectionString)
|
||||
{
|
||||
builder.UseSqlServer(connectionString);
|
||||
var connectionStringBuilder = new NpgsqlConnectionStringBuilder(connectionString);
|
||||
|
||||
builder.UseNpgsql(connectionStringBuilder.ToString(), options => options.CommandTimeout(600));
|
||||
}
|
||||
|
||||
public static void Configure(DbContextOptionsBuilder<ASPBaseOIDCDbContext> builder, DbConnection connection)
|
||||
{
|
||||
builder.UseSqlServer(connection);
|
||||
var connectionStringBuilder = new NpgsqlConnectionStringBuilder(connection.ConnectionString);
|
||||
|
||||
builder.UseNpgsql(connectionStringBuilder.ToString(), options => options.CommandTimeout(600));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -18,18 +18,9 @@ public class DefaultLanguagesCreator
|
||||
return new List<ApplicationLanguage>
|
||||
{
|
||||
new ApplicationLanguage(tenantId, "en", "English", "famfamfam-flags us"),
|
||||
new ApplicationLanguage(tenantId, "ar", "العربية", "famfamfam-flags sa"),
|
||||
new ApplicationLanguage(tenantId, "de", "German", "famfamfam-flags de"),
|
||||
new ApplicationLanguage(tenantId, "it", "Italiano", "famfamfam-flags it"),
|
||||
new ApplicationLanguage(tenantId, "fa", "فارسی", "famfamfam-flags ir"),
|
||||
new ApplicationLanguage(tenantId, "fr", "Français", "famfamfam-flags fr"),
|
||||
new ApplicationLanguage(tenantId, "pt-BR", "Português", "famfamfam-flags br"),
|
||||
new ApplicationLanguage(tenantId, "tr", "Türkçe", "famfamfam-flags tr"),
|
||||
new ApplicationLanguage(tenantId, "ru", "Русский", "famfamfam-flags ru"),
|
||||
new ApplicationLanguage(tenantId, "zh-Hans", "简体中文", "famfamfam-flags cn"),
|
||||
new ApplicationLanguage(tenantId, "es-MX", "Español México", "famfamfam-flags mx"),
|
||||
new ApplicationLanguage(tenantId, "nl", "Nederlands", "famfamfam-flags nl"),
|
||||
new ApplicationLanguage(tenantId, "ja", "日本語", "famfamfam-flags jp")
|
||||
new ApplicationLanguage(tenantId, "es-MX", "Español México", "famfamfam-flags mx")
|
||||
//new ApplicationLanguage(tenantId, "nl", "Nederlands", "famfamfam-flags nl"),
|
||||
//new ApplicationLanguage(tenantId, "ja", "日本語", "famfamfam-flags jp")
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -30,7 +30,7 @@ public class DefaultSettingsCreator
|
||||
AddSettingIfNotExists(EmailSettingNames.DefaultFromDisplayName, "mydomain.com mailer", tenantId);
|
||||
|
||||
// Languages
|
||||
AddSettingIfNotExists(LocalizationSettingNames.DefaultLanguage, "en", tenantId);
|
||||
AddSettingIfNotExists(LocalizationSettingNames.DefaultLanguage, "es-MX", tenantId);
|
||||
}
|
||||
|
||||
private void AddSettingIfNotExists(string name, string value, int? tenantId = null)
|
||||
|
||||
@@ -76,12 +76,12 @@ public class HostRoleAndUserCreator
|
||||
UserName = AbpUserBase.AdminUserName,
|
||||
Name = "admin",
|
||||
Surname = "admin",
|
||||
EmailAddress = "admin@aspnetboilerplate.com",
|
||||
EmailAddress = "admin@jjsolutions.com",
|
||||
IsEmailConfirmed = true,
|
||||
IsActive = true
|
||||
};
|
||||
|
||||
user.Password = new PasswordHasher<User>(new OptionsWrapper<PasswordHasherOptions>(new PasswordHasherOptions())).HashPassword(user, "123qwe");
|
||||
user.Password = new PasswordHasher<User>(new OptionsWrapper<PasswordHasherOptions>(new PasswordHasherOptions())).HashPassword(user, "admin");
|
||||
user.SetNormalizedNames();
|
||||
|
||||
adminUserForHost = _context.Users.Add(user).Entity;
|
||||
|
||||
@@ -72,8 +72,8 @@ public class TenantRoleAndUserBuilder
|
||||
var adminUser = _context.Users.IgnoreQueryFilters().FirstOrDefault(u => u.TenantId == _tenantId && u.UserName == AbpUserBase.AdminUserName);
|
||||
if (adminUser == null)
|
||||
{
|
||||
adminUser = User.CreateTenantAdminUser(_tenantId, "admin@defaulttenant.com");
|
||||
adminUser.Password = new PasswordHasher<User>(new OptionsWrapper<PasswordHasherOptions>(new PasswordHasherOptions())).HashPassword(adminUser, "123qwe");
|
||||
adminUser = User.CreateTenantAdminUser(_tenantId, "admin@jjsolutions.com");
|
||||
adminUser.Password = new PasswordHasher<User>(new OptionsWrapper<PasswordHasherOptions>(new PasswordHasherOptions())).HashPassword(adminUser, "admin");
|
||||
adminUser.IsEmailConfirmed = true;
|
||||
adminUser.IsActive = true;
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,997 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Initial_Migrations : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEditions",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
DisplayName = table.Column<string>(maxLength: 64, nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 32, nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEditions", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpAuditLogs",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
BrowserInfo = table.Column<string>(maxLength: 256, nullable: true),
|
||||
ClientIpAddress = table.Column<string>(maxLength: 64, nullable: true),
|
||||
ClientName = table.Column<string>(maxLength: 128, nullable: true),
|
||||
CustomData = table.Column<string>(maxLength: 2000, nullable: true),
|
||||
Exception = table.Column<string>(maxLength: 2000, nullable: true),
|
||||
ExecutionDuration = table.Column<int>(nullable: false),
|
||||
ExecutionTime = table.Column<DateTime>(nullable: false),
|
||||
ImpersonatorTenantId = table.Column<int>(nullable: true),
|
||||
ImpersonatorUserId = table.Column<long>(nullable: true),
|
||||
MethodName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
Parameters = table.Column<string>(maxLength: 1024, nullable: true),
|
||||
ServiceName = table.Column<string>(maxLength: 256, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpAuditLogs", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserAccounts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
EmailAddress = table.Column<string>(nullable: true),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
LastLoginTime = table.Column<DateTime>(nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false),
|
||||
UserLinkId = table.Column<long>(nullable: true),
|
||||
UserName = table.Column<string>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserAccounts", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserLoginAttempts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
BrowserInfo = table.Column<string>(maxLength: 256, nullable: true),
|
||||
ClientIpAddress = table.Column<string>(maxLength: 64, nullable: true),
|
||||
ClientName = table.Column<string>(maxLength: 128, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
Result = table.Column<byte>(nullable: false),
|
||||
TenancyName = table.Column<string>(maxLength: 64, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: true),
|
||||
UserNameOrEmailAddress = table.Column<string>(maxLength: 255, nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserLoginAttempts", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserOrganizationUnits",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
OrganizationUnitId = table.Column<long>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserOrganizationUnits", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpBackgroundJobs",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
IsAbandoned = table.Column<bool>(nullable: false),
|
||||
JobArgs = table.Column<string>(maxLength: 1048576, nullable: false),
|
||||
JobType = table.Column<string>(maxLength: 512, nullable: false),
|
||||
LastTryTime = table.Column<DateTime>(nullable: true),
|
||||
NextTryTime = table.Column<DateTime>(nullable: false),
|
||||
Priority = table.Column<byte>(nullable: false),
|
||||
TryCount = table.Column<short>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpBackgroundJobs", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpLanguages",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
DisplayName = table.Column<string>(maxLength: 64, nullable: false),
|
||||
Icon = table.Column<string>(maxLength: 128, nullable: true),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 10, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpLanguages", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpLanguageTexts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
Key = table.Column<string>(maxLength: 256, nullable: false),
|
||||
LanguageName = table.Column<string>(maxLength: 10, nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Source = table.Column<string>(maxLength: 128, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
Value = table.Column<string>(maxLength: 67108864, nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpLanguageTexts", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpNotifications",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
Data = table.Column<string>(maxLength: 1048576, nullable: true),
|
||||
DataTypeName = table.Column<string>(maxLength: 512, nullable: true),
|
||||
EntityId = table.Column<string>(maxLength: 96, nullable: true),
|
||||
EntityTypeAssemblyQualifiedName = table.Column<string>(maxLength: 512, nullable: true),
|
||||
EntityTypeName = table.Column<string>(maxLength: 250, nullable: true),
|
||||
ExcludedUserIds = table.Column<string>(maxLength: 131072, nullable: true),
|
||||
NotificationName = table.Column<string>(maxLength: 96, nullable: false),
|
||||
Severity = table.Column<byte>(nullable: false),
|
||||
TenantIds = table.Column<string>(maxLength: 131072, nullable: true),
|
||||
UserIds = table.Column<string>(maxLength: 131072, nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpNotifications", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpNotificationSubscriptions",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
EntityId = table.Column<string>(maxLength: 96, nullable: true),
|
||||
EntityTypeAssemblyQualifiedName = table.Column<string>(maxLength: 512, nullable: true),
|
||||
EntityTypeName = table.Column<string>(maxLength: 250, nullable: true),
|
||||
NotificationName = table.Column<string>(maxLength: 96, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpNotificationSubscriptions", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpTenantNotifications",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
Data = table.Column<string>(maxLength: 1048576, nullable: true),
|
||||
DataTypeName = table.Column<string>(maxLength: 512, nullable: true),
|
||||
EntityId = table.Column<string>(maxLength: 96, nullable: true),
|
||||
EntityTypeAssemblyQualifiedName = table.Column<string>(maxLength: 512, nullable: true),
|
||||
EntityTypeName = table.Column<string>(maxLength: 250, nullable: true),
|
||||
NotificationName = table.Column<string>(maxLength: 96, nullable: false),
|
||||
Severity = table.Column<byte>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpTenantNotifications", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserNotifications",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
State = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
TenantNotificationId = table.Column<Guid>(nullable: false),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserNotifications", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpOrganizationUnits",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
Code = table.Column<string>(maxLength: 95, nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
DisplayName = table.Column<string>(maxLength: 128, nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
ParentId = table.Column<long>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpOrganizationUnits", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpOrganizationUnits_AbpOrganizationUnits_ParentId",
|
||||
column: x => x.ParentId,
|
||||
principalTable: "AbpOrganizationUnits",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUsers",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
AccessFailedCount = table.Column<int>(nullable: false),
|
||||
AuthenticationSource = table.Column<string>(maxLength: 64, nullable: true),
|
||||
ConcurrencyStamp = table.Column<string>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
EmailAddress = table.Column<string>(maxLength: 256, nullable: false),
|
||||
EmailConfirmationCode = table.Column<string>(maxLength: 328, nullable: true),
|
||||
IsActive = table.Column<bool>(nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
IsEmailConfirmed = table.Column<bool>(nullable: false),
|
||||
IsLockoutEnabled = table.Column<bool>(nullable: false),
|
||||
IsPhoneNumberConfirmed = table.Column<bool>(nullable: false),
|
||||
IsTwoFactorEnabled = table.Column<bool>(nullable: false),
|
||||
LastLoginTime = table.Column<DateTime>(nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
LockoutEndDateUtc = table.Column<DateTime>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 32, nullable: false),
|
||||
NormalizedEmailAddress = table.Column<string>(maxLength: 256, nullable: false),
|
||||
NormalizedUserName = table.Column<string>(maxLength: 32, nullable: false),
|
||||
Password = table.Column<string>(maxLength: 128, nullable: false),
|
||||
PasswordResetCode = table.Column<string>(maxLength: 328, nullable: true),
|
||||
PhoneNumber = table.Column<string>(nullable: true),
|
||||
SecurityStamp = table.Column<string>(nullable: true),
|
||||
Surname = table.Column<string>(maxLength: 32, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserName = table.Column<string>(maxLength: 32, nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUsers", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUsers_AbpUsers_CreatorUserId",
|
||||
column: x => x.CreatorUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUsers_AbpUsers_DeleterUserId",
|
||||
column: x => x.DeleterUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUsers_AbpUsers_LastModifierUserId",
|
||||
column: x => x.LastModifierUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpFeatures",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
Discriminator = table.Column<string>(nullable: false),
|
||||
Name = table.Column<string>(maxLength: 128, nullable: false),
|
||||
Value = table.Column<string>(maxLength: 2000, nullable: false),
|
||||
EditionId = table.Column<int>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpFeatures", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpFeatures_AbpEditions_EditionId",
|
||||
column: x => x.EditionId,
|
||||
principalTable: "AbpEditions",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserClaims",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
ClaimType = table.Column<string>(nullable: true),
|
||||
ClaimValue = table.Column<string>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserClaims", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUserClaims_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserLogins",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
LoginProvider = table.Column<string>(maxLength: 128, nullable: false),
|
||||
ProviderKey = table.Column<string>(maxLength: 256, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserLogins", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUserLogins_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserRoles",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
RoleId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserRoles", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUserRoles_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpUserTokens",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
LoginProvider = table.Column<string>(nullable: true),
|
||||
Name = table.Column<string>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: false),
|
||||
Value = table.Column<string>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpUserTokens", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpUserTokens_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpSettings",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 256, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: true),
|
||||
Value = table.Column<string>(maxLength: 2000, nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpSettings", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpSettings_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpRoles",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
ConcurrencyStamp = table.Column<string>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
DisplayName = table.Column<string>(maxLength: 64, nullable: false),
|
||||
IsDefault = table.Column<bool>(nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
IsStatic = table.Column<bool>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 32, nullable: false),
|
||||
NormalizedName = table.Column<string>(maxLength: 32, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpRoles", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpRoles_AbpUsers_CreatorUserId",
|
||||
column: x => x.CreatorUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpRoles_AbpUsers_DeleterUserId",
|
||||
column: x => x.DeleterUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpRoles_AbpUsers_LastModifierUserId",
|
||||
column: x => x.LastModifierUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpTenants",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
ConnectionString = table.Column<string>(maxLength: 1024, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
DeleterUserId = table.Column<long>(nullable: true),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true),
|
||||
EditionId = table.Column<int>(nullable: true),
|
||||
IsActive = table.Column<bool>(nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
LastModifierUserId = table.Column<long>(nullable: true),
|
||||
Name = table.Column<string>(maxLength: 128, nullable: false),
|
||||
TenancyName = table.Column<string>(maxLength: 64, nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpTenants", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpTenants_AbpUsers_CreatorUserId",
|
||||
column: x => x.CreatorUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpTenants_AbpUsers_DeleterUserId",
|
||||
column: x => x.DeleterUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpTenants_AbpEditions_EditionId",
|
||||
column: x => x.EditionId,
|
||||
principalTable: "AbpEditions",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpTenants_AbpUsers_LastModifierUserId",
|
||||
column: x => x.LastModifierUserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpPermissions",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
Discriminator = table.Column<string>(nullable: false),
|
||||
IsGranted = table.Column<bool>(nullable: false),
|
||||
Name = table.Column<string>(maxLength: 128, nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
RoleId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpPermissions", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpPermissions_AbpRoles_RoleId",
|
||||
column: x => x.RoleId,
|
||||
principalTable: "AbpRoles",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpPermissions_AbpUsers_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpUsers",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpRoleClaims",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
ClaimType = table.Column<string>(nullable: true),
|
||||
ClaimValue = table.Column<string>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
RoleId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpRoleClaims", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpRoleClaims_AbpRoles_UserId",
|
||||
column: x => x.UserId,
|
||||
principalTable: "AbpRoles",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpFeatures_EditionId_Name",
|
||||
table: "AbpFeatures",
|
||||
columns: new[] { "EditionId", "Name" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpFeatures_TenantId_Name",
|
||||
table: "AbpFeatures",
|
||||
columns: new[] { "TenantId", "Name" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpAuditLogs_TenantId_ExecutionDuration",
|
||||
table: "AbpAuditLogs",
|
||||
columns: new[] { "TenantId", "ExecutionDuration" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpAuditLogs_TenantId_ExecutionTime",
|
||||
table: "AbpAuditLogs",
|
||||
columns: new[] { "TenantId", "ExecutionTime" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpAuditLogs_TenantId_UserId",
|
||||
table: "AbpAuditLogs",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpPermissions_TenantId_Name",
|
||||
table: "AbpPermissions",
|
||||
columns: new[] { "TenantId", "Name" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpPermissions_RoleId",
|
||||
table: "AbpPermissions",
|
||||
column: "RoleId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpPermissions_UserId",
|
||||
table: "AbpPermissions",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoleClaims_RoleId",
|
||||
table: "AbpRoleClaims",
|
||||
column: "RoleId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoleClaims_UserId",
|
||||
table: "AbpRoleClaims",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoleClaims_TenantId_ClaimType",
|
||||
table: "AbpRoleClaims",
|
||||
columns: new[] { "TenantId", "ClaimType" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserAccounts_EmailAddress",
|
||||
table: "AbpUserAccounts",
|
||||
column: "EmailAddress");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserAccounts_UserName",
|
||||
table: "AbpUserAccounts",
|
||||
column: "UserName");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserAccounts_TenantId_EmailAddress",
|
||||
table: "AbpUserAccounts",
|
||||
columns: new[] { "TenantId", "EmailAddress" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserAccounts_TenantId_UserId",
|
||||
table: "AbpUserAccounts",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserAccounts_TenantId_UserName",
|
||||
table: "AbpUserAccounts",
|
||||
columns: new[] { "TenantId", "UserName" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserClaims_UserId",
|
||||
table: "AbpUserClaims",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserClaims_TenantId_ClaimType",
|
||||
table: "AbpUserClaims",
|
||||
columns: new[] { "TenantId", "ClaimType" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLogins_UserId",
|
||||
table: "AbpUserLogins",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLogins_TenantId_UserId",
|
||||
table: "AbpUserLogins",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLogins_TenantId_LoginProvider_ProviderKey",
|
||||
table: "AbpUserLogins",
|
||||
columns: new[] { "TenantId", "LoginProvider", "ProviderKey" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLoginAttempts_UserId_TenantId",
|
||||
table: "AbpUserLoginAttempts",
|
||||
columns: new[] { "UserId", "TenantId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLoginAttempts_TenancyName_UserNameOrEmailAddress_Result",
|
||||
table: "AbpUserLoginAttempts",
|
||||
columns: new[] { "TenancyName", "UserNameOrEmailAddress", "Result" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserOrganizationUnits_TenantId_OrganizationUnitId",
|
||||
table: "AbpUserOrganizationUnits",
|
||||
columns: new[] { "TenantId", "OrganizationUnitId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserOrganizationUnits_TenantId_UserId",
|
||||
table: "AbpUserOrganizationUnits",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserRoles_UserId",
|
||||
table: "AbpUserRoles",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserRoles_TenantId_RoleId",
|
||||
table: "AbpUserRoles",
|
||||
columns: new[] { "TenantId", "RoleId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserRoles_TenantId_UserId",
|
||||
table: "AbpUserRoles",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserTokens_UserId",
|
||||
table: "AbpUserTokens",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserTokens_TenantId_UserId",
|
||||
table: "AbpUserTokens",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpBackgroundJobs_IsAbandoned_NextTryTime",
|
||||
table: "AbpBackgroundJobs",
|
||||
columns: new[] { "IsAbandoned", "NextTryTime" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpSettings_UserId",
|
||||
table: "AbpSettings",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpSettings_TenantId_Name",
|
||||
table: "AbpSettings",
|
||||
columns: new[] { "TenantId", "Name" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpLanguages_TenantId_Name",
|
||||
table: "AbpLanguages",
|
||||
columns: new[] { "TenantId", "Name" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpLanguageTexts_TenantId_Source_LanguageName_Key",
|
||||
table: "AbpLanguageTexts",
|
||||
columns: new[] { "TenantId", "Source", "LanguageName", "Key" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpNotificationSubscriptions_NotificationName_EntityTypeName_EntityId_UserId",
|
||||
table: "AbpNotificationSubscriptions",
|
||||
columns: new[] { "NotificationName", "EntityTypeName", "EntityId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpNotificationSubscriptions_TenantId_NotificationName_EntityTypeName_EntityId_UserId",
|
||||
table: "AbpNotificationSubscriptions",
|
||||
columns: new[] { "TenantId", "NotificationName", "EntityTypeName", "EntityId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenantNotifications_TenantId",
|
||||
table: "AbpTenantNotifications",
|
||||
column: "TenantId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserNotifications_UserId_State_CreationTime",
|
||||
table: "AbpUserNotifications",
|
||||
columns: new[] { "UserId", "State", "CreationTime" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_ParentId",
|
||||
table: "AbpOrganizationUnits",
|
||||
column: "ParentId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits",
|
||||
columns: new[] { "TenantId", "Code" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoles_CreatorUserId",
|
||||
table: "AbpRoles",
|
||||
column: "CreatorUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoles_DeleterUserId",
|
||||
table: "AbpRoles",
|
||||
column: "DeleterUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoles_LastModifierUserId",
|
||||
table: "AbpRoles",
|
||||
column: "LastModifierUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoles_TenantId_NormalizedName",
|
||||
table: "AbpRoles",
|
||||
columns: new[] { "TenantId", "NormalizedName" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUsers_CreatorUserId",
|
||||
table: "AbpUsers",
|
||||
column: "CreatorUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUsers_DeleterUserId",
|
||||
table: "AbpUsers",
|
||||
column: "DeleterUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUsers_LastModifierUserId",
|
||||
table: "AbpUsers",
|
||||
column: "LastModifierUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUsers_TenantId_NormalizedEmailAddress",
|
||||
table: "AbpUsers",
|
||||
columns: new[] { "TenantId", "NormalizedEmailAddress" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUsers_TenantId_NormalizedUserName",
|
||||
table: "AbpUsers",
|
||||
columns: new[] { "TenantId", "NormalizedUserName" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenants_CreatorUserId",
|
||||
table: "AbpTenants",
|
||||
column: "CreatorUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenants_DeleterUserId",
|
||||
table: "AbpTenants",
|
||||
column: "DeleterUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenants_EditionId",
|
||||
table: "AbpTenants",
|
||||
column: "EditionId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenants_LastModifierUserId",
|
||||
table: "AbpTenants",
|
||||
column: "LastModifierUserId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpTenants_TenancyName",
|
||||
table: "AbpTenants",
|
||||
column: "TenancyName");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpFeatures");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpAuditLogs");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpPermissions");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpRoleClaims");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserAccounts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserClaims");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserLogins");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserLoginAttempts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserOrganizationUnits");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserRoles");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserTokens");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpBackgroundJobs");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpSettings");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpLanguages");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpLanguageTexts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpNotifications");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpNotificationSubscriptions");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpTenantNotifications");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUserNotifications");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpOrganizationUnits");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpTenants");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpRoles");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEditions");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpUsers");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,66 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_2_1_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_AbpRoleClaims_AbpRoles_UserId",
|
||||
table: "AbpRoleClaims");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpRoleClaims_UserId",
|
||||
table: "AbpRoleClaims");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "UserId",
|
||||
table: "AbpRoleClaims");
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsDisabled",
|
||||
table: "AbpLanguages",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_AbpRoleClaims_AbpRoles_RoleId",
|
||||
table: "AbpRoleClaims",
|
||||
column: "RoleId",
|
||||
principalTable: "AbpRoles",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropForeignKey(
|
||||
name: "FK_AbpRoleClaims_AbpRoles_RoleId",
|
||||
table: "AbpRoleClaims");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsDisabled",
|
||||
table: "AbpLanguages");
|
||||
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "UserId",
|
||||
table: "AbpRoleClaims",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpRoleClaims_UserId",
|
||||
table: "AbpRoleClaims",
|
||||
column: "UserId");
|
||||
|
||||
migrationBuilder.AddForeignKey(
|
||||
name: "FK_AbpRoleClaims_AbpRoles_UserId",
|
||||
table: "AbpRoleClaims",
|
||||
column: "UserId",
|
||||
principalTable: "AbpRoles",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Restrict);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,34 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Added_Description_And_IsActive_To_Role : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "Description",
|
||||
table: "AbpRoles",
|
||||
maxLength: 5000,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsActive",
|
||||
table: "AbpRoles",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "Description",
|
||||
table: "AbpRoles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsActive",
|
||||
table: "AbpRoles");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,24 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Remove_IsActive_From_Role : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsActive",
|
||||
table: "AbpRoles");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsActive",
|
||||
table: "AbpRoles",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,24 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_v222 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<bool>(
|
||||
name: "IsDeleted",
|
||||
table: "AbpUserOrganizationUnits",
|
||||
nullable: false,
|
||||
defaultValue: false);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "IsDeleted",
|
||||
table: "AbpUserOrganizationUnits");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,189 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_v340 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ClaimType",
|
||||
table: "AbpUserClaims",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUserAccounts",
|
||||
maxLength: 32,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "EmailAddress",
|
||||
table: "AbpUserAccounts",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ClaimType",
|
||||
table: "AbpRoleClaims",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityChangeSets",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
BrowserInfo = table.Column<string>(maxLength: 256, nullable: true),
|
||||
ClientIpAddress = table.Column<string>(maxLength: 64, nullable: true),
|
||||
ClientName = table.Column<string>(maxLength: 128, nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
ExtensionData = table.Column<string>(nullable: true),
|
||||
ImpersonatorTenantId = table.Column<int>(nullable: true),
|
||||
ImpersonatorUserId = table.Column<long>(nullable: true),
|
||||
Reason = table.Column<string>(maxLength: 256, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
UserId = table.Column<long>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityChangeSets", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityChanges",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
ChangeTime = table.Column<DateTime>(nullable: false),
|
||||
ChangeType = table.Column<byte>(nullable: false),
|
||||
EntityChangeSetId = table.Column<long>(nullable: false),
|
||||
EntityId = table.Column<string>(maxLength: 48, nullable: true),
|
||||
EntityTypeFullName = table.Column<string>(maxLength: 192, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityChanges", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityChanges_AbpEntityChangeSets_EntityChangeSetId",
|
||||
column: x => x.EntityChangeSetId,
|
||||
principalTable: "AbpEntityChangeSets",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityPropertyChanges",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
EntityChangeId = table.Column<long>(nullable: false),
|
||||
NewValue = table.Column<string>(maxLength: 512, nullable: true),
|
||||
OriginalValue = table.Column<string>(maxLength: 512, nullable: true),
|
||||
PropertyName = table.Column<string>(maxLength: 96, nullable: true),
|
||||
PropertyTypeFullName = table.Column<string>(maxLength: 192, nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityPropertyChanges", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityPropertyChanges_AbpEntityChanges_EntityChangeId",
|
||||
column: x => x.EntityChangeId,
|
||||
principalTable: "AbpEntityChanges",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityChanges_EntityChangeSetId",
|
||||
table: "AbpEntityChanges",
|
||||
column: "EntityChangeSetId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityChanges_EntityTypeFullName_EntityId",
|
||||
table: "AbpEntityChanges",
|
||||
columns: new[] { "EntityTypeFullName", "EntityId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityChangeSets_TenantId_CreationTime",
|
||||
table: "AbpEntityChangeSets",
|
||||
columns: new[] { "TenantId", "CreationTime" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityChangeSets_TenantId_Reason",
|
||||
table: "AbpEntityChangeSets",
|
||||
columns: new[] { "TenantId", "Reason" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityChangeSets_TenantId_UserId",
|
||||
table: "AbpEntityChangeSets",
|
||||
columns: new[] { "TenantId", "UserId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityPropertyChanges_EntityChangeId",
|
||||
table: "AbpEntityPropertyChanges",
|
||||
column: "EntityChangeId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityPropertyChanges");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityChanges");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityChangeSets");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ClaimType",
|
||||
table: "AbpUserClaims",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUserAccounts",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "EmailAddress",
|
||||
table: "AbpUserAccounts",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ClaimType",
|
||||
table: "AbpRoleClaims",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,126 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_v3_5_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Value",
|
||||
table: "AbpUserTokens",
|
||||
maxLength: 512,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpUserTokens",
|
||||
maxLength: 128,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LoginProvider",
|
||||
table: "AbpUserTokens",
|
||||
maxLength: 64,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "SecurityStamp",
|
||||
table: "AbpUsers",
|
||||
maxLength: 128,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "PhoneNumber",
|
||||
table: "AbpUsers",
|
||||
maxLength: 32,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ConcurrencyStamp",
|
||||
table: "AbpUsers",
|
||||
maxLength: 128,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ConcurrencyStamp",
|
||||
table: "AbpRoles",
|
||||
maxLength: 128,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Value",
|
||||
table: "AbpUserTokens",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 512,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpUserTokens",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LoginProvider",
|
||||
table: "AbpUserTokens",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 64,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "SecurityStamp",
|
||||
table: "AbpUsers",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "PhoneNumber",
|
||||
table: "AbpUsers",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ConcurrencyStamp",
|
||||
table: "AbpUsers",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "ConcurrencyStamp",
|
||||
table: "AbpRoles",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,68 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_v3_6_1 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpUserLoginAttempts",
|
||||
maxLength: 512,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpEntityChangeSets",
|
||||
maxLength: 512,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpAuditLogs",
|
||||
maxLength: 512,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpUserLoginAttempts",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 512,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpEntityChangeSets",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 512,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "BrowserInfo",
|
||||
table: "AbpAuditLogs",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 512,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,64 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_ABP_380 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUsers",
|
||||
maxLength: 256,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "NormalizedUserName",
|
||||
table: "AbpUsers",
|
||||
maxLength: 256,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUserAccounts",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUsers",
|
||||
maxLength: 32,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "NormalizedUserName",
|
||||
table: "AbpUsers",
|
||||
maxLength: 32,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserName",
|
||||
table: "AbpUserAccounts",
|
||||
maxLength: 32,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,32 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_ABP_381 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LoginProvider",
|
||||
table: "AbpUserTokens",
|
||||
maxLength: 128,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 64,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LoginProvider",
|
||||
table: "AbpUserTokens",
|
||||
maxLength: 64,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,24 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_ABP_383 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "ExpireDate",
|
||||
table: "AbpUserTokens",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ExpireDate",
|
||||
table: "AbpUserTokens");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,46 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_v3_9_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Surname",
|
||||
table: "AbpUsers",
|
||||
maxLength: 64,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpUsers",
|
||||
maxLength: 64,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 32);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Surname",
|
||||
table: "AbpUsers",
|
||||
maxLength: 32,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 64);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpUsers",
|
||||
maxLength: 32,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 64);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,74 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_ABP_4_2_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LastLoginTime",
|
||||
table: "AbpUsers");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "LastLoginTime",
|
||||
table: "AbpUserAccounts");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ReturnValue",
|
||||
table: "AbpAuditLogs",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpOrganizationUnitRoles",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<long>(nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
RoleId = table.Column<int>(nullable: false),
|
||||
OrganizationUnitId = table.Column<long>(nullable: false),
|
||||
IsDeleted = table.Column<bool>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpOrganizationUnitRoles", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnitRoles_TenantId_OrganizationUnitId",
|
||||
table: "AbpOrganizationUnitRoles",
|
||||
columns: new[] { "TenantId", "OrganizationUnitId" });
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnitRoles_TenantId_RoleId",
|
||||
table: "AbpOrganizationUnitRoles",
|
||||
columns: new[] { "TenantId", "RoleId" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpOrganizationUnitRoles");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ReturnValue",
|
||||
table: "AbpAuditLogs");
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "LastLoginTime",
|
||||
table: "AbpUsers",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<DateTime>(
|
||||
name: "LastLoginTime",
|
||||
table: "AbpUserAccounts",
|
||||
nullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,33 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_4_7_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpSettings_TenantId_Name",
|
||||
table: "AbpSettings");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpSettings_TenantId_Name_UserId",
|
||||
table: "AbpSettings",
|
||||
columns: new[] { "TenantId", "Name", "UserId" },
|
||||
unique: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpSettings_TenantId_Name_UserId",
|
||||
table: "AbpSettings");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpSettings_TenantId_Name",
|
||||
table: "AbpSettings",
|
||||
columns: new[] { "TenantId", "Name" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,46 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_4_8_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LanguageName",
|
||||
table: "AbpLanguageTexts",
|
||||
maxLength: 128,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 10);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpLanguages",
|
||||
maxLength: 128,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 10);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "LanguageName",
|
||||
table: "AbpLanguageTexts",
|
||||
maxLength: 10,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Name",
|
||||
table: "AbpLanguages",
|
||||
maxLength: 10,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 128);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,48 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_5_1_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserNameOrEmailAddress",
|
||||
table: "AbpUserLoginAttempts",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 255,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Value",
|
||||
table: "AbpSettings",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 2000,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "UserNameOrEmailAddress",
|
||||
table: "AbpUserLoginAttempts",
|
||||
maxLength: 255,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Value",
|
||||
table: "AbpSettings",
|
||||
maxLength: 2000,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,89 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
using System;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_5_2_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpWebhookEvents",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
WebhookName = table.Column<string>(nullable: false),
|
||||
Data = table.Column<string>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
IsDeleted = table.Column<bool>(nullable: false),
|
||||
DeletionTime = table.Column<DateTime>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpWebhookEvents", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpWebhookSubscriptions",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
CreatorUserId = table.Column<long>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
WebhookUri = table.Column<string>(nullable: false),
|
||||
Secret = table.Column<string>(nullable: false),
|
||||
IsActive = table.Column<bool>(nullable: false),
|
||||
Webhooks = table.Column<string>(nullable: true),
|
||||
Headers = table.Column<string>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpWebhookSubscriptions", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpWebhookSendAttempts",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<Guid>(nullable: false),
|
||||
WebhookEventId = table.Column<Guid>(nullable: false),
|
||||
WebhookSubscriptionId = table.Column<Guid>(nullable: false),
|
||||
Response = table.Column<string>(nullable: true),
|
||||
ResponseStatusCode = table.Column<int>(nullable: true),
|
||||
CreationTime = table.Column<DateTime>(nullable: false),
|
||||
LastModificationTime = table.Column<DateTime>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpWebhookSendAttempts", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpWebhookSendAttempts_AbpWebhookEvents_WebhookEventId",
|
||||
column: x => x.WebhookEventId,
|
||||
principalTable: "AbpWebhookEvents",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpWebhookSendAttempts_WebhookEventId",
|
||||
table: "AbpWebhookSendAttempts",
|
||||
column: "WebhookEventId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpWebhookSendAttempts");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpWebhookSubscriptions");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpWebhookEvents");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,155 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_5_4_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits");
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicParameters",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
ParameterName = table.Column<string>(nullable: true),
|
||||
InputType = table.Column<string>(nullable: true),
|
||||
Permission = table.Column<string>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicParameters", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicParameterValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Value = table.Column<string>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
DynamicParameterId = table.Column<int>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicParameterValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpDynamicParameterValues_AbpDynamicParameters_DynamicParameterId",
|
||||
column: x => x.DynamicParameterId,
|
||||
principalTable: "AbpDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityDynamicParameters",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
EntityFullName = table.Column<string>(nullable: true),
|
||||
DynamicParameterId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityDynamicParameters", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityDynamicParameters_AbpDynamicParameters_DynamicParameterId",
|
||||
column: x => x.DynamicParameterId,
|
||||
principalTable: "AbpDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityDynamicParameterValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Value = table.Column<string>(nullable: false),
|
||||
EntityId = table.Column<string>(nullable: true),
|
||||
EntityDynamicParameterId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityDynamicParameterValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityDynamicParameterValues_AbpEntityDynamicParameters_EntityDynamicParameterId",
|
||||
column: x => x.EntityDynamicParameterId,
|
||||
principalTable: "AbpEntityDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits",
|
||||
columns: new[] { "TenantId", "Code" },
|
||||
unique: true,
|
||||
filter: "[TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicParameters_ParameterName_TenantId",
|
||||
table: "AbpDynamicParameters",
|
||||
columns: new[] { "ParameterName", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[ParameterName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicParameterValues_DynamicParameterId",
|
||||
table: "AbpDynamicParameterValues",
|
||||
column: "DynamicParameterId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameters_DynamicParameterId",
|
||||
table: "AbpEntityDynamicParameters",
|
||||
column: "DynamicParameterId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameters_EntityFullName_DynamicParameterId_TenantId",
|
||||
table: "AbpEntityDynamicParameters",
|
||||
columns: new[] { "EntityFullName", "DynamicParameterId", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[EntityFullName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameterValues_EntityDynamicParameterId",
|
||||
table: "AbpEntityDynamicParameterValues",
|
||||
column: "EntityDynamicParameterId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicParameterValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityDynamicParameterValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityDynamicParameters");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicParameters");
|
||||
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits",
|
||||
columns: new[] { "TenantId", "Code" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,34 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_Abp_5_9 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits",
|
||||
columns: new[] { "TenantId", "Code" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpOrganizationUnits_TenantId_Code",
|
||||
table: "AbpOrganizationUnits",
|
||||
columns: new[] { "TenantId", "Code" },
|
||||
unique: true,
|
||||
filter: "[TenantId] IS NOT NULL");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,256 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_ABP_5_13_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicParameterValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityDynamicParameterValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpEntityDynamicParameters");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicParameters");
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicProperties",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
PropertyName = table.Column<string>(nullable: true),
|
||||
InputType = table.Column<string>(nullable: true),
|
||||
Permission = table.Column<string>(nullable: true),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicProperties", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicEntityProperties",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
EntityFullName = table.Column<string>(nullable: true),
|
||||
DynamicPropertyId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicEntityProperties", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpDynamicEntityProperties_AbpDynamicProperties_DynamicPropertyId",
|
||||
column: x => x.DynamicPropertyId,
|
||||
principalTable: "AbpDynamicProperties",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicPropertyValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Value = table.Column<string>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true),
|
||||
DynamicPropertyId = table.Column<int>(nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicPropertyValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpDynamicPropertyValues_AbpDynamicProperties_DynamicPropertyId",
|
||||
column: x => x.DynamicPropertyId,
|
||||
principalTable: "AbpDynamicProperties",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicEntityPropertyValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
Value = table.Column<string>(nullable: false),
|
||||
EntityId = table.Column<string>(nullable: true),
|
||||
DynamicEntityPropertyId = table.Column<int>(nullable: false),
|
||||
TenantId = table.Column<int>(nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicEntityPropertyValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpDynamicEntityPropertyValues_AbpDynamicEntityProperties_DynamicEntityPropertyId",
|
||||
column: x => x.DynamicEntityPropertyId,
|
||||
principalTable: "AbpDynamicEntityProperties",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicEntityProperties_DynamicPropertyId",
|
||||
table: "AbpDynamicEntityProperties",
|
||||
column: "DynamicPropertyId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicEntityProperties_EntityFullName_DynamicPropertyId_TenantId",
|
||||
table: "AbpDynamicEntityProperties",
|
||||
columns: new[] { "EntityFullName", "DynamicPropertyId", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[EntityFullName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicEntityPropertyValues_DynamicEntityPropertyId",
|
||||
table: "AbpDynamicEntityPropertyValues",
|
||||
column: "DynamicEntityPropertyId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicProperties_PropertyName_TenantId",
|
||||
table: "AbpDynamicProperties",
|
||||
columns: new[] { "PropertyName", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[PropertyName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicPropertyValues_DynamicPropertyId",
|
||||
table: "AbpDynamicPropertyValues",
|
||||
column: "DynamicPropertyId");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicEntityPropertyValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicPropertyValues");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicEntityProperties");
|
||||
|
||||
migrationBuilder.DropTable(
|
||||
name: "AbpDynamicProperties");
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicParameters",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
InputType = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
ParameterName = table.Column<string>(type: "nvarchar(450)", nullable: true),
|
||||
Permission = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
TenantId = table.Column<int>(type: "int", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicParameters", x => x.Id);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpDynamicParameterValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
DynamicParameterId = table.Column<int>(type: "int", nullable: false),
|
||||
TenantId = table.Column<int>(type: "int", nullable: true),
|
||||
Value = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpDynamicParameterValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpDynamicParameterValues_AbpDynamicParameters_DynamicParameterId",
|
||||
column: x => x.DynamicParameterId,
|
||||
principalTable: "AbpDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityDynamicParameters",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
DynamicParameterId = table.Column<int>(type: "int", nullable: false),
|
||||
EntityFullName = table.Column<string>(type: "nvarchar(450)", nullable: true),
|
||||
TenantId = table.Column<int>(type: "int", nullable: true)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityDynamicParameters", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityDynamicParameters_AbpDynamicParameters_DynamicParameterId",
|
||||
column: x => x.DynamicParameterId,
|
||||
principalTable: "AbpDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateTable(
|
||||
name: "AbpEntityDynamicParameterValues",
|
||||
columns: table => new
|
||||
{
|
||||
Id = table.Column<int>(type: "int", nullable: false)
|
||||
.Annotation("SqlServer:Identity", "1, 1"),
|
||||
EntityDynamicParameterId = table.Column<int>(type: "int", nullable: false),
|
||||
EntityId = table.Column<string>(type: "nvarchar(max)", nullable: true),
|
||||
TenantId = table.Column<int>(type: "int", nullable: true),
|
||||
Value = table.Column<string>(type: "nvarchar(max)", nullable: false)
|
||||
},
|
||||
constraints: table =>
|
||||
{
|
||||
table.PrimaryKey("PK_AbpEntityDynamicParameterValues", x => x.Id);
|
||||
table.ForeignKey(
|
||||
name: "FK_AbpEntityDynamicParameterValues_AbpEntityDynamicParameters_EntityDynamicParameterId",
|
||||
column: x => x.EntityDynamicParameterId,
|
||||
principalTable: "AbpEntityDynamicParameters",
|
||||
principalColumn: "Id",
|
||||
onDelete: ReferentialAction.Cascade);
|
||||
});
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicParameters_ParameterName_TenantId",
|
||||
table: "AbpDynamicParameters",
|
||||
columns: new[] { "ParameterName", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[ParameterName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpDynamicParameterValues_DynamicParameterId",
|
||||
table: "AbpDynamicParameterValues",
|
||||
column: "DynamicParameterId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameters_DynamicParameterId",
|
||||
table: "AbpEntityDynamicParameters",
|
||||
column: "DynamicParameterId");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameters_EntityFullName_DynamicParameterId_TenantId",
|
||||
table: "AbpEntityDynamicParameters",
|
||||
columns: new[] { "EntityFullName", "DynamicParameterId", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[EntityFullName] IS NOT NULL AND [TenantId] IS NOT NULL");
|
||||
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpEntityDynamicParameterValues_EntityDynamicParameterId",
|
||||
table: "AbpEntityDynamicParameterValues",
|
||||
column: "EntityDynamicParameterId");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,44 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgraded_To_ABP_6_0 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "NewValueHash",
|
||||
table: "AbpEntityPropertyChanges",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "OriginalValueHash",
|
||||
table: "AbpEntityPropertyChanges",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "DisplayName",
|
||||
table: "AbpDynamicProperties",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "NewValueHash",
|
||||
table: "AbpEntityPropertyChanges");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "OriginalValueHash",
|
||||
table: "AbpEntityPropertyChanges");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "DisplayName",
|
||||
table: "AbpDynamicProperties");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,64 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Metadata;
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_To_ABP_6_1_1 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey("PK_AbpDynamicPropertyValues", "AbpDynamicPropertyValues");
|
||||
migrationBuilder.DropColumn("Id", "AbpDynamicPropertyValues");
|
||||
migrationBuilder.AddColumn<long>(
|
||||
name: "Id",
|
||||
table: "AbpDynamicPropertyValues",
|
||||
nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_AbpDynamicPropertyValues",
|
||||
table: "AbpDynamicPropertyValues",
|
||||
columns: new[] { "Id" });
|
||||
|
||||
migrationBuilder.DropPrimaryKey("PK_AbpDynamicEntityPropertyValues", "AbpDynamicEntityPropertyValues");
|
||||
migrationBuilder.DropColumn("Id", "AbpDynamicEntityPropertyValues");
|
||||
migrationBuilder.AddColumn<long>(
|
||||
name: "Id",
|
||||
table: "AbpDynamicEntityPropertyValues",
|
||||
nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
||||
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_AbpDynamicEntityPropertyValues",
|
||||
table: "AbpDynamicEntityPropertyValues",
|
||||
columns: new[] { "Id" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropPrimaryKey("PK_AbpDynamicPropertyValues", "AbpDynamicPropertyValues");
|
||||
migrationBuilder.DropColumn("Id", "AbpDynamicPropertyValues");
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Id",
|
||||
table: "AbpDynamicPropertyValues",
|
||||
nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_AbpDynamicPropertyValues",
|
||||
table: "AbpDynamicPropertyValues",
|
||||
columns: new[] { "Id" });
|
||||
|
||||
migrationBuilder.DropPrimaryKey("PK_AbpDynamicEntityPropertyValues", "AbpDynamicEntityPropertyValues");
|
||||
migrationBuilder.DropColumn("Id", "AbpDynamicEntityPropertyValues");
|
||||
migrationBuilder.AddColumn<int>(
|
||||
name: "Id",
|
||||
table: "AbpDynamicEntityPropertyValues",
|
||||
nullable: false)
|
||||
.Annotation("SqlServer:ValueGenerationStrategy", SqlServerValueGenerationStrategy.IdentityColumn);
|
||||
migrationBuilder.AddPrimaryKey(
|
||||
name: "PK_AbpDynamicEntityPropertyValues",
|
||||
table: "AbpDynamicEntityPropertyValues",
|
||||
columns: new[] { "Id" });
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,65 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_To_ABP_6_3 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "PropertyName",
|
||||
table: "AbpDynamicProperties",
|
||||
type: "nvarchar(256)",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(450)",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "EntityFullName",
|
||||
table: "AbpDynamicEntityProperties",
|
||||
type: "nvarchar(256)",
|
||||
maxLength: 256,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(450)",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "ExceptionMessage",
|
||||
table: "AbpAuditLogs",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "ExceptionMessage",
|
||||
table: "AbpAuditLogs");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "PropertyName",
|
||||
table: "AbpDynamicProperties",
|
||||
type: "nvarchar(450)",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(256)",
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "EntityFullName",
|
||||
table: "AbpDynamicEntityProperties",
|
||||
type: "nvarchar(450)",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(256)",
|
||||
oldMaxLength: 256,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_To_ABP_6_4_rc1 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.CreateIndex(
|
||||
name: "IX_AbpUserLogins_ProviderKey_TenantId",
|
||||
table: "AbpUserLogins",
|
||||
columns: new[] { "ProviderKey", "TenantId" },
|
||||
unique: true,
|
||||
filter: "[TenantId] IS NOT NULL");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropIndex(
|
||||
name: "IX_AbpUserLogins_ProviderKey_TenantId",
|
||||
table: "AbpUserLogins");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,36 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
public partial class Upgrade_To_ABP_73 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpUserNotifications",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotifications",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpUserNotifications");
|
||||
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotifications");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,59 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
/// <inheritdoc />
|
||||
public partial class UpgradedToAbp80 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpUserNotifications",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)",
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotifications",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)",
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpUserNotifications",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(1024)",
|
||||
oldMaxLength: 1024,
|
||||
oldNullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotifications",
|
||||
type: "nvarchar(max)",
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(1024)",
|
||||
oldMaxLength: 1024,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,66 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
/// <inheritdoc />
|
||||
public partial class Upgraded_To_Abp_9_1 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Discriminator",
|
||||
table: "AbpPermissions",
|
||||
type: "nvarchar(21)",
|
||||
maxLength: 21,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)");
|
||||
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotificationSubscriptions",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Discriminator",
|
||||
table: "AbpFeatures",
|
||||
type: "nvarchar(21)",
|
||||
maxLength: 21,
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "TargetNotifiers",
|
||||
table: "AbpNotificationSubscriptions");
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Discriminator",
|
||||
table: "AbpPermissions",
|
||||
type: "nvarchar(max)",
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(21)",
|
||||
oldMaxLength: 21);
|
||||
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Discriminator",
|
||||
table: "AbpFeatures",
|
||||
type: "nvarchar(max)",
|
||||
nullable: false,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(21)",
|
||||
oldMaxLength: 21);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,30 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations;
|
||||
|
||||
/// <inheritdoc />
|
||||
public partial class Upgraded_To_Abp_9_2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AddColumn<string>(
|
||||
name: "FailReason",
|
||||
table: "AbpUserLoginAttempts",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DropColumn(
|
||||
name: "FailReason",
|
||||
table: "AbpUserLoginAttempts");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -1,42 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Upgraded_To_Abp_10_0 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Parameters",
|
||||
table: "AbpAuditLogs",
|
||||
type: "nvarchar(2048)",
|
||||
maxLength: 2048,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(1024)",
|
||||
oldMaxLength: 1024,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Parameters",
|
||||
table: "AbpAuditLogs",
|
||||
type: "nvarchar(1024)",
|
||||
maxLength: 1024,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(2048)",
|
||||
oldMaxLength: 2048,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -1,42 +0,0 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace ASPBaseOIDC.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class Upgraded_To_Abp_10_2 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Parameters",
|
||||
table: "AbpAuditLogs",
|
||||
type: "nvarchar(max)",
|
||||
maxLength: 4096,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(2048)",
|
||||
oldMaxLength: 2048,
|
||||
oldNullable: true);
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Parameters",
|
||||
table: "AbpAuditLogs",
|
||||
type: "nvarchar(2048)",
|
||||
maxLength: 2048,
|
||||
nullable: true,
|
||||
oldClrType: typeof(string),
|
||||
oldType: "nvarchar(max)",
|
||||
oldMaxLength: 4096,
|
||||
oldNullable: true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
452
src/ASPBaseOIDC.Web.Host/App_Data/Logs/Logs.txt
Normal file
452
src/ASPBaseOIDC.Web.Host/App_Data/Logs/Logs.txt
Normal file
@@ -0,0 +1,452 @@
|
||||
DEBUG 2025-10-01 21:28:37,488 [2 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
|
||||
DEBUG 2025-10-01 21:28:38,832 [2 ] Abp.Modules.AbpModuleManager - Found 15 ABP modules in total.
|
||||
DEBUG 2025-10-01 21:28:38,864 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.Web.Host.Startup.ASPBaseOIDCWebHostModule, ASPBaseOIDC.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,869 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCWebCoreModule, ASPBaseOIDC.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,870 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCApplicationModule, ASPBaseOIDC.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,875 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCCoreModule, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,876 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,876 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,877 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,880 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,881 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCEntityFrameworkModule, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,881 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,882 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,882 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,883 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,883 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,883 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:38,885 [2 ] Abp.Modules.AbpModuleManager - 15 modules loaded.
|
||||
DEBUG 2025-10-01 21:28:39,193 [2 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:28:39,194 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:28:39,194 [2 ] o.Configuration.LanguageManagementConfig - Converted ASPBaseOIDC (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:28:39,194 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:28:39,748 [2 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCDbContext, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:28:39,954 [2 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
|
||||
DEBUG 2025-10-01 21:28:40,051 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
|
||||
DEBUG 2025-10-01 21:28:40,093 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
|
||||
DEBUG 2025-10-01 21:28:40,110 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: ASPBaseOIDC
|
||||
DEBUG 2025-10-01 21:28:40,136 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
|
||||
DEBUG 2025-10-01 21:28:40,148 [2 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
|
||||
DEBUG 2025-10-01 21:28:40,159 [2 ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[ASPBaseOIDC.MultiTenancy.Tenant, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[ASPBaseOIDC.Authorization.Users.User, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
|
||||
DEBUG 2025-10-01 21:28:40,185 [2 ] Abp.AutoMapper.AbpAutoMapperModule - Found 7 classes define auto mapping attributes
|
||||
DEBUG 2025-10-01 21:28:40,185 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.CreateUserDto
|
||||
DEBUG 2025-10-01 21:28:40,190 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.UserDto
|
||||
DEBUG 2025-10-01 21:28:40,191 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.TenantLoginInfoDto
|
||||
DEBUG 2025-10-01 21:28:40,191 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.UserLoginInfoDto
|
||||
DEBUG 2025-10-01 21:28:40,191 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Roles.Dto.PermissionDto
|
||||
DEBUG 2025-10-01 21:28:40,191 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.CreateTenantDto
|
||||
DEBUG 2025-10-01 21:28:40,191 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.TenantDto
|
||||
ERROR 2025-10-01 21:28:46,396 [5 ] Microsoft.EntityFrameworkCore.Query - An exception occurred while iterating over the results of a query for context type 'ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCDbContext'.
|
||||
System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||
System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||
ERROR 2025-10-01 21:28:46,440 [2 ] Microsoft.EntityFrameworkCore.Update - An exception occurred in the database while saving changes for context type 'ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCDbContext'.
|
||||
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
---> System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges>b__112_0(DbContext _, ValueTuple`2 t)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
---> System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges>b__112_0(DbContext _, ValueTuple`2 t)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
WARN 2025-10-01 21:28:56,448 [5 ] Abp.BackgroundJobs.BackgroundJobManager - System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
|
||||
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
|
||||
at Abp.BackgroundJobs.BackgroundJobStore.<>c__DisplayClass7_0.<GetWaitingJobsAsync>b__0()
|
||||
at Abp.Domain.Uow.UnitOfWorkManagerExtensions.WithUnitOfWork[TResult](IUnitOfWorkManager manager, Func`1 action, UnitOfWorkOptions options)
|
||||
at Abp.BackgroundJobs.BackgroundJobStore.GetWaitingJobsAsync(Int32 maxResultCount)
|
||||
at Abp.BackgroundJobs.BackgroundJobManager.DoWorkAsync()
|
||||
at Abp.Threading.BackgroundWorkers.AsyncPeriodicBackgroundWorkerBase.Timer_Elapsed(AbpAsyncTimer timer)
|
||||
System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.InitializeReader(Enumerator enumerator)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.<>c.<MoveNext>b__21_0(DbContext _, Enumerator enumerator)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.Enumerator.MoveNext()
|
||||
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
|
||||
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
|
||||
at Abp.BackgroundJobs.BackgroundJobStore.<>c__DisplayClass7_0.<GetWaitingJobsAsync>b__0()
|
||||
at Abp.Domain.Uow.UnitOfWorkManagerExtensions.WithUnitOfWork[TResult](IUnitOfWorkManager manager, Func`1 action, UnitOfWorkOptions options)
|
||||
at Abp.BackgroundJobs.BackgroundJobStore.GetWaitingJobsAsync(Int32 maxResultCount)
|
||||
at Abp.BackgroundJobs.BackgroundJobManager.DoWorkAsync()
|
||||
at Abp.Threading.BackgroundWorkers.AsyncPeriodicBackgroundWorkerBase.Timer_Elapsed(AbpAsyncTimer timer)
|
||||
FATAL 2025-10-01 21:28:56,605 [2 ] Abp.AbpBootstrapper - Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
---> System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges>b__112_0(DbContext _, ValueTuple`2 t)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()
|
||||
at Abp.EntityFrameworkCore.AbpDbContext.SaveChanges()
|
||||
at Abp.Zero.EntityFrameworkCore.AbpZeroCommonDbContext`3.SaveChanges()
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.DefaultEditionCreator.CreateEditions() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\DefaultEditionCreator.cs:line 30
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.DefaultEditionCreator.Create() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\DefaultEditionCreator.cs:line 20
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.InitialHostDbBuilder.Create() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\InitialHostDbBuilder.cs:line 14
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(ASPBaseOIDCDbContext context) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 25
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.WithDbContext[TDbContext](IIocResolver iocResolver, Action`1 contextAction) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 41
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 17
|
||||
at ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCEntityFrameworkModule.PostInitialize() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\ASPBaseOIDCEntityFrameworkModule.cs:line 46
|
||||
at Abp.Modules.AbpModuleManager.<>c.<StartModules>b__15_2(AbpModuleInfo module)
|
||||
at System.Collections.Generic.List`1.ForEach(Action`1 action)
|
||||
at Abp.Modules.AbpModuleManager.StartModules()
|
||||
at Abp.AbpBootstrapper.Initialize()
|
||||
Microsoft.EntityFrameworkCore.DbUpdateException: An error occurred while saving the entity changes. See the inner exception for details.
|
||||
---> System.ArgumentException: Cannot write DateTime with Kind=Local to PostgreSQL type 'timestamp with time zone', only UTC is supported. Note that it's not possible to mix DateTimes with different Kinds in an array, range, or multirange. (Parameter 'value')
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(DateTime value, Nullable`1 expectedPgTypeId, Boolean validateOnly)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver.<>c.<CreateResolver>b__0_0(DateTimeConverterResolver`1 resolver, DateTime value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.Converters.DateTimeConverterResolver`1.Get(T value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgConverterResolver`1.GetAsObjectInternal(PgTypeInfo typeInfo, Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgResolverTypeInfo.GetResolutionAsObject(Object value, Nullable`1 expectedPgTypeId)
|
||||
at Npgsql.Internal.PgTypeInfo.GetObjectResolution(Object value)
|
||||
at Npgsql.NpgsqlParameter.ResolveConverter(PgTypeInfo typeInfo)
|
||||
at Npgsql.NpgsqlParameter.ResolveTypeInfo(PgSerializerOptions options)
|
||||
at Npgsql.NpgsqlParameterCollection.ProcessParameters(PgSerializerOptions options, Boolean validateValues, CommandType commandType)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(Boolean async, CommandBehavior behavior, CancellationToken cancellationToken)
|
||||
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior)
|
||||
at Npgsql.NpgsqlCommand.ExecuteDbDataReader(CommandBehavior behavior)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReader(RelationalCommandParameterObject parameterObject)
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
--- End of inner exception stack trace ---
|
||||
at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
|
||||
at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges>b__112_0(DbContext _, ValueTuple`2 t)
|
||||
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
|
||||
at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
|
||||
at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()
|
||||
at Abp.EntityFrameworkCore.AbpDbContext.SaveChanges()
|
||||
at Abp.Zero.EntityFrameworkCore.AbpZeroCommonDbContext`3.SaveChanges()
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.DefaultEditionCreator.CreateEditions() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\DefaultEditionCreator.cs:line 30
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.DefaultEditionCreator.Create() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\DefaultEditionCreator.cs:line 20
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.Host.InitialHostDbBuilder.Create() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\Host\InitialHostDbBuilder.cs:line 14
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(ASPBaseOIDCDbContext context) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 25
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.WithDbContext[TDbContext](IIocResolver iocResolver, Action`1 contextAction) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 41
|
||||
at ASPBaseOIDC.EntityFrameworkCore.Seed.SeedHelper.SeedHostDb(IIocResolver iocResolver) in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\Seed\SeedHelper.cs:line 17
|
||||
at ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCEntityFrameworkModule.PostInitialize() in C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.EntityFrameworkCore\EntityFrameworkCore\ASPBaseOIDCEntityFrameworkModule.cs:line 46
|
||||
at Abp.Modules.AbpModuleManager.<>c.<StartModules>b__15_2(AbpModuleInfo module)
|
||||
at System.Collections.Generic.List`1.ForEach(Action`1 action)
|
||||
at Abp.Modules.AbpModuleManager.StartModules()
|
||||
at Abp.AbpBootstrapper.Initialize()
|
||||
DEBUG 2025-10-01 21:30:00,201 [2 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
|
||||
DEBUG 2025-10-01 21:30:00,356 [2 ] Abp.Modules.AbpModuleManager - Found 15 ABP modules in total.
|
||||
DEBUG 2025-10-01 21:30:00,363 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.Web.Host.Startup.ASPBaseOIDCWebHostModule, ASPBaseOIDC.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,364 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCWebCoreModule, ASPBaseOIDC.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,364 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCApplicationModule, ASPBaseOIDC.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,364 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCCoreModule, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,364 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,365 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,365 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,365 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCEntityFrameworkModule, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,366 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,367 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,368 [2 ] Abp.Modules.AbpModuleManager - 15 modules loaded.
|
||||
DEBUG 2025-10-01 21:30:00,407 [2 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:30:00,407 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:30:00,407 [2 ] o.Configuration.LanguageManagementConfig - Converted ASPBaseOIDC (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:30:00,407 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:30:00,614 [2 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCDbContext, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:30:00,703 [2 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
|
||||
DEBUG 2025-10-01 21:30:00,739 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
|
||||
DEBUG 2025-10-01 21:30:00,762 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
|
||||
DEBUG 2025-10-01 21:30:00,770 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: ASPBaseOIDC
|
||||
DEBUG 2025-10-01 21:30:00,795 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
|
||||
DEBUG 2025-10-01 21:30:00,801 [2 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
|
||||
DEBUG 2025-10-01 21:30:00,825 [2 ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[ASPBaseOIDC.MultiTenancy.Tenant, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[ASPBaseOIDC.Authorization.Users.User, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
|
||||
DEBUG 2025-10-01 21:30:00,841 [2 ] Abp.AutoMapper.AbpAutoMapperModule - Found 7 classes define auto mapping attributes
|
||||
DEBUG 2025-10-01 21:30:00,841 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.CreateUserDto
|
||||
DEBUG 2025-10-01 21:30:00,843 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.UserDto
|
||||
DEBUG 2025-10-01 21:30:00,844 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.TenantLoginInfoDto
|
||||
DEBUG 2025-10-01 21:30:00,844 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.UserLoginInfoDto
|
||||
DEBUG 2025-10-01 21:30:00,844 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Roles.Dto.PermissionDto
|
||||
DEBUG 2025-10-01 21:30:00,844 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.CreateTenantDto
|
||||
DEBUG 2025-10-01 21:30:00,844 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.TenantDto
|
||||
INFO 2025-10-01 21:30:10,157 [2 ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX
|
||||
INFO 2025-10-01 21:30:10,921 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/ - - -
|
||||
INFO 2025-10-01 21:30:11,061 [2 ] Microsoft.Hosting.Lifetime - Application started. Press Ctrl+C to shut down.
|
||||
INFO 2025-10-01 21:30:11,067 [2 ] Microsoft.Hosting.Lifetime - Hosting environment: Development
|
||||
INFO 2025-10-01 21:30:11,071 [2 ] Microsoft.Hosting.Lifetime - Content root path: C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.Web.Host
|
||||
INFO 2025-10-01 21:30:11,586 [9 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:30:11,715 [9 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller ASPBaseOIDC.Web.Host.Controllers.HomeController (ASPBaseOIDC.Web.Host).
|
||||
INFO 2025-10-01 21:30:12,356 [16 ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
|
||||
INFO 2025-10-01 21:30:12,385 [16 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host) in 642.3489ms
|
||||
INFO 2025-10-01 21:30:12,389 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:30:12,418 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger - - -
|
||||
INFO 2025-10-01 21:30:12,431 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/ - 302 - - 1526.7641ms
|
||||
INFO 2025-10-01 21:30:12,447 [9 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/index.html - - -
|
||||
INFO 2025-10-01 21:30:12,451 [10 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger - 301 - - 33.2418ms
|
||||
INFO 2025-10-01 21:30:12,615 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/index.html - 200 - text/html;charset=utf-8 121.1147ms
|
||||
INFO 2025-10-01 21:30:12,618 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/swagger-ui-bundle.js - - -
|
||||
INFO 2025-10-01 21:30:12,622 [9 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/swagger-ui-standalone-preset.js - - -
|
||||
INFO 2025-10-01 21:30:12,625 [10 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/swagger-ui.css - - -
|
||||
INFO 2025-10-01 21:30:12,689 [9 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui-standalone-preset.js'. Physical path: 'N/A'
|
||||
INFO 2025-10-01 21:30:12,689 [10 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui.css'. Physical path: 'N/A'
|
||||
INFO 2025-10-01 21:30:12,694 [10 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/swagger-ui.css - 200 154949 text/css 76.3078ms
|
||||
INFO 2025-10-01 21:30:12,698 [10 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/ui/abp.js - - -
|
||||
INFO 2025-10-01 21:30:12,704 [9 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/swagger-ui-standalone-preset.js - 200 229223 text/javascript 85.3293ms
|
||||
INFO 2025-10-01 21:30:12,717 [27 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger/ui/abp.js'. Physical path: 'C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.Web.Host\wwwroot\swagger\ui\abp.js'
|
||||
INFO 2025-10-01 21:30:12,721 [17 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger-ui-bundle.js'. Physical path: 'N/A'
|
||||
INFO 2025-10-01 21:30:12,730 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/ui/abp.js - 200 3697 text/javascript 32.2333ms
|
||||
INFO 2025-10-01 21:30:12,739 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/ui/abp.swagger.js - - -
|
||||
INFO 2025-10-01 21:30:12,747 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - - -
|
||||
INFO 2025-10-01 21:30:12,751 [27 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/swagger/ui/abp.swagger.js'. Physical path: 'C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.Web.Host\wwwroot\swagger\ui\abp.swagger.js'
|
||||
INFO 2025-10-01 21:30:12,753 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/ui/abp.swagger.js - 200 8029 text/javascript 23.0223ms
|
||||
INFO 2025-10-01 21:30:12,759 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_vs/browserLink - - -
|
||||
INFO 2025-10-01 21:30:12,766 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - 200 16525 application/javascript;+charset=utf-8 14.8847ms
|
||||
INFO 2025-10-01 21:30:12,812 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/swagger-ui-bundle.js - 200 1484234 text/javascript 166.7026ms
|
||||
INFO 2025-10-01 21:30:12,934 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_vs/browserLink - 200 - text/javascript;+charset=UTF-8 175.5469ms
|
||||
INFO 2025-10-01 21:30:13,024 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - - -
|
||||
INFO 2025-10-01 21:30:13,030 [27 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:30:13,038 [27 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController (ASPBaseOIDC.Web.Host).
|
||||
INFO 2025-10-01 21:30:13,093 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - - -
|
||||
INFO 2025-10-01 21:30:13,096 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/favicon-32x32.png - - -
|
||||
INFO 2025-10-01 21:30:13,100 [17 ] NetCore.StaticFiles.StaticFileMiddleware - Sending file. Request path: '/favicon-32x32.png'. Physical path: 'N/A'
|
||||
INFO 2025-10-01 21:30:13,102 [17 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/favicon-32x32.png - 200 628 image/png 6.0632ms
|
||||
INFO 2025-10-01 21:30:13,131 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - 200 - application/json;charset=utf-8 37.2879ms
|
||||
INFO 2025-10-01 21:30:13,483 [27 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:30:13,502 [27 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host) in 458.9284ms
|
||||
INFO 2025-10-01 21:30:13,506 [27 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:30:13,510 [27 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - 200 - application/json;+charset=utf-8 487.1330ms
|
||||
DEBUG 2025-10-01 21:32:36,963 [2 ] Abp.Modules.AbpModuleManager - Loading Abp modules...
|
||||
DEBUG 2025-10-01 21:32:37,092 [2 ] Abp.Modules.AbpModuleManager - Found 15 ABP modules in total.
|
||||
DEBUG 2025-10-01 21:32:37,099 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.Web.Host.Startup.ASPBaseOIDCWebHostModule, ASPBaseOIDC.Web.Host, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,100 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCWebCoreModule, ASPBaseOIDC.Web.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,101 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCApplicationModule, ASPBaseOIDC.Application, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,101 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.ASPBaseOIDCCoreModule, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,101 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCoreModule, Abp.ZeroCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,101 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.AbpZeroCommonModule, Abp.Zero.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,101 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AbpKernelModule, Abp, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,102 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AutoMapper.AbpAutoMapperModule, Abp.AutoMapper, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,102 [2 ] Abp.Modules.AbpModuleManager - Loaded module: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCEntityFrameworkModule, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,102 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Zero.EntityFrameworkCore.AbpZeroCoreEntityFrameworkCoreModule, Abp.ZeroCore.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,102 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFrameworkCore.AbpEntityFrameworkCoreModule, Abp.EntityFrameworkCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,103 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.EntityFramework.AbpEntityFrameworkCommonModule, Abp.EntityFramework.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,103 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.AbpAspNetCoreModule, Abp.AspNetCore, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,103 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.Web.AbpWebCommonModule, Abp.Web.Common, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,103 [2 ] Abp.Modules.AbpModuleManager - Loaded module: Abp.AspNetCore.SignalR.AbpAspNetCoreSignalRModule, Abp.AspNetCore.SignalR, Version=10.2.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,104 [2 ] Abp.Modules.AbpModuleManager - 15 modules loaded.
|
||||
DEBUG 2025-10-01 21:32:37,147 [2 ] o.Configuration.LanguageManagementConfig - Converted Abp (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:32:37,147 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpZero (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:32:37,147 [2 ] o.Configuration.LanguageManagementConfig - Converted ASPBaseOIDC (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:32:37,147 [2 ] o.Configuration.LanguageManagementConfig - Converted AbpWeb (Abp.Localization.Dictionaries.DictionaryBasedLocalizationSource) to MultiTenantLocalizationSource
|
||||
DEBUG 2025-10-01 21:32:37,357 [2 ] ameworkCore.AbpEntityFrameworkCoreModule - Registering DbContext: ASPBaseOIDC.EntityFrameworkCore.ASPBaseOIDCDbContext, ASPBaseOIDC.EntityFrameworkCore, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
|
||||
DEBUG 2025-10-01 21:32:37,451 [2 ] Abp.Localization.LocalizationManager - Initializing 4 localization sources.
|
||||
DEBUG 2025-10-01 21:32:37,497 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: Abp
|
||||
DEBUG 2025-10-01 21:32:37,520 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpZero
|
||||
DEBUG 2025-10-01 21:32:37,528 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: ASPBaseOIDC
|
||||
DEBUG 2025-10-01 21:32:37,541 [2 ] Abp.Localization.LocalizationManager - Initialized localization source: AbpWeb
|
||||
DEBUG 2025-10-01 21:32:37,547 [2 ] Abp.BackgroundJobs.BackgroundJobManager - Start background worker: Abp.BackgroundJobs.BackgroundJobManager
|
||||
DEBUG 2025-10-01 21:32:37,592 [2 ] , Culture=neutral, PublicKeyToken=null]] - Start background worker: Abp.Authorization.Users.UserTokenExpirationWorker`2[[ASPBaseOIDC.MultiTenancy.Tenant, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null],[ASPBaseOIDC.Authorization.Users.User, ASPBaseOIDC.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]
|
||||
DEBUG 2025-10-01 21:32:37,605 [2 ] Abp.AutoMapper.AbpAutoMapperModule - Found 7 classes define auto mapping attributes
|
||||
DEBUG 2025-10-01 21:32:37,605 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.CreateUserDto
|
||||
DEBUG 2025-10-01 21:32:37,607 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Users.Dto.UserDto
|
||||
DEBUG 2025-10-01 21:32:37,608 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.TenantLoginInfoDto
|
||||
DEBUG 2025-10-01 21:32:37,608 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Sessions.Dto.UserLoginInfoDto
|
||||
DEBUG 2025-10-01 21:32:37,608 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.Roles.Dto.PermissionDto
|
||||
DEBUG 2025-10-01 21:32:37,608 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.CreateTenantDto
|
||||
DEBUG 2025-10-01 21:32:37,608 [2 ] Abp.AutoMapper.AbpAutoMapperModule - ASPBaseOIDC.MultiTenancy.Dto.TenantDto
|
||||
INFO 2025-10-01 21:32:49,602 [2 ] tCore.Builder.RequestLocalizationOptions - Supported Request Localization Cultures: en,es-MX
|
||||
INFO 2025-10-01 21:32:49,844 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/ - - -
|
||||
INFO 2025-10-01 21:32:49,898 [2 ] Microsoft.Hosting.Lifetime - Application started. Press Ctrl+C to shut down.
|
||||
INFO 2025-10-01 21:32:49,900 [2 ] Microsoft.Hosting.Lifetime - Hosting environment: Development
|
||||
INFO 2025-10-01 21:32:49,901 [2 ] Microsoft.Hosting.Lifetime - Content root path: C:\Users\jandres\source\repos\JJSolutions.ASPBaseOIDC\aspnet-core\src\ASPBaseOIDC.Web.Host
|
||||
INFO 2025-10-01 21:32:50,017 [14 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:32:50,059 [14 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Index", controller = "Home", area = ""}. Executing controller action with signature Microsoft.AspNetCore.Mvc.IActionResult Index() on controller ASPBaseOIDC.Web.Host.Controllers.HomeController (ASPBaseOIDC.Web.Host).
|
||||
INFO 2025-10-01 21:32:50,568 [14 ] vc.Infrastructure.RedirectResultExecutor - Executing RedirectResult, redirecting to /swagger.
|
||||
INFO 2025-10-01 21:32:50,582 [14 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host) in 510.3757ms
|
||||
INFO 2025-10-01 21:32:50,584 [14 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Web.Host.Controllers.HomeController.Index (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:32:50,603 [14 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/ - 302 - - 762.4794ms
|
||||
INFO 2025-10-01 21:32:50,651 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - - -
|
||||
INFO 2025-10-01 21:32:50,667 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_vs/browserLink - - -
|
||||
INFO 2025-10-01 21:32:50,695 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - 200 16525 application/javascript;+charset=utf-8 21.7859ms
|
||||
INFO 2025-10-01 21:32:50,735 [14 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_vs/browserLink - 200 - text/javascript;+charset=UTF-8 68.3243ms
|
||||
INFO 2025-10-01 21:32:50,936 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - - -
|
||||
INFO 2025-10-01 21:32:50,941 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:32:50,972 [16 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController (ASPBaseOIDC.Web.Host).
|
||||
INFO 2025-10-01 21:32:50,988 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - - -
|
||||
INFO 2025-10-01 21:32:51,011 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - 200 - application/json;charset=utf-8 23.6846ms
|
||||
INFO 2025-10-01 21:32:51,385 [14 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:32:51,394 [14 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host) in 419.766ms
|
||||
INFO 2025-10-01 21:32:51,396 [14 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:32:51,400 [14 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - 200 - application/json;+charset=utf-8 463.2759ms
|
||||
INFO 2025-10-01 21:33:13,292 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 POST https://localhost:44313/api/services/app/Account/IsTenantAvailable - application/json 25
|
||||
INFO 2025-10-01 21:33:13,302 [16 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution failed.
|
||||
INFO 2025-10-01 21:33:13,306 [16 ] pNetCore.Cors.Infrastructure.CorsService - Request origin https://localhost:44313 does not have permission to access the resource.
|
||||
INFO 2025-10-01 21:33:13,313 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Authorization.Accounts.AccountAppService.IsTenantAvailable (ASPBaseOIDC.Application)'
|
||||
INFO 2025-10-01 21:33:13,350 [16 ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "IsTenantAvailable", controller = "Account"}. Executing controller action with signature System.Threading.Tasks.Task`1[ASPBaseOIDC.Authorization.Accounts.Dto.IsTenantAvailableOutput] IsTenantAvailable(ASPBaseOIDC.Authorization.Accounts.Dto.IsTenantAvailableInput) on controller ASPBaseOIDC.Authorization.Accounts.AccountAppService (ASPBaseOIDC.Application).
|
||||
INFO 2025-10-01 21:33:14,419 [16 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:33:14,443 [16 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Authorization.Accounts.AccountAppService.IsTenantAvailable (ASPBaseOIDC.Application) in 1089.857ms
|
||||
INFO 2025-10-01 21:33:14,446 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Authorization.Accounts.AccountAppService.IsTenantAvailable (ASPBaseOIDC.Application)'
|
||||
INFO 2025-10-01 21:33:14,449 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 POST https://localhost:44313/api/services/app/Account/IsTenantAvailable - 200 - application/json;+charset=utf-8 1157.8989ms
|
||||
INFO 2025-10-01 21:33:14,456 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 POST https://localhost:44313/api/TokenAuth/Authenticate - application/json 53
|
||||
INFO 2025-10-01 21:33:14,460 [16 ] pNetCore.Cors.Infrastructure.CorsService - CORS policy execution failed.
|
||||
INFO 2025-10-01 21:33:14,462 [16 ] pNetCore.Cors.Infrastructure.CorsService - Request origin https://localhost:44313 does not have permission to access the resource.
|
||||
INFO 2025-10-01 21:33:15,041 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Controllers.TokenAuthController.Authenticate (ASPBaseOIDC.Web.Core)'
|
||||
INFO 2025-10-01 21:33:15,053 [16 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "Authenticate", controller = "TokenAuth", area = ""}. Executing controller action with signature System.Threading.Tasks.Task`1[ASPBaseOIDC.Models.TokenAuth.AuthenticateResultModel] Authenticate(ASPBaseOIDC.Models.TokenAuth.AuthenticateModel) on controller ASPBaseOIDC.Controllers.TokenAuthController (ASPBaseOIDC.Web.Core).
|
||||
INFO 2025-10-01 21:33:17,696 [16 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:33:17,702 [16 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Controllers.TokenAuthController.Authenticate (ASPBaseOIDC.Web.Core) in 2647.1345ms
|
||||
INFO 2025-10-01 21:33:17,704 [16 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Controllers.TokenAuthController.Authenticate (ASPBaseOIDC.Web.Core)'
|
||||
INFO 2025-10-01 21:33:17,706 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 POST https://localhost:44313/api/TokenAuth/Authenticate - 200 - application/json;+charset=utf-8 3250.9957ms
|
||||
INFO 2025-10-01 21:33:17,722 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/index.html - - -
|
||||
INFO 2025-10-01 21:33:17,775 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/index.html - 200 - text/html;charset=utf-8 52.9578ms
|
||||
INFO 2025-10-01 21:33:17,789 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - - -
|
||||
INFO 2025-10-01 21:33:17,790 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/_vs/browserLink - - -
|
||||
INFO 2025-10-01 21:33:17,794 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_framework/aspnetcore-browser-refresh.js - 200 16525 application/javascript;+charset=utf-8 4.5005ms
|
||||
INFO 2025-10-01 21:33:17,855 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/_vs/browserLink - 200 - text/javascript;+charset=UTF-8 64.2830ms
|
||||
INFO 2025-10-01 21:33:17,862 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - - -
|
||||
INFO 2025-10-01 21:33:17,880 [16 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - - -
|
||||
INFO 2025-10-01 21:33:18,251 [15 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:33:18,255 [15 ] c.Infrastructure.ControllerActionInvoker - Route matched with {action = "SetCookie", controller = "AntiForgery", area = ""}. Executing controller action with signature Void SetCookie() on controller ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController (ASPBaseOIDC.Web.Host).
|
||||
INFO 2025-10-01 21:33:18,268 [10 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/swagger/v1/swagger.json - 200 - application/json;charset=utf-8 388.0320ms
|
||||
INFO 2025-10-01 21:33:18,717 [15 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:33:18,720 [15 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host) in 462.4395ms
|
||||
INFO 2025-10-01 21:33:18,722 [15 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Web.Host.Controllers.AntiForgeryController.SetCookie (ASPBaseOIDC.Web.Host)'
|
||||
INFO 2025-10-01 21:33:18,748 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/AntiForgery/SetCookie - 200 - application/json;+charset=utf-8 863.1723ms
|
||||
INFO 2025-10-01 21:33:25,253 [15 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request starting HTTP/2 GET https://localhost:44313/api/services/app/User/GetAll - - -
|
||||
INFO 2025-10-01 21:33:25,263 [15 ] ft.AspNetCore.Routing.EndpointMiddleware - Executing endpoint 'ASPBaseOIDC.Users.UserAppService.GetAllAsync (ASPBaseOIDC.Application)'
|
||||
INFO 2025-10-01 21:33:25,293 [15 ] c.Infrastructure.ControllerActionInvoker - Route matched with {area = "app", action = "GetAll", controller = "User"}. Executing controller action with signature System.Threading.Tasks.Task`1[Abp.Application.Services.Dto.PagedResultDto`1[ASPBaseOIDC.Users.Dto.UserDto]] GetAllAsync(ASPBaseOIDC.Users.Dto.PagedUserResultRequestDto) on controller ASPBaseOIDC.Users.UserAppService (ASPBaseOIDC.Application).
|
||||
INFO 2025-10-01 21:33:29,883 [28 ] .Mvc.Infrastructure.ObjectResultExecutor - Executing ObjectResult, writing value of type 'Abp.Web.Models.AjaxResponse'.
|
||||
INFO 2025-10-01 21:33:29,915 [28 ] c.Infrastructure.ControllerActionInvoker - Executed action ASPBaseOIDC.Users.UserAppService.GetAllAsync (ASPBaseOIDC.Application) in 4618.4573ms
|
||||
INFO 2025-10-01 21:33:29,918 [28 ] ft.AspNetCore.Routing.EndpointMiddleware - Executed endpoint 'ASPBaseOIDC.Users.UserAppService.GetAllAsync (ASPBaseOIDC.Application)'
|
||||
INFO 2025-10-01 21:33:29,942 [28 ] Microsoft.AspNetCore.Hosting.Diagnostics - Request finished HTTP/2 GET https://localhost:44313/api/services/app/User/GetAll - 200 - application/json;+charset=utf-8 4668.4694ms
|
||||
@@ -3,8 +3,8 @@
|
||||
"windowsAuthentication": false,
|
||||
"anonymousAuthentication": true,
|
||||
"iisExpress": {
|
||||
"applicationUrl": "https://localhost:44311/",
|
||||
"sslPort": 44311
|
||||
"applicationUrl": "https://localhost:44313/",
|
||||
"sslPort": 44313
|
||||
}
|
||||
},
|
||||
"profiles": {
|
||||
@@ -18,7 +18,8 @@
|
||||
"ASPBaseOIDC.Web.Host": {
|
||||
"commandName": "Project",
|
||||
"launchBrowser": true,
|
||||
"applicationUrl": "https://localhost:44311/",
|
||||
"applicationUrl": "https://localhost:44313/",
|
||||
"sslPort": 44313,
|
||||
"environmentVariables": {
|
||||
"ASPNETCORE_ENVIRONMENT": "Development"
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"ConnectionStrings": {
|
||||
"Default": "Server=localhost; Database=ASPBaseOIDCDb; Trusted_Connection=True; TrustServerCertificate=True;"
|
||||
"Default": "User Id=postgres;Password=admin57$;Server=134.199.235.213;Port=5432;Database=isa_base_auth_db"
|
||||
},
|
||||
"App": {
|
||||
"ServerRootAddress": "https://localhost:44311/",
|
||||
|
||||
Reference in New Issue
Block a user