Home > Article > CMS Tutorial > What should I do if the new ID does not start from 1 after clearing the column in DEDECMS?
DEDECMS What should I do if the new ID does not start from 1 after clearing the column?
DEDECMS After clearing the column, the solution to the new ID does not start from 1
Recommended learning: 梦Weavercms
In the background SQL The runner runs the following statement, so that the ID of the newly created column starts from 1:
ALTER TABLE `dede_arctype` AUTO_INCREMENT =1;
The following is the article. After running, the ID of the published article starts from 1:
ALTER TABLE `dede_archives` AUTO_INCREMENT =1;
The above is the detailed content of What should I do if the new ID does not start from 1 after clearing the column in DEDECMS?. For more information, please follow other related articles on the PHP Chinese website!