3
0
mirror of https://github.com/Qortal/qortal.git synced 2025-02-12 10:15:49 +00:00

Added TransactionParticipants index

This commit is contained in:
catbref 2019-05-15 09:06:38 +01:00
parent 88f9dd1c06
commit 3ffcf50d7c

View File

@ -725,6 +725,11 @@ public class HSQLDBDatabaseUpdates {
stmt.execute("CREATE TABLE ForgingAccounts (forger_seed QoraKeySeed NOT NULL, PRIMARY KEY (forger_seed))");
break;
case 48:
// Add index to TransactionParticipants to speed up queries
stmt.execute("CREATE INDEX TransactionParticipantsAddressIndex on TransactionParticipants (participant)");
break;
default:
// nothing to do
return false;