migrate for mysql and folder models