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
Commits
1f187a05
Commit
1f187a05
authored
4 years ago
by
Marcin
Browse files
Options
Downloads
Patches
Plain Diff
deterministic order of saved mentions
parent
beae8766
No related branches found
No related tags found
2 merge requests
!456
Release candidate v1 24
,
!295
Fixed bug in mentions update ignoring posts having creation time earlier than...
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
hive/db/sql_scripts/update_hive_posts_mentions.sql
+1
-0
1 addition, 0 deletions
hive/db/sql_scripts/update_hive_posts_mentions.sql
tests/tests_api
+1
-1
1 addition, 1 deletion
tests/tests_api
with
2 additions
and
1 deletion
hive/db/sql_scripts/update_hive_posts_mentions.sql
+
1
−
0
View file @
1f187a05
...
@@ -30,6 +30,7 @@ BEGIN
...
@@ -30,6 +30,7 @@ BEGIN
)
T
(
id_post
,
mention
,
author_id
,
block_num
)
)
T
(
id_post
,
mention
,
author_id
,
block_num
)
)
T
(
id_post
,
mention
,
author_id
,
block_num
)
ON
ha
.
name
=
T
.
mention
)
T
(
id_post
,
mention
,
author_id
,
block_num
)
ON
ha
.
name
=
T
.
mention
WHERE
ha
.
id
!=
T
.
author_id
WHERE
ha
.
id
!=
T
.
author_id
ORDER
BY
T
.
id_post
ON
CONFLICT
DO
NOTHING
;
ON
CONFLICT
DO
NOTHING
;
END
END
...
...
This diff is collapsed.
Click to expand it.
tests_api
@
ee534480
Compare
e1439046
...
ee534480
Subproject commit e
1439046adf7900ba3d6cbaeb5615d4dc6c837b5
Subproject commit e
e534480e5739b75968089859ee3663dfdabb126
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment