summaryrefslogtreecommitdiff
path: root/db/migrate/20151002112914_add_stage_idx_to_builds.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-10-02 13:46:38 +0200
committerKamil Trzcinski <ayufan@ayufan.eu>2015-10-05 09:52:35 +0200
commit546a3c6561fbe967cc37ccc3229b71893cd20c34 (patch)
tree0828ab3fb82e2b03921a8f4d1f745f430bae4bd6 /db/migrate/20151002112914_add_stage_idx_to_builds.rb
parent0de7c83a78711601b40b5a739070da2e3af29b11 (diff)
downloadgitlab-ce-546a3c6561fbe967cc37ccc3229b71893cd20c34.tar.gz
Refactor commit and build
Diffstat (limited to 'db/migrate/20151002112914_add_stage_idx_to_builds.rb')
-rw-r--r--db/migrate/20151002112914_add_stage_idx_to_builds.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/db/migrate/20151002112914_add_stage_idx_to_builds.rb b/db/migrate/20151002112914_add_stage_idx_to_builds.rb
new file mode 100644
index 00000000000..68a745ffef4
--- /dev/null
+++ b/db/migrate/20151002112914_add_stage_idx_to_builds.rb
@@ -0,0 +1,5 @@
+class AddStageIdxToBuilds < ActiveRecord::Migration
+ def change
+ add_column :ci_builds, :stage_idx, :integer
+ end
+end