Home > CMS Tutorial > DEDECMS > 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?

藏色散人
Release: 2020-01-08 09:28:18
Original
2555 people have browsed it

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;
Copy after login

The following is the article. After running, the ID of the published article starts from 1:

ALTER TABLE `dede_archives` AUTO_INCREMENT =1;
Copy after login

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template