Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-11-19 11:47:52 +0300
committerShinya Maeda <shinya@gitlab.com>2018-11-19 11:47:52 +0300
commit0f793c6f2c47daa55df4568d992cd1a2522719c6 (patch)
tree5bc2e1cf94edbbed4243f2a1866e78b05d3a7d33 /db/migrate/20181112103239_drop_default_value_on_status_deployments.rb
parent3610e9f3cbe842ae2aa10c08c20239fa8350693f (diff)
Remove unnecessary code
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.rb4
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