A custom git merge driver that auto-resolves the most common conflict in Rails schema files (db/schema.rb and, with the data_migrate gem, db/data_schema.rb): the define(version: N) line that gets bumped on every migration. Keeps the higher version on conflict and falls back to a normal merge conflict for any other diverging content.

Required Ruby Version

>= 3.4

Authors

Tobias Maier

Versions

  1. 0.1.1
    1. source

      1. 0.1.1 source April 26, 2026 (12 KB)
  2. 0.1.0
    1. source

      1. 0.1.0 source April 26, 2026 (10 KB)

Requirements

git

Pushed by

GitHub

SHA 256 checksum