Add index to exercises

This commit is contained in:
Maximilian Grundke
2017-11-22 13:47:23 +01:00
parent 80edffaa39
commit 13b3b3edc7
2 changed files with 8 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddIndexToExercises < ActiveRecord::Migration
def change
add_index :exercises, :id
end
end