Description

Database Sanity Checks

This function performs a set list of sanity checks on the compiled agency database. If any of these checks fail, the function will add the error to the DB compilation exceptions and return false in the callback.

Methods


<inner> sanityChecks( db, agencyOptions, callback )

Description

Run sanity checks on the specified agency's database

Parameters
Name Type Description
db object

SQLite Database

agencyOptions object

Agency Options

callback function

Sanity check callback function

Name Type Description
sane boolean

Sanity Check pass flag