Fix duplicate index declaration in Cash schema

Description

Fix the annoying Exception stacks generated in tests:

Caused by: org.h2.jdbc.JdbcSQLException: Index "CCY_CODE_IDX" already exists; SQL statement:
create index ccy_code_idx on contract_cash_states_v1 (ccy_code) [42111-197]
Caused by: org.h2.jdbc.JdbcSQLException: Index "PENNIES_IDX" already exists; SQL statement:
create index pennies_idx on contract_cash_states_v1 (pennies) [42111-197]

Activity

Show:
Katelyn Baker
September 10, 2018, 2:23 PM

Backport PR is here . https://github.com/corda/corda/pull/3875 for 3.3

Assignee

Jose Coll

Reporter

Gavin Thomas

Labels

Sprint

None

Epic Link

None

Priority

Medium

Engineering Teams

None

Fix versions

Affects versions

None

Story Points / Dev Days

None

Build cut

None
Configure