mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-06 13:35:50 +01:00
Change java.sql.Date to java.sql.Timestamp.
This commit is contained in:
@@ -28,6 +28,6 @@ trait AccountService {
|
||||
|
||||
def updateLastLoginDate(userName: String): Unit =
|
||||
Query(Accounts).filter(_.userName is userName.bind).map(_.lastLoginDate)
|
||||
.update(new java.sql.Date(System.currentTimeMillis))
|
||||
.update(new java.sql.Timestamp(System.currentTimeMillis))
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user