Added support for db migrations