add database adapter