コンテンツへスキップ
メニュー
この質問にフラグが付けられました
1 返信
6796 ビュー

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
4894
0
1月 23
94
1
10月 22
4231
0
4月 22
2776
2
3月 25
2823