migration prepare pubs