summaryrefslogtreecommitdiff
path: root/db/migrate
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-04-17 14:28:59 +0300
committerValery Sizov <vsv2711@gmail.com>2015-04-17 14:28:59 +0300
commite803e3f26f771b8e424d251951c88892858cb6b1 (patch)
tree0c81ac744cae4d73322bfcbaaa9275708d3fb077 /db/migrate
parentcca6ded9fd1874863a265ca4d96c243e637ec3de (diff)
downloadgitlab-ci-e803e3f26f771b8e424d251951c88892858cb6b1.tar.gz
cleanup build model
Diffstat (limited to 'db/migrate')
-rw-r--r--db/migrate/20150417000045_cleanup_the_build_model.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/migrate/20150417000045_cleanup_the_build_model.rb b/db/migrate/20150417000045_cleanup_the_build_model.rb
new file mode 100644
index 0000000..1ade714
--- /dev/null
+++ b/db/migrate/20150417000045_cleanup_the_build_model.rb
@@ -0,0 +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
+ end
+end