I generated a migration using mix phx.gen.schema (Dogs)
I then created a new migration (Puppies). I would like to create a new migration and alter Puppies migration by adding a belongs_to relationship to Dogs.
mix ecto.gen.migration puppies_add_dog_id_column. This creates a migration but how do I add reference to an existing table while migration? Or is this command even the right way to do it? Any suggestion is appreciated.