First of all, try not to change the data structure as much as possible Secondly, if you have to change it, please back up the data first to prevent accidents Finally, "should the field be deleted from the index first and then the field type changed?" I'm afraid it depends on what kind of index it is. . . . The most direct way is to create a new table and then import the data
To add: Actually, there is no better way, just try it!
First of all, try not to change the data structure as much as possible
Secondly, if you have to change it, please back up the data first to prevent accidents
Finally, "should the field be deleted from the index first and then the field type changed?" I'm afraid it depends on what kind of index it is. . . .
The most direct way is to create a new table and then import the data
To add: Actually, there is no better way, just try it!