Hi Massimo
I have created standalone functions that reorders table fields and support for indexing regular fields by adding "indexed" to the Field signature at objects.py
Before trying the script please add indexed=False to the Field signature and self.indexed = indexed in objects.py, or overwrite with the attached objects.py file.
Its naive and in progress as it only supports common mysql types.
Please let me know how it looks, ill try to integrate this into pydal on my own but i still have to study how.
Thanks
Best Regards.