forked from Qortal/qortal
Added an index to help speed up recent queries
This commit is contained in:
parent
b2e2af51ed
commit
e652038018
@ -922,6 +922,8 @@ public class HSQLDBDatabaseUpdates {
|
||||
stmt.execute("ALTER TABLE ArbitraryTransactions ADD compression INTEGER NOT NULL DEFAULT 0");
|
||||
// For finding transactions by registered name
|
||||
stmt.execute("CREATE INDEX ArbitraryNameIndex ON ArbitraryTransactions (name)");
|
||||
// For finding transactions by registered name and service
|
||||
stmt.execute("CREATE INDEX ArbitraryNameServiceIndex ON ArbitraryTransactions (name, service)");
|
||||
break;
|
||||
|
||||
case 39:
|
||||
|
Loading…
Reference in New Issue
Block a user