Skip to content

Commit 330b39a

Browse files
committed
comments
1 parent 20d9b25 commit 330b39a

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

crates/rbuilder-operator/src/clickhouse.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -143,8 +143,6 @@ pub enum OrderJournalOrderType {
143143
}
144144

145145
/// Enum matching ClickHouse `Enum8('Add' = 0, 'Remove' = 1)`.
146-
147-
/// Enum matching ClickHouse `Enum8('Add' = 1, 'Remove' = 2)`.
148146
#[derive(Debug, Clone, Copy, Serialize_repr, Deserialize_repr)]
149147
#[repr(i8)]
150148
pub enum OrderJournalOperationType {
@@ -159,9 +157,9 @@ pub enum OrderJournalOperationType {
159157
/// server_id LowCardinality(String)
160158
/// slot_number UInt64
161159
/// parent_block FixedString(32)
162-
/// order_type Enum8('Tx' = 1, 'Bundle' = 2)
160+
/// order_type Enum8('Tx' = 0, 'Bundle' = 1)
163161
/// order_hash FixedString(32)
164-
/// operation_type Enum8('Add' = 1, 'Remove' = 2)
162+
/// operation_type Enum8('Add' = 0, 'Remove' = 1)
165163
/// sequence_number UInt32
166164
/// timestamp DateTime64(6)
167165
#[derive(Debug, Clone, Serialize, Deserialize, Row)]

0 commit comments

Comments
 (0)