-
-
Notifications
You must be signed in to change notification settings - Fork 885
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
Add custom migration runner, forbid some diesel migration
commands, fix old migrations
#4673
Draft
dullbananas
wants to merge
86
commits into
LemmyNet:main
Choose a base branch
from
dullbananas:migration-runner
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
86 commits
Select commit
Hold shift + click to select a range
ca271ea
Update schema.rs
dullbananas 2775242
Merge branch 'LemmyNet:main' into migration-runner
dullbananas f2a6d73
rename
dullbananas 691bce0
stuff
dullbananas 1aab92c
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas e8e354c
finish new implementation of schema_setup::run (not including revert,…
dullbananas 402ab14
fmt
dullbananas 08ae13b
refactor
dullbananas 542f81d
fix sql
dullbananas d0d8139
migriation run command
dullbananas 22ac8c5
use trigger on migrations table
dullbananas 27b289c
add Options with disable_migrations field for test
dullbananas 614e0e5
rename to enable_forbid_diesel_cli_trigger
dullbananas 5d8af0d
fix
dullbananas 1af517f
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas 16dcbc7
fix merge
dullbananas 6709882
diff_checker (partial)
dullbananas d4bdda5
Revert "diff_checker (partial)"
dullbananas 8e0bbd6
Revert "Revert "diff_checker (partial)""
dullbananas 1692fd6
diff check
dullbananas 84bf57e
improve schema diff
dullbananas d18c2c9
timestamp replacement
dullbananas 314e744
ignore column order
dullbananas 80ca94e
remove fedi_name default
dullbananas 06b01ff
stuff
dullbananas 7977ee1
improve diff
dullbananas ced9bb5
stuff
dullbananas 592a127
attempt parallel pg_dump
dullbananas a909d2d
attempt 2
dullbananas 47a4c35
Revert "attempt 2"
dullbananas 9a528fb
Revert "attempt parallel pg_dump"
dullbananas 5596cb7
improve diff check
dullbananas 6eb8d04
finish fixing migrations
dullbananas cf5afc9
stuff
dullbananas 4d427b2
use advisory lock
dullbananas 5fca4ea
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas d71cfaa
stuff
dullbananas cdbe77c
Update lib.rs
dullbananas f1142e0
Merge branch 'main' into migration-runner
dullbananas 7716c9e
fmt
dullbananas c7babd7
fmt
dullbananas e5bc0bb
clippy
dullbananas f0b2f0d
Update diff_check.rs
dullbananas d2f772a
Update .woodpecker.yml
dullbananas 0443bcd
Update lib.rs
dullbananas ab8c7d8
Update lib.rs
dullbananas 7f550e1
Update lib.rs
dullbananas 6f6a5c9
Update .woodpecker.yml
dullbananas 132877c
Update .woodpecker.yml
dullbananas 0969fd3
Update lib.rs
dullbananas 64827a1
re-run ci
dullbananas 833a250
Merge branch 'main' into migration-runner
dullbananas 3f3b8e3
fmt
dullbananas 0a02ceb
fmt
dullbananas de1c688
Update .woodpecker.yml
dullbananas 0f37356
Update .woodpecker.yml
dullbananas 728b6d4
create separate database in ci
dullbananas f252de1
Update .woodpecker.yml
dullbananas f9af3de
Update .woodpecker.yml
dullbananas 1e56bde
Update .woodpecker.yml
dullbananas 1a71897
Update .woodpecker.yml
dullbananas d57d293
try to fix env var
dullbananas 56e22b0
Update diff_check.rs
dullbananas db856ef
Merge branch 'main' into migration-runner
dullbananas d82bfcc
Remove condition that's not needed anymore
dullbananas c694da9
clippy
dullbananas 120be51
exclude views and fast tables
dullbananas 317097c
revert some migration changes
dullbananas b6102dc
fix
dullbananas 1a18350
fmt
dullbananas d592e0f
re-attempt checking character after skipped trigger name, and make co…
dullbananas 3daa0d6
fmt
dullbananas 0b8790c
Merge branch 'main' into migration-runner
dullbananas ce1cf3e
fix
dullbananas 45562bf
rerun ci
dullbananas b176340
rerun ci
dullbananas a242333
fix strip_prefix order
dullbananas 7734ba4
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas de01635
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas de0e025
fix weird big Cargo.lock change by running `git checkout upstream/mai…
dullbananas 4428c61
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas 84b161d
fix
dullbananas ecb700e
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas fd65234
remove installation commands that were removed in main branch
dullbananas 6345b2d
Revert "remove installation commands that were removed in main branch"
dullbananas f636f1a
Merge upstream/main into migration-runner (using imerge)
dullbananas 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 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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 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 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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can't check / test the migrations anymore in CI?