Rails 5ãããproduction environmentã§ã®DBç ´å£ç³»ã®taskã®å®è¡ãé²æ¢ããä»çµã¿ãå ¥ãã¾ããã ä¾ãã°ãproduction environmentã§db:dropãå®è¡ãããã¨ããã¨ãä¸è¨ã®ãããªã¨ã©ã¼(ActiveRecord::ProtectedEnvironmentError)ãçºçãã¾ãã $ RAILS_ENV=production ./bin/rails db:drop rails aborted! ActiveRecord::ProtectedEnvironmentError: You are attempting to run a destructive action against your 'production' database If you are sure you want to continue, run the same co
{{#tags}}- {{label}}
{{/tags}}