Migration File
Let's run the migrations to generate the database for products.
We'll cover the following...
Default migration file
The default migration file generated by rails generate
should look like this:
ruby-2.6.3
Run migrations
We don’t need any changes in the default migration file since it fulfills our requirements.
Build changes
We now have to update schema.rb
...