Browse Source
This is useful to retrieve transactions by address from the database, part of #18.prometheus-integration
Alexis Hernandez
7 years ago
1 changed files with 13 additions and 0 deletions
@ -0,0 +1,13 @@ |
|||||
|
|
||||
|
# --- !Ups |
||||
|
|
||||
|
CREATE INDEX transaction_inputs_address_index ON transaction_inputs (address); |
||||
|
|
||||
|
CREATE INDEX transaction_outputs_address_index ON transaction_outputs (address); |
||||
|
|
||||
|
|
||||
|
# --- !Downs |
||||
|
|
||||
|
DROP INDEX transaction_outputs_address_index; |
||||
|
|
||||
|
DROP INDEX transaction_inputs_address_index; |
Loading…
Reference in new issue