refactor: remove note.mentionedRemoteUsers column #84

Closed
Johann150 wants to merge 6 commits from refactor/mentionedRemoteUsers into main
Owner

The note.mentionedRemoteUsers column contains data which is duplicated from the note.mentions column and "cached"(?) from the user and user_profile table. Furthermore, the column is marked as text data type when it obvously contains JSON data. Since it is only used in a few places it seems to make more sense to query the database for this information instead of storing this redundant data.

The `note.mentionedRemoteUsers` column contains data which is duplicated from the `note.mentions` column and "cached"(?) from the `user` and `user_profile` table. Furthermore, the column is marked as `text` data type when it obvously contains JSON data. Since it is only used in a few places it seems to make more sense to query the database for this information instead of storing this redundant data.
norm force-pushed refactor/mentionedRemoteUsers from 63cc4f3a6b to aa80de1de8 2022-08-28 18:09:34 +00:00 Compare
norm added 1 commit 2022-08-28 19:01:25 +00:00
ci/woodpecker/push/lint-foundkey-js Pipeline was successful Details
ci/woodpecker/push/lint-backend Pipeline was successful Details
ci/woodpecker/push/lint-client Pipeline was successful Details
ci/woodpecker/push/build Pipeline was successful Details
ci/woodpecker/push/test Pipeline was successful Details
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful Details
ci/woodpecker/pr/lint-backend Pipeline failed Details
ci/woodpecker/pr/build Pipeline was successful Details
ci/woodpecker/pr/lint-client Pipeline failed Details
ci/woodpecker/pr/test Pipeline failed Details
deb7b105f4
fix: migration revert syntax
norm approved these changes 2022-09-07 07:53:39 +00:00
Author
Owner

manually merged as 3bdbbcadd9 and 7a981de883 (squashed the fixup commits)

manually merged as 3bdbbcadd9772818c00339faa17e0f4a71dda6bc and 7a981de88331de83152fe0224f9332fffe8a43bb (squashed the fixup commits)
Johann150 closed this pull request 2022-09-07 12:50:10 +00:00
Some checks failed
ci/woodpecker/push/lint-foundkey-js Pipeline was successful
ci/woodpecker/push/lint-backend Pipeline was successful
ci/woodpecker/push/lint-client Pipeline was successful
ci/woodpecker/push/build Pipeline was successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/pr/lint-foundkey-js Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
feature
fix
upkeep
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#84
No description provided.