create an empty project and add a Gemfile
cd ~/Desktop
mkdir project-name
cd project-name
touch GemfileMigrations are a way to make database changes or updates, like creating or dropping tables, as well as updating a table with new columns with constraints via generated scripts. We can build these scripts via the command line using knex command line tool.
To learn more about migrations, check out this article on the different types of database migrations!