Drupal 7- webform:如何将webform提交id(sid)重置为0?

发布于 2024-11-13 10:24:36 字数 147 浏览 7 评论 0原文

我正在使用 webform 和 drupal7。在测试期间我创建了许多测试提交。现在我已经清除了所有提交的内容,并且我的所有网络表单都是空的。但如果我创建一个新的提交,我仍然得到 sid 为 51(理想情况下应该是 1)

谁能让我知道如何将 sid 值重置为 1?

I am using webform and drupal7. during testing I had created many test submissions. Now I have cleared all the submissions and all my webform tables are empty. But if I create a new submission I still get the sid as 51 (ideally it should have been 1)

Can anyone let me know how I can reset the sid value to 1?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

↙厌世 2024-11-20 10:24:36

明白了:)我只需要执行以下操作:

ALTER TABLE webform_submissions AUTO_INCREMENT = 1

谢谢,

Got it :) I just had to do the following:

ALTER TABLE webform_submissions AUTO_INCREMENT = 1

Thanks,

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文