-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Doctor check & fix db consistency #11111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
zeripath
merged 55 commits into
go-gitea:master
from
6543-forks:doctor-check-fix-db-consistency_10280
May 29, 2020
Merged
Changes from 41 commits
Commits
Show all changes
55 commits
Select commit
Hold shift + click to select a range
4120aa1
rename check-db to check-db-version to have multible db checks
6543 2627b81
add runDoctorCheckDBConsistency
6543 fe48054
add find pulls without existing issues
6543 21330fd
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 7e261d0
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 ea605b7
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 5cfa0d4
move Issue Deletion to issue.go
6543 b8b5de3
use DeleteIssuesByIDs
6543 ec02b3a
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 17589b9
use err
6543 d6f1f0e
just another one
6543 bd8a751
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 6d6ed69
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 a3ff964
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 8a6fbfb
move things into models
6543 7231236
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 2796aee
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 f738ee9
test ...
6543 f6f44e8
restructure things ...
6543 8da4ce2
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 44ec589
delete cracy thing
6543 280599d
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 dae04ee
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 51503eb
as per @guillep2k
6543 1710227
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 08debec
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 b56f267
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 c9b9645
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 2f4ca1e
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 a0f626e
make sure DB version is uptodate
6543 2f7ba56
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 44d33cb
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 0fffab5
move DB tasks next to each other
6543 9073130
return error if try to fix an outdated DB and do nothing
6543 2b4bd51
renamed as per @guillep2k
6543 3fe8d16
use Distinct
6543 50808fa
Fix: converting NULL to int64 is unsupported
6543 2e8d900
refactor
6543 9a324b5
outdatedDB message Update
6543 b862ee8
remove redundant error & always warn on old version
6543 610ddac
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 65497f2
Merge branch 'master' into doctor-check-fix-db-consistency_10280
lunny 0553629
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 826e2f2
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 cba3390
whatever it takes
6543 a9dcb3e
only sync if needed
6543 b3cbc73
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 3fd2f1c
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 a76c2f2
Revert "only sync if needed"
6543 704e359
add documentation
6543 f9bd1a4
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 0ae896d
its Nr 11111
6543 d2e438d
its an error now
6543 9d8f61e
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 7dca8b4
Merge branch 'master' into doctor-check-fix-db-consistency_10280
6543 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.