Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-04-24 11:08:43 +0300
committerKamil TrzciƄski <ayufan@ayufan.eu>2018-05-03 11:48:33 +0300
commit3248ca0467a4bd816f281db1b30ca83df2865edd (patch)
tree86c51b4d0f91d68ee7f9359017f1775946443ba8 /db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
parent38a5bcd1ccad1a2f80c82f03cd0c5b991af8abdd (diff)
Add per-project pipeline id
Diffstat (limited to 'db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb')
-rw-r--r--db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb b/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
new file mode 100644
index 00000000000..d732116e9ce
--- /dev/null
+++ b/db/migrate/20180424160449_add_pipeline_iid_to_ci_pipelines.rb
@@ -0,0 +1,15 @@
+class AddPipelineIidToCiPipelines < ActiveRecord::Migration
+ include Gitlab::Database::MigrationHelpers
+
+ DOWNTIME = false
+
+ disable_ddl_transaction!
+
+ def up
+ add_column :ci_pipelines, :iid, :integer
+ end
+
+ def down
+ remove_column :ci_pipelines, :iid, :integer
+ end
+end