Until $wgContentHandlerUseDB is set to true, page_content_model will be NULL. This prevents changing the default content model with $wgNamespaceContentModels because NULL will be interpreted with the new default instead of whatever the page actually is.
page_content_model, rev_content_model (I think just the last revision should be sufficient), ar_content_model all need to be populated.