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

20111231111825_add_project_id_to_key.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: dc80cbdb71ff5a6c09e8dfeac9fb517c103cdb72 (plain)
1
2
3
4
5
6
class AddProjectIdToKey < ActiveRecord::Migration
  def change
    add_column :keys, :project_id, :integer, :null => true
    change_column :keys, :user_id, :integer, :null => true
  end
end