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

1_create_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: 98d71d9507b07fb581b454f829c585ecebcbb495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# frozen_string_literal: true

# rubocop: disable Gitlab/NamespacedClass -- Fixtures do not need to be namespaced
class CreateSomeTableOnMainDb < ClickHouse::Migration
  def up
    execute <<~SQL
      CREATE TABLE some (
        id   UInt64,
        date Date
      ) ENGINE = MergeTree
      PRIMARY KEY(id)
    SQL
  end
end
# rubocop: enable Gitlab/NamespacedClass