diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2019-07-29 15:15:46 +0000 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2019-07-29 15:15:46 +0000 |
commit | dbe3b9848b884ca9705259110edf58e801c89e5e (patch) | |
tree | 771209d6e20b643d852ac684142609cf4a896b4b /lib/tasks | |
parent | 16d4dbde17d77e8b2556cac6701f178e2d79243c (diff) | |
parent | d7a4c1d2a5f395ca6ddb2dc2608ac33ccebf8a74 (diff) | |
download | gitlab-ce-dbe3b9848b884ca9705259110edf58e801c89e5e.tar.gz |
Merge branch 'resolve-scripts-differences' into 'master'
Backport EE changes made to the scripts/ directory
See merge request gitlab-org/gitlab-ce!31015
Diffstat (limited to 'lib/tasks')
-rw-r--r-- | lib/tasks/gitlab/db.rake | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/db.rake b/lib/tasks/gitlab/db.rake index d054959e05e..1961f64659c 100644 --- a/lib/tasks/gitlab/db.rake +++ b/lib/tasks/gitlab/db.rake @@ -70,5 +70,13 @@ namespace :gitlab do Gitlab::DowntimeCheck.new.check_and_print(migrations) end + + desc 'Sets up EE specific database functionality' + + if Gitlab.ee? + task setup_ee: %w[geo:db:drop geo:db:create geo:db:schema:load geo:db:migrate] + else + task :setup_ee + end end end |