diff --git a/packages/guardian-prover-health-check/migrations/1666651003_alter_health_checks_guardian_prover_id_index.sql b/packages/guardian-prover-health-check/migrations/1666651003_alter_health_checks_guardian_prover_id_index.sql new file mode 100644 index 0000000000..c8a49fb649 --- /dev/null +++ b/packages/guardian-prover-health-check/migrations/1666651003_alter_health_checks_guardian_prover_id_index.sql @@ -0,0 +1,9 @@ +-- +goose Up +-- +goose StatementBegin +ALTER TABLE `health_checks` ADD INDEX `health_checks_guardian_prover_id_index` (`guardian_prover_id`); + +-- +goose StatementEnd +-- +goose Down +-- +goose StatementBegin +DROP INDEX health_checks_guardian_prover_id_index on health_checks; +-- +goose StatementEnd diff --git a/packages/guardian-prover-health-check/migrations/1666651004_alter_signed_blocks_block_id_index.sql b/packages/guardian-prover-health-check/migrations/1666651004_alter_signed_blocks_block_id_index.sql new file mode 100644 index 0000000000..078e00bd05 --- /dev/null +++ b/packages/guardian-prover-health-check/migrations/1666651004_alter_signed_blocks_block_id_index.sql @@ -0,0 +1,9 @@ +-- +goose Up +-- +goose StatementBegin +ALTER TABLE `signed_blocks` ADD INDEX `signed_blocks_block_id_index` (`block_id`); + +-- +goose StatementEnd +-- +goose Down +-- +goose StatementBegin +DROP INDEX signed_blocks_block_id_index on signed_blocks; +-- +goose StatementEnd