Finalize ci_job_artifacts conversion to bigint
1 unresolved thread
1 unresolved thread
Compare changes
@@ -28,6 +28,7 @@ def down
@@ -28,6 +28,7 @@ def down
add_concurrent_index TABLE_NAME, :id_convert_to_bigint, unique: true, name: 'index_ci_job_artifact_on_id_convert_to_bigint'
# This is to replace the existing "index_ci_job_artifacts_for_terraform_reports" btree (project_id, id) where (file_type = 18)
@@ -48,14 +49,26 @@ def swap
@@ -48,14 +49,26 @@ def swap
@@ -102,15 +115,17 @@ def swap
@@ -102,15 +115,17 @@ def swap
rename_index TABLE_NAME, 'index_ci_job_artifacts_on_job_id_and_file_type_bigint', 'index_ci_job_artifacts_on_job_id_and_file_type'
# We swapped the columns but the FK for job_id is still using the temporary name for the job_id_convert_to_bigint column