Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
H
hivemind
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hive
hivemind
Merge requests
!863
Draft: refactor follows and update_nofications indexing
Code
Review changes
Check out branch
Download
Patches
Plain diff
Open
Draft: refactor follows and update_nofications indexing
267-update-notification-cache
into
develop
Overview
0
Commits
83
Pipelines
0
Changes
667
Open
Dan Notestein
requested to merge
267-update-notification-cache
into
develop
1 week ago
Overview
0
Commits
83
Pipelines
0
Changes
3
Expand
Based on
!819
Edited
1 week ago
by
Krzysztof Leśniak
0
0
Merge request reports
Compare
version 2
version 7
b6e98c4f
20 hours ago
version 6
e23b6b20
2 days ago
version 5
b324dc58
4 days ago
version 4
08bda96a
5 days ago
version 3
06934459
1 week ago
version 2
1e627fa0
1 week ago
version 1
79277ddd
1 week ago
develop (HEAD)
and
version 3
latest version
e26892d5
83 commits,
14 hours ago
version 7
b6e98c4f
83 commits,
20 hours ago
version 6
e23b6b20
81 commits,
2 days ago
version 5
b324dc58
80 commits,
4 days ago
version 4
08bda96a
79 commits,
5 days ago
version 3
06934459
78 commits,
1 week ago
version 2
1e627fa0
76 commits,
1 week ago
version 1
79277ddd
74 commits,
1 week ago
Show latest version
3 files
+
49
−
14
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
3
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/notifications_view.sql
+
0
−
13
Options
@@ -96,19 +96,6 @@ CREATE OR REPLACE VIEW hivemind_app.hive_raw_notifications_as_view
notifs
.
payload
,
harv
.
score
FROM
(
SELECT
hs
.
block_num
,
0
AS
post_id
,
11
AS
type_id
,
hs
.
created_at
,
hs
.
account_id
AS
src
,
hs
.
community_id
AS
dst
,
0
as
dst_post_id
,
hc
.
name
AS
community
,
hc
.
title
AS
community_title
,
''
::
character
varying
AS
payload
FROM
hivemind_app
.
hive_subscriptions
hs
-- subscriptions
JOIN
hivemind_app
.
hive_communities
hc
ON
hs
.
community_id
=
hc
.
id
UNION
ALL
SELECT
hm
.
block_num
,
hm
.
post_id
,
16
AS
type_id
,
Loading