add local database.yml and remove database.yml