Breaking News: Grepper is joining You.com. Read the official announcement!
Check it out

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 command with the environment variable: DISABLE_DATABASE_ENVIRONMENT_CHECK=1

Zalven answered on June 10, 2021 Popularity 5/10 Helpfulness 4/10

Contents


More Related Answers

  • DISABLE_DATABASE_ENVIRONMENT_CHECK=1
  • ActiveRecord::EnvironmentMismatchError: You are attempting to modify a database that was last run in `test` environment. You are running in `development` environment. If you are sure you want to continue, first set the environment using:

  • 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 command with the environment variable: DISABLE_DATABASE_ENVIRONMENT_CHECK=1

    0
    Popularity 5/10 Helpfulness 4/10 Language whatever
    Source: Grepper
    Link to this answer
    Share Copy Link
    Contributed on Jun 10 2021
    Zalven
    0 Answers  Avg Quality 2/10


    X

    Continue with Google

    By continuing, I agree that I have read and agree to Greppers's Terms of Service and Privacy Policy.
    X
    Grepper Account Login Required

    Oops, You will need to install Grepper and log-in to perform this action.