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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
bd3cac6f
Commit
bd3cac6f
authored
Sep 06, 2017
by
Robert Speicher
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'jk-fix-migrate' into 'master'
reset namespace columns in migration See merge request !14089
parents
5e861f23
eac86b3e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
.gitlab-ci.yml
.gitlab-ci.yml
+0
-1
db/migrate/20170825104051_migrate_issues_to_ghost_user.rb
db/migrate/20170825104051_migrate_issues_to_ghost_user.rb
+1
-0
No files found.
.gitlab-ci.yml
View file @
bd3cac6f
...
@@ -412,7 +412,6 @@ db:migrate:reset-mysql:
...
@@ -412,7 +412,6 @@ db:migrate:reset-mysql:
.migration-paths
:
&migration-paths
.migration-paths
:
&migration-paths
<<
:
*dedicated-runner
<<
:
*dedicated-runner
<<
:
*only-canonical-masters
<<
:
*pull-cache
<<
:
*pull-cache
stage
:
test
stage
:
test
variables
:
variables
:
...
...
db/migrate/20170825104051_migrate_issues_to_ghost_user.rb
View file @
bd3cac6f
...
@@ -18,6 +18,7 @@ class MigrateIssuesToGhostUser < ActiveRecord::Migration
...
@@ -18,6 +18,7 @@ class MigrateIssuesToGhostUser < ActiveRecord::Migration
ActiveRecord
::
Base
.
clear_cache!
ActiveRecord
::
Base
.
clear_cache!
::
User
.
reset_column_information
::
User
.
reset_column_information
::
Namespace
.
reset_column_information
end
end
def
up
def
up
...
...
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