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

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

class AddWikiColumnsToIndexStatus < ActiveRecord::Migration[5.1]
  include Gitlab::Database::MigrationHelpers

  DOWNTIME = false

  def change
    add_column :index_statuses, :last_wiki_commit, :binary
    add_column :index_statuses, :wiki_indexed_at, :datetime_with_timezone
  end
end