Moved migrations into the generator