diff options
author | Valery Sizov <vsv2711@gmail.com> | 2015-04-27 12:58:55 +0300 |
---|---|---|
committer | Valery Sizov <vsv2711@gmail.com> | 2015-04-27 12:58:55 +0300 |
commit | 5aa9e7e0cf572362e59e7628f2cca8117c09d16a (patch) | |
tree | e8e137441abd05a0cedc1d0fa364af79ef227f05 /db | |
parent | 444cac6552365f14d3b21b3d1743bc2f0d683a0e (diff) | |
download | gitlab-ci-5aa9e7e0cf572362e59e7628f2cca8117c09d16a.tar.gz |
make migration reversible
Diffstat (limited to 'db')
-rw-r--r-- | db/migrate/20150417000045_cleanup_the_build_model.rb | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/db/migrate/20150417000045_cleanup_the_build_model.rb b/db/migrate/20150417000045_cleanup_the_build_model.rb index 1ade714..c33470d 100644 --- a/db/migrate/20150417000045_cleanup_the_build_model.rb +++ b/db/migrate/20150417000045_cleanup_the_build_model.rb @@ -1,9 +1,9 @@ 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 |