Moved migrations out of lib