restored database status according to the current adapter