HAF unit tests are failing when i.e. hive.account_operations has defined UNIQUE index
There is some problem in code performing automatic management of indexes defined as unique.
The following discussion from !94 (merged) should be addressed:
-
@bwrona started a discussion: (+4 comments) This indes should look as follows:
CREATE UNIQUE INDEX hive_account_operations_type_account_id_op_seq_idx ON hive.account_operations_ex (op_type_id, account_id, account_op_seq_no DESC) INCLUDE(operation_id, block_num) ;
Edited by Mariusz Trela