Pooja/Shruthi |  #2092 | making migrations idempotent