reset database.rb for mac config