A simple migration script using php