mirror of
https://github.com/XRPLF/clio.git
synced 2026-07-27 17:10:30 +00:00
Ledger handler
This commit is contained in:
@@ -761,6 +761,9 @@ CREATE TABLE IF NOT EXISTS transactions (
|
||||
transaction bytea NOT NULL,
|
||||
metadata bytea NOT NULL
|
||||
);
|
||||
-- Index for lookups by ledger hash.
|
||||
CREATE INDEX IF NOT EXISTS ledgers_ledger_seq_idx ON transactions
|
||||
USING hash (ledger_seq);
|
||||
|
||||
-- Table that maps accounts to transactions affecting them. Deletes from the
|
||||
-- ledger table cascade here based on ledger_seq.
|
||||
|
||||
Reference in New Issue
Block a user