gitlabhq/db/migrate/20110916162511_add_key_title_to_key.rb

8 lines
181 B
Ruby
Raw Normal View History

2011-10-08 23:36:38 +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