fix tmp directory permission
add Migrations Plugin