20110916162511_add_key_title_to_key.rb 181 Bytes
Newer Older
gitlabhq's avatar
gitlabhq committed
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