make database migrations optional in deployment