Database migrations based on phpmig.