diff --git a/hive/db/db_state.py b/hive/db/db_state.py
index c7d2ee0c98ec3a6a70ae8b5be9db8d88bd7828de..4f7209956acadd9e00efc533464e59dc643116b9 100644
--- a/hive/db/db_state.py
+++ b/hive/db/db_state.py
@@ -112,7 +112,7 @@ class DbState:
             'hive_posts_block_num_idx',
             'hive_posts_cashout_time_id_idx',
             'hive_posts_updated_at_idx',
-            'hive_posts_payout_plus_pending_payout_id',
+            'hive_posts_payout_plus_pending_payout_id_is_paidout_idx',
 
             'hive_votes_block_num_idx',
 
diff --git a/hive/db/schema.py b/hive/db/schema.py
index ba203085fe4b5eab51b9c6646a7c8d10eed40516..8f13c0c42bb9cddceb26474a41e44530473de6df 100644
--- a/hive/db/schema.py
+++ b/hive/db/schema.py
@@ -150,7 +150,7 @@ def build_metadata():
         sa.Index('hive_posts_block_num_idx', 'block_num'),
         sa.Index('hive_posts_cashout_time_id_idx', 'cashout_time', 'id'),
         sa.Index('hive_posts_updated_at_idx', sa.text('updated_at DESC')),
-        sa.Index('hive_posts_payout_plus_pending_payout_id', sa.text('(payout+pending_payout), id, is_paidout'))
+        sa.Index('hive_posts_payout_plus_pending_payout_id_is_paidout_idx', sa.text('(payout+pending_payout), id, is_paidout'))
     )
 
     sa.Table(