summaryrefslogtreecommitdiff
path: root/db/migrate/20151210125929_add_project_id_to_ci.rb
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2015-12-10 18:08:59 +0100
committerKamil Trzcinski <ayufan@ayufan.eu>2015-12-11 18:02:09 +0100
commit91cdb08d5fa83a86f5f18088bf148e832732bed9 (patch)
tree9a3dd429b6db8be47c5aec7690ee03a93136d7fe /db/migrate/20151210125929_add_project_id_to_ci.rb
parent3d9ce37a48615032c786913acdde1eedba351361 (diff)
downloadgitlab-ce-91cdb08d5fa83a86f5f18088bf148e832732bed9.tar.gz
Rename columns and rename migrations
Diffstat (limited to 'db/migrate/20151210125929_add_project_id_to_ci.rb')
-rw-r--r--db/migrate/20151210125929_add_project_id_to_ci.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/db/migrate/20151210125929_add_project_id_to_ci.rb b/db/migrate/20151210125929_add_project_id_to_ci.rb
new file mode 100644
index 00000000000..5d1cf543576
--- /dev/null
+++ b/db/migrate/20151210125929_add_project_id_to_ci.rb
@@ -0,0 +1,8 @@
+class AddProjectIdToCi < ActiveRecord::Migration
+ def up
+ add_column :ci_builds, :gl_project_id, :integer
+ add_column :ci_runner_projects, :gl_project_id, :integer
+ add_column :ci_triggers, :gl_project_id, :integer
+ add_column :ci_variables, :gl_project_id, :integer
+ end
+end