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

20231005145648_add_uuid_and_version_to_vs_code_setting.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 17f880221ae68cdfca2c1d48b1c6a618700dc909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

class AddUuidAndVersionToVsCodeSetting < Gitlab::Database::Migration[2.1]
  def up
    add_column :vs_code_settings, :uuid, :uuid, null: true, default: false
    add_column :vs_code_settings, :version, :integer, null: true, default: false
  end

  def down
    remove_column :vs_code_settings, :uuid
    remove_column :vs_code_settings, :version
  end
end