Define database constants.

Instead of using variables.

Signed-off-by: Thiago Farina <tfarina@chromium.org>