Commit 36ab7d2b5cecc6e576b7faafbb49c1cb159993d8
1 parent
a5ce8802
Exists in
master
and in
17 other branches
Remove automatic_migrations complexity
We can always add it later
Showing
2 changed files
with
0 additions
and
2 deletions
Show diff stats
files/gitlab-cookbooks/gitlab/attributes/default.rb
@@ -57,7 +57,6 @@ default['gitlab']['gitlab-core']['support_email'] = "support@example.com" | @@ -57,7 +57,6 @@ default['gitlab']['gitlab-core']['support_email'] = "support@example.com" | ||
57 | default['gitlab']['gitlab-core']['uploads_directory'] = "/var/opt/gitlab/uploads" | 57 | default['gitlab']['gitlab-core']['uploads_directory'] = "/var/opt/gitlab/uploads" |
58 | default['gitlab']['gitlab-core']['rate_limit_requests_per_period'] = 10 | 58 | default['gitlab']['gitlab-core']['rate_limit_requests_per_period'] = 10 |
59 | default['gitlab']['gitlab-core']['rate_limit_period'] = 60 | 59 | default['gitlab']['gitlab-core']['rate_limit_period'] = 60 |
60 | -default['gitlab']['gitlab-core']['automatic_migrations'] = true | ||
61 | 60 | ||
62 | 61 | ||
63 | #### | 62 | #### |
files/gitlab-cookbooks/gitlab/recipes/database_migrations.rb
@@ -22,5 +22,4 @@ end | @@ -22,5 +22,4 @@ end | ||
22 | 22 | ||
23 | execute "migrate database" do | 23 | execute "migrate database" do |
24 | command "/opt/gitlab/bin/gitlab-rake db:migrate" | 24 | command "/opt/gitlab/bin/gitlab-rake db:migrate" |
25 | - only_if node['gitlab']['gitlab-core']['automatic_migrations'] | ||
26 | end | 25 | end |