Add user to exercise_collection

This commit is contained in:
Maximilian Grundke
2017-12-10 18:35:49 +01:00
parent 00141830cc
commit 339a89107f
3 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,5 @@
class AddUserToExerciseCollection < ActiveRecord::Migration
def change
add_reference :exercise_collections, :user, polymorphic: true, index: true
end
end