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

Suggest An Answer

No suggestions Available!