anjlab / rails-data-migrations

Run your data migration scripts like a master
MIT License
124 stars 15 forks source link

Configuration options for migration path, table name, and index name #15

Closed ghost closed 1 year ago

ghost commented 2 years ago

Introducing configurable values for the data migration path, table name, and index name to enable more flexible use

ghost commented 2 years ago

exosyphon-earthvectors I saw your PR as well and wonder if this would also solve your pre-migration use-case by hooking into a different pre-migrations folder and table for tracking which have been run, then using the defaults for all other data migrations.