Skip to content

Commit

Permalink
fix mysql clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
emmazzz committed Aug 20, 2024
1 parent 838381a commit b82c008
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/sui-indexer/src/schema/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,13 @@ mod inner {
pub use crate::schema::mysql::event_struct_name;
pub use crate::schema::mysql::event_struct_package;
pub use crate::schema::mysql::events;
pub use crate::schema::mysql::feature_flags;
pub use crate::schema::mysql::objects;
pub use crate::schema::mysql::objects_history;
pub use crate::schema::mysql::objects_snapshot;
pub use crate::schema::mysql::objects_version;
pub use crate::schema::mysql::packages;
pub use crate::schema::mysql::protocol_configs;
pub use crate::schema::mysql::pruner_cp_watermark;
pub use crate::schema::mysql::transactions;
pub use crate::schema::mysql::tx_calls_fun;
Expand Down
16 changes: 16 additions & 0 deletions crates/sui-indexer/src/schema/mysql.rs
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,14 @@ diesel::table! {
}
}

diesel::table! {
feature_flags (protocol_version, flag_name) {
protocol_version -> Bigint,
flag_name -> Text,
flag_value -> Bool,
}
}

diesel::table! {
objects (object_id) {
object_id -> Blob,
Expand Down Expand Up @@ -236,6 +244,14 @@ diesel::table! {
}
}

diesel::table! {
protocol_configs (protocol_version, config_name) {
protocol_version -> Bigint,
config_name -> Text,
config_value -> Nullable<Text>,
}
}

diesel::table! {
pruner_cp_watermark (checkpoint_sequence_number) {
checkpoint_sequence_number -> Bigint,
Expand Down

0 comments on commit b82c008

Please sign in to comment.