Skip to content
Snippets Groups Projects
Commit 836ac3db authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Merge branch 'reversible_migration' into 'master'

Make migration reversible

See merge request !84
parents 444cac65 5aa9e7e0
No related branches found
No related tags found
No related merge requests found
class CleanupTheBuildModel < ActiveRecord::Migration
def change
remove_column :builds, :push_data
remove_column :builds, :before_sha
remove_column :builds, :ref
remove_column :builds, :sha
remove_column :builds, :tmp_file
remove_column :builds, :push_data, :text
remove_column :builds, :before_sha, :string
remove_column :builds, :ref, :string
remove_column :builds, :sha, :string
remove_column :builds, :tmp_file, :string
end
end
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