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
!395
vaccum at sync final
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
vaccum at sync final
mi_vaccum_at_sync_final
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
212
Merged
Marcin
requested to merge
mi_vaccum_at_sync_final
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
4
Expand
0
0
Merge request reports
Compare
version 1
version 2
a78090f4
4 years ago
version 1
df40a655
4 years ago
develop (base)
and
version 2
latest version
a78090f4
1 commit,
4 years ago
version 2
a78090f4
1322 commits,
4 years ago
version 1
df40a655
1319 commits,
4 years ago
Show latest version
4 files
+
62
−
48
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
Search (e.g. *.vue) (Ctrl+P)
hive/db/sql_scripts/upgrade/upgrade_table_schema.sql
+
2
−
0
Options
@@ -73,10 +73,12 @@ drop index if exists hive_subscriptions_community_idx;
drop
index
if
exists
hive_votes_post_id_idx
;
drop
index
if
exists
hive_votes_voter_id_idx
;
drop
index
if
exists
hive_votes_last_update_idx
;
drop
index
if
exists
hive_posts_community_id_idx
;
CREATE
INDEX
IF
NOT
EXISTS
hive_posts_cashout_time_id_idx
ON
hive_posts
(
cashout_time
,
id
);
CREATE
INDEX
IF
NOT
EXISTS
hive_posts_updated_at_idx
ON
hive_posts
(
updated_at
DESC
);
CREATE
INDEX
IF
NOT
EXISTS
hive_votes_block_num_idx
ON
hive_votes
(
block_num
);
CREATE
INDEX
IF
NOT
EXISTS
hive_posts_community_id_id_idx
ON
hive_posts
(
community_id
,
id
DESC
);
DO
$
BODY
$
Loading