Commit 36ab7d2b5cecc6e576b7faafbb49c1cb159993d8

Authored by Jacob Vosmaer
1 parent a5ce8802

Remove automatic_migrations complexity

We can always add it later
files/gitlab-cookbooks/gitlab/attributes/default.rb
... ... @@ -57,7 +57,6 @@ default['gitlab']['gitlab-core']['support_email'] = "support@example.com"
57 57 default['gitlab']['gitlab-core']['uploads_directory'] = "/var/opt/gitlab/uploads"
58 58 default['gitlab']['gitlab-core']['rate_limit_requests_per_period'] = 10
59 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 22  
23 23 execute "migrate database" do
24 24 command "/opt/gitlab/bin/gitlab-rake db:migrate"
25   - only_if node['gitlab']['gitlab-core']['automatic_migrations']
26 25 end
... ...