Skip to content

Commit

Permalink
Update Migrations.java
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes authored and oharsta committed Jan 27, 2025
1 parent 53fc896 commit 2e886b6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ public void deleteSessionAfterUserChangeAgain(MongockTemplate mongoTemplate) {
@ChangeSet(order = "016", id = "alterUserLastLoginDate", author = "[email protected]")
public void alterUserLastLoginDate(MongockTemplate mongoTemplate) {
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("dd-MM-yyyy");
long startMillis = simpleDateFormat.parse("29-19-2024").getTime();
long startMillis = simpleDateFormat.parse("29-10-2024").getTime();
Query query = new Query();
query.addCriteria(Criteria.where("lastLogin").isNull());
//Prevent to load everything into memory
Expand Down

0 comments on commit 2e886b6

Please sign in to comment.