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

20110916162511_add_key_title_to_key.rb « migrate « db - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b2eaa51cccf6799589ab01707e9364e46f62f6e0 (plain)
1
2
3
4
5
6
7
class AddKeyTitleToKey < ActiveRecord::Migration
  def change
    add_column :keys, :key, :text
    add_column :keys, :title, :string
    remove_column :keys, :project_id
  end
end