Files
apskel-pos-backend/migrations/000110_index_wallet_lots_source.up.sql
T

4 lines
260 B
SQL
Raw Normal View History

-- Finds the lots a ledger row created, such as the lot of an EnakGame reward
-- (docs/rfc-enakgame.md §10). One statement, for CONCURRENTLY.
CREATE INDEX CONCURRENTLY IF NOT EXISTS idx_wallet_lots_source_transaction_id ON wallet_lots(source_transaction_id);