Skip to content
Snippets Groups Projects
Commit 5aa9e7e0 authored by Valery Sizov's avatar Valery Sizov
Browse files

make migration reversible

parent 444cac65
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