No commit activity in last 3 years
No release in over 3 years
Automate tedious db/structure.sql conflict resolution
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

>= 0
~> 3.5

Runtime

~> 4.12
~> 3.0
 Project Readme

Gem VersionBuild StatusCoveralls branch

structure.sql Conflict Resolver

Ruby 💎 tool for resolving conflicts in db/structure.sql

Do you hate it when this happens to you?

Conflict Detected

Now you can easily resolve the most common conflicts in the versions list!

Before:

...

('20180313190020'),
<<<<<<< HEAD
('20180319155607');

=======
('20180319231815');
>>>>>>> some important commit

After:

...

('20180313190020'),
('20180319155607'),
('20180319231815');

Installation

gem install structure_conflict_resolver

You probably won't want to add this to your Gemfile, it's more of a CLI tool.

Usage

When you run into a merge conflict on db/structure.sql, give this a try:

structure_conflict_resolver db/structure.sql

It'll smartly resolve any conflicts around the version numbers at the bottom.

Any logical conflicts in the actual table descriptions... you'll have to fix yourself!

License

MIT