Skip to content

Commit

Permalink
sql: remove rewards_coinbase_layer as it is created with primary
Browse files Browse the repository at this point in the history
  • Loading branch information
dshulyak committed Jul 13, 2023
1 parent a499214 commit 6771912
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 6771912

Please sign in to comment.