self.up is used for migrating to a new version, while self.down is used to roll back changes.

BY Best Interview Question ON 13 Jan 2019