Skip to content

Commit

Permalink
[MCPODS-6074] fix sql syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
gunplar committed Aug 2, 2023
1 parent 3434e20 commit 8f2394b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ private String createPartitionOfOneDay(int dayPlus) {
.append(NakshaAdminCollection.STORAGES.getId())
.append("',current_timestamp+'")
.append(dayPlus)
.append(" days');")
.append(" day'::interval);")
.toString();
}

Expand All @@ -265,7 +265,7 @@ private String deletePartitionOfOneDay(int dayOld) {
.append(NakshaAdminCollection.STORAGES.getId())
.append("',current_timestamp-'")
.append(dayOld)
.append(" days');")
.append(" day'::interval);")
.toString();
}

Expand Down

0 comments on commit 8f2394b

Please sign in to comment.