gazette: support for database