diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-13 18:08:31 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-12-13 18:08:31 +0300 |
commit | 57ed4c594d37326f1d27752df575b581c522ab05 (patch) | |
tree | 455227f40aaf31c6977fb51839770753df824e72 /spec/fixtures | |
parent | 8ebd99a81f8fe458153de9815f73f9067d010293 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/fixtures')
4 files changed, 0 insertions, 58 deletions
diff --git a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/1_create_some_table_on_main_db.rb b/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/1_create_some_table_on_main_db.rb deleted file mode 100644 index 98d71d9507b..00000000000 --- a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/1_create_some_table_on_main_db.rb +++ /dev/null @@ -1,15 +0,0 @@ -# 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 diff --git a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/2_create_some_table_on_another_db.rb b/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/2_create_some_table_on_another_db.rb deleted file mode 100644 index b8cd86a67f5..00000000000 --- a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/2_create_some_table_on_another_db.rb +++ /dev/null @@ -1,16 +0,0 @@ -# frozen_string_literal: true - -# rubocop: disable Gitlab/NamespacedClass -- Fixtures do not need to be namespaced -class CreateSomeTableOnAnotherDb < ClickHouse::Migration - SCHEMA = :another_db - - def up - execute <<~SQL - CREATE TABLE some_on_another_db ( - id UInt64, - date Date - ) ENGINE = Memory - SQL - end -end -# rubocop: enable Gitlab/NamespacedClass diff --git a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/3_change_some_table_on_main_db.rb b/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/3_change_some_table_on_main_db.rb deleted file mode 100644 index 9112ab79fc5..00000000000 --- a/spec/fixtures/click_house/migrations/migrations_over_multiple_databases/3_change_some_table_on_main_db.rb +++ /dev/null @@ -1,11 +0,0 @@ -# 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 diff --git a/spec/fixtures/click_house/migrations/plain_table_creation_on_invalid_database/1_create_some_table.rb b/spec/fixtures/click_house/migrations/plain_table_creation_on_invalid_database/1_create_some_table.rb deleted file mode 100644 index ee900ef24c5..00000000000 --- a/spec/fixtures/click_house/migrations/plain_table_creation_on_invalid_database/1_create_some_table.rb +++ /dev/null @@ -1,16 +0,0 @@ -# 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 |