Skip to content
Snippets Groups Projects
Commit 309d7d91 authored by Kamil Trzcińśki's avatar Kamil Trzcińśki Committed by James Lopez
Browse files

Merge branch '29976-fix-dropping-job_id' into 'master'

Do try to drop it if ci_builds.job_id isn't there

Closes #29976

See merge request !10216
parent 472c2e6a
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -17,7 +17,7 @@ class RemoveUnusedCiTablesAndColumns < ActiveRecord::Migration
end
 
remove_column :ci_pipelines, :push_data, :text
remove_column :ci_builds, :job_id, :integer
remove_column :ci_builds, :job_id, :integer if column_exists?(:ci_builds, :job_id)
remove_column :ci_builds, :deploy, :boolean
end
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment