-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update octokit related code and entities to use long instead of int
- Loading branch information
1 parent
c36411a
commit 824cd50
Showing
6 changed files
with
327 additions
and
10 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
267 changes: 267 additions & 0 deletions
267
SS14.MapServer/Migrations/20240612100406_PullRequestCommentIntToLong.Designer.cs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
50 changes: 50 additions & 0 deletions
50
SS14.MapServer/Migrations/20240612100406_PullRequestCommentIntToLong.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,50 @@ | ||
using Microsoft.EntityFrameworkCore.Migrations; | ||
|
||
#nullable disable | ||
|
||
namespace SS14.MapServer.Migrations | ||
{ | ||
/// <inheritdoc /> | ||
public partial class PullRequestCommentIntToLong : Migration | ||
{ | ||
/// <inheritdoc /> | ||
protected override void Up(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<long>( | ||
name: "CommentId", | ||
table: "PullRequestComment", | ||
type: "bigint", | ||
nullable: false, | ||
oldClrType: typeof(int), | ||
oldType: "integer"); | ||
|
||
migrationBuilder.AlterColumn<long>( | ||
name: "IssueNumber", | ||
table: "PullRequestComment", | ||
type: "bigint", | ||
nullable: false, | ||
oldClrType: typeof(int), | ||
oldType: "integer"); | ||
} | ||
|
||
/// <inheritdoc /> | ||
protected override void Down(MigrationBuilder migrationBuilder) | ||
{ | ||
migrationBuilder.AlterColumn<int>( | ||
name: "CommentId", | ||
table: "PullRequestComment", | ||
type: "integer", | ||
nullable: false, | ||
oldClrType: typeof(long), | ||
oldType: "bigint"); | ||
|
||
migrationBuilder.AlterColumn<int>( | ||
name: "IssueNumber", | ||
table: "PullRequestComment", | ||
type: "integer", | ||
nullable: false, | ||
oldClrType: typeof(long), | ||
oldType: "bigint"); | ||
} | ||
} | ||
} |
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
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