Periodically check if DB schema is useable.
Use gallery DB version 1.