Commit 93998d6e authored by Kamil Trzciński's avatar Kamil Trzciński

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
parents b46ac16c 99294e09
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment