fixed database.yml sync issue