Fix table name in upgrade