Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
e86adab5
Commit
e86adab5
authored
Mar 25, 2020
by
Alper Akgun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remove_concurrent_index down methods
parent
f1dd55e8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
...dex_on_active_and_template_and_type_and_id_to_services.rb
+1
-1
db/migrate/20200313123934_add_index_on_user_id_type_source_type_ldap_and_created_at_to_members.rb
...ser_id_type_source_type_ldap_and_created_at_to_members.rb
+1
-1
db/migrate/20200323122201_add_index_on_user_and_created_at_to_ci_builds.rb
...23122201_add_index_on_user_and_created_at_to_ci_builds.rb
+1
-1
No files found.
db/migrate/20200312125121_add_index_on_active_and_template_and_type_and_id_to_services.rb
View file @
e86adab5
...
@@ -13,6 +13,6 @@ class AddIndexOnActiveAndTemplateAndTypeAndIdToServices < ActiveRecord::Migratio
...
@@ -13,6 +13,6 @@ class AddIndexOnActiveAndTemplateAndTypeAndIdToServices < ActiveRecord::Migratio
end
end
def
down
def
down
remove_concurrent_index
:services
,
INDEX_NAME
remove_concurrent_index
_by_name
:services
,
INDEX_NAME
end
end
end
end
db/migrate/20200313123934_add_index_on_user_id_type_source_type_ldap_and_created_at_to_members.rb
View file @
e86adab5
...
@@ -13,6 +13,6 @@ class AddIndexOnUserIdTypeSourceTypeLdapAndCreatedAtToMembers < ActiveRecord::Mi
...
@@ -13,6 +13,6 @@ class AddIndexOnUserIdTypeSourceTypeLdapAndCreatedAtToMembers < ActiveRecord::Mi
end
end
def
down
def
down
remove_concurrent_index
:members
,
INDEX_NAME
remove_concurrent_index
_by_name
:members
,
INDEX_NAME
end
end
end
end
db/migrate/20200323122201_add_index_on_user_and_created_at_to_ci_builds.rb
View file @
e86adab5
...
@@ -14,6 +14,6 @@ class AddIndexOnUserAndCreatedAtToCiBuilds < ActiveRecord::Migration[6.0]
...
@@ -14,6 +14,6 @@ class AddIndexOnUserAndCreatedAtToCiBuilds < ActiveRecord::Migration[6.0]
end
end
def
down
def
down
remove_concurrent_index
:ci_builds
,
INDEX_NAME
remove_concurrent_index
_by_name
:ci_builds
,
INDEX_NAME
end
end
end
end
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment