Moved database validation to datumbazo.