Skip to content

Commit

Permalink
rename to pruner_hi_inclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
wlmyng committed Oct 17, 2024
1 parent c51ca8d commit 1b35a67
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ CREATE TABLE watermarks
timestamp_ms BIGINT NOT NULL,
-- Column used by the pruner to track its true progress. Data at and below this watermark can
-- be immediately pruned.
pruner_lo BIGINT,
pruner_hi_inclusive BIGINT,
PRIMARY KEY (entity)
);
2 changes: 1 addition & 1 deletion crates/sui-indexer/src/models/watermarks.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ pub struct StoredWatermark {
pub timestamp_ms: i64,
/// Column used by the pruner to track its true progress. Data at and below this watermark can
/// be immediately pruned.
pub pruner_lo: Option<i64>,
pub pruner_hi_inclusive: Option<i64>,
}

impl StoredWatermark {
Expand Down
2 changes: 1 addition & 1 deletion crates/sui-indexer/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -378,7 +378,7 @@ diesel::table! {
tx_hi_inclusive -> Int8,
reader_lo -> Int8,
timestamp_ms -> Int8,
pruner_lo -> Nullable<Int8>,
pruner_hi_inclusive -> Nullable<Int8>,
}
}

Expand Down

0 comments on commit 1b35a67

Please sign in to comment.