diff --git a/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.down.sql b/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.down.sql new file mode 100644 index 000000000000..c7c00d281ac3 --- /dev/null +++ b/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.down.sql @@ -0,0 +1 @@ +DROP INDEX IF EXISTS base_token_ratios_ratio_timestamp_idx; diff --git a/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.up.sql b/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.up.sql new file mode 100644 index 000000000000..7f1074f86f84 --- /dev/null +++ b/core/lib/dal/migrations/20241226161705_add_ratio_timestamp_index.up.sql @@ -0,0 +1 @@ +CREATE INDEX IF NOT EXISTS base_token_ratios_ratio_timestamp_idx ON base_token_ratios (ratio_timestamp);