Added functionality for down migrations