Fix for db migrations in travis