DeployKey moved to Key model
This commit is contained in:
parent
5b4382e12e
commit
99b8b577e9
8 changed files with 35 additions and 93 deletions
|
@ -1,12 +0,0 @@
|
|||
class CreateDeployKeys < ActiveRecord::Migration
|
||||
def change
|
||||
create_table :deploy_keys do |t|
|
||||
t.integer "project_id", :null => false
|
||||
t.datetime "created_at"
|
||||
t.datetime "updated_at"
|
||||
t.text "key"
|
||||
t.string "title"
|
||||
t.string "identifier"
|
||||
end
|
||||
end
|
||||
end
|
6
db/migrate/20111231111825_add_project_id_to_key.rb
Normal file
6
db/migrate/20111231111825_add_project_id_to_key.rb
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue