Database adapter interface restructure