forgejo/modules/doctor
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
..
authorizedkeys.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
dbconsistency.go Fix postgres ID sequences broken by recreate-table (#15015) 2021-03-18 02:06:40 -04:00
dbversion.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
doctor.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
mergebase.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
misc.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
paths.go Refactor doctor (#12264) 2020-12-02 06:56:04 +02:00
usertype.go Add Doctor FixWrongUserType (#14522) 2021-01-29 19:30:43 +01:00