rails-stall/stall

View on GitHub
db/migrate/20160127113619_add_user_to_customer.rb

Summary

Maintainability
A
0 mins
Test Coverage
class AddUserToCustomer < ActiveRecord::Migration
  def change
    add_reference :stall_customers, :user, polymorphic: true, index: true
  end
end