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
1
Merged
Marcin
requested to merge
mi_vaccum_at_sync_final
into
develop
4 years ago
Overview
0
Commits
1
Pipelines
0
Changes
1
Expand
0
0
Merge request reports
Viewing commit
45ab5b3a
Show latest version
1 file
+
1
−
0
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
45ab5b3a
[DLN] also need to add new index to upgrade script, apparently
· 45ab5b3a
Gandalf
authored
4 years ago
hive/db/sql_scripts/upgrade/upgrade_table_schema.sql
+
1
−
0
Options
@@ -78,6 +78,7 @@ 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