From 52182a08c344c80e67afa0ba0b640200cf7e97ce Mon Sep 17 00:00:00 2001 From: Kuba <127198012+kuba-4chain@users.noreply.github.com> Date: Thu, 19 Dec 2024 08:33:29 +0100 Subject: [PATCH] fix: add schema to migration (#722) --- ...down.sql => 000020_remove_unique_height_is_longest.down.sql} | 0 ...est.up.sql => 000020_remove_unique_height_is_longest.up.sql} | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename internal/blocktx/store/postgresql/migrations/{000021_remove_unique_height_is_longest.down.sql => 000020_remove_unique_height_is_longest.down.sql} (100%) rename internal/blocktx/store/postgresql/migrations/{000021_remove_unique_height_is_longest.up.sql => 000020_remove_unique_height_is_longest.up.sql} (64%) diff --git a/internal/blocktx/store/postgresql/migrations/000021_remove_unique_height_is_longest.down.sql b/internal/blocktx/store/postgresql/migrations/000020_remove_unique_height_is_longest.down.sql similarity index 100% rename from internal/blocktx/store/postgresql/migrations/000021_remove_unique_height_is_longest.down.sql rename to internal/blocktx/store/postgresql/migrations/000020_remove_unique_height_is_longest.down.sql diff --git a/internal/blocktx/store/postgresql/migrations/000021_remove_unique_height_is_longest.up.sql b/internal/blocktx/store/postgresql/migrations/000020_remove_unique_height_is_longest.up.sql similarity index 64% rename from internal/blocktx/store/postgresql/migrations/000021_remove_unique_height_is_longest.up.sql rename to internal/blocktx/store/postgresql/migrations/000020_remove_unique_height_is_longest.up.sql index 8601dd842..5a3884d2e 100644 --- a/internal/blocktx/store/postgresql/migrations/000021_remove_unique_height_is_longest.up.sql +++ b/internal/blocktx/store/postgresql/migrations/000020_remove_unique_height_is_longest.up.sql @@ -1,2 +1,2 @@ -- This is a temporary solution to allow multiple blocks at the same height -DROP INDEX pux_height_is_longest; +DROP INDEX blocktx.pux_height_is_longest;