summaryrefslogtreecommitdiff
path: root/db/ci/migrate/20150417000045_cleanup_the_build_model.rb
diff options
context:
space:
mode:
Diffstat (limited to 'db/ci/migrate/20150417000045_cleanup_the_build_model.rb')
-rw-r--r--db/ci/migrate/20150417000045_cleanup_the_build_model.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/db/ci/migrate/20150417000045_cleanup_the_build_model.rb b/db/ci/migrate/20150417000045_cleanup_the_build_model.rb
new file mode 100644
index 00000000000..c33470da20e
--- /dev/null
+++ b/db/ci/migrate/20150417000045_cleanup_the_build_model.rb
@@ -0,0 +1,9 @@
+class CleanupTheBuildModel < ActiveRecord::Migration
+ def change
+ 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