forked from Qortal/qortal
Add index for finding Registered Names using 'reduced' form
This commit is contained in:
parent
197c742ce7
commit
7447ab20a9
@ -292,6 +292,8 @@ public class HSQLDBDatabaseUpdates {
|
||||
+ "PRIMARY KEY (name))");
|
||||
// For finding names by owner
|
||||
stmt.execute("CREATE INDEX NamesOwnerIndex ON Names (owner)");
|
||||
// For finding names by 'reduced' form
|
||||
stmt.execute("CREATE INDEX NamesReducedNameIndex ON Names (reduced_name)");
|
||||
|
||||
// Register Name Transactions
|
||||
stmt.execute("CREATE TABLE RegisterNameTransactions (signature Signature, registrant QortalPublicKey NOT NULL, name RegisteredName NOT NULL, "
|
||||
|
Loading…
Reference in New Issue
Block a user