db adapt