gitlabhq/db/migrate/20110916162511_add_key_title_to_key.rb

8 lines
181 B
Ruby
Raw Normal View History

2011-10-13 03:00:00 +02:00
class AddKeyTitleToKey < ActiveRecord::Migration
def change
add_column :keys, :key, :text
add_column :keys, :title, :string
remove_column :keys, :project_id
end
end