repair the schema, re-add the model thing to config