So Rails has a feature called “migrations”. The idea here is that your database will change over time and you need a way to change this incrementally as the project changes and new requirements come up. So essentially your database moves through time. Rails also has a feature where you can define validations for a field at the model level (aka…