mirror of
https://github.com/luxfi/indexer.git
synced 2026-09-24 00:25:37 +00:00
14 lines
406 B
SQL
14 lines
406 B
SQL
create table `rewards`
|
|
(
|
|
id varchar(50) not null primary key,
|
|
block_id varchar(50) not null,
|
|
txid varchar(50) not null,
|
|
shouldprefercommit smallint unsigned default 0,
|
|
created_at timestamp not null default current_timestamp
|
|
);
|
|
|
|
create index rewards_block_id ON rewards (block_id);
|
|
create index rewards_txid ON rewards (txid);
|
|
|
|
|