Adding database adapter.