database proto