This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Explain what is your use case: I am looking to add constraints in migration file based on the value of another field in the same table or other table. Like if field A gets the value X then keep B as ...