added migrations support using phpmig + automatic down migrations