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

20210721122840_remove_seat_link_enabled_from_application_settings.rb « post_migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 20118dbbac8fecfba67023a34c0b10dff785ab22 (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

class RemoveSeatLinkEnabledFromApplicationSettings < ActiveRecord::Migration[6.1]
  def up
    remove_column :application_settings, :seat_link_enabled
  end

  def down
    add_column :application_settings, :seat_link_enabled, :boolean, null: false, default: true
  end
end