Skip to content
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

Improve migration diff check and fix old migrations #5204

Draft
wants to merge 88 commits into
base: main
Choose a base branch
from
Draft
Changes from 1 commit
Commits
Show all changes
88 commits
Select commit Hold shift + click to select a range
ca271ea
Update schema.rs
dullbananas Apr 20, 2024
2775242
Merge branch 'LemmyNet:main' into migration-runner
dullbananas Apr 28, 2024
f2a6d73
rename
dullbananas Apr 28, 2024
691bce0
stuff
dullbananas May 4, 2024
1aab92c
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas May 9, 2024
e8e354c
finish new implementation of schema_setup::run (not including revert,…
dullbananas May 11, 2024
402ab14
fmt
dullbananas May 11, 2024
08ae13b
refactor
dullbananas May 11, 2024
542f81d
fix sql
dullbananas May 11, 2024
d0d8139
migriation run command
dullbananas May 11, 2024
22ac8c5
use trigger on migrations table
dullbananas May 12, 2024
27b289c
add Options with disable_migrations field for test
dullbananas May 13, 2024
614e0e5
rename to enable_forbid_diesel_cli_trigger
dullbananas May 13, 2024
5d8af0d
fix
dullbananas May 17, 2024
1af517f
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas May 17, 2024
16dcbc7
fix merge
dullbananas May 17, 2024
6709882
diff_checker (partial)
dullbananas May 17, 2024
d4bdda5
Revert "diff_checker (partial)"
dullbananas May 17, 2024
8e0bbd6
Revert "Revert "diff_checker (partial)""
dullbananas May 17, 2024
1692fd6
diff check
dullbananas May 18, 2024
84bf57e
improve schema diff
dullbananas May 18, 2024
d18c2c9
timestamp replacement
dullbananas May 18, 2024
314e744
ignore column order
dullbananas May 18, 2024
80ca94e
remove fedi_name default
dullbananas May 18, 2024
06b01ff
stuff
dullbananas May 19, 2024
7977ee1
improve diff
dullbananas May 19, 2024
ced9bb5
stuff
dullbananas May 20, 2024
592a127
attempt parallel pg_dump
dullbananas May 20, 2024
a909d2d
attempt 2
dullbananas May 20, 2024
47a4c35
Revert "attempt 2"
dullbananas May 20, 2024
9a528fb
Revert "attempt parallel pg_dump"
dullbananas May 20, 2024
5596cb7
improve diff check
dullbananas May 20, 2024
6eb8d04
finish fixing migrations
dullbananas May 20, 2024
cf5afc9
stuff
dullbananas May 21, 2024
4d427b2
use advisory lock
dullbananas May 21, 2024
5fca4ea
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas May 21, 2024
d71cfaa
stuff
dullbananas May 22, 2024
cdbe77c
Update lib.rs
dullbananas May 22, 2024
f1142e0
Merge branch 'main' into migration-runner
dullbananas May 22, 2024
7716c9e
fmt
dullbananas May 22, 2024
c7babd7
fmt
dullbananas May 22, 2024
e5bc0bb
clippy
dullbananas May 22, 2024
f0b2f0d
Update diff_check.rs
dullbananas May 22, 2024
d2f772a
Update .woodpecker.yml
dullbananas May 22, 2024
0443bcd
Update lib.rs
dullbananas May 22, 2024
ab8c7d8
Update lib.rs
dullbananas May 22, 2024
7f550e1
Update lib.rs
dullbananas May 23, 2024
6f6a5c9
Update .woodpecker.yml
dullbananas May 23, 2024
132877c
Update .woodpecker.yml
dullbananas May 23, 2024
0969fd3
Update lib.rs
dullbananas May 23, 2024
64827a1
re-run ci
dullbananas May 23, 2024
833a250
Merge branch 'main' into migration-runner
dullbananas May 23, 2024
3f3b8e3
fmt
dullbananas May 23, 2024
0a02ceb
fmt
dullbananas May 23, 2024
de1c688
Update .woodpecker.yml
dullbananas May 23, 2024
0f37356
Update .woodpecker.yml
dullbananas May 23, 2024
728b6d4
create separate database in ci
dullbananas May 23, 2024
f252de1
Update .woodpecker.yml
dullbananas May 23, 2024
f9af3de
Update .woodpecker.yml
dullbananas May 23, 2024
1e56bde
Update .woodpecker.yml
dullbananas May 23, 2024
1a71897
Update .woodpecker.yml
dullbananas May 23, 2024
d57d293
try to fix env var
dullbananas May 23, 2024
56e22b0
Update diff_check.rs
dullbananas May 23, 2024
db856ef
Merge branch 'main' into migration-runner
dullbananas May 23, 2024
d82bfcc
Remove condition that's not needed anymore
dullbananas May 26, 2024
c694da9
clippy
dullbananas May 27, 2024
120be51
exclude views and fast tables
dullbananas May 27, 2024
317097c
revert some migration changes
dullbananas May 27, 2024
b6102dc
fix
dullbananas May 27, 2024
1a18350
fmt
dullbananas May 27, 2024
d592e0f
re-attempt checking character after skipped trigger name, and make co…
dullbananas May 28, 2024
3daa0d6
fmt
dullbananas May 28, 2024
0b8790c
Merge branch 'main' into migration-runner
dullbananas May 28, 2024
ce1cf3e
fix
dullbananas May 28, 2024
45562bf
rerun ci
dullbananas May 28, 2024
b176340
rerun ci
dullbananas May 28, 2024
a242333
fix strip_prefix order
dullbananas May 28, 2024
7734ba4
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas Jun 25, 2024
de01635
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas Jul 3, 2024
de0e025
fix weird big Cargo.lock change by running `git checkout upstream/mai…
dullbananas Jul 3, 2024
4428c61
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas Jul 26, 2024
84b161d
fix
dullbananas Jul 26, 2024
ecb700e
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas Aug 21, 2024
fd65234
remove installation commands that were removed in main branch
dullbananas Aug 21, 2024
6345b2d
Revert "remove installation commands that were removed in main branch"
dullbananas Aug 23, 2024
f636f1a
Merge upstream/main into migration-runner (using imerge)
dullbananas Nov 12, 2024
674a12e
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas Nov 17, 2024
ffe21da
move create_database_user woodpecker step to make diff less weird
dullbananas Nov 17, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Merge remote-tracking branch 'upstream/main' into migration-runner
dullbananas committed May 9, 2024
commit 1aab92cbfa3035cafad337d12e192c89cb067375

This merge commit was added into this branch cleanly.

There are no new changes to show, but you can still view the diff.