diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-08 16:05:05 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-07-08 16:05:05 +0300 |
commit | 8fa311a5de24a28d8190b0a038fb893e71184eb2 (patch) | |
tree | ae489a4ab340f24312cc1d968f74e5b22ac094d4 /db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb | |
parent | 0fabe9336cf7cf2a31156931e716e84fc45e842f (diff) |
Add latest changes from gitlab-org/gitlab@14-0-stable-ee
Diffstat (limited to 'db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb')
-rw-r--r-- | db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb b/db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb new file mode 100644 index 00000000000..ea612100e5a --- /dev/null +++ b/db/migrate/20210705142714_initialize_conversion_of_ci_builds_metadata_id_to_bigint.rb @@ -0,0 +1,16 @@ +# frozen_string_literal: true + +class InitializeConversionOfCiBuildsMetadataIdToBigint < ActiveRecord::Migration[6.1] + include Gitlab::Database::MigrationHelpers + + TABLE = :ci_builds_metadata + COLUMN = :id + + def up + initialize_conversion_of_integer_to_bigint(TABLE, COLUMN) + end + + def down + revert_initialize_conversion_of_integer_to_bigint(TABLE, COLUMN) + end +end |