-
-
Notifications
You must be signed in to change notification settings - Fork 886
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
Combine action tables #4459
Merged
Merged
Combine action tables #4459
Changes from all commits
Commits
Show all changes
269 commits
Select commit
Hold shift + click to select a range
a597eb6
Update comment_report_view.rs
dullbananas b7f11f1
Update comment_report_view.rs
dullbananas 0f9ffa8
Update post_view.rs
dullbananas d4ffdf5
Update utils.rs
dullbananas aa7077f
Update schema.rs
dullbananas 67394bf
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 9761ea8
stuff
dullbananas 893d62a
stuff
dullbananas 66bdc49
fix actions
dullbananas 224b1e4
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 8cb325b
PostLike
dullbananas e12e2c2
fmt
dullbananas d3f57ba
more post stuff (partial)
dullbananas 9a18388
remove uplete
dullbananas 3f56324
returning
dullbananas af44c6c
rename read_comments field
dullbananas 152a53f
PersonPostAggregates
dullbananas 61c75ea
a
dullbananas cedce7d
fix usage of read_comments_amount
dullbananas fb143b5
comment
dullbananas 042860c
community
dullbananas c93994b
community_block
dullbananas 5293929
instance_block
dullbananas 798e326
LocalUser::export_backup
dullbananas ea69354
person_block
dullbananas d3996dd
person
dullbananas 074a112
stuff (partial)
dullbananas 3efa161
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas fdb9f79
update cargo.lock
dullbananas 0d0fa01
fix lemmy_db_schema
dullbananas db403ec
post_view
dullbananas f84e731
comment_report_view
dullbananas c46ae9a
comment_view
dullbananas 27bb4b1
post_report_view
dullbananas 2233fea
find and replace some selected values
dullbananas af59298
private_message_view
dullbananas 4091606
vote_view
dullbananas 0b3090b
comment_reply_view
dullbananas 9bde054
some action views
dullbananas 5c68ec0
action_query, find_action
dullbananas 1650fa8
community_view
dullbananas 82414e1
block views
dullbananas 4b9291c
person_mention_view
dullbananas 5e27ed7
remove struct update
dullbananas 56e0262
refactor actions function
dullbananas dfe1c74
actions_alias
dullbananas 231fadb
clean up return types and trait bounds
dullbananas 1f96d7d
fix all rust code
dullbananas 169e175
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas cfe4bf9
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 0f3df35
fmt
dullbananas f71e8b4
clippy fix
dullbananas 7cf8684
Migrate tables
dullbananas 54faf78
nullable read_comments_amount
dullbananas 530926f
migrate indexes and contraints, and add statistics
dullbananas dbbb6ba
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas ded71dd
fix what appears to be a messed up merge
dullbananas afec4c0
commented thing
dullbananas e0b45aa
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas a09f8a8
Create uplete.rs
dullbananas bf541d7
Update uplete.rs
dullbananas 43813cf
Update uplete.rs
dullbananas 3ae5eef
Update up.sql
dullbananas 10b3009
Update comment.rs
dullbananas 59f41b2
Update Cargo.toml
dullbananas 3dc483c
Update comment.rs
dullbananas 0174029
Update post.rs
dullbananas 2b584e2
Update comment_view.rs
dullbananas c4fba28
Update post_view.rs
dullbananas 2de9499
Update comment_reply_view.rs
dullbananas ed7fcc6
Update person_mention_view.rs
dullbananas db475a9
Update Cargo.toml
dullbananas 4f70eb1
Update utils.rs
dullbananas 7de0915
Update comment.rs
dullbananas 3d5140e
Update utils.rs
dullbananas 88a7ab5
Update uplete.rs
dullbananas dacdda2
Update uplete.rs
dullbananas 0b1132d
Update uplete.rs
dullbananas 235e547
Update comment.rs
dullbananas 3980cf1
Update uplete.rs
dullbananas 9d5f9ca
Update uplete.rs
dullbananas 237a38a
Update uplete.rs
dullbananas df2d776
Update uplete.rs
dullbananas e1aaf80
Update uplete.rs
dullbananas d68b3ad
Update uplete.rs
dullbananas 0945a76
Update comment_view.rs
dullbananas efc47c9
Update post_view.rs
dullbananas beb3b9f
Update triggers.sql
dullbananas a821538
Update triggers.sql
dullbananas 6bbe0a9
Update triggers.sql
dullbananas eccd722
Update comment_reply_view.rs
dullbananas 5bc8e79
Update person_mention_view.rs
dullbananas 4ae63c6
Update person_mention_view.rs
dullbananas 6662871
Update comment_reply_view.rs
dullbananas c73ab7f
Update uplete.rs
dullbananas 34cba5b
start removing post_id column
dullbananas 4771e69
Update down.sql
dullbananas 9dd9057
Update schema.rs
dullbananas 2935ff4
Update comment.rs
dullbananas 7c00bcc
Update comment.rs
dullbananas 1cd3969
Update comment.rs
dullbananas d5740bc
Update schema.rs
dullbananas bfb5698
Update comment.rs
dullbananas b7a904b
Update like.rs
dullbananas 71b0fe7
Update comment.rs
dullbananas 67eadce
Update up.sql
dullbananas 398718b
Update down.sql
dullbananas b2d0ff5
Update down.sql
dullbananas 1e112c0
Update up.sql
dullbananas b6de369
Update up.sql
dullbananas 0f2916c
Update down.sql
dullbananas f25205c
Update comment.rs
dullbananas 5e3ce5a
Update vote_view.rs
dullbananas a309aaa
Update vote_view.rs
dullbananas 86838e2
Update comment_aggregates.rs
dullbananas 7a8e53d
Update person_aggregates.rs
dullbananas fde92c6
Update comment_view.rs
dullbananas 0794ff9
Update vote_view.rs
dullbananas 4918e72
Update mod.rs
dullbananas 421e056
Update create.rs
dullbananas 1a08f27
Update comment.rs
dullbananas 437200f
Update community.rs
dullbananas f62fcc4
Update community.rs
dullbananas 488797b
Update up.sql
dullbananas 90b10b7
Update uplete.rs
dullbananas d502b68
Update uplete.rs
dullbananas 29f4fa7
revert to UpleteCount
dullbananas 730f4cb
Update comment.rs
dullbananas cadab90
Update traits.rs
dullbananas f613f98
Update comment.rs
dullbananas 8c42d95
Update community.rs
dullbananas dabb479
Update community_block.rs
dullbananas 4c3af86
Update community.rs
dullbananas c3e4835
Update instance_block.rs
dullbananas 11a90f1
Update instance.rs
dullbananas 7b56d5b
Update community_block.rs
dullbananas d264f04
Update person.rs
dullbananas 436dc11
Update person_block.rs
dullbananas 86a1740
Update person.rs
dullbananas 6090afe
Update person_block.rs
dullbananas 09dea6b
Update person.rs
dullbananas 7c6ffb4
Update instance.rs
dullbananas abb1a74
Update instance_block.rs
dullbananas 322aa73
Update instance.rs
dullbananas dba0e37
Update person.rs
dullbananas b70c9fe
Update post.rs
dullbananas d894652
Update comment.rs
dullbananas 4b3d9ce
Update community.rs
dullbananas e454d81
Update person.rs
dullbananas c82c8e0
Update post_view.rs
dullbananas 080b536
Merge branch 'main' into smoosh-tables-together
dullbananas 422df50
Update comment.rs
dullbananas 359f691
Merge branch 'main' into smoosh-tables-together
dullbananas 0d210d9
reduce diff
dullbananas b23429c
revert some changes in views
dullbananas 602db61
Update post_view.rs
dullbananas 56ba24b
Update comment.rs
dullbananas 1c1249a
Update post.rs
dullbananas 89a7f6a
fix missing cfg_attr
dullbananas aa157d4
rewrite uplete
dullbananas 216b6d2
Update Cargo.toml
dullbananas db20b69
Update Cargo.toml
dullbananas 7f8a689
Update uplete.rs
dullbananas e6a7a5a
add `pub` to structs that appear in trait bounds
dullbananas c1435b6
optional = true
dullbananas cd508cc
Update uplete.rs
dullbananas 287947a
Update community.rs
dullbananas 4e89913
Update comment.rs
dullbananas 7ed7080
Update uplete.rs
dullbananas bc941a2
Update uplete.rs
dullbananas 19c4ba1
Update uplete.rs
dullbananas 60af6ed
Update uplete.rs
dullbananas 0e441c8
something is wrong with me
dullbananas 4751d28
use new uplete function everywhere
dullbananas 95879d9
Merge branch 'main' into smoosh-tables-together
dullbananas 591895e
fmt
dullbananas eb720a9
fmt
dullbananas 6ce8f67
Keep post_id when comment_actions::liked is not null
dullbananas 3c56d1b
Update up.sql
dullbananas 13a63e6
Update up.sql
dullbananas d2f8710
clean up up.sql
dullbananas fdb7bce
clean up down.sql
dullbananas 64eb930
fix
dullbananas 4cd46ed
Update person_aggregates.rs
dullbananas a0b0566
fmt
dullbananas 5ba61c4
Update uplete.rs
dullbananas 85053e5
fmt
dullbananas 83901d1
Update uplete.rs
dullbananas 0064227
Update community.rs
dullbananas b949213
Update uplete.rs
dullbananas e3f1e83
Merge branch 'main' into smoosh-tables-together
dullbananas 1761eb5
Update local_user.rs
dullbananas 37ed651
fmt
dullbananas c95f0b0
fix
dullbananas 561e043
fix
dullbananas d9890f1
fmt
dullbananas 266edf4
improve uplete api
dullbananas 85b52c6
Update uplete.rs
dullbananas ce75697
fix
dullbananas d124a58
fix
dullbananas c72ec04
Update uplete.rs
dullbananas 2aaddb1
Update uplete.rs
dullbananas fa312c2
Update uplete.rs
dullbananas 4b0c059
Update uplete.rs
dullbananas 102f4b3
fix
dullbananas 3ee0bec
fix test
dullbananas ba13257
fix db_views_actor imports
dullbananas 37f3406
fix uplete import in post_view test
dullbananas ae7838e
rerun ci
dullbananas 334c0f6
fix AllNull syntax error
dullbananas acfc3a0
fix DynColumn
dullbananas 314f336
Fix rust syntax
dullbananas 542ad8e
fmt
dullbananas d469e9a
fix iter
dullbananas b841679
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 82cae91
pain
dullbananas c948240
Update community_moderators.rs
dullbananas ee1de0e
Update community_moderator_view.rs
dullbananas 7fc1913
Update uplete.rs
dullbananas 383dc4a
Fix mistake found by chatgpt
dullbananas a471061
revert debugging stuff, change migration date, refactor constraint
dullbananas 590542b
Update down.sql
dullbananas 55cecf2
Merge branch 'main' into smoosh-tables-together
dullbananas e1b0e1d
Update down.sql
dullbananas f2f6984
Merge branch 'main' into smoosh-tables-together
dullbananas dcc93f3
Merge branch 'main' into smoosh-tables-together
dullbananas 06de0c5
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 689d2ef
Merge branch 'smoosh-tables-together' of https://github.com/dullbanan…
dullbananas 0762623
fmt
dullbananas 71667d9
Merge branch 'main' into smoosh-tables-together
dullbananas f517643
make things added to db_schema::utils more understandable
dullbananas 02f0513
update rust version for woodpecker
dullbananas a811d82
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 3351090
Merge branch 'main' into smoosh-tables-together
dullbananas ed3267e
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas a190cce
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 9f262f5
finish merge
dullbananas b13f988
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas c8aceb2
Fix index that checked read_comments twice instead of also checking r…
dullbananas b7a84cf
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 3822d77
Merge branch 'main' into smoosh-tables-together
phiresky 51cdbb8
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas 53d135e
fix
dullbananas 2bac1b3
uplete: test_count, test_generated_sql_setting_one_column_null, test_…
dullbananas 92b1c28
refactor uplete sql test
dullbananas 4e4444e
test setting both columns to null in uplete
dullbananas 5ffd4b1
make AllNull generic
dullbananas 83b4b90
test AllNull
dullbananas 9bde15e
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
dullbananas e3bbb12
Merge remote-tracking branch 'upstream/main' into smoosh-tables-together
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
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
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
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.
If these columns are nullable how can you assume that they are not null? Isnt it gonna crash?