Skip to content

Commit

Permalink
sql: remove rewards_coinbase_layer as it is created with primary (#4696)
Browse files Browse the repository at this point in the history
closes: #4691
  • Loading branch information
dshulyak committed Jul 14, 2023
1 parent 4fe8f6f commit de7a973
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sql/migrations/0001_initial.sql
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ CREATE TABLE rewards
layer_reward UNSIGNED LONG INT,
PRIMARY KEY (coinbase, layer)
) WITHOUT ROWID;
CREATE INDEX rewards_by_coinbase ON rewards (coinbase, layer);
CREATE INDEX rewards_by_layer ON rewards (layer asc);

CREATE TABLE transactions
Expand Down

0 comments on commit de7a973

Please sign in to comment.