跳至内容
菜单
此问题已终结
1 回复
6789 查看

Friends,

How to edit the "next number" field in a sequence from,

Settings > Technical > Sequence & Identifiers > Sequence

Now i cant edit & save it..

Thanks

形象
丢弃
编写者

No 1 Know It

Everyone know that

编写者

Shut up u Juan

最佳答案

I don't know if it the official solution but you can try this:

  1. Access database with something like psql or pgadmin3
  2. Find the sequence you want to reset
  3. enter query "ALTER SEQUENCE $yoursequence RESTART"

Now it should be reset to 1.

 

More information:

http://www.postgresql.org/docs/9.1/static/sql-altersequence.html

形象
丢弃
编写者

thanks

If this helped you, please mark the answer as correct.

相关帖文 回复 查看 活动
0
2月 23
4884
0
1月 23
94
1
10月 22
4227
0
4月 22
2771
2
3月 25
2812