Files
nairobi/db/migrate/20151118160928_add_user_to_annotations.rb
2015-12-16 11:45:46 +01:00

6 lines
146 B
Ruby

class AddUserToAnnotations < ActiveRecord::Migration
def change
add_reference :annotations, :user, index: true, foreign_key: true
end
end