add to schema table list
This commit is contained in:
parent
115b3c779e
commit
3f1b5f382b
@ -27,6 +27,7 @@ var EthTables = []*Table{
|
||||
&TableReceipt,
|
||||
&TableLog,
|
||||
&TableWithdrawal,
|
||||
&TableBlobHash,
|
||||
}
|
||||
|
||||
var AllTables = append(
|
||||
@ -154,15 +155,6 @@ var TableTransaction = Table{
|
||||
UpsertClause: OnConflict("block_number", "header_id", "tx_hash"),
|
||||
}
|
||||
|
||||
var TableBlobHash = Table{
|
||||
Name: "eth.blob_hashes",
|
||||
Columns: []Column{
|
||||
{Name: "tx_hash", Type: Dvarchar},
|
||||
{Name: "index", Type: Dinteger},
|
||||
{Name: "blob_hash", Type: Dbytea},
|
||||
},
|
||||
}
|
||||
|
||||
var TableReceipt = Table{
|
||||
Name: "eth.receipt_cids",
|
||||
Columns: []Column{
|
||||
@ -208,6 +200,15 @@ var TableWithdrawal = Table{
|
||||
UpsertClause: OnConflict("block_number", "header_id", "index"),
|
||||
}
|
||||
|
||||
var TableBlobHash = Table{
|
||||
Name: "eth.blob_hashes",
|
||||
Columns: []Column{
|
||||
{Name: "tx_hash", Type: Dvarchar},
|
||||
{Name: "index", Type: Dinteger},
|
||||
{Name: "blob_hash", Type: Dbytea},
|
||||
},
|
||||
}
|
||||
|
||||
var TableWatchedAddresses = Table{
|
||||
Name: "eth_meta.watched_addresses",
|
||||
Columns: []Column{
|
||||
|
Loading…
Reference in New Issue
Block a user