diff options
Diffstat (limited to 'db/post_migrate/20190618171120_update_geo_nodes_primary.rb')
-rw-r--r-- | db/post_migrate/20190618171120_update_geo_nodes_primary.rb | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/db/post_migrate/20190618171120_update_geo_nodes_primary.rb b/db/post_migrate/20190618171120_update_geo_nodes_primary.rb deleted file mode 100644 index dc9cfbda177..00000000000 --- a/db/post_migrate/20190618171120_update_geo_nodes_primary.rb +++ /dev/null @@ -1,20 +0,0 @@ -# frozen_string_literal: true - -# See http://doc.gitlab.com/ce/development/migration_style_guide.html -# for more information on how to write migrations for GitLab. - -class UpdateGeoNodesPrimary < ActiveRecord::Migration[5.1] - include Gitlab::Database::MigrationHelpers - - DOWNTIME = false - - def up - change_column_default(:geo_nodes, :primary, false) - change_column_null(:geo_nodes, :primary, false, false) - end - - def down - change_column_default(:geo_nodes, :primary, nil) - change_column_null(:geo_nodes, :primary, true) - end -end |