Add table upgrade on startup if the structure is outdated.