ilyakatz / data-migrate

Migrate and update data alongside your database structure.
MIT License
1.42k stars 194 forks source link

Remove the need for empty data_schema files for non-primary databases #273

Closed wildmaples closed 1 year ago

wildmaples commented 1 year ago

Changes

Related to: https://github.com/ilyakatz/data-migrate/issues/268

If you have multiple databases, you will see this error requiring you to create an empty data_schema.rb file in order to run data migrations.

  /Users/maple/test-rails-app/db/bleep_data_schema.rb doesn't exist yet. Run `rake data:migrate` to create it, then try again.

The data schema file for non-primary databases does not have a functionality at the present time. This change removes the need for it.

You may now delete those files from your application folder.