Switch dates from u64 to i64
PostgreSQL only uses signed ints, so this makes things much easier
This commit is contained in:
parent
cb89a3e6f3
commit
ae85f94ddb
3 changed files with 4 additions and 4 deletions
|
|
@ -2,7 +2,7 @@ pub const ImportedScrobble = struct {
|
|||
track: []const u8,
|
||||
artist: []const u8,
|
||||
album: []const u8 = "",
|
||||
date: u64,
|
||||
date: i64,
|
||||
};
|
||||
|
||||
pub const Scrobble = struct {
|
||||
|
|
@ -10,7 +10,7 @@ pub const Scrobble = struct {
|
|||
artists_track: []const []const u8,
|
||||
album: []const u8 = "",
|
||||
artists_album: []const []const u8,
|
||||
date: u64,
|
||||
date: i64,
|
||||
};
|
||||
|
||||
// From lastfmstats.com
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue