add index for data_sources.key