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

1_create_some_table.rb « plain_table_creation_on_invalid_database « migrations « click_house « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ee900ef24c5cb061cf50f03a11ab075d71daff55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# frozen_string_literal: true

# rubocop: disable Gitlab/NamespacedClass -- Fixtures do not need to be namespaced
class CreateSomeTable < ClickHouse::Migration
  SCHEMA = :unknown_database

  def up
    execute <<~SQL
      CREATE TABLE some (
        id   UInt64,
        date Date
      ) ENGINE = Memory
    SQL
  end
end
# rubocop: enable Gitlab/NamespacedClass