1
1
mirror of https://github.com/go-gitea/gitea.git synced 2024-10-02 06:21:37 +02:00
gitea/modules
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
..
analyze
auth Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
avatar
base
cache
charset
context Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00
convert [API] get pull, return head branch sha, even if deleted (#14931) 2021-03-08 21:48:31 +01:00
cron
doctor Fix postgres ID sequences broken by recreate-table (#15015) 2021-03-18 02:06:40 -04:00
emoji Fix several render issues (#14986) 2021-03-16 00:20:05 +01:00
eventsource
forms Move repo.CloseIssuesViaCommitInAnyBranch to issue settings (#14965) 2021-03-16 02:00:52 +01:00
generate
git support gitmailmap in GetCodeActivityStats() (#15009) 2021-03-17 17:00:26 -04:00
gitgraph
graceful Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
hcaptcha
highlight
httpcache
httplib
indexer
lfs
log
markup Remove extraneous logging (#15020) 2021-03-18 04:25:52 +01:00
matchlist
metrics
migrations Ensure validation occurs on clone addresses too (#14994) 2021-03-15 17:52:11 -04:00
nosql
notification
options
password
pprof
private
process
public
queue
recaptcha
references
repofiles
repository
secret
session
setting Add reverse proxy configuration support for remote IP address (#14959) 2021-03-16 00:27:28 +02:00
ssh Make internal SSH server host key path configurable (#14918) 2021-03-08 03:43:59 +01:00
storage
structs
svg
sync
task
templates Prevent incorrect HTML escaping in swagger.json (#14957) 2021-03-11 23:43:04 -05:00
test
timeutil
translation
upload
uri
user
util
validation
web Add SameSite setting for cookies (#14900) 2021-03-07 08:12:43 +00:00