From 03c744542a932233b3f2e88d8ac99b951cf7d866 Mon Sep 17 00:00:00 2001 From: Victor Baranov Date: Sun, 17 Nov 2019 20:19:50 +0300 Subject: [PATCH] type to i.type --- ...50_large_additional_internal_transaction_constraints.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/explorer/priv/repo/migrations/scripts/20181108205650_large_additional_internal_transaction_constraints.sql b/apps/explorer/priv/repo/migrations/scripts/20181108205650_large_additional_internal_transaction_constraints.sql index 77c576e549..669ac06da7 100644 --- a/apps/explorer/priv/repo/migrations/scripts/20181108205650_large_additional_internal_transaction_constraints.sql +++ b/apps/explorer/priv/repo/migrations/scripts/20181108205650_large_additional_internal_transaction_constraints.sql @@ -34,11 +34,11 @@ BEGIN AND (last_block_number IS NULL OR i.block_number < last_block_number) AND -- call_has_call_type CONSTRAINT - ((type = 'call' AND i.call_type IS NULL) OR + ((i.type = 'call' AND i.call_type IS NULL) OR -- call_has_input CONSTRAINT - (type = 'call' AND i.input IS NULL) OR + (i.type = 'call' AND i.input IS NULL) OR -- create_has_init CONSTRAINT - (type = 'create' AND i.init is NULL)) + (i.type = 'create' AND i.init is NULL)) ORDER BY i.block_number DESC, i.transaction_index LIMIT batch_size ) a;