Merge branch 'deploy_keys'

Conflicts:
	app/views/layouts/project.html.haml
	db/schema.rb
This commit is contained in:
Dmitriy Zaporozhets 2012-01-14 21:26:35 +02:00
commit cbd78922ee
19 changed files with 234 additions and 8 deletions

View file

@ -0,0 +1,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

View file

@ -39,12 +39,13 @@ ActiveRecord::Schema.define(:version => 20120110180749) do
end
create_table "keys", :force => true do |t|
t.integer "user_id", :null => false
t.integer "user_id"
t.datetime "created_at"
t.datetime "updated_at"
t.text "key"
t.string "title"
t.string "identifier"
t.integer "project_id"
end
create_table "merge_requests", :force => true do |t|