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
!367
issue
#89
: net_votes and total_votes are calculated during sync
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
issue
#89
: net_votes and total_votes are calculated during sync
mi_issue_89_total_votes
into
develop
Overview
2
Commits
3
Pipelines
0
Changes
5
Merged
Marcin
requested to merge
mi_issue_89_total_votes
into
develop
4 years ago
Overview
2
Commits
3
Pipelines
0
Changes
5
Expand
0
0
Merge request reports
Compare
develop
version 7
16094486
4 years ago
version 6
329e4327
4 years ago
version 5
eb1c6c0f
4 years ago
version 4
cb32570f
4 years ago
version 3
07cd28c7
4 years ago
version 2
cc9c0c7e
4 years ago
version 1
6d244fe6
4 years ago
develop (base)
and
latest version
latest version
b44b6b5e
3 commits,
4 years ago
version 7
16094486
2 commits,
4 years ago
version 6
329e4327
2 commits,
4 years ago
version 5
eb1c6c0f
3 commits,
4 years ago
version 4
cb32570f
2 commits,
4 years ago
version 3
07cd28c7
1 commit,
4 years ago
version 2
cc9c0c7e
1 commit,
4 years ago
version 1
6d244fe6
1 commit,
4 years ago
5 files
+
60
−
33
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
5
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/upgrade/upgrade_runtime_migration.sql
+
3
−
3
Options
@@ -132,7 +132,7 @@ TRUNCATE TABLE hive_db_data_migration;
insert
into
hive_db_patch_level
(
patch_date
,
patched_to_revision
)
select
ds
.
patch_date
,
ds
.
patch_revision
from
from
(
values
(
now
(),
'7b8def051be224a5ebc360465f7a1522090c7125'
),
@@ -146,7 +146,7 @@ values
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/257
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/251
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/265
--
--
(
now
(),
'45c2883131472cc14a03fe4e355ba1435020d720'
),
(
now
(),
'7cfc2b90a01b32688075b22a6ab173f210fc770f'
),
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/286
(
now
(),
'f2e5f656a421eb1dd71328a94a421934eda27a87'
)
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/275
@@ -165,10 +165,10 @@ values
,(
now
(),
'1847c75702384c7e34c624fc91f24d2ef20df91d'
)
-- latest version of develop containing included changes.
,(
now
(),
'1f23e1326f3010bc84353aba82d4aa7ff2f999e4'
)
-- hive_posts_author_id_created_at_idx index def. to speedup hive_accounts_info_view.
,(
now
(),
'2a274e586454968a4f298a855a7e60394ed90bde'
)
-- get_number_of_unread_notifications speedup https://gitlab.syncad.com/hive/hivemind/-/merge_requests/348/diffs
,(
now
(),
'431fdaead7dcd69e4d2a45e7ce8a3186b8075515'
)
-- https://gitlab.syncad.com/hive/hivemind/-/merge_requests/367
)
ds
(
patch_date
,
patch_revision
)
where
not
exists
(
select
null
from
hive_db_patch_level
hpl
where
hpl
.
patched_to_revision
=
ds
.
patch_revision
);
COMMIT
;
;
Loading