Add foreign key indexing to levelup.