summaryrefslogtreecommitdiff
path: root/db/migrate/20150924125150_add_project_id_to_ci_tables.rb
blob: 8b45bcf5fe1a9da8fd05de8be93bb57708631640 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
class AddProjectIdToCiTables < ActiveRecord::Migration
  def up
    add_column :ci_builds, :gl_project_id, :integer
    add_column :ci_commits, :gl_project_id, :integer
    add_column :ci_events, :gl_project_id, :integer
    add_column :ci_runner_projects, :gl_project_id, :integer
    add_column :ci_services, :gl_project_id, :integer
    add_column :ci_triggers, :gl_project_id, :integer
    add_column :ci_variables, :gl_project_id, :integer
    add_column :ci_web_hooks, :gl_project_id, :integer
  end
end