diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2018-05-11 23:06:08 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2018-05-16 21:52:08 +0800 |
commit | cdcde75bb782951b27ab9db0d54a71db7c94d7cb (patch) | |
tree | 014c894a52bc263e485700bb1ba129db5c2dc8dc /scripts/prepare_build.sh | |
parent | 73289a8361aa6bb2cbd26873ccabe512fca6589b (diff) | |
download | gitlab-ce-cdcde75bb782951b27ab9db0d54a71db7c94d7cb.tar.gz |
Only setup db in the first checkout!
Diffstat (limited to 'scripts/prepare_build.sh')
-rw-r--r-- | scripts/prepare_build.sh | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/scripts/prepare_build.sh b/scripts/prepare_build.sh index 206d62dbc78..01cb01ed812 100644 --- a/scripts/prepare_build.sh +++ b/scripts/prepare_build.sh @@ -60,9 +60,5 @@ if [ "$CREATE_DB_USER" != "false" ]; then fi if [ "$SETUP_DB" != "false" ]; then - bundle exec rake db:drop db:create db:schema:load db:migrate - - if [ "$GITLAB_DATABASE" = "mysql" ]; then - bundle exec rake add_limits_mysql - fi + setup_db fi |