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

3_change_some_table_on_main_db.rb « migrations_over_multiple_databases « migrations « click_house « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9112ab79fc5f40a871762c211afd0d43ea1bc87f (plain)
1
2
3
4
5
6
7
8
9
10
11
# frozen_string_literal: true

# rubocop: disable Gitlab/NamespacedClass -- Fixtures do not need to be namespaced
class ChangeSomeTableOnMainDb < ClickHouse::Migration
  def up
    execute <<~SQL
      ALTER TABLE some RENAME COLUMN date to timestamp
    SQL
  end
end
# rubocop: enable Gitlab/NamespacedClass