Database adaption.