diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-27 10:01:01 +0000 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-04-27 10:01:01 +0000 |
commit | 836ac3db622469939d59a1b0a2425c7a8c69c566 (patch) | |
tree | e8e137441abd05a0cedc1d0fa364af79ef227f05 | |
parent | 444cac6552365f14d3b21b3d1743bc2f0d683a0e (diff) | |
parent | 5aa9e7e0cf572362e59e7628f2cca8117c09d16a (diff) | |
download | gitlab-ci-836ac3db622469939d59a1b0a2425c7a8c69c566.tar.gz |
Merge branch 'reversible_migration' into 'master'
Make migration reversible
See merge request !84
-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 |