I just want to make sure if this is possible:
class AddUpdatedById < ActiveRecord::Migration
def change
add_column :clients, :updated_by_id, :integer
add_column :contacts, :updated_by_id, :integer
add_column :court_agencies, :updated_by_id, :integer
end
end
This way I will save migrations. Because if I will migrate them one by one, I think it will take more time and mess up my migrations. So, what do you think?
Is it possible or I should I do the same thing one by one?
Yes, you can do this, but normally u wanna keep the related changes in same migration file