2012-12-11 13:48:16 +00:00
|
|
|
class AddIndexes < ActiveRecord::Migration
|
|
|
|
def change
|
2014-01-21 04:51:49 +00:00
|
|
|
add_index :project_to_repositories, [:repository_id, :project_id], unique: true
|
2012-12-11 13:48:16 +00:00
|
|
|
add_index :repositories, :platform_id
|
|
|
|
end
|
|
|
|
end
|