1
1
mirror of https://github.com/go-gitea/gitea synced 2025-01-10 17:54:27 +00:00
zeripath 070c57867d
Fix postgres ID sequences broken by recreate-table (#15015)
* Fix postgres ID sequences broken by recreate-table

Unfortunately there is a subtle problem with recreatetable on postgres which
leads to the sequences not being renamed and not being left at 0.

Fix #14725

Signed-off-by: Andrew Thornton <art27@cantab.net>

* let us try information_schema instead

Signed-off-by: Andrew Thornton <art27@cantab.net>

* try again

Signed-off-by: Andrew Thornton <art27@cantab.net>

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: 6543 <6543@obermui.de>
2021-03-18 02:06:40 -04:00
..
2021-01-28 19:08:11 +01:00
2021-03-16 00:20:05 +01:00
2020-04-05 07:20:50 +01:00
2020-10-02 23:37:53 -04:00
2021-03-18 04:25:52 +01:00
2018-11-04 22:20:00 -05:00
2019-06-12 15:41:28 -04:00
2021-02-03 22:36:38 +01:00
2021-02-05 22:41:45 +01:00
2020-04-05 07:20:50 +01:00
2021-01-26 16:36:53 +01:00