Rails migration allows encapsulated database schema changes to be defined and potentially stored in a version control system. Once shared with other developers in a team, these migrations may be run to update data schemas with a command execution.