put back check_database functions

5 jobs for deprecation in 20 minutes and 27 seconds (queued for 4 seconds)