Skip to content
Snippets Groups Projects
Commit 93998d6e authored by Kamil Trzciński's avatar Kamil Trzciński
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
parents b46ac16c 99294e09
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