{"id":13880004,"url":"https://github.com/mojotech/rails_db_protect","last_synced_at":"2025-07-10T19:33:15.072Z","repository":{"id":56890509,"uuid":"50074240","full_name":"mojotech/rails_db_protect","owner":"mojotech","description":"Protect your production database from destructive rake tasks","archived":false,"fork":false,"pushed_at":"2017-07-14T20:15:17.000Z","size":7,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-01T14:31:30.907Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mojotech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-01-21T01:52:40.000Z","updated_at":"2017-07-14T20:15:18.000Z","dependencies_parsed_at":"2022-08-21T00:50:32.949Z","dependency_job_id":null,"html_url":"https://github.com/mojotech/rails_db_protect","commit_stats":null,"previous_names":["adsteel/rails_db_protect"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mojotech/rails_db_protect","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Frails_db_protect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Frails_db_protect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Frails_db_protect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Frails_db_protect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mojotech","download_url":"https://codeload.github.com/mojotech/rails_db_protect/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mojotech%2Frails_db_protect/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260690920,"owners_count":23047102,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-06T08:02:43.110Z","updated_at":"2025-06-19T05:10:24.894Z","avatar_url":"https://github.com/mojotech.png","language":"Ruby","funding_links":[],"categories":["Ruby"],"sub_categories":[],"readme":"**This project is deprecated as this functionality comes out of the box with Rails 5**\n\n# RailsDbProtect\n\nProtect your Rails production databases from the following destructive tasks:\n\n```bash\ndb:setup db:reset db:drop db:create db:schema:load\n```\n\n## Usage\n\nAdd the gem and you're done!\n\nTo bypass the protection in a production environment, add `ENV['ALLOW_DANGEROUS_TASKS'] = 'true'` to your environment.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'rails_db_protect'\n```\n\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/rails_db_protect. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](contributor-covenant.org) code of conduct.\n\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Frails_db_protect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmojotech%2Frails_db_protect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmojotech%2Frails_db_protect/lists"}