diff --git a/migrations/IdentityServerDb/Migrations/ConfigurationDb.sql b/migrations/IdentityServerDb/Migrations/ConfigurationDb.sql index 5bb95c568..29710fc8c 100644 --- a/migrations/IdentityServerDb/Migrations/ConfigurationDb.sql +++ b/migrations/IdentityServerDb/Migrations/ConfigurationDb.sql @@ -367,7 +367,7 @@ CREATE UNIQUE INDEX [IX_IdentityResources_Name] ON [IdentityResources] ([Name]); GO INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion]) -VALUES (N'20231006192633_Configuration', N'8.0.0-preview.7.23375.4'); +VALUES (N'20231110071401_Configuration', N'8.0.0-rc.2.23480.1'); GO COMMIT; diff --git a/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231006192633_Configuration.Designer.cs b/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231110071401_Configuration.Designer.cs similarity index 99% rename from migrations/IdentityServerDb/Migrations/ConfigurationDb/20231006192633_Configuration.Designer.cs rename to migrations/IdentityServerDb/Migrations/ConfigurationDb/20231110071401_Configuration.Designer.cs index e77605837..21c91a5cd 100644 --- a/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231006192633_Configuration.Designer.cs +++ b/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231110071401_Configuration.Designer.cs @@ -12,7 +12,7 @@ namespace IdentityServerDb.Migrations.ConfigurationDb { [DbContext(typeof(ConfigurationDbContext))] - [Migration("20231006192633_Configuration")] + [Migration("20231110071401_Configuration")] partial class Configuration { /// @@ -20,7 +20,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "8.0.0-preview.7.23375.4") + .HasAnnotation("ProductVersion", "8.0.0-rc.2.23480.1") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); diff --git a/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231006192633_Configuration.cs b/migrations/IdentityServerDb/Migrations/ConfigurationDb/20231110071401_Configuration.cs similarity index 100% rename from migrations/IdentityServerDb/Migrations/ConfigurationDb/20231006192633_Configuration.cs rename to migrations/IdentityServerDb/Migrations/ConfigurationDb/20231110071401_Configuration.cs diff --git a/migrations/IdentityServerDb/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs b/migrations/IdentityServerDb/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs index 4b870c7b9..4d16857bb 100644 --- a/migrations/IdentityServerDb/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs +++ b/migrations/IdentityServerDb/Migrations/ConfigurationDb/ConfigurationDbContextModelSnapshot.cs @@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "8.0.0-preview.7.23375.4") + .HasAnnotation("ProductVersion", "8.0.0-rc.2.23480.1") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); diff --git a/migrations/IdentityServerDb/Migrations/PersistedGrantDb.sql b/migrations/IdentityServerDb/Migrations/PersistedGrantDb.sql index 7b3721ec2..93557ed3f 100644 --- a/migrations/IdentityServerDb/Migrations/PersistedGrantDb.sql +++ b/migrations/IdentityServerDb/Migrations/PersistedGrantDb.sql @@ -55,7 +55,7 @@ CREATE TABLE [PersistedGrants] ( GO CREATE TABLE [PushedAuthorizationRequests] ( - [Id] int NOT NULL IDENTITY, + [Id] bigint NOT NULL IDENTITY, [ReferenceValueHash] nvarchar(64) NOT NULL, [ExpiresAtUtc] datetime2 NOT NULL, [Parameters] nvarchar(max) NOT NULL, @@ -64,7 +64,7 @@ CREATE TABLE [PushedAuthorizationRequests] ( GO CREATE TABLE [ServerSideSessions] ( - [Id] int NOT NULL IDENTITY, + [Id] bigint NOT NULL IDENTITY, [Key] nvarchar(100) NOT NULL, [Scheme] nvarchar(100) NOT NULL, [SubjectId] nvarchar(100) NOT NULL, @@ -121,7 +121,7 @@ CREATE INDEX [IX_ServerSideSessions_SubjectId] ON [ServerSideSessions] ([Subject GO INSERT INTO [__EFMigrationsHistory] ([MigrationId], [ProductVersion]) -VALUES (N'20231006192628_Grants', N'8.0.0-preview.7.23375.4'); +VALUES (N'20231110071347_Grants', N'8.0.0-rc.2.23480.1'); GO COMMIT; diff --git a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.Designer.cs b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.Designer.cs similarity index 96% rename from migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.Designer.cs rename to migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.Designer.cs index 45077410e..99ec7f7c0 100644 --- a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.Designer.cs +++ b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.Designer.cs @@ -12,7 +12,7 @@ namespace IdentityServerDb.Migrations.PersistedGrantDb { [DbContext(typeof(PersistedGrantDbContext))] - [Migration("20231006192628_Grants")] + [Migration("20231110071347_Grants")] partial class Grants { /// @@ -20,7 +20,7 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "8.0.0-preview.7.23375.4") + .HasAnnotation("ProductVersion", "8.0.0-rc.2.23480.1") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -178,11 +178,11 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) modelBuilder.Entity("Duende.IdentityServer.EntityFramework.Entities.PushedAuthorizationRequest", b => { - b.Property("Id") + b.Property("Id") .ValueGeneratedOnAdd() - .HasColumnType("int"); + .HasColumnType("bigint"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ExpiresAtUtc") .HasColumnType("datetime2"); @@ -206,11 +206,11 @@ protected override void BuildTargetModel(ModelBuilder modelBuilder) modelBuilder.Entity("Duende.IdentityServer.EntityFramework.Entities.ServerSideSession", b => { - b.Property("Id") + b.Property("Id") .ValueGeneratedOnAdd() - .HasColumnType("int"); + .HasColumnType("bigint"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Created") .HasColumnType("datetime2"); diff --git a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.cs b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.cs similarity index 98% rename from migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.cs rename to migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.cs index 651ffb4e9..2b1b5bbbb 100644 --- a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231006192628_Grants.cs +++ b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/20231110071347_Grants.cs @@ -74,7 +74,7 @@ protected override void Up(MigrationBuilder migrationBuilder) name: "PushedAuthorizationRequests", columns: table => new { - Id = table.Column(type: "int", nullable: false) + Id = table.Column(type: "bigint", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), ReferenceValueHash = table.Column(type: "nvarchar(64)", maxLength: 64, nullable: false), ExpiresAtUtc = table.Column(type: "datetime2", nullable: false), @@ -89,7 +89,7 @@ protected override void Up(MigrationBuilder migrationBuilder) name: "ServerSideSessions", columns: table => new { - Id = table.Column(type: "int", nullable: false) + Id = table.Column(type: "bigint", nullable: false) .Annotation("SqlServer:Identity", "1, 1"), Key = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), Scheme = table.Column(type: "nvarchar(100)", maxLength: 100, nullable: false), diff --git a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs index aa9ea46e1..8bd387b3f 100644 --- a/migrations/IdentityServerDb/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs +++ b/migrations/IdentityServerDb/Migrations/PersistedGrantDb/PersistedGrantDbContextModelSnapshot.cs @@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder) { #pragma warning disable 612, 618 modelBuilder - .HasAnnotation("ProductVersion", "8.0.0-preview.7.23375.4") + .HasAnnotation("ProductVersion", "8.0.0-rc.2.23480.1") .HasAnnotation("Relational:MaxIdentifierLength", 128); SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder); @@ -175,11 +175,11 @@ protected override void BuildModel(ModelBuilder modelBuilder) modelBuilder.Entity("Duende.IdentityServer.EntityFramework.Entities.PushedAuthorizationRequest", b => { - b.Property("Id") + b.Property("Id") .ValueGeneratedOnAdd() - .HasColumnType("int"); + .HasColumnType("bigint"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("ExpiresAtUtc") .HasColumnType("datetime2"); @@ -203,11 +203,11 @@ protected override void BuildModel(ModelBuilder modelBuilder) modelBuilder.Entity("Duende.IdentityServer.EntityFramework.Entities.ServerSideSession", b => { - b.Property("Id") + b.Property("Id") .ValueGeneratedOnAdd() - .HasColumnType("int"); + .HasColumnType("bigint"); - SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); + SqlServerPropertyBuilderExtensions.UseIdentityColumn(b.Property("Id")); b.Property("Created") .HasColumnType("datetime2");