Home  >  Article  >  CMS Tutorial  >  What should I do if the new ID does not start from 1 after clearing the column in DEDECMS?

What should I do if the new ID does not start from 1 after clearing the column in DEDECMS?

藏色散人
藏色散人Original
2020-01-08 09:28:182518browse

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!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn