diff options
-rw-r--r-- | db/migrate/20181112103239_drop_default_value_on_status_deployments.rb | 4 |
1 files changed, 0 insertions, 4 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 280eeda4a5f..a480c15e66b 100644 --- a/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb +++ b/db/migrate/20181112103239_drop_default_value_on_status_deployments.rb @@ -1,13 +1,9 @@ # frozen_string_literal: true class DropDefaultValueOnStatusDeployments < ActiveRecord::Migration - include Gitlab::Database::MigrationHelpers - DOWNTIME = false DEPLOYMENT_STATUS_SUCCESS = 2 # Equivalent to Deployment.state_machine.states['success'].value - disable_ddl_transaction! - def up change_column_default :deployments, :status, nil end |