database loading and current version of schema