diff options
Diffstat (limited to 'db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb')
-rw-r--r-- | db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb b/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb new file mode 100644 index 00000000000..84bad801ce4 --- /dev/null +++ b/db/migrate/20230420040912_initialize_conversion_of_ci_pipelines.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class InitializeConversionOfCiPipelines < Gitlab::Database::Migration[2.1] + disable_ddl_transaction! + + TABLE = :ci_pipelines + COLUMNS = %i[id] + + def up + initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS) + end + + def down + revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMNS) + end +end |