Rails - Will I lose my development database when I push to production?
问题 I know this is probably dumb question but... Simply put, I have an app with a database of hundreds of records in development mode. When I push to production and deploy onto the internet, will I lose my database and have to redo it all in production mode? Just being safe! 回答1: Your production database is not pushed. An empty database with your schemas will be created when you run rake exec db:migrate on your production server. If you want to automate adding your development database records to