mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-20 22:25:12 +00:00
Replace long with int
Turns out that we store these values as int(11) in MySql. The 11 is irrelevant and pertains to display. int is a 4 byte (aka 32 bit) integer. So this maps to a .NET Int32 (aka int). While changing keeping it long might be future proofing, it also requires changes to GHfW and I figure let's jump that hurdle when we get there.
This commit is contained in:
@@ -208,7 +208,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The system-wide unique Id for this user.
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The geographic location of this user.
|
||||
@@ -282,7 +282,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The system-wide unique Id for this user.
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// This org's login.
|
||||
@@ -342,7 +342,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The system-wide unique Id for this user.
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The SSH Key
|
||||
@@ -414,7 +414,7 @@ namespace Octokit
|
||||
/// <summary>
|
||||
/// The amount of disk space allowed with this plan.
|
||||
/// </summary>
|
||||
public long Space { get; set; }
|
||||
public int Space { get; set; }
|
||||
}
|
||||
|
||||
public class Repository
|
||||
@@ -426,7 +426,7 @@ namespace Octokit
|
||||
public string SshUrl { get; set; }
|
||||
public string SvnUrl { get; set; }
|
||||
public string MirrorUrl { get; set; }
|
||||
public long Id { get; set; }
|
||||
public int Id { get; set; }
|
||||
public User Owner { get; set; }
|
||||
public string Name { get; set; }
|
||||
public string FullName { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user