Project

db_mirror

0.0
The project is in a healthy, maintained state
A ruby gem for validating your data migrations
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
 Dependencies

Development

~> 2.0
~> 11.0
~> 2.4, >= 2.4.9
>= 0

Runtime

 Project Readme

db_mirror

Peter: Hey Jeff! I'm done with the migration of the database..
Jeff: Really? Because the customer has sent us an email that only half of the data is migrated?
Peter: 😱... That is not possible!!
Jeff: Have you checked how many entries were in the original database?
Peter: Yea! There were 2'131'005 entries
Jeff: How many are in the new database?
Peter: .............900'231....
Jeff: 😠

Ensure that you rails database is migrated properly! Easy enough using db_mirror.

Installation

gem install db_mirror

Usage

db_mirror LEVEL={level} EXCLUDED_MODELS={excluded_models}

Comparison levels

Level 1

Level 2

Level 3

Level 4

License

LICENSE

Changelog

Changelog