-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated to latest nuget versions and added support for OpenIddict 5
- Loading branch information
1 parent
fb377da
commit 5d3c4f8
Showing
38 changed files
with
546 additions
and
246 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,12 @@ | |
"commands": [ | ||
"dotnet-outdated" | ||
] | ||
}, | ||
"dotnet-ef": { | ||
"version": "8.0.0", | ||
"commands": [ | ||
"dotnet-ef" | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
269 changes: 269 additions & 0 deletions
269
samples/Server/Models/Data/UI/20231220090227_OpenIddict5Support.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
59 changes: 59 additions & 0 deletions
59
samples/Server/Models/Data/UI/20231220090227_OpenIddict5Support.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace Server.Models.Data.UI | ||
{ | ||
/// <inheritdoc /> | ||
public partial class OpenIddict5Support : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.RenameColumn( | ||
name: "Type", | ||
table: "OpenIddictApplications", | ||
newName: "ClientType"); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "ApplicationType", | ||
table: "OpenIddictApplications", | ||
type: "TEXT", | ||
maxLength: 50, | ||
nullable: true); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "JsonWebKeySet", | ||
table: "OpenIddictApplications", | ||
type: "TEXT", | ||
nullable: true); | ||
|
||
migrationBuilder.AddColumn<string>( | ||
name: "Settings", | ||
table: "OpenIddictApplications", | ||
type: "TEXT", | ||
nullable: true); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.DropColumn( | ||
name: "ApplicationType", | ||
table: "OpenIddictApplications"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "JsonWebKeySet", | ||
table: "OpenIddictApplications"); | ||
|
||
migrationBuilder.DropColumn( | ||
name: "Settings", | ||
table: "OpenIddictApplications"); | ||
|
||
migrationBuilder.RenameColumn( | ||
name: "ClientType", | ||
table: "OpenIddictApplications", | ||
newName: "Type"); | ||
} | ||
} | ||
} |
Oops, something went wrong.