diff options
author | Shinya Maeda <shinya@gitlab.com> | 2018-11-19 11:47:52 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2018-11-19 11:47:52 +0300 |
commit | 0f793c6f2c47daa55df4568d992cd1a2522719c6 (patch) | |
tree | 5bc2e1cf94edbbed4243f2a1866e78b05d3a7d33 /db | |
parent | 3610e9f3cbe842ae2aa10c08c20239fa8350693f (diff) |
Remove unnecessary code
Diffstat (limited to 'db')
-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 |