mirror of
https://github.com/stashapp/stash.git
synced 2025-12-06 16:34:02 +01:00
Another date fix
This commit is contained in:
parent
1a2c53a710
commit
f57c2bff1d
1 changed files with 4 additions and 0 deletions
|
|
@ -205,6 +205,10 @@ func SQLGenKeys(i interface{}) string {
|
|||
if !t.Timestamp.IsZero() {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
}
|
||||
case SQLiteDate:
|
||||
if t.Valid {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
}
|
||||
case sql.NullString:
|
||||
if t.Valid {
|
||||
query = append(query, fmt.Sprintf("%s=:%s", key, key))
|
||||
|
|
|
|||
Loading…
Reference in a new issue