summaryrefslogtreecommitdiff
path: root/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/migrate/20181112103239_drop_default_value_on_status_deployments.rb')
-rw-r--r--db/migrate/20181112103239_drop_default_value_on_status_deployments.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb b/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb
index a480c15e66b..59d6d2f29ff 100644
--- a/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb
+++ b/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true
-class DropDefaultValueOnStatusDeployments < ActiveRecord::Migration
+class DropDefaultValueOnStatusDeployments < ActiveRecord::Migration[4.2]
DOWNTIME = false
DEPLOYMENT_STATUS_SUCCESS = 2 # Equivalent to Deployment.state_machine.states['success'].value