{"id":19723543,"url":"https://github.com/remind101/migrate_safely","last_synced_at":"2026-05-31T23:32:04.422Z","repository":{"id":66329068,"uuid":"42892861","full_name":"remind101/migrate_safely","owner":"remind101","description":"Adds confirmation prompt for rake db:migrate","archived":false,"fork":false,"pushed_at":"2015-09-25T21:57:24.000Z","size":132,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":75,"default_branch":"master","last_synced_at":"2025-02-28T00:56:08.867Z","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/remind101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-09-21T20:48:21.000Z","updated_at":"2024-10-16T04:38:24.000Z","dependencies_parsed_at":"2023-03-10T23:50:06.365Z","dependency_job_id":null,"html_url":"https://github.com/remind101/migrate_safely","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/remind101/migrate_safely","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fmigrate_safely","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fmigrate_safely/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fmigrate_safely/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fmigrate_safely/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/remind101","download_url":"https://codeload.github.com/remind101/migrate_safely/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/remind101%2Fmigrate_safely/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33753923,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-31T02:00:06.040Z","response_time":95,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-11-11T23:22:33.409Z","updated_at":"2026-05-31T23:32:04.398Z","avatar_url":"https://github.com/remind101.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"MigrateSafely\n=============\n\nMigrateSafely is a [railtie](http://api.rubyonrails.org/classes/Rails/Railtie.html) that\nadds a confirmation prompt to the `rake db:migrate` command to prevent accidental migrations/rollbacks.\n\nExample:\n\n    $ rake db:migrate\n\n    database: my_database\n\n    Action   Migration ID    Migration Name\n    --------------------------------------------------\n    apply    20150916005809  Migration1\n    apply    20150917011452  Migration2\n\n    Are you sure you want to proceed? [y/n]:\n\nAccidental rollback prevention:\n\n    $ VERSION=foo20150917011452 rake db:migrate      # notice the typo in VERSION\n\n    database: my_database\n\n    Action   Migration ID    Migration Name\n    --------------------------------------------------\n    revert   20150914175134  Migration100\n    revert   20150902002737  Migration099\n    revert   20150901221908  Migration098\n    revert   20150901171434  Migration097\n    revert   20150831194113  Migration096\n    ...\n    revert   20150101004705  Migration001\n\n    Are you sure you want to proceed? [y/n]:\n\n## License\n\n[MIT License](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fmigrate_safely","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fremind101%2Fmigrate_safely","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fremind101%2Fmigrate_safely/lists"}