2012-07-13 12:18:12 +01:00
|
|
|
class CreateKeyPairs < ActiveRecord::Migration
|
|
|
|
def change
|
|
|
|
create_table :key_pairs do |t|
|
|
|
|
t.integer :repository_id
|
|
|
|
t.integer :user_id
|
2014-03-14 17:41:49 +00:00
|
|
|
t.integer :key_id, references: nil
|
2012-07-13 12:18:12 +01:00
|
|
|
t.string :public
|
|
|
|
t.timestamps
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|