https://github.com/appfolio/ae_check_migrations_load_silently
This gem loads migration files and compares the database before and after to ensure it remains unchanged.
https://github.com/appfolio/ae_check_migrations_load_silently
Last synced: 25 days ago
JSON representation
This gem loads migration files and compares the database before and after to ensure it remains unchanged.
- Host: GitHub
- URL: https://github.com/appfolio/ae_check_migrations_load_silently
- Owner: appfolio
- License: mit
- Created: 2020-06-12T18:38:10.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2026-05-07T18:46:55.000Z (25 days ago)
- Last Synced: 2026-05-07T19:40:54.784Z (25 days ago)
- Language: Ruby
- Size: 56.6 KB
- Stars: 0
- Watchers: 59
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# AeCheckMigrationsLoadSilently
This gem checks that migrations do not change the database checksum when they are loaded; via code defined outside of a method. This is to ensure that
migrations do not affect the database when they are load, which can lead to some very unexpected database states and often can't be rolled back.
## Installation
Add this line to your application's Gemfile:
```ruby
group :test do
gem 'ae_check_migrations_load_silently'
end
```
And then execute:
```bash
bundle
```
Or install it yourself as:
```bash
gem install ae_check_migrations_load_silently
```