catch initializer error if db not migrated