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
e1befc9b
Commit
e1befc9b
authored
Jun 20, 2019
by
DJ Mountney
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Drop the source upgrade change
We no longer need to point people away from using db:migrate
parent
e448124f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
1 deletion
+5
-1
doc/update/upgrading_from_source.md
doc/update/upgrading_from_source.md
+1
-1
lib/tasks/migrate/schema_check.rake
lib/tasks/migrate/schema_check.rake
+2
-0
spec/tasks/gitlab/uploads/check_rake_spec.rb
spec/tasks/gitlab/uploads/check_rake_spec.rb
+2
-0
No files found.
doc/update/upgrading_from_source.md
View file @
e1befc9b
...
...
@@ -324,7 +324,7 @@ sudo -u git -H bundle install --deployment --without development test mysql aws
sudo
-u
git
-H
bundle clean
# Run database migrations
sudo
-u
git
-H
bundle
exec
rake
gitlab:db:configur
e
RAILS_ENV
=
production
sudo
-u
git
-H
bundle
exec
rake
db:migrat
e
RAILS_ENV
=
production
# Compile GetText PO files
...
...
lib/tasks/migrate/schema_check.rake
View file @
e1befc9b
# frozen_string_literal: true
desc
'Configures the database by running migrate, or by loading the schema and seeding if needed'
task
schema_version_check: :environment
do
next
if
ENV
[
'SKIP_SCHEMA_VERSION_CHECK'
]
...
...
spec/tasks/gitlab/uploads/check_rake_spec.rb
View file @
e1befc9b
# frozen_string_literal: true
require
'rake_helper'
describe
'gitlab:uploads rake tasks'
do
...
...
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