Pages

Friday, 18 March 2016

Rails => adding, removing index and foreign key => Order

                                                  Go through this order

  • Add index 
  • Add foreign key


Then in down method do opposite i.e.
  • Remove foreign key
  • Remove index

No comments:

Post a Comment