diff options
Diffstat (limited to 'db/post_migrate/20191030193050_remove_pendo_from_application_settings.rb')
-rw-r--r-- | db/post_migrate/20191030193050_remove_pendo_from_application_settings.rb | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/db/post_migrate/20191030193050_remove_pendo_from_application_settings.rb b/db/post_migrate/20191030193050_remove_pendo_from_application_settings.rb deleted file mode 100644 index c1a1cc01aa4..00000000000 --- a/db/post_migrate/20191030193050_remove_pendo_from_application_settings.rb +++ /dev/null @@ -1,19 +0,0 @@ -# frozen_string_literal: true - -class RemovePendoFromApplicationSettings < ActiveRecord::Migration[5.2] - include Gitlab::Database::MigrationHelpers - - disable_ddl_transaction! - - DOWNTIME = false - - def up - remove_column :application_settings, :pendo_enabled - remove_column :application_settings, :pendo_url - end - - def down - add_column_with_default :application_settings, :pendo_enabled, :boolean, default: false, allow_null: false # rubocop:disable Migration/AddColumnWithDefault - add_column :application_settings, :pendo_url, :string, limit: 255 - end -end |