Check database schema version on load.