TL;DR —
This article is for helping newcomers to Ruby to understand the concept of migrations. It is a simple simple ruby file placed under db/migrate used by Ruby to change the database schema incrementally. The only way of learning some activity is by actually performing such activity over and over until it becomes natural to you. There are a lot of more complicated things you can do with migrations, but for a beginner this will do for now. If you want to know more about migrations the guys that work on. Rails provide a lot more useful information on the subject.
[story continues]
Written by
@santiago-rodrig
Full-stack Developer, chess amateur, languages geek.
Topics and
tags
tags
rails-6|ruby|ruby-on-rails-development|ruby-on-rails|databases|backend|code-generator|development-advice
This story on HackerNoon has a decentralized backup on Sia.
Transaction ID: Yy1t92DuqBj9ccEVY4QXt5iWOM152Doau4si76XS5HY