Created check for database
Merge branch 'master' of https://github.com/archangelic/lagniappe